Obtains quota plans.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
GET /api/v1/quotas/{nickname}/plans HTTP/1.1
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
nickname | string | Yes | The name of the quota. | quotaA |
tenantId | string | No | The ID of the tenant. | 478403690625249 |
region | string | No | The ID of the region. | cn-beijing |
Response parameters
Examples
Sample success responses
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
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-09-05 | The internal configuration of the API is changed, but the call is not affected | View Change Details |