RunbookOperationsExtensions.CreateWithDraftAsync Method (IRunbookOperations, String, RunbookCreateDraftParameters)
Create the runbook identified by runbook name. (see http://aka.ms/azureautomationsdk/runbookoperations for more information)
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)
public static Task<RunbookCreateResponse> CreateWithDraftAsync( this IRunbookOperations operations, string automationAccount, RunbookCreateDraftParameters parameters )
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.Automation.IRunbookOperations
Reference to the Microsoft.WindowsAzure.Management.Automation.IRunbookOperations.
- automationAccount
-
Type:
System.String
Required. The automation account name.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Automation.Models.RunbookCreateDraftParameters
Required. The create parameters for runbook.
Return Value
Type: System.Threading.Tasks.Task<RunbookCreateResponse>The response model for the runbook create response.
Show: