Share via


JobOperationsExtensions.Create 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 JobCreateResponse

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Create ( _
    operations As IJobOperations, _
    automationAccount As String, _
    parameters As JobCreateParameters _
) As JobCreateResponse
[ExtensionAttribute] 
public static JobCreateResponse Create (
    IJobOperations operations,
    string automationAccount,
    JobCreateParameters parameters
)
[ExtensionAttribute] 
public:
static JobCreateResponse^ Create (
    IJobOperations^ operations, 
    String^ automationAccount, 
    JobCreateParameters^ parameters
)
/** @attribute ExtensionAttribute() */ 
public static JobCreateResponse Create (
    IJobOperations operations, 
    String automationAccount, 
    JobCreateParameters parameters
)
ExtensionAttribute 
public static function Create (
    operations : IJobOperations, 
    automationAccount : String, 
    parameters : JobCreateParameters
) : 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