Changes the routine maintenance window of a specified PolarDB cluster.
Note We recommend that you set the routine maintenance window to off-peak hours. Alibaba
Cloud maintains your cluster within the specified maintenance window to minimize the
negative impacts on your business.
Debugging
Request parameters
Parameter | Position | Type | Required | Example | Description |
---|---|---|---|---|---|
Action | Query | String | No | ModifyDBClusterMaintainTime |
The operation that you want to perform. Set the value to ModifyDBClusterMaintainTime. |
DBClusterId | Query | String | Yes | pc-*************** |
The ID of the PolarDB cluster. |
MaintainTime | Query | String | Yes | 02:00Z-03:00Z |
The maintenance window of the cluster. The format is Note The maintenance window must start on the hour and last for an hour.
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 70656639-1416-479F-AF13-D08197****** |
The ID of the request. |
Examples
Sample requests
http(s)://polardb.aliyuncs.com/? Action=ModifyDBClusterMaintainTime
&DBClusterId=pc-***************
&MaintainTime=02:00Z-03:00Z
&<Common request parameters>
Sample success responses
XML
format
<ModifyDBClusterMaintainTimeResponse>
<RequestId>70656639-1416-479F-AF13-D08197******</RequestId>
</ModifyDBClusterMaintainTimeResponse>
JSON
format
{
"RequestId":"70656639-1416-479F-AF13-D08197******"
}
Error codes
For a list of error codes, visit the API Error Center.