ArtifactSources class

Class representing a ArtifactSources.

Constructors

ArtifactSources(AzureDeploymentManagerContext)

Create a ArtifactSources.

Methods

createOrUpdate(string, string, ArtifactSourcesCreateOrUpdateOptionalParams)

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

createOrUpdate(string, string, ArtifactSourcesCreateOrUpdateOptionalParams, ServiceCallback<ArtifactSource>)
createOrUpdate(string, string, ServiceCallback<ArtifactSource>)
deleteMethod(string, string, RequestOptionsBase)
deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, ServiceCallback<void>)
get(string, string, RequestOptionsBase)
get(string, string, RequestOptionsBase, ServiceCallback<ArtifactSource>)
get(string, string, ServiceCallback<ArtifactSource>)
list(string, RequestOptionsBase)
list(string, RequestOptionsBase, ServiceCallback<ArtifactSource[]>)
list(string, ServiceCallback<ArtifactSource[]>)

Constructor Details

ArtifactSources(AzureDeploymentManagerContext)

Create a ArtifactSources.

new ArtifactSources(client: AzureDeploymentManagerContext)

Parameters

client
AzureDeploymentManagerContext

Reference to the service client.

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<ArtifactSourcesCreateOrUpdateResponse>

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 optional parameters

Returns

Promise<Models.ArtifactSourcesCreateOrUpdateResponse>

createOrUpdate(string, string, ArtifactSourcesCreateOrUpdateOptionalParams, ServiceCallback<ArtifactSource>)

function createOrUpdate(resourceGroupName: string, artifactSourceName: string, options: ArtifactSourcesCreateOrUpdateOptionalParams, callback: ServiceCallback<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 optional parameters

callback

ServiceCallback<ArtifactSource>

The callback

createOrUpdate(string, string, ServiceCallback<ArtifactSource>)

function createOrUpdate(resourceGroupName: string, artifactSourceName: string, callback: ServiceCallback<ArtifactSource>)

Parameters

resourceGroupName

string

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

artifactSourceName

string

The name of the artifact source.

callback

ServiceCallback<ArtifactSource>

The callback

deleteMethod(string, string, RequestOptionsBase)

function deleteMethod(resourceGroupName: string, artifactSourceName: string, options?: RequestOptionsBase): Promise<RestResponse>

Parameters

resourceGroupName

string

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

artifactSourceName

string

The name of the artifact source.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, artifactSourceName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

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

artifactSourceName

string

The name of the artifact source.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

deleteMethod(string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, artifactSourceName: string, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

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

artifactSourceName

string

The name of the artifact source.

callback

ServiceCallback<void>

The callback

get(string, string, RequestOptionsBase)

function get(resourceGroupName: string, artifactSourceName: string, options?: RequestOptionsBase): Promise<ArtifactSourcesGetResponse>

Parameters

resourceGroupName

string

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

artifactSourceName

string

The name of the artifact source.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ArtifactSourcesGetResponse>

get(string, string, RequestOptionsBase, ServiceCallback<ArtifactSource>)

function get(resourceGroupName: string, artifactSourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ArtifactSource>)

Parameters

resourceGroupName

string

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

artifactSourceName

string

The name of the artifact source.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ArtifactSource>

The callback

get(string, string, ServiceCallback<ArtifactSource>)

function get(resourceGroupName: string, artifactSourceName: string, callback: ServiceCallback<ArtifactSource>)

Parameters

resourceGroupName

string

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

artifactSourceName

string

The name of the artifact source.

callback

ServiceCallback<ArtifactSource>

The callback

list(string, RequestOptionsBase)

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

Parameters

resourceGroupName

string

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

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ArtifactSourcesListResponse>

list(string, RequestOptionsBase, ServiceCallback<ArtifactSource[]>)

function list(resourceGroupName: string, options: RequestOptionsBase, callback: ServiceCallback<ArtifactSource[]>)

Parameters

resourceGroupName

string

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

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ArtifactSource[]>

The callback

list(string, ServiceCallback<ArtifactSource[]>)

function list(resourceGroupName: string, callback: ServiceCallback<ArtifactSource[]>)

Parameters

resourceGroupName

string

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

callback

ServiceCallback<ArtifactSource[]>

The callback