Modifies the switching time of scheduled O&M tasks for an ApsaraDB for MongoDB instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:ModifyActiveOperationTasks |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Ids |
string |
Yes |
The IDs of the O&M tasks. Separate multiple task IDs with commas (,). Note
You can call the DescribeActiveOperationTask operation to query the IDs of O&M tasks. |
11111,22222 |
| SwitchTime |
string |
Yes |
The scheduled switching time. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. Note
The SwitchTime value cannot be later than the Deadline value. You can call the DescribeActiveOperationTasks operation to query the latest switching time returned for the Deadline parameter. |
2019-10-17T18:50:00Z |
| ImmediateStart |
integer |
No |
Specifies whether to start scheduling immediately. Valid values:
Note
|
0 |
| ResourceGroupId |
string |
No |
The ID of the resource group. |
rg-acfmyiu4ekp**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Ids |
string |
The IDs of the O&M tasks. Multiple task IDs are separated by commas (,). |
11111,22222 |
| RequestId |
string |
The request ID. |
CAAE9DDA-65FD-584C-A378-F1F24676**** |
Examples
Success response
JSON format
{
"Ids": "11111,22222",
"RequestId": "CAAE9DDA-65FD-584C-A378-F1F24676****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.