ArtifactSourcesClient Interface

public interface ArtifactSourcesClient

An instance of this class provides access to all the operations defined in ArtifactSourcesClient.

Method Summary

Modifier and Type Method and Description
abstract ArtifactSourceInner createOrUpdate(String resourceGroupName, String labName, String name, ArtifactSourceInner artifactSource)

Create or replace an existing artifact source.

abstract Response<ArtifactSourceInner> createOrUpdateWithResponse(String resourceGroupName, String labName, String name, ArtifactSourceInner artifactSource, Context context)

Create or replace an existing artifact source.

abstract void delete(String resourceGroupName, String labName, String name)

Delete artifact source.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String labName, String name, Context context)

Delete artifact source.

abstract ArtifactSourceInner get(String resourceGroupName, String labName, String name)

Get artifact source.

abstract Response<ArtifactSourceInner> getWithResponse(String resourceGroupName, String labName, String name, String expand, Context context)

Get artifact source.

abstract PagedIterable<ArtifactSourceInner> list(String resourceGroupName, String labName)

List artifact sources in a given lab.

abstract PagedIterable<ArtifactSourceInner> list(String resourceGroupName, String labName, String expand, String filter, Integer top, String orderby, Context context)

List artifact sources in a given lab.

abstract ArtifactSourceInner update(String resourceGroupName, String labName, String name, ArtifactSourceFragment artifactSource)

Allows modifying tags of artifact sources.

abstract Response<ArtifactSourceInner> updateWithResponse(String resourceGroupName, String labName, String name, ArtifactSourceFragment artifactSource, Context context)

Allows modifying tags of artifact sources.

Method Details

createOrUpdate

public abstract ArtifactSourceInner createOrUpdate(String resourceGroupName, String labName, String name, ArtifactSourceInner artifactSource)

Create or replace an existing artifact source.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
labName - The name of the lab.
name - The name of the artifact source.
artifactSource - Properties of an artifact source.

Returns:

properties of an artifact source.

createOrUpdateWithResponse

public abstract Response<ArtifactSourceInner> createOrUpdateWithResponse(String resourceGroupName, String labName, String name, ArtifactSourceInner artifactSource, Context context)

Create or replace an existing artifact source.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
labName - The name of the lab.
name - The name of the artifact source.
artifactSource - Properties of an artifact source.
context - The context to associate with this operation.

Returns:

properties of an artifact source along with Response<T>.

delete

public abstract void delete(String resourceGroupName, String labName, String name)

Delete artifact source.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
labName - The name of the lab.
name - The name of the artifact source.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String labName, String name, Context context)

Delete artifact source.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
labName - The name of the lab.
name - The name of the artifact source.
context - The context to associate with this operation.

Returns:

get

public abstract ArtifactSourceInner get(String resourceGroupName, String labName, String name)

Get artifact source.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
labName - The name of the lab.
name - The name of the artifact source.

Returns:

artifact source.

getWithResponse

public abstract Response<ArtifactSourceInner> getWithResponse(String resourceGroupName, String labName, String name, String expand, Context context)

Get artifact source.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
labName - The name of the lab.
name - The name of the artifact source.
expand - Specify the $expand query. Example: 'properties($select=displayName)'.
context - The context to associate with this operation.

Returns:

artifact source along with Response<T>.

list

public abstract PagedIterable<ArtifactSourceInner> list(String resourceGroupName, String labName)

List artifact sources in a given lab.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
labName - The name of the lab.

Returns:

the response of a list operation as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ArtifactSourceInner> list(String resourceGroupName, String labName, String expand, String filter, Integer top, String orderby, Context context)

List artifact sources in a given lab.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
labName - The name of the lab.
expand - Specify the $expand query. Example: 'properties($select=displayName)'.
filter - The filter to apply to the operation. Example: '$filter=contains(name,'myName').
top - The maximum number of resources to return from the operation. Example: '$top=10'.
orderby - The ordering expression for the results, using OData notation. Example: '$orderby=name desc'.
context - The context to associate with this operation.

Returns:

the response of a list operation as paginated response with PagedIterable<T>.

update

public abstract ArtifactSourceInner update(String resourceGroupName, String labName, String name, ArtifactSourceFragment artifactSource)

Allows modifying tags of artifact sources. All other properties will be ignored.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
labName - The name of the lab.
name - The name of the artifact source.
artifactSource - Properties of an artifact source.

Returns:

properties of an artifact source.

updateWithResponse

public abstract Response<ArtifactSourceInner> updateWithResponse(String resourceGroupName, String labName, String name, ArtifactSourceFragment artifactSource, Context context)

Allows modifying tags of artifact sources. All other properties will be ignored.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
labName - The name of the lab.
name - The name of the artifact source.
artifactSource - Properties of an artifact source.
context - The context to associate with this operation.

Returns:

properties of an artifact source along with Response<T>.

Applies to