Queries the major and minor version information of a Tair (Redis OSS-compatible) instance, including the release notes for minor versions.
Operation description
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DescribeEngineVersion |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. You can call the DescribeInstances operation to query the instance ID. |
r-bp1zxszhcgatnx**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| IsLatestVersion |
boolean |
Indicates whether the instance uses the latest minor version. Valid values:
|
false |
| RequestId |
string |
The request ID. |
A52974D1-9D57-4805-86CC-92E6EDE8**** |
| ProxyMinorVersion |
string |
The current minor version of the proxy node. Note
This parameter is returned only for cluster and read/write splitting instances. |
6.6.0 |
| DBVersionRelease |
string |
The release notes for the minor version of the instance, including the release date, minor version number, release type, and description. |
{\"releaseInfo\":{\"createTime\":\"2021-07-27\",\"level\":1,\"releaseVersion\":\"0.5.4\",\"releaseNote\":\"功能更新:增强稳定性。\"}],\"versionChangesLevel\":2} |
| ProxyVersionRelease |
string |
The release notes for the minor version of proxy nodes, including the release date, minor version number, release type, and description. Note
This parameter is returned only for cluster and read/write splitting instances. |
{\"releaseInfo\":[{\"createTime\":\"2021-06-08\",\"level\":0,\"releaseVersion\":\"6.6.2\",\"releaseNote\":\"新特性:增加对部分内部命令的支持。\"}],\"versionChangesLevel\":2} |
| EnableUpgradeMajorVersion |
boolean |
Indicates whether the major version of the instance can be upgraded. Valid values:
Note
To upgrade the major version, call the ModifyInstanceMajorVersion operation. |
true |
| EnableUpgradeMinorVersion |
boolean |
Indicates whether the minor version of the instance can be updated. Valid values:
Note
To update the minor version, call the ModifyInstanceMinorVersion operation. |
true |
| MajorVersion |
string |
The major version of the instance. |
5.0 |
| Engine |
string |
The database engine. Valid values: redis and memcache. |
redis |
| MinorVersion |
string |
The current minor version of the instance. |
redis-5.0_0.5.0 |
| IsRedisCompatibleVersion |
string |
Indicates whether the instance runs a Redis-compatible version. |
1 |
| IsSSLEnable |
string |
Indicates whether SSL is enabled. Valid values:
|
1 |
| IsNewSSLMode |
string |
Indicates whether Transport Layer Security (TLS) is enabled. Valid values:
|
1 |
| IsAutoUpgradeOpen |
string |
Indicates whether automatic minor version updates are enabled. Valid values:
|
0 |
| DBLatestMinorVersion |
object |
The latest minor version to which the instance can be updated. |
|
| MinorVersion |
string |
The version number. |
7.0.1.4 |
| Level |
string |
The version update level. Valid values:
|
0 |
| VersionRelease |
object |
The update path from the current minor version to the latest minor version, consistent with the version documentation. For more information, see the release notes. |
|
| VersionChangesLevel |
string |
The version update level, indicating how strongly the update is recommended. Valid values:
|
0 |
| ReleaseInfo |
object |
||
| ReleaseInfoList |
array<object> |
The information about the minor versions. |
|
|
object |
The minor version information. |
||
| ReleaseVersion |
string |
The release version of EMR. |
EMR-5.7.0 |
| CreateTime |
string |
The creation time of the instance. |
2022-11-21T13:28Z |
| ReleaseNote |
string |
The release notes. |
发布说明 |
| Level |
string |
The importance level. |
0 |
| ReleaseNoteEn |
string |
The description of the minor versions to which the instance can be updated. |
版本升级英文描述 |
| ProxyLatestMinorVersion |
object |
The latest minor version to which the proxy node can be updated. |
|
| MinorVersion |
string |
The version number. |
7.0.6 |
| Level |
string |
The version update level. Valid values:
|
0 |
| VersionRelease |
object |
The update path from the current minor version to the latest minor version, consistent with the version documentation. For more information, see the release notes. |
|
| ReleaseInfo |
object |
||
| ReleaseInfoList |
array<object> |
The information about the minor versions. |
|
|
object |
The minor version information. |
||
| ReleaseVersion |
string |
The release version of EMR. |
EMR-5.9.1 |
| CreateTime |
string |
The time when the version was released. |
2022-08-23T14:26:20Z |
| ReleaseNote |
string |
The release notes. |
x x x x |
| Level |
string |
The version update level. Valid values:
|
0 |
| ReleaseNoteEn |
string |
The description of the minor versions to which the instance can be updated. |
版本升级英文描述 |
| VersionChangesLevel |
string |
The version update level, indicating how strongly the update is recommended. Valid values:
|
0 |
| IsOpenNGLB |
string |
Indicates whether the NGLB mode is enabled. Valid values:
|
1 |
Examples
Success response
JSON format
{
"IsLatestVersion": false,
"RequestId": "A52974D1-9D57-4805-86CC-92E6EDE8****",
"ProxyMinorVersion": "6.6.0",
"DBVersionRelease": "{\\\"releaseInfo\\\":{\\\"createTime\\\":\\\"2021-07-27\\\",\\\"level\\\":1,\\\"releaseVersion\\\":\\\"0.5.4\\\",\\\"releaseNote\\\":\\\"功能更新:增强稳定性。\\\"}],\\\"versionChangesLevel\\\":2}",
"ProxyVersionRelease": "{\\\"releaseInfo\\\":[{\\\"createTime\\\":\\\"2021-06-08\\\",\\\"level\\\":0,\\\"releaseVersion\\\":\\\"6.6.2\\\",\\\"releaseNote\\\":\\\"新特性:增加对部分内部命令的支持。\\\"}],\\\"versionChangesLevel\\\":2}",
"EnableUpgradeMajorVersion": true,
"EnableUpgradeMinorVersion": true,
"MajorVersion": "5.0",
"Engine": "redis",
"MinorVersion": "redis-5.0_0.5.0",
"IsRedisCompatibleVersion": "1",
"IsSSLEnable": "1",
"IsNewSSLMode": "1",
"IsAutoUpgradeOpen": "0",
"DBLatestMinorVersion": {
"MinorVersion": "7.0.1.4",
"Level": "0",
"VersionRelease": {
"VersionChangesLevel": "0",
"ReleaseInfo": {
"ReleaseInfoList": [
{
"ReleaseVersion": "EMR-5.7.0",
"CreateTime": "2022-11-21T13:28Z",
"ReleaseNote": "发布说明",
"Level": "0",
"ReleaseNoteEn": "版本升级英文描述"
}
]
}
}
},
"ProxyLatestMinorVersion": {
"MinorVersion": "7.0.6",
"Level": "0",
"VersionRelease": {
"ReleaseInfo": {
"ReleaseInfoList": [
{
"ReleaseVersion": "EMR-5.9.1",
"CreateTime": "2022-08-23T14:26:20Z",
"ReleaseNote": "x x x x",
"Level": "0",
"ReleaseNoteEn": "版本升级英文描述"
}
]
},
"VersionChangesLevel": "0"
}
},
"IsOpenNGLB": "1"
}
Error response
JSON format
{
"MinorVersion":"redis_0.12.4",
"IsLatestVersion":"false",
"MajorVersion":"2.8",
"EnableUpgradeMajorVersion":"true",
"RequestId":"A49A2216-F6C9-43E2-A8F0-F217E57943C4",
"EnableUpgradeMinorVersion":"true",
"Engine":"redis"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.