Compartir a través de


AutomationRunbookResource.CreateTestJob Método

Definición

Cree un trabajo de prueba del runbook.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/testJob
  • IdTestJob_Create de operación
public virtual Azure.Response<Azure.ResourceManager.Automation.Models.RunbookTestJob> CreateTestJob (Azure.ResourceManager.Automation.Models.RunbookTestJobCreateContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateTestJob : Azure.ResourceManager.Automation.Models.RunbookTestJobCreateContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.Models.RunbookTestJob>
override this.CreateTestJob : Azure.ResourceManager.Automation.Models.RunbookTestJobCreateContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.Models.RunbookTestJob>
Public Overridable Function CreateTestJob (content As RunbookTestJobCreateContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RunbookTestJob)

Parámetros

content
RunbookTestJobCreateContent

Parámetros proporcionados a la operación de creación de trabajos de prueba.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a