mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
cleaning up azure_rm_sql* class names (#53261)
This commit is contained in:
committed by
Yunge Zhu
parent
66beeaf032
commit
8ef75a1901
@@ -118,7 +118,7 @@ class Actions:
|
||||
NoAction, Create, Update, Delete = range(4)
|
||||
|
||||
|
||||
class AzureRMServers(AzureRMModuleBase):
|
||||
class AzureRMSqlServer(AzureRMModuleBase):
|
||||
"""Configuration class for an Azure RM SQL Server resource"""
|
||||
|
||||
def __init__(self):
|
||||
@@ -163,9 +163,9 @@ class AzureRMServers(AzureRMModuleBase):
|
||||
self.state = None
|
||||
self.to_do = Actions.NoAction
|
||||
|
||||
super(AzureRMServers, self).__init__(derived_arg_spec=self.module_arg_spec,
|
||||
supports_check_mode=True,
|
||||
supports_tags=True)
|
||||
super(AzureRMSqlServer, self).__init__(derived_arg_spec=self.module_arg_spec,
|
||||
supports_check_mode=True,
|
||||
supports_tags=True)
|
||||
|
||||
def exec_module(self, **kwargs):
|
||||
"""Main module execution method"""
|
||||
@@ -314,7 +314,7 @@ class AzureRMServers(AzureRMModuleBase):
|
||||
|
||||
def main():
|
||||
"""Main execution"""
|
||||
AzureRMServers()
|
||||
AzureRMSqlServer()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user