Freigeben über


AutomationJobResource.StopAsync(String, CancellationToken) Methode

Definition

Beenden Sie den durch jobName identifizierten Auftrag.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccounts/{automationAccountName}/jobs/{jobName}/stop
  • Vorgangs-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)

Parameter

clientRequestId
String

Identifiziert diese spezifische Clientanforderung.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: