Queries the IP addresses and Internet service provider (ISP) lines of Anti-DDoS Pro or Anti-DDoS Premium instances.
Usage notes
You can call this operation to query the information about the IP addresses and ISP lines of Anti-DDoS Pro or Anti-DDoS Premium instances. The information includes the IP address, status, and protection line.
Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeInstanceDetails |
The operation that you want to perform. Set the value to DescribeInstanceDetails. |
RegionId | String | No | cn-hangzhou |
The region ID of the instance. Valid values:
|
InstanceIds.N | String | Yes | ddoscoo-cn-zvp2eibz**** |
The ID of the instance to query. Note You can call the DescribeInstanceIds operation to query the IDs of all instances.
|
All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.
For more information about sample requests, see the "Examples" section of this topic.
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 3C814429-21A5-4673-827E-FDD19DC75681 |
The ID of the request. |
InstanceDetails | Array of InstanceDetail |
The IP address and ISP line information about the instance. |
|
Line | String | coop-line-001 |
The protection line of the instance. |
InstanceId | String | ddoscoo-cn-zvp2eibz**** |
The ID of the instance. |
EipInfos | Array of EipInfo |
The information about the IP address of the instance. |
|
Status | String | normal |
The status of the instance. Valid values:
|
IpMode | String | fnat |
The IP address-based forwarding mode of the instance. Valid values:
|
Eip | String | 203.117.XX.XX |
The IP address of the instance. |
IpVersion | String | Ipv4 |
The IP version of the protocol. Valid values:
|
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeInstanceDetails
&InstanceIds=["ddoscoo-cn-zvp2eibz****"]
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeInstanceDetailsResponse>
<RequestId>3C814429-21A5-4673-827E-FDD19DC75681</RequestId>
<InstanceDetails>
<Line>coop-line-001</Line>
<InstanceId>ddoscoo-cn-mp91j1ao****</InstanceId>
<EipInfos>
<Status>normal</Status>
<IpMode>fnat</IpMode>
<Eip>203.117.XX.XX</Eip>
<IpVersion>Ipv4</IpVersion>
</EipInfos>
</InstanceDetails>
</DescribeInstanceDetailsResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "3C814429-21A5-4673-827E-FDD19DC75681",
"InstanceDetails" : [ {
"Line" : "coop-line-001",
"InstanceId" : "ddoscoo-cn-mp91j1ao****",
"EipInfos" : [ {
"Status" : "normal",
"IpMode" : "fnat",
"Eip" : "203.117.XX.XX",
"IpVersion" : "Ipv4"
} ]
} ]
}
Error codes
For a list of error codes, visit the API Error Center.