Share via


AssignmentsOperationsExtensions.DeleteAsync Method

Definition

Delete a blueprint assignment.

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

Parameters

operations
IAssignmentsOperations

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}').

assignmentName
String

Name of the blueprint assignment.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to