Bagikan melalui


AssignmentResource.Delete Method

Definition

Delete a blueprint assignment.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName}
  • Operation Id: Assignments_Delete
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Blueprint.AssignmentResource> Delete (Azure.WaitUntil waitUntil, Azure.ResourceManager.Blueprint.Models.AssignmentDeleteBehavior? deleteBehavior = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Delete : Azure.WaitUntil * Nullable<Azure.ResourceManager.Blueprint.Models.AssignmentDeleteBehavior> * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Blueprint.AssignmentResource>
override this.Delete : Azure.WaitUntil * Nullable<Azure.ResourceManager.Blueprint.Models.AssignmentDeleteBehavior> * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Blueprint.AssignmentResource>
Public Overridable Function Delete (waitUntil As WaitUntil, Optional deleteBehavior As Nullable(Of AssignmentDeleteBehavior) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of AssignmentResource)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

deleteBehavior
Nullable<AssignmentDeleteBehavior>

When deleteBehavior=all, the resources that were created by the blueprint assignment will be deleted.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to