You can call this operation to upgrade the minor version of a specific AnalyticDB for PostgreSQL instance.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes UpgradeDBVersion

The operation that you want to perform. Set the value to UpgradeDBVersion.

DBInstanceId String Yes gp-wz9kmr708m155j***

The ID of the instance.

MajorVersion String Yes 6.0

The major version of the instance.

MinorVersion String Yes 6.0

The minor version of the instance.

RegionId String Yes cn-hangzhou

The region ID of the instance.

SwitchTimeMode String No xxxxx

The upgrade method.

SwitchTime String No xxxxx

The upgrade time.

Response parameters

Parameter Type Example Description
DBInstanceId String gp-wz9kmr708m155j***

The ID of the instance.

DBInstanceName String gp-wz9kmr708m155j***

The name of the instance.

RequestId String 25C11EE5-B7E8-481A-A07C-BD619971A570

The ID of the request.

TaskId String 101450956

The ID of the task.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.