Apache CloudStack 4.23.0.0 Root Admin API Reference

quotaResourceStatement

Generates a detailed Quota statement for a specific resource.

Request parameters

Parameter NameDescriptionRequired
idID of the resource.true
enddateEnd date for the query. 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 date for the query. 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
usagetypeUsage type of the Quota usage.true
accountidGenerate the statement for this Account. A resource may have belonged to different owners at distinct points in time, so this parameter can be used to only consider the period for which it belonged to a specific Account.false
domainidID of the Domain for which the Quota statement will be generated.false
isrecursiveWhether to include usage records from children of the filtered domain. Defaults to false.false
projectidGenerate the statement for this Project. A resource may have belonged to different owners at distinct points in time, so this parameter can be used to only consider the period for which it belonged to a specific Project.false

Response Tags

Response NameDescription
totalquotaTotal amount of quota used.
unitUnit of the usage type.
usagenameName of the usage type.
items(*)List of Quota tariff usages.
accountidUUID of the resource's owner.
enddateItem's end date.
quotaconsumedAmount of quota used.
startdateItem's start date.
tariffidID of the tariff.
tariffnameName of the tariff.