ArtifactSources class
Class representing a ArtifactSources.
Constructors
Artifact |
Create a ArtifactSources. |
Methods
Constructor Details
ArtifactSources(AzureDeploymentManagerContext)
Create a ArtifactSources.
new ArtifactSources(client: AzureDeploymentManagerContext)
Parameters
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.
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.
The optional parameters
- callback
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
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<ArtifactSourcesGetResponse>
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
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
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<ArtifactSourcesListResponse>
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
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
The callback