Queries the major and minor version information of a Tair (Redis® OSS-Compatible) database instance, as well as the release notes for the minor version.
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 |
Instance ID of the instance. You can call the DescribeInstances operation to query instance ID. |
r-bp1zxszhcgatnx**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| IsLatestVersion |
boolean |
Indicates whether the minor version of the instance is the latest. Valid values:
|
false |
| RequestId |
string |
The ID of the request. |
A52974D1-9D57-4805-86CC-92E6EDE8**** |
| ProxyMinorVersion |
string |
The current minor version of the proxy node. Note
This parameter is returned only for instances of the cluster or read/write splitting architecture. |
6.6.0 |
| DBVersionRelease |
string |
The update notes for the minor version of the instance, including the release time, minor version number, type (such as new feature), and detailed description. |
{\"releaseInfo\":{\"createTime\":\"2021-07-27\",\"level\":1,\"releaseVersion\":\"0.5.4\",\"releaseNote\":\"Feature update: Enhanced stability.\"}],\"versionChangesLevel\":2} |
| ProxyVersionRelease |
string |
The update notes for the minor version of the proxy node, including the release time, minor version number, type (such as new feature), and detailed description. Note
This parameter is returned only for instances of the cluster or read/write splitting architecture. |
{\"releaseInfo\":[{\"createTime\":\"2021-06-08\",\"level\":0,\"releaseVersion\":\"6.6.2\",\"releaseNote\":\"New feature: Added support for some internal commands.\"}],\"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 upgraded. Valid values:
Note
To upgrade the minor version, call the ModifyInstanceMinorVersion operation. |
true |
| MajorVersion |
string |
The major version of the instance. |
5.0 |
| Engine |
string |
The database engine type. 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 is a Redis-compatible version. |
1 |
| IsSSLEnable |
string |
Indicates whether SSL is enabled. Valid values:
|
1 |
| IsNewSSLMode |
string |
Indicates whether the new TLS version is supported. Valid values:
|
1 |
| IsAutoUpgradeOpen |
string |
Indicates whether automatic minor version upgrade is enabled. Valid values:
|
0 |
| DBLatestMinorVersion |
object |
The information about the latest minor version to which the instance can be upgraded. |
|
| MinorVersion |
string |
The version number. |
7.0.1.4 |
| Level |
string |
The importance level of the version change. Valid values:
|
0 |
| VersionRelease |
object |
The version evolution path from the current minor version of the instance to the latest minor version. This is consistent with the version documentation. You can refer to the version release notes for more detailed information. |
|
| VersionChangesLevel |
string |
The importance level of the version upgrade (recommended upgrade level). Valid values:
|
0 |
| ReleaseInfo |
object |
||
| ReleaseInfoList |
array<object> |
The minor version information. |
|
|
object |
The minor version information. |
||
| ReleaseVersion |
string |
The EMR release version. |
EMR-5.7.0 |
| CreateTime |
string |
The time when the instance was created. The time follows the ISO 8601 standard in the YYYY-MM-DDTHH:mmZ format. The time is displayed in UTC. |
2022-11-21T13:28Z |
| ReleaseNote |
string |
The release notes for the version. |
Release notes |
| Level |
string |
The importance level. |
0 |
| ReleaseNoteEn |
string |
The English description of the upgradable version. |
English description of the version upgrade |
| ProxyLatestMinorVersion |
object |
The information about the latest minor version to which the proxy node can be upgraded. |
|
| MinorVersion |
string |
The version number. |
7.0.6 |
| Level |
string |
The importance level of the version change. Valid values:
|
0 |
| VersionRelease |
object |
The version evolution path from the current minor version of the instance to the latest minor version. This is consistent with the version documentation. You can refer to the version release notes for more detailed information. |
|
| ReleaseInfo |
object |
||
| ReleaseInfoList |
array<object> |
The minor version information. |
|
|
object |
The minor version information. |
||
| ReleaseVersion |
string |
The EMR release version. |
EMR-5.9.1 |
| CreateTime |
string |
The release time of the version. The time follows the ISO 8601 standard in the YYYY-MM-DDTHH:mm:ssZ format. The time is displayed in UTC. |
2022-08-23T14:26:20Z |
| ReleaseNote |
string |
The change notes for the version. |
x x x x |
| Level |
string |
The importance level of the version change. Valid values:
|
0 |
| ReleaseNoteEn |
string |
The English description of the upgradable version. |
English description of the version upgrade |
| VersionChangesLevel |
string |
The importance level of the version upgrade (recommended upgrade level). Valid values:
|
0 |
| IsOpenNGLB |
string |
Indicates whether 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\\\":\\\"Feature update: Enhanced stability.\\\"}],\\\"versionChangesLevel\\\":2}",
"ProxyVersionRelease": "{\\\"releaseInfo\\\":[{\\\"createTime\\\":\\\"2021-06-08\\\",\\\"level\\\":0,\\\"releaseVersion\\\":\\\"6.6.2\\\",\\\"releaseNote\\\":\\\"New feature: Added support for some internal commands.\\\"}],\\\"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": "Release notes",
"Level": "0",
"ReleaseNoteEn": "English description of the version upgrade"
}
]
}
}
},
"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": "English description of the version upgrade"
}
]
},
"VersionChangesLevel": "0"
}
},
"IsOpenNGLB": "1"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.