IRunbookDraftOperations.PublishAsync Method (String, RunbookDraftPublishParameters, CancellationToken)
Retrieve the runbook identified by runbook name. (see http://aka.ms/azureautomationsdk/runbookdraftoperations for more information)
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)
Task<LongRunningOperationResultResponse> PublishAsync(
string automationAccount,
RunbookDraftPublishParameters parameters,
CancellationToken cancellationToken
)
Parameters
- automationAccount
-
Type:
System.String
The automation account name.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Automation.Models.RunbookDraftPublishParameters
The parameters supplied to the publish runbook operation.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task<LongRunningOperationResultResponse>A standard service response for long running operations.
Show: