Queries the IP addresses and Internet service provider (ISP) lines of instances.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeInstanceDetails

The operation that you want to perform. Set the value to DescribeInstanceDetails.

InstanceIds.N RepeatList Yes ddoscoo-cn-mp91j1ao****

The ID of instance N.

Note You can call the DescribeInstanceIds operation to query the IDs of all instances.
RegionId String No cn-hangzhou

The ID of the region where your service is deployed. Valid values:

  • cn-hangzhou: mainland China, which indicates an Anti-DDoS Pro instance
  • ap-southeast-1: outside mainland China, which indicates an Anti-DDoS Premium instance

Response parameters

Parameter Type Example Description
InstanceDetails Array

The IP address and ISP line information of the instance.

EipInfos Array

Details about the IP address of the instance.

Eip String 203.***. **.117

The IP address of the instance.

Status String normal

The status of the IP address. Valid values:

  • normal: The IP address is normal.
  • cleaning: The traffic to the IP address is being scrubbed.
  • blackhole: The traffic to the IP address is routed to a black hole.
InstanceId String ddoscoo-cn-mp91j1ao****

The ID of the instance.

Line String coop-line-001

The ISP line of the instance.

RequestId String 3C814429-21A5-4673-827E-FDD19DC75681

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeInstanceDetails
&InstanceIds.1=ddoscoo-cn-mp91j1ao****
&<Common request parameters>

Sample success responses

XML format

<DescribeInstanceDetailsResponse>
      <InstanceDetails>
            <Line>coop-line-001</Line>
            <InstanceId>ddoscoo-cn-mp91j1ao****</InstanceId>
            <EipInfos>
                  <Status>normal</Status>
                  <Eip>203. ***. **.117</Eip>
            </EipInfos>
      </InstanceDetails>
      <RequestId>3C814429-21A5-4673-827E-FDD19DC75681</RequestId>
</DescribeInstanceDetailsResponse>

JSON format

{
    "InstanceDetails": [
        {
            "Line": "coop-line-001",
            "InstanceId": "ddoscoo-cn-mp91j1ao****",
            "EipInfos": [
                {
                    "Status": "normal",
                    "Eip": "203. ***. **.117"
                }
            ]
        }
    ],
    "RequestId": "3C814429-21A5-4673-827E-FDD19DC75681"
}

Error codes

For a list of error codes, visit the API Error Center.