共用方式為


IRunbookOperations.CreateAsync 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> 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.

Applies to