Share via


IRunbookOperations.CreateAsync Method (String, RunbookCreateParameters, CancellationToken)

 

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

Task<RunbookCreateResponse> CreateAsync(
    string automationAccount,
    RunbookCreateParameters parameters,
    CancellationToken cancellationToken
)
Task<RunbookCreateResponse^>^ CreateAsync(
    String^ automationAccount,
    RunbookCreateParameters^ parameters,
    CancellationToken cancellationToken
)
abstract CreateAsync : 
        automationAccount:string *
        parameters:RunbookCreateParameters *
        cancellationToken:CancellationToken -> Task<RunbookCreateResponse>
Function CreateAsync (
    automationAccount As String,
    parameters As RunbookCreateParameters,
    cancellationToken As CancellationToken
) As Task(Of RunbookCreateResponse)

Parameters

  • automationAccount
    Type: System.String

    The automation account name.

Return Value

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

The response model for the runbook create response.

See Also

IRunbookOperations Interface
Microsoft.WindowsAzure.Management.Automation Namespace

Return to top