Udostępnij za pośrednictwem


IModuleOperations.CreateAsync Method

Definition

Create the module identified by module name. (see http://aka.ms/azureautomationsdk/moduleoperations for more information)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.ModuleCreateResponse> CreateAsync (string automationAccount, Microsoft.WindowsAzure.Management.Automation.Models.ModuleCreateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : string * Microsoft.WindowsAzure.Management.Automation.Models.ModuleCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.ModuleCreateResponse>
Public Function CreateAsync (automationAccount As String, parameters As ModuleCreateParameters, cancellationToken As CancellationToken) As Task(Of ModuleCreateResponse)

Parameters

automationAccount
String

The automation account name.

parameters
ModuleCreateParameters

The create parameters for module.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response model for the create module operation.

Applies to