Compartilhar via


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

 

Recupere o conteúdo de 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<RunbookContentResponse> ContentAsync(
    string automationAccount,
    string runbookName,
    CancellationToken cancellationToken
)
Task<RunbookContentResponse^>^ ContentAsync(
    String^ automationAccount,
    String^ runbookName,
    CancellationToken cancellationToken
)
abstract ContentAsync : 
        automationAccount:string *
        runbookName:string *
        cancellationToken:CancellationToken -> Task<RunbookContentResponse>
Function ContentAsync (
    automationAccount As String,
    runbookName As String,
    cancellationToken As CancellationToken
) As Task(Of RunbookContentResponse)

Parâmetros

  • automationAccount
    Type: System.String

    O nome da conta de automação.

Valor de retorno

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

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

Consulte também

Interface IRunbookOperations
Namespace Microsoft.WindowsAzure.Management.Automation

Retornar ao topo