获取计算Quota分时计划。
Operation description
请确保在使用该接口前,已充分了解 MaxCompute 弹性预留 CU 的收费方式和价格。
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
odps:GetQuotaSchedule |
get |
*Quota
|
None | None |
Request syntax
GET /api/v1/quotas/{nickname}/computeQuotaSchedule HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| nickname |
string |
Yes |
一级 Quota 昵称。 |
os_ComputeQuota_p |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| displayTimezone |
string |
No |
展示时区。 Note
默认为: UTC+8。 |
UTC+8 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
请求返回参数。 |
||
| requestId |
string |
请求 ID。 |
B42CA730-8187-50F1-9FE0-6733297036DB |
| httpCode |
integer |
HTTP 状态码。
|
200 |
| errorCode |
string |
错误码。 |
QUOTA_UNKNOWN_NICKNAME |
| errorMsg |
string |
错误信息。 |
Cannot found quota ** |
| data |
array<object> |
返回结果。 |
|
|
array<object> |
返回结果。 |
||
| id |
string |
Quota 计划 ID。 |
89b54db44d384f26964951ea457f64a5 |
| type |
string |
Quota 计划类型。 |
daily |
| plan |
string |
Quota 计划名称。 |
planA |
| condition |
object |
生效条件值。 |
|
| at |
string |
生效时间。 |
09:00 |
| timezone |
string |
时区。 Note
默认值为: UTC+8。 |
UTC+8 |
Examples
Success response
JSON format
{
"requestId": "B42CA730-8187-50F1-9FE0-6733297036DB",
"httpCode": 200,
"errorCode": "QUOTA_UNKNOWN_NICKNAME",
"errorMsg": "Cannot found quota **",
"data": [
{
"id": "89b54db44d384f26964951ea457f64a5",
"type": "daily",
"plan": "planA",
"condition": {
"at": "09:00"
},
"timezone": "\t\nUTC+8\n"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.