Share via


JobScheduleOperationsExtensions.CreateAsync Method

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

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

Usage

'Usage
Dim operations As IJobScheduleOperations
Dim automationAccount As String
Dim parameters As JobScheduleCreateParameters
Dim returnValue As Task(Of JobScheduleCreateResponse)

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

Syntax

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

Parameters

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

Return Value

The response model for the create job 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

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