Enable output of deleted RGs for API request /restmachine/cloudapi/rg/list in the DecortController.rg_find method.

rc-5.3.0^2
Dmitriy Smirnov 10 months ago
parent a3c1dcad7a
commit d50509e0c3

@ -1684,7 +1684,7 @@ class DecortController(object):
self.amodule.fail_json(**self.result)
# try to locate RG by name - start with getting all RGs IDs within the specified account
#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/rg/list",api_params)
if api_resp.status_code == 200:

Loading…
Cancel
Save