Modifies the maintenance window of a Tair (Redis OSS-compatible) instance. Alibaba Cloud maintains Tair (Redis OSS-compatible) instances during the specified maintenance window.
Operation description
You can also modify the maintenance window in the Tair (Redis OSS-compatible) console. For more information, see Set a maintenance window.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:ModifyInstanceMaintainTime |
update |
*DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. |
r-bp1zxszhcgatnx**** |
| MaintainStartTime |
string |
Yes |
The start time of the maintenance window. Specify the time in the HH:mmZ format in UTC. For example, to start maintenance at 1:00 (UTC+8), set this parameter to |
03:00Z |
| MaintainEndTime |
string |
Yes |
The end time of the maintenance window. Specify the time in the HH:mmZ format in UTC. For example, to end maintenance at 2:00 (UTC+8), set this parameter to Note
The interval between the start time and the end time cannot be less than 1 hour. |
04:00Z |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76 |
Examples
Success response
JSON format
{
"RequestId": "8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76"
}
Error response
JSON format
{
"RequestId": "8D0C0AFC-E9CD-47A4-8395-5C31BF9B3E76"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidEndTime.Format | Specified end time is not valid. | The incoming end time does not meet the specification. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.