IRunbookOperations.CreateWithDraftAsync 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> CreateWithDraftAsync (string automationAccount, Microsoft.WindowsAzure.Management.Automation.Models.RunbookCreateDraftParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateWithDraftAsync : string * Microsoft.WindowsAzure.Management.Automation.Models.RunbookCreateDraftParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.RunbookCreateResponse>
Public Function CreateWithDraftAsync (automationAccount As String, parameters As RunbookCreateDraftParameters, cancellationToken As CancellationToken) As Task(Of RunbookCreateResponse)
Parameters
- automationAccount
- String
The automation account name.
- parameters
- RunbookCreateDraftParameters
The create parameters for runbook.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The response model for the runbook create response.