Upgrades the major engine version of a Tair (Redis® OSS-Compatible) database instance.
Operation description
For the precautions and impacts of this API operation, see Upgrade the major version.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:ModifyInstanceMajorVersion |
update |
*DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
r-bp1zxszhcgatnx**** |
| MajorVersion |
string |
Yes |
The major version to which the instance is upgraded.
Note
Only upgrades to the same deployment mode are supported. |
5.0 |
| EffectiveTime |
string |
No |
The time when the upgrade is performed. Valid values:
Note
You can call the ModifyInstanceMaintainTime operation to modify the maintenance window of the instance. Valid values:
|
Immediately |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
AA587FB2-2593-4DFE-BE13-2494C2DF**** |
Examples
Success response
JSON format
{
"RequestId": "AA587FB2-2593-4DFE-BE13-2494C2DF****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | NoQuota | Request zone has no quota to sell. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.