Modifies the routine maintenance window for a PolarDB cluster.
Operation description
Set the routine maintenance window for the cluster to a time during off-peak hours. Alibaba Cloud performs cluster maintenance during this window to minimize the impact on your business.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyDBClusterMaintainTime |
update |
*DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The cluster ID. |
pc-*************** |
| MaintainTime |
string |
Yes |
The maintenance window of the cluster. The format is Note
The maintenance window must start on the hour and last for one hour. |
02:00Z-03:00Z |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
70656639-1416-479F-AF13-D08197****** |
Examples
Success response
JSON format
{
"RequestId": "70656639-1416-479F-AF13-D08197******"
}
Error response
JSON format
{
"RequestId":"70656639-1416-479F-AF13-D08197F9C43B"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidMaintainTime.Malformed | The specified parameter MaintainTime is not valid. | The specified MaintainTime parameter is invalid. |
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The specified DBClusterId parameter does not exist in the current record. |
| 404 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. | The specified DBClusterId parameter is invalid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.