IRunbookDraftOperations.BeginPublishAsync Method (String, RunbookDraftPublishParameters, CancellationToken)
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 (in Microsoft.WindowsAzure.Management.Automation.dll)
Syntax
Task<LongRunningOperationResultResponse> BeginPublishAsync(
string automationAccount,
RunbookDraftPublishParameters parameters,
CancellationToken cancellationToken
)
Task<LongRunningOperationResultResponse^>^ BeginPublishAsync(
String^ automationAccount,
RunbookDraftPublishParameters^ parameters,
CancellationToken cancellationToken
)
abstract BeginPublishAsync :
automationAccount:string *
parameters:RunbookDraftPublishParameters *
cancellationToken:CancellationToken -> Task<LongRunningOperationResultResponse>
Function BeginPublishAsync (
automationAccount As String,
parameters As RunbookDraftPublishParameters,
cancellationToken As CancellationToken
) As Task(Of LongRunningOperationResultResponse)
Parameters
automationAccount
Type: System.StringThe automation account name.
parameters
Type: Microsoft.WindowsAzure.Management.Automation.Models.RunbookDraftPublishParametersThe parameters supplied to the publish runbook operation.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<LongRunningOperationResultResponse>
A standard service response for long running operations.
See Also
IRunbookDraftOperations Interface
Microsoft.WindowsAzure.Management.Automation Namespace
Return to top