Share via


AutomationJobResource.Suspend(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 Azure.Response Suspend (string clientRequestId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Suspend : string * System.Threading.CancellationToken -> Azure.Response
override this.Suspend : string * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function Suspend (Optional clientRequestId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

clientRequestId
String

Identifies this specific client request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to