Share via


ModuleOperationsExtensions.CreateAsync Method (IModuleOperations, String, ModuleCreateParameters)

 

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

Namespace:   Microsoft.WindowsAzure.Management.Automation
Assembly:  Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)

Syntax

public static Task<ModuleCreateResponse> CreateAsync(
    this IModuleOperations operations,
    string automationAccount,
    ModuleCreateParameters parameters
)
public:
[ExtensionAttribute]
static Task<ModuleCreateResponse^>^ CreateAsync(
    IModuleOperations^ operations,
    String^ automationAccount,
    ModuleCreateParameters^ parameters
)
static member CreateAsync : 
        operations:IModuleOperations *
        automationAccount:string *
        parameters:ModuleCreateParameters -> Task<ModuleCreateResponse>
<ExtensionAttribute>
Public Shared Function CreateAsync (
    operations As IModuleOperations,
    automationAccount As String,
    parameters As ModuleCreateParameters
) As Task(Of ModuleCreateResponse)

Parameters

  • automationAccount
    Type: System.String

    Required. The automation account name.

Return Value

Type: System.Threading.Tasks.Task<ModuleCreateResponse>

The response model for the create module operation.

See Also

ModuleOperationsExtensions Class
Microsoft.WindowsAzure.Management.Automation Namespace

Return to top