Share via


JobOperationsExtensions.CreateAsync Method

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

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

Usage

'Usage
Dim operations As IJobOperations
Dim automationAccount As String
Dim parameters As JobCreateParameters
Dim returnValue As Task(Of JobCreateResponse)

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

Syntax

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

Parameters

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

Return Value

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

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