Share via


ArtifactsOperationsExtensions.DeleteAsync Method

Definition

Delete a blueprint artifact.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.Artifact> DeleteAsync (this Microsoft.Azure.Management.Blueprint.IArtifactsOperations operations, string resourceScope, string blueprintName, string artifactName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.Blueprint.IArtifactsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.Artifact>
<Extension()>
Public Function DeleteAsync (operations As IArtifactsOperations, resourceScope As String, blueprintName As String, artifactName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Artifact)

Parameters

operations
IArtifactsOperations

The operations group for this extension method.

resourceScope
String

The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').

blueprintName
String

Name of the blueprint definition.

artifactName
String

Name of the blueprint artifact.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to