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
operations
Type: Microsoft.WindowsAzure.Management.Automation.IRunbookDraftOperationsReferência para o Microsoft.WindowsAzure.Management.Automation.IRunbookDraftOperations.
automationAccount
Type: System.StringObrigatório. O nome da conta de automação.
parameters
Type: Microsoft.WindowsAzure.Management.Automation.Models.RunbookDraftPublishParametersObrigatório. Os parâmetros fornecidos para a operação de runbook de publicaçã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