Configures the operations and maintenance (O&M) settings for a user. These settings include the active maintenance window.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
polardb:ModifyActiveOperationMaintainConf | update | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
RegionId | string | Yes | The ID of the region. | cn-chengdu |
CycleType | string | Yes | The cycle type. Valid values:
| Week |
CycleTime | string | Yes | The time of the cycle.
| 1 |
MaintainStartTime | string | Yes | The start time of the task. The time must be in UTC and in the yyyy-mm-ddThh:mm:ssZ format. | 8:00Z |
MaintainEndTime | string | Yes | The end time of the maintenance window. Use the HH:mmZ format. The time is in UTC. | 12:00Z |
Status | integer | Yes | Specifies whether to enable the configuration. Valid values: 1 (Enable) and 2 (Disable). | 1 |
Comment | string | No | The remarks for the operation. | test |
ResourceGroupId | string | No | The ID of the resource group. | rg-************ |
Response elements
Element | Type | Description | Example |
object | |||
RequestId | string | The request ID. | 1CC9CB4B-BBAF-5963-9545-A8DE9FFC7DFB |
Examples
Success response
JSON format
{
"RequestId": "1CC9CB4B-BBAF-5963-9545-A8DE9FFC7DFB"
}Error codes
HTTP status code | Error code | Error message | Description |
400 | InvalidParam | Input param format error. | The specified parameter format is invalid. |
400 | RequiredParam.NotFound | Required input param is not found. | The specified parameter does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.