Apply for an intranet connection string (Originally, switch between the intranet and Internet)

Last Updated: Dec 12, 2017

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 changes. You must modify the connection address in the code and restart the application.

The following conditions must be met, otherwise 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 more information, see Public parameters.
Thank you! We've received your feedback.