IJobOperations.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 job of the runbook. (see http://aka.ms/azureautomationsdk/joboperations for more information)
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.JobCreateResponse> CreateAsync (string automationAccount, Microsoft.WindowsAzure.Management.Automation.Models.JobCreateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : string * Microsoft.WindowsAzure.Management.Automation.Models.JobCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.JobCreateResponse>
Public Function CreateAsync (automationAccount As String, parameters As JobCreateParameters, cancellationToken As CancellationToken) As Task(Of JobCreateResponse)
Parameters
- automationAccount
- String
The automation account name.
- parameters
- JobCreateParameters
The parameters supplied to the create job operation.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The response model for the create job operation.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET