ModuleOperations interface
Interface representing a ModuleOperations.
Methods
create |
Create or Update the module identified by module name. |
delete(string, string, string, Module |
Delete the module by name. |
get(string, string, string, Module |
Retrieve the module identified by module name. |
list |
Retrieve a list of modules. |
update(string, string, string, Module |
Update the module identified by module name. |
Method Details
createOrUpdate(string, string, string, ModuleCreateOrUpdateParameters, ModuleCreateOrUpdateOptionalParams)
Create or Update the module identified by module name.
function createOrUpdate(resourceGroupName: string, automationAccountName: string, moduleName: string, parameters: ModuleCreateOrUpdateParameters, options?: ModuleCreateOrUpdateOptionalParams): Promise<Module>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- moduleName
-
string
The name of module.
- parameters
- ModuleCreateOrUpdateParameters
The create or update parameters for module.
The options parameters.
Returns
Promise<Module>
delete(string, string, string, ModuleDeleteOptionalParams)
Delete the module by name.
function delete(resourceGroupName: string, automationAccountName: string, moduleName: string, options?: ModuleDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- moduleName
-
string
The module name.
- options
- ModuleDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, string, ModuleGetOptionalParams)
Retrieve the module identified by module name.
function get(resourceGroupName: string, automationAccountName: string, moduleName: string, options?: ModuleGetOptionalParams): Promise<Module>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- moduleName
-
string
The module name.
- options
- ModuleGetOptionalParams
The options parameters.
Returns
Promise<Module>
listByAutomationAccount(string, string, ModuleListByAutomationAccountOptionalParams)
Retrieve a list of modules.
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: ModuleListByAutomationAccountOptionalParams): PagedAsyncIterableIterator<Module, Module[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
The options parameters.
Returns
update(string, string, string, ModuleUpdateParameters, ModuleUpdateOptionalParams)
Update the module identified by module name.
function update(resourceGroupName: string, automationAccountName: string, moduleName: string, parameters: ModuleUpdateParameters, options?: ModuleUpdateOptionalParams): Promise<Module>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- moduleName
-
string
The name of module.
- parameters
- ModuleUpdateParameters
The update parameters for module.
- options
- ModuleUpdateOptionalParams
The options parameters.
Returns
Promise<Module>
Azure SDK for JavaScript