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 Name | Description | Required |
| enddate | End 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 |
| startdate | Start 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 |
| account | Name of the Account for which the Quota statement will be generated. Deprecated, please use accountid instead. | false |
| accountid | ID of the Account for which the Quota statement will be generated. Can not be specified with projectid. | false |
| domainid | ID of the Domain for which the Quota statement will be generated. May be used individually or with account. | false |
| isrecursive | Whether to include usage records from children of the filtered domain. Defaults to false. | false |
| projectid | ID of the Project for which the Quota statement will be generated. Can not be specified with accountid. | false |
| showresources | List the resources of each Quota type in the period. | false |
| type | Consider only Quota usage records for the specified usage type in the statement. | false |
Response Tags
| Response Name | Description |
| history | Quota consumption history. |
| name | Name of the Usage type. |
| quota | Quota consumed. |
| resources | Item's resources. |
| type | Usage type. |
| unit | Unit of the Usage type. |