Share via


AutomationJobResource.StopAsync(String, CancellationToken) Method

Definition

Stop the job identified by jobName.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/stop
  • Operation Id: Job_Stop
public virtual System.Threading.Tasks.Task<Azure.Response> StopAsync (string clientRequestId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StopAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.StopAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function StopAsync (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