Description

Migrate an instance to another zone.  For example, if Instance 1 is currently located in the “cn-hangzhou-a” zone of East China 1 (Hangzhou), you can call this interface to migrate the instance to the “cn-hangzhou-b” zone of Hangzhou.

Notice
In cross-zone migration, instances must be migrated within the same physical location. For example, instances in a zone of East China 1 (Hangzhou) cannot be migrated to zones of North China 1 (Qingdao).

Request parameters

Name Type Required Description
Action String Yes Required parameter. Value: MigrateToOtherZone.
DBInstanceId String Yes  Instance ID.
ZoneId String Yes TheDescribeRegionsfunction can be used to view available zones.

Return parameters

Name Type Description
&<Public Request Parameters> - For more information, see Public parameters.

Request example

https://rds.aliyuncs.com/?Action=MigrateToOtherZone
&DBInstanceId=rdsaiiabnaiiabn
&ZoneId=cn-hangzhou-b
&<Public Request Parameters>

Return example

XML format

<MigrateToOtherZoneResponse>
         <RequestId>65BDA532-28AF-4122-AA39-B382721EEE64</RequestId>
         </MigrateToOtherZoneResponse>

JSON format


    "RequestId": " 65BDA532-28AF-4122-AA39-B382721EEE64"