All Products
Search
Document Center

AnalyticDB for PostgreSQL:DescribeDBVersionInfos

Last Updated:May 09, 2024

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

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

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.