Partager via


TestJobOperationsExtensions.CreateAsync Méthode

Définition

Surcharges

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

Créez un travail de test du 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)

Paramètres

operations
ITestJobOperations
resourceGroupName
String
automationAccount
String

Retours

S’applique à

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

Créez un travail de test du 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)

Paramètres

operations
ITestJobOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom d’un groupe de ressources Azure.

automationAccountName
String

Nom du compte Automation.

runbookName
String

Paramètres fournis à l’opération de création d’un travail de test.

parameters
TestJobCreateParameters

Paramètres fournis à l’opération de création d’un travail de test.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à