Describes the DDoS defense policy and health check configuration of an Anti-DDoS Pro IP.

Request parameters

Name Type Required Description
Ip String Yes The Anti-DDoS Pro IP to be queried.

Response parameters

Name Type Description
RequestId String The unique identifier (ID) for this request.
Listeners List The list of listener configurations. For a structure description, see Listener.
Table 1. Listener
Name Type Description
FrontendPort Integer The forwarding port.
BackPort Integer The origin site port.
Protocol String The forwarding protocol.
Config Object The DDoS defense policy. For a structure description, see Config.
Check Object The health check configuration. For a structure description, see Check.
Table 2. Config
Name Type Description
PayloadLength Object Filters packets by length. Packets that do not meet the minimum or maximum length requirements are discarded. For a structure description, see PayloadLength.
PersistenceTimeout Integer The session timeout value, in seconds.
NoDataConn String The status of false source monitoring for TCP-based rules. Value:
SynProxy String The status of null session connection monitoring. Value:
Sla Object The destination IP limits. For a structure description, see Sla.
Slimit Object The source IP limits. For a structure description, see Slimit.
Table 3. Sla
Name Type Description
MaxConnEnable Integer Determines whether to limit the concurrent connection speed for the destination IP. Value:
  • 0: no
  • 1: yes
MaxConn Integer The maximum number of concurrent connections to the destination IP.
CpsEnable Integer Determines whether to limit the new connection speed for the destination IP. Value:
  • 0: no
  • 1: yes
Cps Integer The maximum number of new connections per second to the destination IP.
Table 4. Slimit
Name Type Description
MaxConnEnable Integer Determines whether to limit the concurrent connection speed for the source IP. Value:
  • 0: no
  • 1: yes
MaxConn Integer The maximum number of concurrent connections to the source IP.
CpsEnable Integer Determines whether to limit the new connection speed for the source IP. Value:
  • 0: no
  • 1: yes
Cps Integer The maximum number of new connections to the source IP per second.
Table 5. Check
Name Type Description
Down Integer The unhealthy threshold.
Type String The protocol type.
Timeout Integer The response timeout value, in seconds.
Port Integer The listener port.
Up Integer The healthy threshold.
Interval Integer The check interval, in seconds.
Uri String (HTTP only) The URI to be checked.
Domain String (HTTP only) The domain name.

Example

Request example
https://ddospro.cn-hangzhou.aliyuncs.com/?Action=DescribeHealthCheckConfig
&Ip=1.1.1.1
&public parameters
Response example
  • JSON format
    {
        "RequestId": "C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E",
    	"Listeners":[
    		{
    			"Config":{
    				"PayloadLength":{
    					"Min":0,
    					"Max":6000
    				},
    				"SynProxy":"on",
    				"PersistenceTimeout":900,
    				"NoDataConn":"off",
    				"Sla":{
    					"MaxConn":1226,
    					"Cps":125,
    					"MaxConnEnable":1,
    					"CpsEnable":1
    				},
    				"Slimit":{
    					"MaxConn":124,
    					"Cps":123,
    					"MaxConnEnable":1,
    					"CpsEnable":1
    				}
    			},
    			"FrontendPort":8080,
    			"Check":{
    				"Down":7,
    				"Type":"tcp",
    				"Timeout":5,
    				"Port":8080,
    				"Up":8,
    				"Interval":6
    			},
    			"BackPort":8080,
    			"Protocol":"tcp"
    		}
    	]
    }