Share via


RunbookOperationsExtensions.CreateWithDraftAsync Method (IRunbookOperations, String, RunbookCreateDraftParameters)

 

Create the runbook identified by runbook name. (see https://aka.ms/azureautomationsdk/runbookoperations for more information)

Namespace:   Microsoft.WindowsAzure.Management.Automation
Assembly:  Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)

Syntax

public static Task<RunbookCreateResponse> CreateWithDraftAsync(
    this IRunbookOperations operations,
    string automationAccount,
    RunbookCreateDraftParameters parameters
)
public:
[ExtensionAttribute]
static Task<RunbookCreateResponse^>^ CreateWithDraftAsync(
    IRunbookOperations^ operations,
    String^ automationAccount,
    RunbookCreateDraftParameters^ parameters
)
static member CreateWithDraftAsync : 
        operations:IRunbookOperations *
        automationAccount:string *
        parameters:RunbookCreateDraftParameters -> Task<RunbookCreateResponse>
<ExtensionAttribute>
Public Shared Function CreateWithDraftAsync (
    operations As IRunbookOperations,
    automationAccount As String,
    parameters As RunbookCreateDraftParameters
) As Task(Of RunbookCreateResponse)

Parameters

  • automationAccount
    Type: System.String

    Required. The automation account name.

Return Value

Type: System.Threading.Tasks.Task<RunbookCreateResponse>

The response model for the runbook create response.

See Also

RunbookOperationsExtensions Class
Microsoft.WindowsAzure.Management.Automation Namespace

Return to top