Compartir a través de


TestJobOperationsExtensions.CreateAsync Método

Definición

Sobrecargas

CreateAsync(ITestJobOperations, String, String, TestJobCreateParameters)
CreateAsync(ITestJobOperations, String, String, String, TestJobCreateParameters, CancellationToken)

Cree un trabajo de prueba del runbook. http://aka.ms/azureautomationsdk/testjoboperations

CreateAsync(ITestJobOperations, String, String, TestJobCreateParameters)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.TestJobCreateResponse> CreateAsync (this Microsoft.Azure.Management.Automation.ITestJobOperations operations, string resourceGroupName, string automationAccount, Microsoft.Azure.Management.Automation.Models.TestJobCreateParameters parameters);
static member CreateAsync : Microsoft.Azure.Management.Automation.ITestJobOperations * string * string * Microsoft.Azure.Management.Automation.Models.TestJobCreateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.TestJobCreateResponse>
<Extension()>
Public Function CreateAsync (operations As ITestJobOperations, resourceGroupName As String, automationAccount As String, parameters As TestJobCreateParameters) As Task(Of TestJobCreateResponse)

Parámetros

operations
ITestJobOperations
resourceGroupName
String
automationAccount
String

Devoluciones

Se aplica a

CreateAsync(ITestJobOperations, String, String, String, TestJobCreateParameters, CancellationToken)

Cree un trabajo de prueba del runbook. http://aka.ms/azureautomationsdk/testjoboperations

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.TestJob> CreateAsync (this Microsoft.Azure.Management.Automation.ITestJobOperations operations, string resourceGroupName, string automationAccountName, string runbookName, Microsoft.Azure.Management.Automation.Models.TestJobCreateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Automation.ITestJobOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.TestJobCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.TestJob>
<Extension()>
Public Function CreateAsync (operations As ITestJobOperations, resourceGroupName As String, automationAccountName As String, runbookName As String, parameters As TestJobCreateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TestJob)

Parámetros

operations
ITestJobOperations

El grupo de operaciones de este método de extensión.

resourceGroupName
String

Nombre de un grupo de recursos de Azure.

automationAccountName
String

Nombre de la cuenta de Automation.

runbookName
String

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

parameters
TestJobCreateParameters

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

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a