Applying for an intranet connection string (Originally, switching between intranet and internet)

Last Updated: May 27, 2016

Description

You can switch between intranet and Internet when necessary. Specifically, an intranet instance can be switched to Internet, and vice versa.After switching, the connection address will change. You must modify the connection address in the code and restart the application.The following conditions must be met, or the modification will fail:

  • The instance is running.
  • There are less than 20 switching times within 24 hours.

Request parameters

Name Type Required? Description
Action String Yes Required parameter. Value: SwitchDBInstanceNetType
DBInstanceId String Yes Instance ID
ConnectionStringPrefix String Yes Prefix for new user connections to the database. It must be checked for uniqueness. It may consist of lowercase letters, numbers and underlines, and must start with a letter and have no more than 30 characters.
Port Integer No Port ID. Value range: 3001-3999

Return parameters

Name Type Description
<Public Return Parameters> - For details, refer to the Appendix.
Thank you! We've received your feedback.