Share via


VirtualEnclaveCommunityEndpointResource.HandleApprovalDeletionAsync Method

Definition

Callback that triggers on approval deletion state change.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}/handleApprovalDeletion
  • Operation Id: CommunityEndpoints_HandleApprovalDeletion
  • Default Api Version: 2025-05-01-preview
  • Resource: VirtualEnclaveCommunityEndpointResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.VirtualEnclaves.Models.ApprovalActionResult>> HandleApprovalDeletionAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.VirtualEnclaves.Models.ApprovalDeletionCallbackContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member HandleApprovalDeletionAsync : Azure.WaitUntil * Azure.ResourceManager.VirtualEnclaves.Models.ApprovalDeletionCallbackContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.VirtualEnclaves.Models.ApprovalActionResult>>
override this.HandleApprovalDeletionAsync : Azure.WaitUntil * Azure.ResourceManager.VirtualEnclaves.Models.ApprovalDeletionCallbackContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.VirtualEnclaves.Models.ApprovalActionResult>>
Public Overridable Function HandleApprovalDeletionAsync (waitUntil As WaitUntil, content As ApprovalDeletionCallbackContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ApprovalActionResult))

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.

content
ApprovalDeletionCallbackContent

The content of the action request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to