All Products
Document Center

View all connection strings

Last Updated: Dec 12, 2017


View all the connection information of a specified instance.

Request parameters

Name Type Required or Not Description
Action String Yes Required parameter. Value: DescribeDBInstanceNetInfo.
DBInstanceId String Yes ID of a single instance.

Return parameters

Name Type Description
<Public Return Parameters> - For more information, see Public parameters.
DBInstanceNetInfos List<DBInstanceNetInfo> Connection information of an instance.
InstanceNetworkType String VPC: VPC instance; Classic: classic instance.

DBInstanceNetInfo parameters

Name Type Description
ConnectionString String DNS connection string.
IPAddress String IP address.
IPType String For a classic instance, “Inner” and “Public” apply; for a VPC instance, “Private” and “Public” apply.
Port String Port information.
VPCId String VPC ID.
VSwitchId String VSwitch ID.