Udostępnij za pośrednictwem


ITestJobOperations.CreateAsync Method

Definition

Create a test job of the runbook. (see http://aka.ms/azureautomationsdk/testjoboperations for more information)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.TestJobCreateResponse> CreateAsync (string automationAccount, Microsoft.WindowsAzure.Management.Automation.Models.TestJobCreateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : string * Microsoft.WindowsAzure.Management.Automation.Models.TestJobCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.TestJobCreateResponse>
Public Function CreateAsync (automationAccount As String, parameters As TestJobCreateParameters, cancellationToken As CancellationToken) As Task(Of TestJobCreateResponse)

Parameters

automationAccount
String

The automation account name.

parameters
TestJobCreateParameters

The parameters supplied to the create test job operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response model for the create test job operation.

Applies to