Udostępnij za pośrednictwem


AutomationRunbookResource.SuspendTestJobAsync(CancellationToken) Method

Definition

Suspend the test job.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/testJob/suspend
  • Operation Id: TestJob_Suspend
public virtual System.Threading.Tasks.Task<Azure.Response> SuspendTestJobAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member SuspendTestJobAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.SuspendTestJobAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function SuspendTestJobAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to