Compartir a través de


AutomationRunbookResource.GetTestJobAsync(CancellationToken) Método

Definición

Recupere el trabajo de prueba para el runbook especificado.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/testJob
  • IdTestJob_Get de operaciones
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))

Parámetros

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a