Udostępnij za pośrednictwem


AutomationRunbookResource.StopTestJobAsync(CancellationToken) Method

Definition

Stop the test job.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to