Add docstring for the method DecortAccountInfo.mapped_rg_params
This commit is contained in:
@@ -304,6 +304,13 @@ class DecortAccountInfo(DecortController):
|
||||
|
||||
@property
|
||||
def mapped_rg_params(self) -> None | dict:
|
||||
"""
|
||||
Map the module parameter `resource_groups` to
|
||||
parameters dictionary for the method
|
||||
`DecortController.account_resource_groups`
|
||||
(excluding for `account_id`).
|
||||
"""
|
||||
|
||||
input_params = self.amodule.params['resource_groups']
|
||||
if not input_params:
|
||||
return input_params
|
||||
|
||||
Reference in New Issue
Block a user