Partilhar via


ArtifactSources interface

Interface representing a ArtifactSources.

Methods

createOrUpdate(string, string, ArtifactSourcesCreateOrUpdateOptionalParams)

Synchronously creates a new artifact source or updates an existing artifact source.

delete(string, string, ArtifactSourcesDeleteOptionalParams)

Deletes an artifact source.

get(string, string, ArtifactSourcesGetOptionalParams)

Gets an artifact source.

list(string, ArtifactSourcesListOptionalParams)

Lists the artifact sources in a resource group.

Method Details

createOrUpdate(string, string, ArtifactSourcesCreateOrUpdateOptionalParams)

Synchronously creates a new artifact source or updates an existing artifact source.

function createOrUpdate(resourceGroupName: string, artifactSourceName: string, options?: ArtifactSourcesCreateOrUpdateOptionalParams): Promise<ArtifactSource>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

artifactSourceName

string

The name of the artifact source.

options
ArtifactSourcesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<ArtifactSource>

delete(string, string, ArtifactSourcesDeleteOptionalParams)

Deletes an artifact source.

function delete(resourceGroupName: string, artifactSourceName: string, options?: ArtifactSourcesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

artifactSourceName

string

The name of the artifact source.

options
ArtifactSourcesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, ArtifactSourcesGetOptionalParams)

Gets an artifact source.

function get(resourceGroupName: string, artifactSourceName: string, options?: ArtifactSourcesGetOptionalParams): Promise<ArtifactSource>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

artifactSourceName

string

The name of the artifact source.

options
ArtifactSourcesGetOptionalParams

The options parameters.

Returns

Promise<ArtifactSource>

list(string, ArtifactSourcesListOptionalParams)

Lists the artifact sources in a resource group.

function list(resourceGroupName: string, options?: ArtifactSourcesListOptionalParams): Promise<ArtifactSourcesListResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

options
ArtifactSourcesListOptionalParams

The options parameters.

Returns