Udostępnij za pośrednictwem


IJobOperations.CreateAsync Method

Definition

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