Apache CloudStack 4.20.0.0 Root Admin API Reference

quotaStatement

Create a quota statement

Request parameters

Parameter NameDescriptionRequired
accountOptional, Account Id for which statement needs to be generatedtrue
domainidOptional, If domain Id is given and the caller is domain admin then the statement is generated for domain.true
enddateEnd of the period of the Quota statement. The recommended format is "yyyy-MM-dd'T'HH:mm:ssZ" (e.g.: "2023-01-01T12:00:00+0100"); however, the following formats are also accepted: "yyyy-MM-dd HH:mm:ss" (e.g.: "2023-01-01 12:00:00") and "yyyy-MM-dd" (e.g.: "2023-01-01" - if the time is not added, it will be interpreted as "23:59:59"). If the recommended format is not used, the date will be considered in the server timezone.true
startdateStart of the period of the Quota statement. The recommended format is "yyyy-MM-dd'T'HH:mm:ssZ" (e.g.: "2023-01-01T12:00:00+0100"); however, the following formats are also accepted: "yyyy-MM-dd HH:mm:ss" (e.g.: "2023-01-01 12:00:00") and "yyyy-MM-dd" (e.g.: "2023-01-01" - if the time is not added, it will be interpreted as "00:00:00"). If the recommended format is not used, the date will be considered in the server timezone.true
accountidList usage records for the specified accountfalse
typeList quota usage records for the specified usage typefalse

Response Tags

Response NameDescription
accountaccount name
accountidaccount id
domaindomain id
nameusage type name
quotaquota consumed
typeusage type
unitusage unit