Updates an elastic schedule for a warehouse.
Try it now
Test
RAM authorization
Request syntax
POST /api/v1/instances/{instanceId}/updateWarehouseScheduleTask HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
The instance ID. |
hgprecn-cn-xxxxxxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| warehouseId |
integer |
Yes |
The warehouse ID. |
1 |
| startTime |
string |
No |
The start time. The time must be in 24-hour HHmm format, on the hour or half-hour. For example, |
0200 |
| endTime |
string |
No |
The end time. The time must be in 24-hour HHmm format, on the hour or half-hour. The end time must be later than the start time. For example, |
0400 |
| elasticCu |
integer |
No |
The number of CUs to add. The value must be a multiple of 16, be at least 16, and not exceed the current warehouse size. |
32 |
| id |
string |
No |
The elastic schedule ID. |
1980869072412614657 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A |
| Data |
boolean |
Indicates whether the operation succeeded. A value of |
true |
Examples
Success response
JSON format
{
"RequestId": "2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A\n",
"Data": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.