Partilhar via


AutomationJobResource.StopAsync(String, CancellationToken) Método

Definição

Pare o trabalho identificado por jobName.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/stop
  • Operação IdJob_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)

Parâmetros

clientRequestId
String

Identifica essa solicitação de cliente específica.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a