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
operations
Type: Microsoft.WindowsAzure.Management.Automation.IRunbookOperationsReference to the Microsoft.WindowsAzure.Management.Automation.IRunbookOperations.
automationAccount
Type: System.StringRequired. The automation account name.
parameters
Type: Microsoft.WindowsAzure.Management.Automation.Models.RunbookCreateDraftParametersRequired. The create parameters for runbook.
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