All Products
Search
Document Center

AnalyticDB:DescribeDBVersionInfos

Last Updated:Nov 05, 2025

Queries the information about minor versions of AnalyticDB for PostgreSQL instances.

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
gpdb:DescribeDBVersionInfosget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ResourceGroupIdstringNo

The ID of the resource group to which the instance belongs. For information about how to obtain the ID of a resource group, see View basic information of a resource group.

rg-bp67acfmxazb4p****
RegionIdstringYes

The region ID of the instance.

Note You can call the DescribeRegions operation to query the most recent region list.
cn-hangzhou
DBInstanceModestringNo

The resource type of the instance. Valid values:

  • StorageElastic: elastic storage mode.
  • Serverless: Serverless mode.
StorageElastic
DBVersionstringNo

The minor version number that does not include the prefix.

6.3.10.20

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

ABB39CC3-4488-4857-905D-2E4A051D0521
VersionDetailsobject

The queried minor versions.

StorageElasticany

The queried minor version information about the instance in elastic storage mode.

"StorageElasic": [ { "engineVersion": "6.0", "versionInfos": [ { "kernelVersion": "v6.3.11.2", "releaseDate": "2023-08-17T09:14Z", "expirationDate": "2026-08-17T09:14Z" } }, { "engineVersion": "7.0", "versionInfos": [ { "kernelVersion": "v7.0.2.0", "releaseDate": "2023-08-09T06:47Z", "expirationDate": "2026-08-09T06:47Z" }, { "kernelVersion": "v7.0.1.8", "releaseDate": "2023-05-25T06:56Z", "expirationDate": "2026-05-25T06:56Z" } ] } ]
Serverlessany

The queried minor version information about the instance in Serverless mode.

"Serverless": [ { "engineVersion": "6.0", "versionInfos": [ { "kernelVersion": "v2.0.0.5", "releaseDate": "2023-05-28T07:48Z", "expirationDate": "2026-05-28T07:48Z" }, { "kernelVersion": "v2.0.0.1", "releaseDate": "2023-03-27T12:44Z", "expirationDate": "2026-03-27T12:44Z" }, { "kernelVersion": "v1.0.5.1", "releaseDate": "2023-02-22T11:39Z", "expirationDate": "2026-02-22T11:39Z" } ] } ]

Examples

Sample success responses

JSONformat

{
  "RequestId": "ABB39CC3-4488-4857-905D-2E4A051D0521",
  "VersionDetails": {
    "StorageElastic": "\"StorageElasic\": [\n                {\n                    \"engineVersion\": \"6.0\",\n                    \"versionInfos\": [\n                        {\n                            \"kernelVersion\": \"v6.3.11.2\",\n                            \"releaseDate\": \"2023-08-17T09:14Z\",\n                            \"expirationDate\": \"2026-08-17T09:14Z\"\n                        }\n          },\n                {\n                    \"engineVersion\": \"7.0\",\n                    \"versionInfos\": [\n                        {\n                            \"kernelVersion\": \"v7.0.2.0\",\n                            \"releaseDate\": \"2023-08-09T06:47Z\",\n                            \"expirationDate\": \"2026-08-09T06:47Z\"\n                        },\n                        {\n                            \"kernelVersion\": \"v7.0.1.8\",\n                            \"releaseDate\": \"2023-05-25T06:56Z\",\n                            \"expirationDate\": \"2026-05-25T06:56Z\"\n                        }\n                    ]\n                }\n]\n",
    "Serverless": "\"Serverless\": [\n                {\n                    \"engineVersion\": \"6.0\",\n                    \"versionInfos\": [\n                        {\n                            \"kernelVersion\": \"v2.0.0.5\",\n                            \"releaseDate\": \"2023-05-28T07:48Z\",\n                            \"expirationDate\": \"2026-05-28T07:48Z\"\n                        },\n                        {\n                            \"kernelVersion\": \"v2.0.0.1\",\n                            \"releaseDate\": \"2023-03-27T12:44Z\",\n                            \"expirationDate\": \"2026-03-27T12:44Z\"\n                        },\n                        {\n                            \"kernelVersion\": \"v1.0.5.1\",\n                            \"releaseDate\": \"2023-02-22T11:39Z\",\n                            \"expirationDate\": \"2026-02-22T11:39Z\"\n                        }\n                    ]\n                }\n]"
  }
}

Error codes

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