Changes the switchover time of O\&M events.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:ModifyMaintenanceAction |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceGroupId |
string |
No |
The resource group ID. |
rg-4690g37929XXXX |
| Ids |
string |
Yes |
The ID of the pending O&M event. Specify multiple IDs separated by commas (,) to batch change the switchover time. Note
|
11111 |
| SwitchTime |
string |
Yes |
The time when the system performs the pending O&M event. Specify the time in ISO 8601 format: |
2021-07-09T22:00:00Z |
| RegionId |
string |
Yes |
The ID of the region where the pending O&M event occurs. Note
|
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Ids |
string |
The O&M event ID. |
11111 |
| RequestId |
string |
The request ID. |
7856CBE7-5BD0-4EE1-AC62-749392****** |
Examples
Success response
JSON format
{
"Ids": "11111",
"RequestId": "7856CBE7-5BD0-4EE1-AC62-749392******"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RequiredParam.NotFound | Required input param is not found. | |
| 400 | TaskModifyError | Part of the tasks cannot be modified. | |
| 400 | SwitchTimeAfterDeadline | The switch time should be earlier than deadline. | |
| 400 | StartTimeBeforeNow | The start time should not be earlier than the current time. | |
| 403 | IncorrectTaskStatus | Certain task's status does not support this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.