Udostępnij za pośrednictwem


ModuleOperationsExtensions.CreateAsync Method

Definition

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

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

Parameters

operations
IModuleOperations

Reference to the Microsoft.WindowsAzure.Management.Automation.IModuleOperations.

automationAccount
String

Required. The automation account name.

parameters
ModuleCreateParameters

Required. The create parameters for module.

Returns

The response model for the create module operation.

Applies to