Compartilhar via


Método IRunbookOperations.CreateAsync (String, RunbookCreateParameters, CancellationToken)

 

Crie o runbook identificado pelo nome do runbook. (consulte https://aka.ms/azureautomationsdk/runbookoperations para obter mais informações)

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

Sintaxe

Task<RunbookCreateResponse> CreateAsync(
    string automationAccount,
    RunbookCreateParameters parameters,
    CancellationToken cancellationToken
)
Task<RunbookCreateResponse^>^ CreateAsync(
    String^ automationAccount,
    RunbookCreateParameters^ parameters,
    CancellationToken cancellationToken
)
abstract CreateAsync : 
        automationAccount:string *
        parameters:RunbookCreateParameters *
        cancellationToken:CancellationToken -> Task<RunbookCreateResponse>
Function CreateAsync (
    automationAccount As String,
    parameters As RunbookCreateParameters,
    cancellationToken As CancellationToken
) As Task(Of RunbookCreateResponse)

Parâmetros

  • automationAccount
    Type: System.String

    O nome da conta de automação.

Valor de retorno

Type: System.Threading.Tasks.Task<RunbookCreateResponse>

O modelo de resposta para o runbook criar resposta.

Consulte também

Interface IRunbookOperations
Namespace Microsoft.WindowsAzure.Management.Automation

Retornar ao topo