Udostępnij za pośrednictwem


JobOperationsExtensions.CreateAsync Method

Definition

Create a job of the runbook. (see http://aka.ms/azureautomationsdk/joboperations for more information)

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.JobCreateResponse> CreateAsync (this Microsoft.WindowsAzure.Management.Automation.IJobOperations operations, string automationAccount, Microsoft.WindowsAzure.Management.Automation.Models.JobCreateParameters parameters);
static member CreateAsync : Microsoft.WindowsAzure.Management.Automation.IJobOperations * string * Microsoft.WindowsAzure.Management.Automation.Models.JobCreateParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.JobCreateResponse>
<Extension()>
Public Function CreateAsync (operations As IJobOperations, automationAccount As String, parameters As JobCreateParameters) As Task(Of JobCreateResponse)

Parameters

operations
IJobOperations

Reference to the Microsoft.WindowsAzure.Management.Automation.IJobOperations.

automationAccount
String

Required. The automation account name.

parameters
JobCreateParameters

Required. The parameters supplied to the create job operation.

Returns

The response model for the create job operation.

Applies to