Compartilhar via


Método IRunbookOperations.GetAsync (String, String, CancellationToken)

 

Recupere 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<RunbookGetResponse> GetAsync(
    string automationAccount,
    string runbookName,
    CancellationToken cancellationToken
)
Task<RunbookGetResponse^>^ GetAsync(
    String^ automationAccount,
    String^ runbookName,
    CancellationToken cancellationToken
)
abstract GetAsync : 
        automationAccount:string *
        runbookName:string *
        cancellationToken:CancellationToken -> Task<RunbookGetResponse>
Function GetAsync (
    automationAccount As String,
    runbookName As String,
    cancellationToken As CancellationToken
) As Task(Of RunbookGetResponse)

Parâmetros

  • automationAccount
    Type: System.String

    O nome da conta de automação.

Valor de retorno

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

O modelo de resposta para a operação runbook.

Consulte também

Interface IRunbookOperations
Namespace Microsoft.WindowsAzure.Management.Automation

Retornar ao topo