Upgrades the version of a PolarDB-X 1.0 instance.

Debugging

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 UpgradeInstanceVersion

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

DrdsInstanceId String Yes drdshbgaen89****

The ID of the PolarDB-X 1.0 instance that you want to upgrade.

RegionId String No cn-hangzhou

The ID of the region.

Rpm String No t-drds-server-5.4.12-16348095.noarch.rpm

The version number of the PolarDB-X 1.0 instance. You can leave this parameter unspecified.

Response parameters

Parameter Type Example Description
Data String success

The result of the request.

RequestId String 2F7F8080-9132-4279-85D0-B7E5C4305162

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=UpgradeInstanceVersion
&DrdsInstanceId=drdshbgaen89****
&RegionId=cn-hangzhou
&Rpm=t-drds-server-5.4.12-16348095.noarch.rpm
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<UpgradeInstanceVersionResponse>
    <Data>success</Data>
    <RequestId>2F7F8080-9132-4279-85D0-B7E5C4305162</RequestId>
</UpgradeInstanceVersionResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "Data" : "success",
  "RequestId" : "2F7F8080-9132-4279-85D0-B7E5C4305162"
}

Error codes

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