IRunbookDraftOperations.PublishAsync Method

Definition

Retrieve the runbook identified by runbook name. (see http://aka.ms/azureautomationsdk/runbookdraftoperations for more information)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.LongRunningOperationResultResponse> PublishAsync (string automationAccount, Microsoft.WindowsAzure.Management.Automation.Models.RunbookDraftPublishParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member PublishAsync : string * Microsoft.WindowsAzure.Management.Automation.Models.RunbookDraftPublishParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.LongRunningOperationResultResponse>
Public Function PublishAsync (automationAccount As String, parameters As RunbookDraftPublishParameters, cancellationToken As CancellationToken) As Task(Of LongRunningOperationResultResponse)

Parameters

automationAccount
String

The automation account name.

parameters
RunbookDraftPublishParameters

The parameters supplied to the publish runbook operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

A standard service response for long running operations.

Applies to