ITestJobOperations.CreateAsync Method (String, TestJobCreateParameters, CancellationToken)
Create a test job of the runbook. (see https://aka.ms/azureautomationsdk/testjoboperations for more information)
Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)
Syntax
Task<TestJobCreateResponse> CreateAsync(
string automationAccount,
TestJobCreateParameters parameters,
CancellationToken cancellationToken
)
Task<TestJobCreateResponse^>^ CreateAsync(
String^ automationAccount,
TestJobCreateParameters^ parameters,
CancellationToken cancellationToken
)
abstract CreateAsync :
automationAccount:string *
parameters:TestJobCreateParameters *
cancellationToken:CancellationToken -> Task<TestJobCreateResponse>
Function CreateAsync (
automationAccount As String,
parameters As TestJobCreateParameters,
cancellationToken As CancellationToken
) As Task(Of TestJobCreateResponse)
Parameters
automationAccount
Type: System.StringThe automation account name.
parameters
Type: Microsoft.WindowsAzure.Management.Automation.Models.TestJobCreateParametersThe parameters supplied to the create test job operation.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<TestJobCreateResponse>
The response model for the create test job operation.
See Also
ITestJobOperations Interface
Microsoft.WindowsAzure.Management.Automation Namespace
Return to top