Share via


AutomationJobResource.SuspendAsync(String, CancellationToken) Method

Definition

Suspend the job identified by job name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/suspend
  • Operation Id: Job_Suspend
public virtual System.Threading.Tasks.Task<Azure.Response> SuspendAsync (string clientRequestId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member SuspendAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.SuspendAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function SuspendAsync (Optional clientRequestId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

clientRequestId
String

Identifies this specific client request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to