Compartilhar via


Método RunbookDraftOperationsExtensions.ContentAsync

Retrieve the content of runbook draft identified by runbook name. (see https://aka.ms/azureautomationsdk/runbookdraftoperations for more information)

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

Uso

'Uso
Dim operations As IRunbookDraftOperations
Dim automationAccount As String
Dim runbookName As String
Dim returnValue As Task(Of RunbookContentResponse)

returnValue = RunbookDraftOperationsExtensions.ContentAsync(operations, automationAccount, runbookName)

Sintaxe

'Declaração
<ExtensionAttribute> _
Public Shared Function ContentAsync ( _
    operations As IRunbookDraftOperations, _
    automationAccount As String, _
    runbookName As String _
) As Task(Of RunbookContentResponse)
[ExtensionAttribute] 
public static Task<RunbookContentResponse> ContentAsync (
    IRunbookDraftOperations operations,
    string automationAccount,
    string runbookName
)
[ExtensionAttribute] 
public:
static Task<RunbookContentResponse^>^ ContentAsync (
    IRunbookDraftOperations^ operations, 
    String^ automationAccount, 
    String^ runbookName
)
/** @attribute ExtensionAttribute() */ 
public static Task<RunbookContentResponse> ContentAsync (
    IRunbookDraftOperations operations, 
    String automationAccount, 
    String runbookName
)
ExtensionAttribute 
public static function ContentAsync (
    operations : IRunbookDraftOperations, 
    automationAccount : String, 
    runbookName : String
) : Task<RunbookContentResponse>

Parâmetros

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Automation.IRunbookDraftOperations.
  • automationAccount
    Required. The automation account name.
  • runbookName
    Required. The runbook name.

Valor de retorno

The response model for the runbook content operation.

Segurança de thread

Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows 7 e Windows Server 2008

Plataformas de destino

Consulte também

Referência

Classe RunbookDraftOperationsExtensions
Membros RunbookDraftOperationsExtensions
Namespace Microsoft.WindowsAzure.Management.Automation