TestJobOperationsExtensions.CreateAsync Method

Definition

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

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

Parameters

operations
ITestJobOperations

Reference to the Microsoft.WindowsAzure.Management.Automation.ITestJobOperations.

automationAccount
String

Required. The automation account name.

parameters
TestJobCreateParameters

Required. The parameters supplied to the create test job operation.

Returns

The response model for the create test job operation.

Applies to