IRunbookOperations.CreateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create the runbook identified by runbook name. (see http://aka.ms/azureautomationsdk/runbookoperations for more information)
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.RunbookCreateResponse> CreateAsync (string automationAccount, Microsoft.WindowsAzure.Management.Automation.Models.RunbookCreateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : string * Microsoft.WindowsAzure.Management.Automation.Models.RunbookCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.RunbookCreateResponse>
Public Function CreateAsync (automationAccount As String, parameters As RunbookCreateParameters, cancellationToken As CancellationToken) As Task(Of RunbookCreateResponse)
Parameters
- automationAccount
- String
The automation account name.
- parameters
- RunbookCreateParameters
The create parameters for runbook.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The response model for the runbook create response.