Queries the list of quota plans for a specified quota.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
odps:ListQuotasPlans |
get |
*Quota
|
None | None |
Request syntax
GET /api/v1/quotas/{nickname}/plans HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| nickname |
string |
Yes |
The quota name. |
quotaA |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| tenantId |
string |
No |
The tenant ID. |
478403690625249 |
| region |
string |
No |
The region ID. |
cn-beijing |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PopResult |
||
| requestId |
string |
The request ID. |
0be3e0bd16661643917136451ebf55 |
| data |
object |
The returned data. |
|
| planList |
array<object> |
The list of quota plans. |
|
|
array<object> |
The data. |
||
| name |
string |
The quota plan name. |
planA |
| createTime |
string |
The time when the quota plan was created. |
2022-05-16T06:07:45Z |
| quota |
object |
The quota details. |
|
| id |
string |
The quota ID. |
0 |
| name |
string |
The quota name. |
quota_a |
| nickName |
string |
The quota alias. |
quota_nickname |
| type |
string |
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 |
| parentId |
string |
The parent resource ID. |
null |
| cluster |
string |
The cluster ID. |
AT-120N |
| version |
string |
The version. |
1 |
| billingPolicy |
object |
The billing information. |
|
| odpsSpecCode |
string |
The specification code. |
OdpsStandard |
| orderId |
string |
The order ID. |
45245678 |
| billingMethod |
string |
The billing method.
|
subscription |
| scheduleInfo |
object |
The scheduling information. |
|
| currPlan |
string |
The quota plan that takes effect based on the scheduling configuration. |
planA |
| currTime |
string |
The time when currPlan is scheduled to take effect. |
0800 |
| nextPlan |
string |
The next quota plan to take effect based on the scheduling configuration. |
planB |
| nextTime |
string |
The time when nextPlan is scheduled to take effect. |
1700 |
| oncePlan |
string |
The quota plan that takes effect immediately. This parameter is not empty if the triggered plan differs from currPlan. |
planC |
| onceTime |
string |
The time when the immediate plan was triggered. |
1500 |
| operatorName |
string |
The operator name. |
userA |
| parameter |
object |
The quota description. |
|
| tag |
string |
The resource tag of the quota. |
abc |
| createTime |
integer |
The time when the resource was created. |
2022-09-06T02:14:44Z |
| creatorId |
string |
The resource creator, which is the UID of the Alibaba Cloud account. |
672863518 |
| subQuotaInfoList |
array<object> |
The level-2 quota information. |
|
|
array<object> |
The level-2 quota information. |
||
| id |
string |
The level-2 quota ID. |
1000048 |
| name |
string |
The level-2 quota name. |
subquotaA |
| nickName |
string |
The level-2 quota alias. |
subquotaA |
| type |
string |
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 |
| parentId |
string |
The parent resource ID. |
0 |
| cluster |
string |
The cluster ID. |
AT-120N |
| version |
string |
The version number. |
1 |
| billingPolicy |
object |
The billing information. |
|
| odpsSpecCode |
string |
The specification code. |
OdpsStandard |
| orderId |
string |
The order ID. |
45245678 |
| billingMethod |
string |
The billing method.
|
subscription |
| scheduleInfo |
object |
The scheduling information. |
|
| currPlan |
string |
The quota plan that takes effect based on the scheduling configuration. |
planA |
| currTime |
string |
The time when currPlan is scheduled to take effect. |
0800 |
| nextPlan |
string |
The next quota plan to take effect based on the scheduling configuration. |
planB |
| nextTime |
string |
The time when nextPlan is scheduled to take effect. |
1700 |
| oncePlan |
string |
The quota plan that takes effect immediately. This parameter is not empty if the triggered plan differs from currPlan. |
planC |
| onceTime |
string |
The time when the immediate plan was triggered. |
1500 |
| operatorName |
string |
The operator name. |
userA |
| parameter |
object |
The quota description. |
|
| tag |
string |
The resource tag of the quota. |
abc |
| createTime |
integer |
The time when the resource was created. |
2022-09-06T02:14:44Z |
| creatorId |
string |
The resource creator, which is the UID of the Alibaba Cloud account. |
672863518 |
Examples
Success response
JSON format
{
"requestId": "0be3e0bd16661643917136451ebf55",
"data": {
"planList": [
{
"name": "planA",
"createTime": "2022-05-16T06:07:45Z\n",
"quota": {
"id": "0",
"name": "quota_a",
"nickName": "quota_nickname",
"type": "FUXI_ONLINE",
"status": "ON",
"tenantId": "478403690625249",
"regionId": "cn-beijing",
"parentId": "null",
"cluster": "AT-120N\n",
"version": "1",
"billingPolicy": {
"odpsSpecCode": "OdpsStandard ",
"orderId": "45245678",
"billingMethod": "subscription"
},
"scheduleInfo": {
"currPlan": "planA",
"currTime": "0800\n",
"nextPlan": "planB",
"nextTime": "1700",
"oncePlan": "planC",
"onceTime": "1500",
"operatorName": "userA"
},
"parameter": {
"test": "test",
"test2": 1
},
"tag": "abc",
"createTime": 0,
"creatorId": "672863518",
"subQuotaInfoList": [
{
"id": "1000048",
"name": "subquotaA",
"nickName": "subquotaA",
"type": "FUXI_ONLINE",
"status": "ON",
"tenantId": "478403690625249",
"regionId": "cn-beijing",
"parentId": "0",
"cluster": "AT-120N\n",
"version": "1",
"billingPolicy": {
"odpsSpecCode": "OdpsStandard ",
"orderId": "45245678",
"billingMethod": "subscription\n"
},
"scheduleInfo": {
"currPlan": "planA",
"currTime": "0800",
"nextPlan": "planB",
"nextTime": "1700",
"oncePlan": "planC",
"onceTime": "1500",
"operatorName": "userA"
},
"parameter": {
"test": "test",
"test2": 1
},
"tag": "abc",
"createTime": 0,
"creatorId": "672863518"
}
]
}
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.