BlueprintsOperationsExtensions.DeleteAsync(IBlueprintsOperations, String, String, CancellationToken) Method

Definition

Delete a blueprint definition.

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

Parameters

operations
IBlueprintsOperations

The operations group for this extension method.

resourceScopescope
System.String

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

blueprintName
System.String

Name of the blueprint definition.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<BlueprintModel>

Applies to