ITestJobOperations.CreateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.