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
operations
Type: Microsoft.WindowsAzure.Management.Automation.IModuleOperationsReference to the Microsoft.WindowsAzure.Management.Automation.IModuleOperations.
automationAccount
Type: System.StringRequired. The automation account name.
parameters
Type: Microsoft.WindowsAzure.Management.Automation.Models.ModuleCreateParametersRequired. The create parameters for module.
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