Freigeben über


AutomationRunbookResource.SuspendTestJobAsync(CancellationToken) Methode

Definition

Setzen Sie den Testauftrag an.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/testJob/suspend
  • Vorgangs-IdTestJob_Suspend
public virtual System.Threading.Tasks.Task<Azure.Response> SuspendTestJobAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member SuspendTestJobAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.SuspendTestJobAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function SuspendTestJobAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: