Share via


ScheduleOperationsExtensions.CreateAsync Method

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

Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)

Usage

'Usage
Dim operations As IScheduleOperations
Dim automationAccount As String
Dim parameters As ScheduleCreateParameters
Dim returnValue As Task(Of ScheduleCreateResponse)

returnValue = ScheduleOperationsExtensions.CreateAsync(operations, automationAccount, parameters)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function CreateAsync ( _
    operations As IScheduleOperations, _
    automationAccount As String, _
    parameters As ScheduleCreateParameters _
) As Task(Of ScheduleCreateResponse)
[ExtensionAttribute] 
public static Task<ScheduleCreateResponse> CreateAsync (
    IScheduleOperations operations,
    string automationAccount,
    ScheduleCreateParameters parameters
)
[ExtensionAttribute] 
public:
static Task<ScheduleCreateResponse^>^ CreateAsync (
    IScheduleOperations^ operations, 
    String^ automationAccount, 
    ScheduleCreateParameters^ parameters
)
/** @attribute ExtensionAttribute() */ 
public static Task<ScheduleCreateResponse> CreateAsync (
    IScheduleOperations operations, 
    String automationAccount, 
    ScheduleCreateParameters parameters
)
ExtensionAttribute 
public static function CreateAsync (
    operations : IScheduleOperations, 
    automationAccount : String, 
    parameters : ScheduleCreateParameters
) : Task<ScheduleCreateResponse>

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Automation.IScheduleOperations.
  • automationAccount
    Required. The automation account name.
  • parameters
    Required. The parameters supplied to the create schedule operation.

Return Value

The response model for the create schedule operation.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

ScheduleOperationsExtensions Class
ScheduleOperationsExtensions Members
Microsoft.WindowsAzure.Management.Automation Namespace