ModuleOperations class
Class representing a ModuleOperations.
Constructors
Module |
Create a ModuleOperations. |
Methods
Constructor Details
ModuleOperations(AutomationClientContext)
Create a ModuleOperations.
new ModuleOperations(client: AutomationClientContext)
Parameters
- client
- AutomationClientContext
Reference to the service client.
Method Details
createOrUpdate(string, string, string, ModuleCreateOrUpdateParameters, RequestOptionsBase)
Create or Update the module identified by module name.
function createOrUpdate(resourceGroupName: string, automationAccountName: string, moduleName: string, parameters: ModuleCreateOrUpdateParameters, options?: RequestOptionsBase): Promise<ModuleCreateOrUpdateResponse>
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.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<ModuleCreateOrUpdateResponse>
Promise<Models.ModuleCreateOrUpdateResponse>
createOrUpdate(string, string, string, ModuleCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<Module>)
function createOrUpdate(resourceGroupName: string, automationAccountName: string, moduleName: string, parameters: ModuleCreateOrUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<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.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
createOrUpdate(string, string, string, ModuleCreateOrUpdateParameters, ServiceCallback<Module>)
function createOrUpdate(resourceGroupName: string, automationAccountName: string, moduleName: string, parameters: ModuleCreateOrUpdateParameters, callback: ServiceCallback<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.
- callback
The callback
deleteMethod(string, string, string, RequestOptionsBase)
Delete the module by name.
function deleteMethod(resourceGroupName: string, automationAccountName: string, moduleName: string, options?: RequestOptionsBase): Promise<RestResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- moduleName
-
string
The module name.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<RestResponse>
Promise<msRest.RestResponse>
deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, automationAccountName: string, moduleName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- moduleName
-
string
The module name.
- options
- RequestOptionsBase
The optional parameters
- callback
-
ServiceCallback<void>
The callback
deleteMethod(string, string, string, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, automationAccountName: string, moduleName: string, callback: ServiceCallback<void>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- moduleName
-
string
The module name.
- callback
-
ServiceCallback<void>
The callback
get(string, string, string, RequestOptionsBase)
Retrieve the module identified by module name.
function get(resourceGroupName: string, automationAccountName: string, moduleName: string, options?: RequestOptionsBase): Promise<ModuleGetResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- moduleName
-
string
The module name.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<ModuleGetResponse>
Promise<Models.ModuleGetResponse>
get(string, string, string, RequestOptionsBase, ServiceCallback<Module>)
function get(resourceGroupName: string, automationAccountName: string, moduleName: string, options: RequestOptionsBase, callback: ServiceCallback<Module>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- moduleName
-
string
The module name.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
get(string, string, string, ServiceCallback<Module>)
function get(resourceGroupName: string, automationAccountName: string, moduleName: string, callback: ServiceCallback<Module>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- moduleName
-
string
The module name.
- callback
The callback
listByAutomationAccount(string, string, RequestOptionsBase)
Retrieve a list of modules.
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: RequestOptionsBase): Promise<ModuleListByAutomationAccountResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.ModuleListByAutomationAccountResponse>
listByAutomationAccount(string, string, RequestOptionsBase, ServiceCallback<ModuleListResult>)
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: RequestOptionsBase, callback: ServiceCallback<ModuleListResult>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
listByAutomationAccount(string, string, ServiceCallback<ModuleListResult>)
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<ModuleListResult>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- callback
The callback
listByAutomationAccountNext(string, RequestOptionsBase)
Retrieve a list of modules.
function listByAutomationAccountNext(nextPageLink: string, options?: RequestOptionsBase): Promise<ModuleListByAutomationAccountNextResponse>
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.ModuleListByAutomationAccountNextResponse>
listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<ModuleListResult>)
function listByAutomationAccountNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<ModuleListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
listByAutomationAccountNext(string, ServiceCallback<ModuleListResult>)
function listByAutomationAccountNext(nextPageLink: string, callback: ServiceCallback<ModuleListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- callback
The callback
update(string, string, string, ModuleUpdateParameters, RequestOptionsBase)
Update the module identified by module name.
function update(resourceGroupName: string, automationAccountName: string, moduleName: string, parameters: ModuleUpdateParameters, options?: RequestOptionsBase): Promise<ModuleUpdateResponse>
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
- RequestOptionsBase
The optional parameters
Returns
Promise<ModuleUpdateResponse>
Promise<Models.ModuleUpdateResponse>
update(string, string, string, ModuleUpdateParameters, RequestOptionsBase, ServiceCallback<Module>)
function update(resourceGroupName: string, automationAccountName: string, moduleName: string, parameters: ModuleUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<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
- RequestOptionsBase
The optional parameters
- callback
The callback
update(string, string, string, ModuleUpdateParameters, ServiceCallback<Module>)
function update(resourceGroupName: string, automationAccountName: string, moduleName: string, parameters: ModuleUpdateParameters, callback: ServiceCallback<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.
- callback
The callback