Compartilhar via


Método RunbookDraftOperationsExtensions.BeginPublishAsync

Retrieve the runbook 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 parameters As RunbookDraftPublishParameters
Dim returnValue As Task(Of LongRunningOperationResultResponse)

returnValue = RunbookDraftOperationsExtensions.BeginPublishAsync(operations, automationAccount, parameters)

Sintaxe

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

Parâmetros

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Automation.IRunbookDraftOperations.
  • automationAccount
    Required. The automation account name.
  • parameters
    Required. The parameters supplied to the publish runbook operation.

Valor de retorno

A standard service response for long running operations.

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