ITestJobOperations::CreateAsync Method (String^, TestJobCreateParameters^, CancellationToken)
Create a test job of the runbook. (see http://aka.ms/azureautomationsdk/testjoboperations for more information)
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)
Task<TestJobCreateResponse^>^ CreateAsync( String^ automationAccount, TestJobCreateParameters^ parameters, CancellationToken cancellationToken )
Parameters
- automationAccount
-
Type:
System::String^
The automation account name.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Automation.Models::TestJobCreateParameters^
The parameters supplied to the create test job operation.
- cancellationToken
-
Type:
System.Threading::CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks::Task<TestJobCreateResponse^>^The response model for the create test job operation.
Show: