VirtualEnclaveEndpointResource.HandleApprovalDeletion Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Callback that triggers on approval deletion state change.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/handleApprovalDeletion
- Operation Id: EnclaveEndpoints_HandleApprovalDeletion
- Default Api Version: 2025-05-01-preview
- Resource: VirtualEnclaveEndpointResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.VirtualEnclaves.Models.ApprovalActionResult> HandleApprovalDeletion(Azure.WaitUntil waitUntil, Azure.ResourceManager.VirtualEnclaves.Models.ApprovalDeletionCallbackContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member HandleApprovalDeletion : Azure.WaitUntil * Azure.ResourceManager.VirtualEnclaves.Models.ApprovalDeletionCallbackContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.VirtualEnclaves.Models.ApprovalActionResult>
override this.HandleApprovalDeletion : Azure.WaitUntil * Azure.ResourceManager.VirtualEnclaves.Models.ApprovalDeletionCallbackContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.VirtualEnclaves.Models.ApprovalActionResult>
Public Overridable Function HandleApprovalDeletion (waitUntil As WaitUntil, content As ApprovalDeletionCallbackContent, Optional cancellationToken As CancellationToken = Nothing) As 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.