Udostępnij za pośrednictwem


IScheduleOperations.CreateAsync Method

Definition

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

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

Parameters

automationAccount
String

The automation account name.

parameters
ScheduleCreateParameters

The parameters supplied to the create schedule operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response model for the create schedule operation.

Applies to