Queries the O&M task configuration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:DescribeActiveOperationMaintainConf |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceGroupId |
string |
No |
The resource group ID. |
rg-acfmzuemxkbvwqq |
| RegionId |
string |
No |
The region ID. |
cn-beijing |
| Ids |
string |
No |
The cluster ID. |
am-xxxxxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
92B3D2F0-B5E3-5592-9A6F-D0A6C34ACBA9 |
| HasConfig |
integer |
Indicates whether the O&M task is configured. Valid values:
|
1 |
| Config |
object |
The configuration details. |
|
| CycleType |
string |
The unit of the O&M task cycle. Valid values:
|
Month |
| Status |
integer |
Indicates whether the configuration takes effect. Valid values:
|
2 |
| ModifiedTime |
string |
The time when the O&M task was modified. |
2023-05-12T12:34:40Z |
| MaintainStartTime |
string |
The start time of the maintenance window. |
18:00:00Z |
| MaintainEndTime |
string |
The end time of the maintenance window. |
20:00:00Z |
| CycleTime |
string |
The days on which the O&M task is executed every week. |
0 |
| CreatedTime |
string |
The time when the O&M task configuration was created, in the yyyy-mm-ddThh:mm:ssZ format (UTC). |
2023-06-08T02:23:13Z |
Examples
Success response
JSON format
{
"RequestId": "92B3D2F0-B5E3-5592-9A6F-D0A6C34ACBA9",
"HasConfig": 1,
"Config": {
"CycleType": "Month",
"Status": 2,
"ModifiedTime": "2023-05-12T12:34:40Z",
"MaintainStartTime": "18:00:00Z",
"MaintainEndTime": "20:00:00Z\n",
"CycleTime": "0",
"CreatedTime": "2023-06-08T02:23:13Z"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.