Share via


ManagementGroupAssignmentsExtentions.DeleteInManagementGroupAsync Method

Definition

Deletes a Blueprint assignment in a management group.

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

Parameters

operations
IAssignmentsOperations

The operations group for this extension method.

managementGroupName
String

The name of the management group where the assignment is saved.

assignmentName
String

The name of the assignment.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to