Compartilhar via


Método IJobOperations.GetRunbookContentAsync (String, Guid, CancellationToken)

 

Recupere o conteúdo de runbook do trabalho identificado pela id do trabalho. (consulte https://aka.ms/azureautomationsdk/joboperations para obter mais informações)

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

Sintaxe

Task<JobGetRunbookContentResponse> GetRunbookContentAsync(
    string automationAccount,
    Guid jobId,
    CancellationToken cancellationToken
)
Task<JobGetRunbookContentResponse^>^ GetRunbookContentAsync(
    String^ automationAccount,
    Guid jobId,
    CancellationToken cancellationToken
)
abstract GetRunbookContentAsync : 
        automationAccount:string *
        jobId:Guid *
        cancellationToken:CancellationToken -> Task<JobGetRunbookContentResponse>
Function GetRunbookContentAsync (
    automationAccount As String,
    jobId As Guid,
    cancellationToken As CancellationToken
) As Task(Of JobGetRunbookContentResponse)

Parâmetros

  • automationAccount
    Type: System.String

    O nome da conta de automação.

Valor de retorno

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

O modelo de resposta para o conteúdo do runbook get da operação do trabalho.

Consulte também

Interface IJobOperations
Namespace Microsoft.WindowsAzure.Management.Automation

Retornar ao topo