Compartilhar via


Método JobOperationsExtensions.CreateAsync

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 (em Microsoft.WindowsAzure.Management.Automation.dll)

Uso

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

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

Sintaxe

'Declaração
<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>

Parâmetros

  • 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.

Valor de retorno

The response model for the create job operation.

Segurança de thread

Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows 7 e Windows Server 2008

Plataformas de destino

Consulte também

Referência

Classe JobOperationsExtensions
Membros JobOperationsExtensions
Namespace Microsoft.WindowsAzure.Management.Automation