Upgrades the major version of a Tair (Redis OSS-compatible) instance.
Operation description
For precautions and impacts of this upgrade, 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 ID of the instance. |
r-bp1zxszhcgatnx**** |
| MajorVersion |
string |
Yes |
The target major version. Valid values: 4.0 and 5.0. |
5.0 |
| EffectiveTime |
string |
No |
When to upgrade the major version. Valid values:
Note
Call the ModifyInstanceMaintainTime operation to modify the maintenance window of an instance. |
Immediately |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
AA587FB2-2593-4DFE-BE13-2494C2DF**** |
Examples
Success response
JSON format
{
"RequestId": "AA587FB2-2593-4DFE-BE13-2494C2DF****"
}
Error response
JSON format
{
"RequestId":"AA587FB2-2593-4DFE-BE13-2494C2DF0CBF"
}
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.