ListTunnelQuotaTimer - 查看Quota(Tunnel)分时扩缩容配置
Queries the scheduled scaling configurations of a dedicated Tunnel Quota resource group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
odps:ListQuotaTimers |
list |
*All resources
|
None | None |
Request syntax
GET /api/v1/tunnel/{nickname}/timers HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| nickname |
string |
Yes |
The nickname of the level-1 dedicated Tunnel Quota resource group. |
ot_tunnel_quota_p |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| requestId |
string |
The request ID. |
0be3e0b716671885050924814e3623 |
| httpCode |
integer |
The HTTP status code.
|
200 |
| errorCode |
string |
The error code. |
OBJECT_NOT_EXIST |
| errorMsg |
string |
The error message. |
This object does not exist. |
| data |
array<object> |
The returned data. |
|
|
array<object> |
The returned data. |
||
| beginTime |
string |
The start time of the scheduled scaling configuration. |
00:00 |
| endTime |
string |
The end time of the scheduled scaling configuration. |
08:00 |
| timezone |
string |
The time zone of the scheduled scaling configuration. |
Asia/Shanghai |
| tunnelQuotaParameter |
object |
The scheduled scaling parameters. |
|
| slotNum |
integer |
The number of reserved concurrency slots. |
100 |
| elasticReservedSlotNum |
integer |
The number of elastic reserved concurrency slots. |
100 |
Examples
Success response
JSON format
{
"requestId": "0be3e0b716671885050924814e3623",
"httpCode": 200,
"errorCode": "OBJECT_NOT_EXIST",
"errorMsg": "This object does not exist.",
"data": [
{
"beginTime": "00:00",
"endTime": "08:00",
"timezone": "Asia/Shanghai",
"tunnelQuotaParameter": {
"slotNum": 100,
"elasticReservedSlotNum": 100
}
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.