IRunbookOperations.CreateAsync Method (String, RunbookCreateParameters, CancellationToken)
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)
Task<RunbookCreateResponse> CreateAsync(
string automationAccount,
RunbookCreateParameters parameters,
CancellationToken cancellationToken
)
Parameters
- automationAccount
-
Type:
System.String
The automation account name.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Automation.Models.RunbookCreateParameters
The create parameters for runbook.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task<RunbookCreateResponse>The response model for the runbook create response.
Show: