Freigeben über


AutomationRunbookResource.GetTestJob(CancellationToken) Methode

Definition

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

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

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: