Modifies the switchover time of scheduled O&M events for an instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:ModifyActiveOperationTasks |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Ids |
string |
Yes |
The IDs of the O&M events. Separate multiple IDs with commas (,). |
1111721,1111718 |
| SwitchTime |
string |
Yes |
The scheduled switchover time to set. The time must be in the yyyy-MM-ddTHH:mm:ssZ format (UTC). Note
The time cannot be later than the deadline. You can call the DescribeActiveOperationTasks operation and obtain the deadline from the value of the Deadline response parameter. |
2019-10-17T18:50:00Z |
| ImmediateStart |
integer |
No |
Specifies whether to immediately enter the execution scheduling. Valid values:
Note
If the value is 0, switchTime takes effect. If the value is 1, switchTime does not take effect. The event start time is set to the current time, and the switchover time is automatically calculated based on the new start time. The event immediately enters the execution scheduling but is not immediately switched over. Preparations for the switchover are performed. After the preparations are completed, the switchover is performed. You can call the DescribeActiveOperationTasks operation and obtain the preparation time from the value of the PrepareInterval response parameter. |
0 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Ids |
string |
The IDs of the O&M events. Separate multiple IDs with commas (,). |
11111,22222 |
| RequestId |
string |
The request ID. |
E278D833-BB4B-50BF-8646-7BC1BAB2373B |
Examples
Success response
JSON format
{
"Ids": "11111,22222",
"RequestId": "E278D833-BB4B-50BF-8646-7BC1BAB2373B"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.