ScheduledActionResource.RunByScopeAsync(CancellationToken) Method

Definition

Runs a shared scheduled action within the given scope.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/scheduledActions/{name}/execute
  • Operation Id: ScheduledActions_RunByScope
public virtual System.Threading.Tasks.Task<Azure.Response> RunByScopeAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member RunByScopeAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.RunByScopeAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function RunByScopeAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to