ScheduledActionOccurrenceResource.DelayAsync Method

Definition

A long-running resource action.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}/occurrences/{occurrenceId}/delay.
  • Operation Id. : Occurrences_Delay.
  • Default Api Version. : 2026-03-01-preview.
  • Resource. : ScheduledActionOccurrenceResource.
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ComputeSchedule.Models.ScheduledActionResourceOperationResult>> DelayAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.ComputeSchedule.Models.OccurrenceDelayContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member DelayAsync : Azure.WaitUntil * Azure.ResourceManager.ComputeSchedule.Models.OccurrenceDelayContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ComputeSchedule.Models.ScheduledActionResourceOperationResult>>
override this.DelayAsync : Azure.WaitUntil * Azure.ResourceManager.ComputeSchedule.Models.OccurrenceDelayContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ComputeSchedule.Models.ScheduledActionResourceOperationResult>>
Public Overridable Function DelayAsync (waitUntil As WaitUntil, content As OccurrenceDelayContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ScheduledActionResourceOperationResult))

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
OccurrenceDelayContent

The content of the action request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to