Modifies the planned switching 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 event IDs with commas (,). |
1111721,1111718 |
| SwitchTime |
string |
Yes |
The scheduled switching time in the ISO 8601 yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. Note
The SwitchTime value cannot be later than the Deadline value. Call the DescribeActiveOperationTasks operation to query the latest switching time returned for the Deadline parameter. |
2019-10-17T18:50:00Z |
| ImmediateStart |
integer |
No |
Whether to immediately start scheduling. Valid values:
Note
If you set this parameter to 0, the SwitchTime parameter takes effect. If you set this parameter to 1, the SwitchTime parameter does not take effect. Instead, the start time is set to the current time, and the system determines the switching time based on the start time. Scheduling starts immediately as a prerequisite for the switchover. Call the DescribeActiveOperationTasks operation to query the preparation time returned for the PrepareInterval parameter. |
0 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Ids |
string |
The IDs of the O&M events. Separate multiple event 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.