共用方式為


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