UpgradeDBClusterVersionZonal
Upgrades the minor engine version of a PolarDB on ENS cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:UpgradeDBClusterVersionZonal |
update |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The ID of the PolarDB on ENS cluster. Only cluster IDs returned by the DescribeDBClustersZonal operation are supported. Before you call this operation, you must create an edge cluster by using ENS infrastructure. Standard PolarDB cluster IDs are not supported. Note: Only edge cluster IDs returned by DescribeDBClustersZonal are accepted, and the edge cluster must be created based on ENS. |
pc-a************ |
| UpgradePolicy |
string |
No |
The kernel version upgrade policy. Valid values:
|
HOT |
| UpgradeLabel |
string |
No |
The kernel version upgrade label. Set the value to INNOVATE. Note
|
INNOVATE |
| PlannedStartTime |
string |
No |
The earliest time to start the scheduled Milvus version upgrade task. The time must be in the Note
|
2022-04-28T14:00:00Z |
| PlannedEndTime |
string |
No |
The latest time to start the scheduled task. The time must be in the Note
|
2021-01-14T09:30:00Z |
| FromTimeService |
boolean |
No |
Specifies whether to immediately execute or schedule the kernel version upgrade. Valid values:
Note
You do not need to specify this parameter when you invoke this operation. |
false |
| UpgradeType |
string |
No |
The upgrade type. Valid values:
|
PROXY |
| TargetDBRevisionVersionCode |
string |
No |
The version code of the target database engine version. You can obtain the value from the DescribeDBClusterVersion operation. |
20230707 |
| TargetProxyRevisionVersionCode |
string |
No |
The version code of the target PolarProxy version. You can obtain the value from the DescribeDBClusterVersion operation. |
20240702 |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request and prevent duplicate submissions. You can generate the value on the client side. The value must be unique across different requests and is case-sensitive. It can contain up to 64 ASCII characters. |
6000170000591aed949d0f54a343f1a4233c1e7d1c5c****** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
{} |
|
| RequestId |
string |
The request ID. |
CAE6755F-B79A-4861-B227-801FE8****** |
Examples
Success response
JSON format
{
"RequestId": "CAE6755F-B79A-4861-B227-801FE8******"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ScheduleTaskExist | The specified dbCluster already has a scheduled task. | The specified cluster already has a scheduled task. |
| 400 | InvalidUpgradeLabel.Malformed | The specified parameter UpgradeLabel is not valid. | The specified UpgradeLabel parameter is invalid. |
| 400 | InvalidEngine.Unsupported | The specified Engine does not support this feature. | This feature is not supported by the specified engine. |
| 400 | InvalidEngineMinorVersion.Malformed | The specified parameter MinorVersion is not valid. | The specified MinorVersion parameter is invalid. |
| 400 | InvalidEngineVersion.Unsupported | The specified engineVersion is not supported. | The specified engineVersion parameter is not supported. |
| 400 | InvalidUpgradePolicy.Malformed | The specified parameter UpgradePolicy is not valid. | The specified UpgradePolicy parameter is invalid. |
| 400 | InvalidSwitchTimeMode.Malformed | The specified parameter SwitchTimeMode is not valid. | The specified SwitchTimeMode parameter is invalid. |
| 403 | OperationDenied.UpgradeType | The operation is not permitted due to gdn limit | The current upgrade is not supported due to GDN limits. |
| 403 | IncorrectGdnStandbyDBVersion | Current gdn standby cluster is not the latest db version. | The current secondary cluster of the GDN does not run the latest database version. |
| 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.