Merge branch 'fix/rc-5.2.6/decort_utils.py/1' into 'rc-5.2.6'
Enable output of deleted RGs for API request /restmachine/cloudapi/rg/list in... See merge request rudecs/dev/decort-ansible!18
This commit is contained in:
@@ -1684,7 +1684,7 @@ class DecortController(object):
|
|||||||
self.amodule.fail_json(**self.result)
|
self.amodule.fail_json(**self.result)
|
||||||
# try to locate RG by name - start with getting all RGs IDs within the specified account
|
# try to locate RG by name - start with getting all RGs IDs within the specified account
|
||||||
#api_params['accountId'] = arg_account_id
|
#api_params['accountId'] = arg_account_id
|
||||||
api_params['includedeleted'] = False
|
api_params['includedeleted'] = True
|
||||||
#api_resp = self.decort_api_call(requests.post, "/restmachine/cloudapi/account/listRG", api_params)
|
#api_resp = self.decort_api_call(requests.post, "/restmachine/cloudapi/account/listRG", api_params)
|
||||||
api_resp = self.decort_api_call(requests.post, "/restmachine/cloudapi/rg/list",api_params)
|
api_resp = self.decort_api_call(requests.post, "/restmachine/cloudapi/rg/list",api_params)
|
||||||
if api_resp.status_code == 200:
|
if api_resp.status_code == 200:
|
||||||
|
|||||||
Reference in New Issue
Block a user