ArtifactSourcesOperationsExtensions.DeleteAsync(IArtifactSourcesOperations, String, String, CancellationToken) Method

Definition

Deletes an artifact source.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.DeploymentManager.IArtifactSourcesOperations operations, string resourceGroupName, string artifactSourceName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.DeploymentManager.IArtifactSourcesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IArtifactSourcesOperations, resourceGroupName As String, artifactSourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IArtifactSourcesOperations

The operations group for this extension method.

resourceGroupName
System.String

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

artifactSourceName
System.String

The name of the artifact source.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task

Applies to