ArtifactSources interface
Interface representing a ArtifactSources.
Methods
create |
Create or replace an existing artifact source. |
delete(string, string, string, Artifact |
Delete artifact source. |
get(string, string, string, Artifact |
Get artifact source. |
list(string, string, Artifact |
List artifact sources in a given lab. |
update(string, string, string, Artifact |
Allows modifying tags of artifact sources. All other properties will be ignored. |
Method Details
createOrUpdate(string, string, string, ArtifactSource, ArtifactSourcesCreateOrUpdateOptionalParams)
Create or replace an existing artifact source.
function createOrUpdate(resourceGroupName: string, labName: string, name: string, artifactSource: ArtifactSource, options?: ArtifactSourcesCreateOrUpdateOptionalParams): Promise<ArtifactSource>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- labName
-
string
The name of the lab.
- name
-
string
The name of the artifact source.
- artifactSource
- ArtifactSource
Properties of an artifact source.
The options parameters.
Returns
Promise<ArtifactSource>
delete(string, string, string, ArtifactSourcesDeleteOptionalParams)
Delete artifact source.
function delete(resourceGroupName: string, labName: string, name: string, options?: ArtifactSourcesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- labName
-
string
The name of the lab.
- name
-
string
The name of the artifact source.
The options parameters.
Returns
Promise<void>
get(string, string, string, ArtifactSourcesGetOptionalParams)
Get artifact source.
function get(resourceGroupName: string, labName: string, name: string, options?: ArtifactSourcesGetOptionalParams): Promise<ArtifactSource>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- labName
-
string
The name of the lab.
- name
-
string
The name of the artifact source.
- options
- ArtifactSourcesGetOptionalParams
The options parameters.
Returns
Promise<ArtifactSource>
list(string, string, ArtifactSourcesListOptionalParams)
List artifact sources in a given lab.
function list(resourceGroupName: string, labName: string, options?: ArtifactSourcesListOptionalParams): PagedAsyncIterableIterator<ArtifactSource, ArtifactSource[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- labName
-
string
The name of the lab.
The options parameters.
Returns
update(string, string, string, ArtifactSourceFragment, ArtifactSourcesUpdateOptionalParams)
Allows modifying tags of artifact sources. All other properties will be ignored.
function update(resourceGroupName: string, labName: string, name: string, artifactSource: ArtifactSourceFragment, options?: ArtifactSourcesUpdateOptionalParams): Promise<ArtifactSource>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- labName
-
string
The name of the lab.
- name
-
string
The name of the artifact source.
- artifactSource
- ArtifactSourceFragment
Properties of an artifact source.
The options parameters.
Returns
Promise<ArtifactSource>