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 artifactSourceName)

Creates or updates an artifact source.

abstract Response<ArtifactSourceInner> createOrUpdateWithResponse(String resourceGroupName, String artifactSourceName, ArtifactSourceInner artifactSourceInfo, Context context)

Creates or updates an artifact source.

abstract void delete(String resourceGroupName, String artifactSourceName)

Deletes an artifact source.

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

Deletes an artifact source.

abstract ArtifactSourceInner getByResourceGroup(String resourceGroupName, String artifactSourceName)

Gets an artifact source.

abstract Response<ArtifactSourceInner> getByResourceGroupWithResponse(String resourceGroupName, String artifactSourceName, Context context)

Gets an artifact source.

abstract List<ArtifactSourceInner> list(String resourceGroupName)

Lists the artifact sources in a resource group.

abstract Response<List<ArtifactSourceInner>> listWithResponse(String resourceGroupName, Context context)

Lists the artifact sources in a resource group.

Method Details

createOrUpdate

public abstract ArtifactSourceInner createOrUpdate(String resourceGroupName, String artifactSourceName)

Creates or updates an artifact source.

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

Parameters:

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

Returns:

the resource that defines the source location where the artifacts are located.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String artifactSourceName, ArtifactSourceInner artifactSourceInfo, Context context)

Creates or updates an artifact source.

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
artifactSourceName - The name of the artifact source.
artifactSourceInfo - Source object that defines the resource.
context - The context to associate with this operation.

Returns:

the resource that defines the source location where the artifacts are located along with Response<T>.

delete

public abstract void delete(String resourceGroupName, String artifactSourceName)

Deletes an artifact source.

Parameters:

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

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String artifactSourceName, Context context)

Deletes an artifact source.

Parameters:

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

Returns:

getByResourceGroup

public abstract ArtifactSourceInner getByResourceGroup(String resourceGroupName, String artifactSourceName)

Gets an artifact source.

Parameters:

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

Returns:

an artifact source.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String artifactSourceName, Context context)

Gets an artifact source.

Parameters:

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

Returns:

an artifact source along with Response<T>.

list

public abstract List list(String resourceGroupName)

Lists the artifact sources in a resource group.

Parameters:

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

Returns:

the list of artifact sources.

listWithResponse

public abstract Response<>> listWithResponse(String resourceGroupName, Context context)

Lists the artifact sources in a resource group.

Parameters:

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

Returns:

the list of artifact sources along with Response<T>.

Applies to