Add brief docstring for the method DecortController.account_resource_consumption
This commit is contained in:
@@ -2168,6 +2168,16 @@ class DecortController(object):
|
|||||||
@waypoint
|
@waypoint
|
||||||
def account_resource_consumption(self, account_id: int,
|
def account_resource_consumption(self, account_id: int,
|
||||||
fail_if_not_found=False) -> None | dict:
|
fail_if_not_found=False) -> None | dict:
|
||||||
|
"""
|
||||||
|
Implementation of functionality of the API method
|
||||||
|
`/cloudapi/account/getResourceConsumption`.
|
||||||
|
|
||||||
|
|
||||||
|
@param (bool) fail_if_not_found: If `True` is specified, then
|
||||||
|
the method `self.amodule.fail_json(**self.result)` will be
|
||||||
|
called if account is not found.
|
||||||
|
"""
|
||||||
|
|
||||||
api_resp = self.decort_api_call(
|
api_resp = self.decort_api_call(
|
||||||
arg_req_function=requests.post,
|
arg_req_function=requests.post,
|
||||||
arg_api_name='/restmachine/cloudapi/account/getResourceConsumption',
|
arg_api_name='/restmachine/cloudapi/account/getResourceConsumption',
|
||||||
|
|||||||
Reference in New Issue
Block a user