IRunbookOperations.CreateWithDraftAsync Method

Definition

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.

Applies to