Lists compute quota plans.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
odps:ListQuotasPlans |
list |
*Quota
|
None | None |
Request syntax
GET /api/v1/quotas/{nickname}/computeQuotaPlan HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| nickname |
string |
Yes |
The nickname of the level-1 quota. |
os_MyQuota_p |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PopResult |
||
| requestId |
string |
The request ID. |
0bc3b4ae16685836687916212e7850 |
| httpCode |
integer |
The HTTP status code returned. |
200 |
| errorCode |
string |
The error code. |
OBJECT_NOT_EXIST |
| errorMsg |
string |
The error message. |
This object does not exist. |
| data |
object |
The returned data. |
|
| planList |
array<object> |
The list of quota plans. |
|
|
array<object> |
|||
| name |
string |
The name of the quota plan. |
planA |
| createTime |
string |
The time when the plan was created. |
1731394621890 |
| quota |
object |
The quota properties. |
|
| subQuotaInfoList |
array<object> |
The list of level-2 quotas. |
|
|
array<object> |
|||
| id |
string |
The ID of the level-2 quota. |
6790 |
| name |
string |
The name of the level-2 quota. |
dp_cn_shanghai_1702627945_p |
| nickName |
string |
The nickname of the level-2 quota. |
os_MyQuota |
| type |
string |
The quota type. |
FUXI_ONLINE |
| status |
string |
The resource status. |
ON |
| tenantId |
string |
The tenant ID. |
478403690625249 |
| regionId |
string |
The region ID. |
cn-beijing |
| cluster |
string |
The cluster ID. |
AT-120N |
| version |
string |
The version number. |
2056 |
| parameter |
object |
The quota configuration parameters. |
{ "enablePriority": false, "minCU": 25, "adhocCU": 0, "elasticReservedCU": 0, "forceReservedMin": false, "maxCU": 50, "schedulerType": "Fifo" } |
| minCU |
integer |
||
| elasticReservedCU |
integer |
||
| maxCU |
integer |
||
| createTime |
integer |
The time when the quota was created. |
1730946421757 |
| creatorId |
string |
The creator of the resource. This is the UID of an Alibaba Cloud account. |
672863518 |
| id |
string |
The ID of the level-1 quota. |
186 |
| name |
string |
The name of the level-1 quota. |
dp_cn_hangzhou_1717465943_p |
| nickName |
string |
The nickname of the level-1 quota. |
os_MyQuota_p |
| type |
string |
This corresponds to the resourceSystemType field of the control cluster. |
FUXI_ONLINE |
| status |
string |
The resource status. |
ON |
| tenantId |
string |
The tenant ID. |
478403690625249 |
| regionId |
string |
The region ID. |
cn-beijing |
| cluster |
string |
The cluster ID. |
AT-120N |
| version |
string |
The version. |
2056 |
| parameter |
object |
The quota configuration parameters. |
{ "enablePriority": false, "minCU": 25, "adhocCU": 0, "elasticReservedCU": 0, "forceReservedMin": false, "maxCU": 50, "schedulerType": "Fifo" } |
| minCU |
integer |
||
| elasticReservedCU |
integer |
||
| maxCU |
integer |
||
| createTime |
integer |
The time when the quota was created. |
1730247361356 |
| creatorId |
string |
The creator of the resource. This is the UID of an Alibaba Cloud account. |
672863518 |
Examples
Success response
JSON format
{
"requestId": "0bc3b4ae16685836687916212e7850",
"httpCode": 200,
"errorCode": "OBJECT_NOT_EXIST",
"errorMsg": "This object does not exist.",
"data": {
"planList": [
{
"name": "planA",
"createTime": "1731394621890",
"quota": {
"subQuotaInfoList": [
{
"id": "6790",
"name": "dp_cn_shanghai_1702627945_p",
"nickName": "os_MyQuota",
"type": "FUXI_ONLINE",
"status": "ON",
"tenantId": "478403690625249",
"regionId": "cn-beijing",
"cluster": "AT-120N\n",
"version": "2056",
"parameter": {
"minCU": 0,
"elasticReservedCU": 0,
"maxCU": 0
},
"createTime": 1730946421757,
"creatorId": "672863518"
}
],
"id": "186",
"name": "dp_cn_hangzhou_1717465943_p",
"nickName": "os_MyQuota_p",
"type": "FUXI_ONLINE",
"status": "ON",
"tenantId": "478403690625249",
"regionId": "cn-beijing",
"cluster": "AT-120N\n",
"version": "2056",
"parameter": {
"minCU": 0,
"elasticReservedCU": 0,
"maxCU": 0
},
"createTime": 1730247361356,
"creatorId": "672863518"
}
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.