Upgrades the minor version of an ApsaraDB for Redis instance.

The procedure to update the minor version of an instance varies based on types of ApsaraDB for Redis instances. For more information, see Upgrade the minor version.

Note
  • Before you call this operation, you can call the DescribeEngineVersion operation to query the minor version of the current instance.
  • When you switch your workloads over from the original instance to a new instance or from the master node to the replica node in the original instance, you may experience disconnections that last a few seconds. The original instance stays in the read-only state within 60 seconds until all data is synchronized. We recommend that you upgrade the original instance during off-peak hours and make sure that your application is configured to automatically reconnect to the original 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 ModifyInstanceMinorVersion

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

InstanceId String Yes r-bp1zxszhcgatnx****

The ID of the instance.

Minorversion String No latest_version

The minor version to which you want to update. Default value: latest_version.

RegionId String No cn-hangzhou

The region ID of the instance.

EffectiveTime String No Immediately

The time when the minor version is updated. Valid values:

  • Immediately: The minor version is immediately updated.
  • MaintainTime: The minor version is updated within the maintenance window.
Note You can call the ModifyInstanceMaintainTime operation to modify the maintenance window of an ApsaraDB for Redis instance.

Response parameters

Parameter Type Example Description
RequestId String 28761557-0B33-41DF-AEEB-322DFF96****

The ID of the request.

Examples

Sample requests

https://r-kvstore.aliyuncs.com/?Action=ModifyInstanceMinorVersion
&InstanceId=r-bp1zxszhcgatnx****
&<Common request parameters>

Sample success responses

XML format

<ModifyInstanceMinorVersionResponse>
      <RequestId>28761557-0B33-41DF-AEEB-322DFF96****</RequestId>
</ModifyInstanceMinorVersionResponse>

JSON format

{
    "RequestId": "28761557-0B33-41DF-AEEB-322DFF96****"
}

Error codes

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