VirtualEnclaveApprovalResource.NotifyInitiatorAsync Method

Definition

Upon receiving approval or rejection from approver, this facilitates actions on approval resource

  • Request Path. : /{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}/notifyInitiator.
  • Operation Id. : Approval_NotifyInitiator.
  • Default Api Version. : 2025-05-01-preview.
  • Resource. : VirtualEnclaveApprovalResource.
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.VirtualEnclaves.Models.ApprovalActionResult>> NotifyInitiatorAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.VirtualEnclaves.Models.ApprovalActionContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member NotifyInitiatorAsync : Azure.WaitUntil * Azure.ResourceManager.VirtualEnclaves.Models.ApprovalActionContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.VirtualEnclaves.Models.ApprovalActionResult>>
override this.NotifyInitiatorAsync : Azure.WaitUntil * Azure.ResourceManager.VirtualEnclaves.Models.ApprovalActionContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.VirtualEnclaves.Models.ApprovalActionResult>>
Public Overridable Function NotifyInitiatorAsync (waitUntil As WaitUntil, content As ApprovalActionContent, 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
ApprovalActionContent

The content of the action request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to