ArtifactSources interface
Interface representing a ArtifactSources.
Methods
create |
Synchronously creates a new artifact source or updates an existing artifact source. |
delete(string, string, Artifact |
Deletes an artifact source. |
get(string, string, Artifact |
Gets an artifact source. |
list(string, Artifact |
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.
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.
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.
The options parameters.
Returns
Promise<ArtifactSourcesListResponse>
Azure SDK for JavaScript