Queries the version of a PolarDB edge cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeDBClusterVersionZonal |
get |
*All Resource
|
None | None |
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The cluster ID. |
pc-**************** |
| DescribeType |
string |
No |
Specifies whether to return information about the latest version or a list of upgradable versions. Valid values:
|
LATEST_VERSION |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| IsLatestVersion |
string |
Indicates whether the current database kernel version is the latest version. Valid values:
|
true |
| IsProxyLatestVersion |
string |
Indicates whether the current database proxy version is the latest version. Valid values:
|
true |
| DBVersion |
string |
The major version of the database engine. Valid values:
|
5.6 |
| DBRevisionVersion |
string |
The patch version of the database engine. |
8.0.1.1.7 |
| RequestId |
string |
The request ID. |
47921222-0D37-4133-8C0D-017DC3****** |
| DBVersionStatus |
string |
The status of the current minor version of the database. Valid values:
|
Stable |
| DBClusterId |
string |
The cluster ID. |
pc-**************** |
| DBMinorVersion |
string |
The minor version of the database engine.
|
8.0.1 |
| ProxyRevisionVersion |
string |
The version of the database proxy. |
2.4.15 |
| ProxyVersionStatus |
string |
The status of the database proxy version. Valid values:
|
Stable |
| ProxyLatestVersion |
string |
The latest version of the database proxy. |
2.4.17 |
| DBLatestVersion |
string |
The latest version of the database kernel. |
8.0.1.1.16 |
| DBRevisionVersionList |
array<object> |
The list of upgradable versions. |
|
|
object |
|||
| ReleaseType |
string |
The release status of the database version. Valid values:
|
Stable |
| RevisionVersionCode |
string |
The code of the patch version for the database engine. Use this code to specify the target version for an upgrade. |
20230707 |
| RevisionVersionName |
string |
The patch version of the database engine. |
8.0.1.1.35.1 |
| ReleaseNote |
string |
The release notes. |
ReleaseNote |
| ProxyRevisionVersionList |
array<object> |
The list of upgradable database proxy versions.
|
|
|
object |
|||
| ReleaseType |
string |
The release type. Valid values:
|
LTS |
| RevisionVersionCode |
string |
The code of the patch version for the database proxy. Use this code to specify the target version for an upgrade. |
20230707 |
| RevisionVersionName |
string |
The patch version of the database proxy. |
2.8.24 |
| ReleaseNote |
string |
The release notes. |
ReleaseNote |
Examples
Success response
JSON format
{
"IsLatestVersion": "true",
"IsProxyLatestVersion": "true",
"DBVersion": "5.6",
"DBRevisionVersion": "8.0.1.1.7",
"RequestId": "47921222-0D37-4133-8C0D-017DC3******",
"DBVersionStatus": "Stable",
"DBClusterId": "pc-****************",
"DBMinorVersion": "8.0.1",
"ProxyRevisionVersion": "2.4.15",
"ProxyVersionStatus": "Stable",
"ProxyLatestVersion": "2.4.17",
"DBLatestVersion": "8.0.1.1.16",
"DBRevisionVersionList": [
{
"ReleaseType": "Stable",
"RevisionVersionCode": "20230707",
"RevisionVersionName": "8.0.1.1.35.1",
"ReleaseNote": "ReleaseNote"
}
],
"ProxyRevisionVersionList": [
{
"ReleaseType": "LTS",
"RevisionVersionCode": "20230707",
"RevisionVersionName": "2.8.24",
"ReleaseNote": "ReleaseNote"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. | |
| 400 | InvalidDBVersion.Malformed | The Specified DBVersion is not valid. | The specified DBVersion parameter is invalid. |
| 400 | InvalidEngineVersion.Older | The primary cluster version is too old, please upgrade it. | The version of the primary cluster instance is out-of-date. Please upgrade the instance version. |
| 404 | InvalidDBClusterId.NotFound | The DBClusterId provided does not exist in our records. | The specified DBClusterId parameter does not exist in the current record. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.