edit-icon download-icon

ModifyDBInstanceNetworkType

Last Updated: Jan 25, 2018

Description

This API supports both replica set instances and sharded cluster instances.

Input parameters

NameTypeRequired or notDescription
ActionStringYesRequired parameter; value: ModifyDBInstanceNetworkType.
DBInstanceIdStringYesInstance ID
NetworkTypeStringYesThe target network type:
VPC: Switch to VPC.
Classic: Switch to classic network.
RetainClassicStringNo- True: Retain the classic network address.
- False: Do not retain the classic network address.
ClassicExpiredDaysIntegerNoRetention duration of classic network.When RetainClassic is set to True, this parameter cannot be left blank. The unit is days, and the maximum value is 180 days.
VpcIdStringNoWhen an instance is switched from a classic network to VPC, this parameter is required.
VSwitchIdStringNoVswitchIdWhen an instance is switched from a classic network to VPC, this parameter is required.

Response parameters

NameTypeDescription
Public response parameters-For more information, see public response parameters.
Thank you! We've received your feedback.