Queries the information about the database engine version of a PolarDB for MySQL cluster.
Operation description
The release note of the kernel version.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
polardb:DescribeDBClusterVersion | READ |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DBClusterId | string | Yes | The revision version of the database engine. Note
For a cluster of the PolarDB for MySQL 5.6, the DBRevisionVersion parameter returns the revision version information only if the Revision Version is released later than August 31, 2020. Otherwise, this parameter returns an empty value. For more information about the kernel version of a cluster that runs the PolarDB for MySQL, see PolarDB for MySQL.
| pc-**************** |
DescribeType | string | No | The ID of the request. Enumeration Value:
| LATEST_VERSION |
Response parameters
Examples
Sample success responses
JSON
format
{
"IsLatestVersion": "true",
"IsProxyLatestVersion": "true",
"DBVersion": "8.0",
"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"
}
]
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. | The specified DBClusterId parameter is invalid. |
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. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
2023-11-06 | The Error code has changed. The request parameters of the API has changed | see changesets | ||||||||||
| ||||||||||||
2023-09-12 | The Error code has changed | see changesets | ||||||||||
| ||||||||||||
2023-08-09 | API Description Update. The Error code has changed | see changesets | ||||||||||
| ||||||||||||
2023-07-25 | The Error code has changed. The response structure of the API has changed | see changesets | ||||||||||
| ||||||||||||
2022-11-24 | The Error code has changed | see changesets | ||||||||||
| ||||||||||||
2022-06-22 | The response structure of the API has changed | see changesets | ||||||||||
|