Udostępnij za pośrednictwem


ScheduleOperationsExtensions.CreateAsync Method

Definition

Create a schedule. (see http://aka.ms/azureautomationsdk/scheduleoperations for more information)

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

Parameters

operations
IScheduleOperations

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

automationAccount
String

Required. The automation account name.

parameters
ScheduleCreateParameters

Required. The parameters supplied to the create schedule operation.

Returns

The response model for the create schedule operation.

Applies to