Query the classic network connection address of the instance.

Request parameters

Table 1. Request parameters
Name Type Required Description
<Common request parameter> - - For more information, see Public parameters.
Action String Yes Required parameter. Value: DescribeDBInstanceNetInfo.
InstanceId String Yes Instance ID (globally unique)

Response parameters

Table 2. Response parameters
Name Type Description
<Common return parameters> - For more information, see Public return parameters.
NetInfoItems List Composed of InstanceNetInfo parameters.
InstanceNetworkType String The network type of the instance.
  • Private (VPC private network) 
  • Classic: Classic Network
Table 3. InstanceNetInfo parameters
Name Type Description
ConnectionString String DNS connection string
IPAddress String IP address of the instance
IPType String IP type of the instance:
  • Private (VPC private network)
  • Inner (Reserved classic network IP address)
Port String Port information
VSwitchId String VSwitch ID
ExpiredTime String Remaining time before expiration of the reserved classic network IP address. In seconds.


Request example
? <Common request parameters>
&Action= DescribeDBInstanceNetInfo

Response example

        "RequestId": "47651832-5882-4E35-BABF-97D01E06EB12",
        "InstanceNetworkType": "VPC",
        "NetInfoItems": {
            "InstanceNetInfo": [{
                "ConnectionString": "",
                "Port": "6379",
                "DBInstanceNetType": "Inner",
                "VPCId": "",
                "IPAddress": "",
                "ExpiredTime": "2581948"
            }, {
                "ConnectionString": "",
                "Port": "6379",
                "DBInstanceNetType": "Private",
                "VPCId": "vpc-m5edrscsrbmda2m46h4c7",
                "IPAddress": "",