Add brief docstring for the method DecortController.account_resource_consumption
This commit is contained in:
@@ -2168,6 +2168,16 @@ class DecortController(object):
|
||||
@waypoint
|
||||
def account_resource_consumption(self, account_id: int,
|
||||
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(
|
||||
arg_req_function=requests.post,
|
||||
arg_api_name='/restmachine/cloudapi/account/getResourceConsumption',
|
||||
|
||||
Reference in New Issue
Block a user