Call the ListUsage operation to query the privilege quotas in a specified region. The response returns the used amount and the upper limit of each quota.
Operation description
This API operation does not support authentication by resource group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eci:ListUsage |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
89164E78-FC82-4684-BE97-DCDD85D26546 |
| Attributes |
object |
A collection of information about the used amount and upper limit of privilege quotas in the specified region. This includes the following parameters:
|
{ "UsedAutoImageCacheCount": 4, "UsedDataCacheCount": 3, "MaxDataCacheCount": 100, "UsedCpu": 16.5, "MaxCpu": 1000, "MaxAutoImageCacheCount": 25, "MaxImageCacheCount": 500, "UsedImageCacheCount": 0 } |
Examples
Success response
JSON format
{
"RequestId": "89164E78-FC82-4684-BE97-DCDD85D26546",
"Attributes": {
"UsedAutoImageCacheCount": 4,
"UsedDataCacheCount": 3,
"MaxDataCacheCount": 100,
"UsedCpu": 16.5,
"MaxCpu": 1000,
"MaxAutoImageCacheCount": 25,
"MaxImageCacheCount": 500,
"UsedImageCacheCount": 0
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.