AutomationJobResource.StopAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.