All Products
Search
Document Center

Tair (Redis® OSS-Compatible):DescribeEngineVersion

Last Updated:Apr 23, 2025
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

Queries the major version and minor version of a Tair (Redis OSS-compatible) instance and the release notes for minor versions.

Operation description

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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:
    • For mandatory resource types, indicate with a prefix of * .
    • 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.
OperationAccess levelResource typeCondition keyAssociated operation
kvstore:DescribeEngineVersionget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
InstanceIdstringYes

The instance ID. You can call the DescribeInstances operation to query the instance ID.

r-bp1zxszhcgatnx****

Response parameters

ParameterTypeDescriptionExample
object
IsLatestVersionboolean

Indicates whether the instance uses the latest minor version. Valid values:

  • true
  • false
false
RequestIdstring

The request ID.

A52974D1-9D57-4805-86CC-92E6EDE8****
ProxyMinorVersionstring

The current minor version of the proxy node.

Note This parameter is returned only for cluster and read/write splitting instances.
6.6.0
DBVersionReleasestring

The release notes for the minor version of the instance, including the release date, minor version number, release type such as new feature, and description.

ProxyVersionReleasestring

The release notes for the minor version of proxy nodes. The release notes include the release date, minor version number, release type such as new feature, and description.

Note This parameter is returned only for cluster and read/write splitting instances.
EnableUpgradeMajorVersionboolean

Indicates whether the instance major version can be upgraded. Valid values:

  • true: The major version can be upgraded.
  • false: The major version is the latest version and cannot be upgraded.
Note To upgrade the major version, call the ModifyInstanceMajorVersion operation.
true
EnableUpgradeMinorVersionboolean

Indicates whether the instance minor version can be updated. Valid values:

  • true: The minor version can be updated.
  • false: The minor version is the latest version and cannot be updated.
Note To update the minor version, call the ModifyInstanceMinorVersion operation.
true
MajorVersionstring

The major version of the instance.

5.0
Enginestring

The database engine. Valid values: redis and memcache.

redis
MinorVersionstring

The current minor version of the instance.

redis-5.0_0.5.0
IsRedisCompatibleVersionstring

Indicates whether the instance runs a Redis version.

1
IsSSLEnablestring

Indicates whether SSL is enabled. Valid values:

  • 1: SSL is enabled.
  • 0: TLS is disabled.
1
IsNewSSLModestring

Indicates whether Transport Layer Security (TLS) is enabled. Valid values:

  • 1: TLS is enabled.
  • 0: TLS is disabled.
1
IsAutoUpgradeOpenstring

Indicates whether automatic minor version update is enabled. Valid values:

  • 0: Automatic minor version update is disabled.
  • 1: Automatic minor version update is enabled.
0
DBLatestMinorVersionobject

The latest minor version to which the instance can be updated.

MinorVersionstring

The version number.

7.0.1.4
Levelstring

The version update level. Valid values:

  • 0: regular
  • 1: recommended
  • 2: critical
0
VersionReleaseobject

The version update path from the current minor version to the latest minor version of the instance, which is consistent with the version documentation. For more detailed information, you can directly refer to the release notes.

VersionChangesLevelstring

The version update level, which indicates how strongly the update is recommended. Valid values:

  • 0: regular
  • 1: recommended
  • 2: critical
0
ReleaseInfoarray<object>

The information about the minor versions.

ReleaseInfoListobject

The minor version information.

ReleaseVersionstring

The release version of EMR.

EMR-5.7.0
CreateTimestring

The creation time of the instance.

2022-11-21T13:28Z
ReleaseNotestring

The release notes.

netbank1022
Levelstring

The importance level.

0
ReleaseNoteEnstring

The description of the minor versions to which the instance can be updated.

ReleaseNoteEn
ProxyLatestMinorVersionobject

The latest minor version to which the proxy node can be updated.

MinorVersionstring

The version number.

7.0.6
Levelstring

The version update level. Valid values:

  • 0: regular
  • 1: recommended
  • 2: critical
0
VersionReleaseobject

The version update path from the current minor version to the latest minor version of the instance, which is consistent with the version documentation. For more detailed information, you can directly refer to the release notes.

ReleaseInfoarray<object>

The information about the minor versions.

ReleaseInfoListobject

The minor version information.

ReleaseVersionstring

The release version of EMR.

EMR-5.9.1
CreateTimestring

The time when the version was released.

2022-08-23T14:26:20Z
ReleaseNotestring

The release notes.

x x x x
Levelstring

The version update level. Valid values:

  • 0: regular
  • 1: recommended
  • 2: critical
0
ReleaseNoteEnstring

The description of the minor versions to which the instance can be updated.

ReleaseNoteEn
VersionChangesLevelstring

The version update level, which indicates how strongly the update is recommended. Valid values:

  • 0: regular
  • 1: recommended
  • 2: critical
0
IsOpenNGLBstring

Indicates whether the NGLB mode is enabled. Valid values:

  • 0: The NGLB mode is disabled.
  • 1: The NGLB mode is enabled.
1

Examples

Sample success responses

JSONformat

{
  "IsLatestVersion": false,
  "RequestId": "A52974D1-9D57-4805-86CC-92E6EDE8****",
  "ProxyMinorVersion": "6.6.0",
  "DBVersionRelease": "",
  "ProxyVersionRelease": "",
  "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\n",
            "ReleaseNote": "netbank1022",
            "Level": "0",
            "ReleaseNoteEn": "ReleaseNoteEn"
          }
        ]
      }
    }
  },
  "ProxyLatestMinorVersion": {
    "MinorVersion": "7.0.6\n",
    "Level": "0",
    "VersionRelease": {
      "ReleaseInfo": {
        "ReleaseInfoList": [
          {
            "ReleaseVersion": "EMR-5.9.1\n",
            "CreateTime": "2022-08-23T14:26:20Z",
            "ReleaseNote": "x x x x",
            "Level": "0",
            "ReleaseNoteEn": "ReleaseNoteEn"
          }
        ]
      },
      "VersionChangesLevel": "0"
    }
  },
  "IsOpenNGLB": "1"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2025-03-25API Description UpdateView Change Details
2024-04-22The response structure of the API has changedView Change Details
2023-10-18The response structure of the API has changedView Change Details
2022-11-15The response structure of the API has changedView Change Details
2022-09-26The response structure of the API has changedView Change Details