RunbookOperationsExtensions.CreateAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.RunbookCreateResponse> CreateAsync (this Microsoft.WindowsAzure.Management.Automation.IRunbookOperations operations, string automationAccount, Microsoft.WindowsAzure.Management.Automation.Models.RunbookCreateParameters parameters);
static member CreateAsync : Microsoft.WindowsAzure.Management.Automation.IRunbookOperations * string * Microsoft.WindowsAzure.Management.Automation.Models.RunbookCreateParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.RunbookCreateResponse>
<Extension()>
Public Function CreateAsync (operations As IRunbookOperations, automationAccount As String, parameters As RunbookCreateParameters) As Task(Of RunbookCreateResponse)

Parameters

operations
IRunbookOperations

Reference to the Microsoft.WindowsAzure.Management.Automation.IRunbookOperations.

automationAccount
String

Required. The automation account name.

parameters
RunbookCreateParameters

Required. The create parameters for runbook.

Returns

The response model for the runbook create response.

Applies to