GetComputeQuotaPlan
Get detailed information of a single compute quota plan.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
odps:GetQuotaPlan |
get |
*Quota
|
None | None |
Request syntax
GET /api/v1/quotas/{nickname}/computeQuotaPlan/{planName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| nickname |
string |
Yes |
The nickname of level-1 compute quota. |
os_ComputeQuota_p |
| planName |
string |
Yes |
The name of quota plan. |
planA |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| requestId |
string |
The request ID. |
EA1320AB-7766-5EC7-B0F6-8B20E2298567 |
| httpCode |
integer |
The HTTP status code.
|
200 |
| errorCode |
string |
The error code. |
QUOTA_PLAN_NOT_FOUND |
| errorMsg |
string |
The error message. |
plan \"***\" does not exist |
| data |
object |
The data returned. |
|
| name |
string |
The name of the quota plan. |
planA |
| createTime |
string |
The time when the quota plan was created. |
1730946421757 |
| quota |
object |
The details of the quota. |
|
| subQuotaInfoList |
array<object> |
The list of level-2 quotas. |
|
|
array<object> |
|||
| id |
string |
The ID of the level-2 quota. |
10940 |
| name |
string |
The name of the level-2 quota. |
dp_cn_shanghai_1696659792_p |
| nickName |
string |
The nickname of the level-2 quota. |
subquotaA |
| type |
string |
The type of quota. |
FUXI_ONLINE |
| status |
string |
Resource status. |
ON |
| tenantId |
string |
Tenant ID. |
478403690625249 |
| regionId |
string |
Region ID. |
cn-beijing |
| cluster |
string |
Cluster ID. |
AT-120N |
| version |
string |
Version number. |
1386 |
| parameter |
object |
The parameters of the level-2 quota. |
|
| elasticReservedCU |
integer |
The value of elastic Reserved CUs. |
50 |
| maxCU |
integer |
The value of maxCU in Reserved CUs. |
50 |
| minCU |
integer |
The value of minCU in Reserved CUs. |
50 |
| schedulerType |
string |
Scheduling policy. |
Fifo/Fair |
| singleJobCULimit |
integer |
The upper limit for CUs that can be concurrently used by a job scheduled to the quota. |
50 |
| forceReservedMin |
boolean |
Whether it is exclusive. |
true/false |
| enablePriority |
boolean |
whether to enable the priority feature. |
true/false |
| createTime |
integer |
Creation time. |
1718155201628 |
| creatorId |
string |
Creator cloud account UID. |
672863518 |
| id |
string |
The ID of the level-1 quota. |
2413 |
| name |
string |
The name of the level-1 quota. |
quota_a |
| nickName |
string |
The nickname of the level-1 quota. |
quota_nickname |
| type |
string |
Corresponds to the |
FUXI_ONLINE |
| status |
string |
Resource status. |
ON |
| tenantId |
string |
Tenant ID. |
478403690625249 |
| regionId |
string |
Region ID. |
cn-beijing |
| cluster |
string |
Cluster ID. |
AT-120N |
| version |
string |
Version number. |
1964 |
| parameter |
object |
CU value parameters for the level-1 quota. |
|
| maxCU |
integer |
The value of maxCU in Reserved CUs. |
50 |
| minCU |
integer |
The value of minCU in Reserved CUs. |
50 |
| elasticReservedCU |
integer |
The value of elastic Reserved CUs. |
50 |
| createTime |
integer |
Creation time. |
1719886322347 |
| creatorId |
string |
Creator's cloud account UID. |
672863518 |
| isEffective |
boolean |
Whether it is currently effective. Note
|
true/false |
Examples
Success response
JSON format
{
"requestId": "EA1320AB-7766-5EC7-B0F6-8B20E2298567",
"httpCode": 200,
"errorCode": "QUOTA_PLAN_NOT_FOUND",
"errorMsg": "plan \\\"***\\\" does not exist",
"data": {
"name": "planA",
"createTime": "1730946421757",
"quota": {
"subQuotaInfoList": [
{
"id": "10940",
"name": "dp_cn_shanghai_1696659792_p",
"nickName": "subquotaA",
"type": "FUXI_ONLINE",
"status": "ON",
"tenantId": "478403690625249",
"regionId": "cn-beijing",
"cluster": "AT-120N\n",
"version": "1386",
"parameter": {
"elasticReservedCU": 50,
"maxCU": 50,
"minCU": 50,
"schedulerType": "Fifo/Fair",
"singleJobCULimit": 50,
"forceReservedMin": true,
"enablePriority": true
},
"createTime": 1718155201628,
"creatorId": "672863518"
}
],
"id": "2413",
"name": "quota_a\n",
"nickName": "quota_nickname",
"type": "FUXI_ONLINE",
"status": "ON",
"tenantId": "478403690625249",
"regionId": "cn-beijing",
"cluster": "AT-120N\n",
"version": "1964",
"parameter": {
"maxCU": 50,
"minCU": 50,
"elasticReservedCU": 50
},
"createTime": 1719886322347,
"creatorId": "672863518"
},
"isEffective": true
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.