Freigeben über


AutomationRunbookResource.GetTestJobAsync(CancellationToken) Methode

Definition

Rufen Sie den Testauftrag für das angegebene Runbook ab.

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

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: