RunbookOperationsExtensions.CreateWithDraftAsync 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> CreateWithDraftAsync (this Microsoft.WindowsAzure.Management.Automation.IRunbookOperations operations, string automationAccount, Microsoft.WindowsAzure.Management.Automation.Models.RunbookCreateDraftParameters parameters);
static member CreateWithDraftAsync : Microsoft.WindowsAzure.Management.Automation.IRunbookOperations * string * Microsoft.WindowsAzure.Management.Automation.Models.RunbookCreateDraftParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.RunbookCreateResponse>
<Extension()>
Public Function CreateWithDraftAsync (operations As IRunbookOperations, automationAccount As String, parameters As RunbookCreateDraftParameters) As Task(Of RunbookCreateResponse)

Parameters

operations
IRunbookOperations

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

automationAccount
String

Required. The automation account name.

parameters
RunbookCreateDraftParameters

Required. The create parameters for runbook.

Returns

The response model for the runbook create response.

Applies to