Queries the Operation and Maintenance (O&M) task configuration for a MongoDB instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:DescribeActiveOperationMaintenanceConfig |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HasConfig |
integer |
Indicates whether a configuration is set.
|
0 |
| RequestId |
string |
The request ID. |
72651AF9-7897-41A7-8B67-6C15C7F26A0A |
| Config |
object |
The details of the configuration. |
|
| CycleType |
string |
The cycle type.
|
Month |
| Status |
integer |
Indicates whether the configuration is enabled.
|
1 |
| ModifiedTime |
string |
The time when the operations and maintenance (O&M) task configuration was modified. The time is in the yyyy-mm-ddThh:mm:ssZ format and is displayed in UTC. |
2024-05-30T14:30:00Z |
| MaintainStartTime |
string |
The start time of the O&M time window. The time is in the hh:mm:ssZ format and is displayed in UTC. |
18:00:00Z |
| MaintainEndTime |
string |
The end time of the O&M time window. The time is in the hh:mm:ssZ format and is displayed in UTC. |
20:00:00Z |
| CycleTime |
string |
The days of the cycle.
|
1,2,3 |
| CreatedTime |
string |
The time when the O&M task configuration was created. The time is in the yyyy-mm-ddThh:mm:ssZ format and is displayed in UTC. |
2018-05-30T14:30:00Z |
Examples
Success response
JSON format
{
"HasConfig": 0,
"RequestId": "72651AF9-7897-41A7-8B67-6C15C7F26A0A",
"Config": {
"CycleType": "Month",
"Status": 1,
"ModifiedTime": "2024-05-30T14:30:00Z",
"MaintainStartTime": "18:00:00Z",
"MaintainEndTime": "20:00:00Z\n",
"CycleTime": "1,2,3",
"CreatedTime": "2018-05-30T14:30:00Z"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.