TransformToEcs
Converts a local disk instance 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 destination cloud-native instance. For more information, see Instance type navigation. Note
Note
|
tair.rdb.1g tair.rdb.with.proxy.1g |
| ChargeType |
string |
No |
The billing method of the destination instance. Valid values:
Valid values:
|
PostPaid |
| Period |
integer |
No |
The subscription duration. Unit: months. Valid values: 1 to 9, 12, 24, and 36. Note
This parameter is required and takes effect only when the ChargeType parameter is set 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 to be converted. |
r-bp1zxszhcgatnx**** |
| EngineVersion |
string |
Yes |
The Redis-compatible engine version of the instance. Valid values: 5.0, 6.0, and 7.0. Valid values:
|
5.0 |
| EffectiveTime |
string |
No |
The time when the database switchover is performed after data migration. Valid values:
Note
Default value: Immediately. Valid values:
|
Immediately |
| AutoRenew |
string |
No |
Specifies whether to enable auto-renewal. Valid values:
Valid values:
|
false |
| AutoRenewPeriod |
integer |
No |
The auto-renewal epoch. Unit: months. Valid values: 1, 2, 3, 6, and 12. Note
This parameter is required when the AutoRenew parameter is set to true. Valid values:
|
1 |
| DryRun |
boolean |
No |
Specifies whether to perform a dry run before creating the instance. Valid values:
|
true |
| IsAcrossZone |
boolean |
No |
Specifies whether to migrate the instance across zones. Valid values:
Note
Default value: false. |
false |
| IzNo |
string |
No |
The ID of the destination primary zone after the instance is migrated to cloud disks. This parameter is required when IsAcrossZone is set to true. It specifies the primary zone where the instance resides after the migration. You can call the DescribeZones operation to query the list of supported zones. |
cn-hangzhou-*-aliyun |
| VSwitchId |
string |
No |
The ID of the vSwitch in the destination primary zone after the instance is migrated to cloud disks. This parameter is required when IsAcrossZone is set to true. It specifies the vSwitch in the destination zone. You can call the DescribeVSwitches operation to query the information about created vSwitches. |
vsw-bp1e7clcw529l773d**** |
| SecondaryIzNo |
string |
No |
The ID of the destination secondary zone after the instance is migrated to cloud disks. This parameter is required when IsAcrossZone is set to true and the instance needs to be deployed in a multi-zone architecture. It specifies the zone where the secondary node resides after the migration. |
cn-hangzhou-*-aliyun |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
DAABAD9B-890F-56C0-806C-6144946594AB |
| OrderId |
string |
The order ID. |
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.