Compartilhar via


Método IRunbookOperations.CreateWithDraftAsync (String, RunbookCreateDraftParameters, 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> CreateWithDraftAsync(
    string automationAccount,
    RunbookCreateDraftParameters parameters,
    CancellationToken cancellationToken
)
Task<RunbookCreateResponse^>^ CreateWithDraftAsync(
    String^ automationAccount,
    RunbookCreateDraftParameters^ parameters,
    CancellationToken cancellationToken
)
abstract CreateWithDraftAsync : 
        automationAccount:string *
        parameters:RunbookCreateDraftParameters *
        cancellationToken:CancellationToken -> Task<RunbookCreateResponse>
Function CreateWithDraftAsync (
    automationAccount As String,
    parameters As RunbookCreateDraftParameters,
    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