Share via


VirtualEnclaveCommunityEndpointResource.HandleApprovalCreationAsync Method

Definition

Callback that triggers on approval state change.

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

The content of the action request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to