Apache CloudStack 4.23.0.0 Root Admin API Reference

quotaStatement

Create a Quota statement for the provided Account, Project, or Domain.

Request parameters

Parameter NameDescriptionRequired
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
accountName of the Account for which the Quota statement will be generated. Deprecated, please use accountid instead.false
accountidID of the Account for which the Quota statement will be generated. Can not be specified with projectid.false
domainidID of the Domain for which the Quota statement will be generated. May be used individually or with account.false
isrecursiveWhether to include usage records from children of the filtered domain. Defaults to false.false
projectidID of the Project for which the Quota statement will be generated. Can not be specified with accountid.false
showresourcesList the resources of each Quota type in the period.false
typeConsider only Quota usage records for the specified usage type in the statement.false

Response Tags

Response NameDescription
historyQuota consumption history.
nameName of the Usage type.
quotaQuota consumed.
resourcesItem's resources.
typeUsage type.
unitUnit of the Usage type.