Converts an instance that uses local disk to a cloud-native instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:TransformToEcs |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceClass |
string |
Yes |
The instance type of the target cloud-native instance. For more information, see Instance types. Note
If you want to convert a cluster instance, you must specify the corresponding cloud-native cluster instance type that includes .with.proxy in its name and specify the ShardCount parameter.
|
tair.rdb.1g tair.rdb.with.proxy.1g |
| ChargeType |
string |
No |
The billing method of the target instance. Valid values:
|
PostPaid |
| Period |
integer |
No |
The subscription duration. Unit: month. Valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, and 36. Note
This parameter is available and required only if you set the ChargeType parameter to PrePaid. |
1 |
| ShardCount |
integer |
No |
The number of data shards in the cloud-native cluster instance. |
2 |
| InstanceId |
string |
Yes |
The ID of the classic instance that you want to convert. |
r-bp1zxszhcgatnx**** |
| EngineVersion |
string |
Yes |
The Redis-compatible version of the instance. Valid values: 5.0, 6.0, and 7.0. |
5.0 |
| EffectiveTime |
string |
No |
The time when to switch the database after data migration. Valid values:
Note
Default value: Immediately. |
Immediately |
| AutoRenew |
string |
No |
Specifies whether to enable auto-renewal. Valid values:
|
false |
| AutoRenewPeriod |
integer |
No |
The auto-renewal cycle. Unit: month. Valid values: 1, 2, 3, 6, and 12. Note
This parameter is required if you set AutoRenew to true. |
1 |
| DryRun |
boolean |
No |
Specifies whether to perform a dry run. Valid values:
|
true |
| IzNo |
string |
No |
The ID of the availability zone. |
|
| VSwitchId |
string |
No |
The ID of the vSwitch. |
|
| SecondaryIzNo |
string |
No |
The ID of the secondary availability zone. |
|
| IsAcrossZone |
boolean |
No |
Specifies whether to deploy the instance across availability zones. This feature is supported only for cluster instances. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The ID of the request. |
DAABAD9B-890F-56C0-806C-6144946594AB |
| OrderId |
string |
The ID of the order. |
20905403119**** |
Examples
Success response
JSON format
{
"RequestId": "DAABAD9B-890F-56C0-806C-6144946594AB",
"OrderId": "20905403119****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.