RunbookDraftOperationsExtensions.PublishAsync Method (IRunbookDraftOperations, String, RunbookDraftPublishParameters)
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
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)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Automation.IRunbookDraftOperationsReference to the Microsoft.WindowsAzure.Management.Automation.IRunbookDraftOperations.
automationAccount
Type: System.StringRequired. The automation account name.
parameters
Type: Microsoft.WindowsAzure.Management.Automation.Models.RunbookDraftPublishParametersRequired. The parameters supplied to the publish runbook operation.
Return Value
Type: System.Threading.Tasks.Task<LongRunningOperationResultResponse>
A standard service response for long running operations.
See Also
RunbookDraftOperationsExtensions Class
Microsoft.WindowsAzure.Management.Automation Namespace
Return to top