Compartilhar via


Método RunbookDraftOperationsExtensions.PublishAsync (IRunbookDraftOperations, String, RunbookDraftPublishParameters)

 

Recupere o runbook identificado pelo nome do runbook. (consulte https://aka.ms/azureautomationsdk/runbookdraftoperations para obter mais informações)

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

Sintaxe

public static Task<LongRunningOperationResultResponse> PublishAsync(
    this IRunbookDraftOperations operations,
    string automationAccount,
    RunbookDraftPublishParameters parameters
)
public:
[ExtensionAttribute]
static Task<LongRunningOperationResultResponse^>^ PublishAsync(
    IRunbookDraftOperations^ operations,
    String^ automationAccount,
    RunbookDraftPublishParameters^ parameters
)
static member PublishAsync : 
        operations:IRunbookDraftOperations *
        automationAccount:string *
        parameters:RunbookDraftPublishParameters -> Task<LongRunningOperationResultResponse>
<ExtensionAttribute>
Public Shared Function PublishAsync (
    operations As IRunbookDraftOperations,
    automationAccount As String,
    parameters As RunbookDraftPublishParameters
) As Task(Of LongRunningOperationResultResponse)

Parâmetros

  • automationAccount
    Type: System.String

    Obrigatório. O nome da conta de automação.

Valor de retorno

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

Uma resposta do serviço padrão por muito tempo executando operações.

Consulte também

Classe RunbookDraftOperationsExtensions
Namespace Microsoft.WindowsAzure.Management.Automation

Retornar ao topo