Updates the time-based auto-scaling configuration for an exclusive resource group for Data Transmission Service (Tunnel Quota).
Operation description
Before you call this operation, ensure that you fully understand the billing methods and pricing for exclusive Data Transmission Service resource groups and elastic reserved computing resources.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
odps:UpdateQuotaTimers | update | *All Resource
| None | None |
Request syntax
PUT /api/v1/tunnel/{nickname}/timers HTTP/1.1Request parameters
Parameter | Type | Required | Description | Example |
nickname | string | Yes | The nickname of the level-1 exclusive resource group for Data Transmission Service (Tunnel Quota). | ot_tunnel_quota_p |
| body | array<object> | No | The request body. | |
array<object> | No | The request body. | ||
beginTime | string | No | The start time of the time-based configuration. | 00:00 |
endTime | string | No | The end time of the time-based configuration. | 08:00 |
| tunnelQuotaParameter | object | No | The parameters of the time-based configuration. | |
slotNum | integer | No | The number of reserved concurrent slots. | 100 |
elasticReservedSlotNum | integer | No | The number of elastic reserved concurrent slots. | 100 |
timezone | string | No | The time zone. | Asia/Shanghai |
Response elements
Element | Type | Description | Example |
object | The returned parameters. | ||
requestId | string | The request ID. | 0bc12e4316675560945192024e1044 |
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 | string | The returned result. | success |
Examples
Success response
JSON format
{
"requestId": "0bc12e4316675560945192024e1044",
"httpCode": 200,
"errorCode": "OBJECT_NOT_EXIST\n",
"errorMsg": "This object does not exist.\n",
"data": "success"
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.