Share via


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

  • automationAccount
    Type: System.String

    Required. The automation account name.

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