Description

Switches VPC RDS to Classic mode, or vice versa.

Notice
Only the Classic instances with the ConnectionMode of Safty can be switched to VPC mode.

Request parameters

Name Type Required Description
Action String Yes Required parameter. Value: ModifyDBInstanceNetworkType.
DBInstanceId String Yes Instance ID.
InstanceNetworkType String Yes
  • VPC: VPC instance;
  • Classic: classic instance.
VPCId String No VPC ID.
VSwitchId String No VSwitch ID,This input parameter is required if VPCID is not null.
PrivateIpAddress String No IP address of an VPC under VSwitchId. If no value is specified, the system automatically assigns a VPC IP address based on VPCId and VSwitchId.
ReadWriteSplittingPrivateIpAddres String No
  • If the instance has an intranet read/write splitting address, the network type of the address also changes.
  • When switching to a VPC, you can specify the VPC IP of the read/write splitting link for the instance under VSwitchId.
  • If no value is specified, the system automatically assigns a VPC IP address based on VPCId and VSwitchId.

Return parameters

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