ddos dst interface-ip port¶
Configure port for local interface IPs
port Specification¶
Parameter Value Type Collection Object Key(s) port-num, protocol Collection Name port-list Collection URI /axapi/v3/ddos/dst/interface-ip/{addr}/port Element Name port Element URI /axapi/v3/ddos/dst/interface-ip/{addr}/port/{port-num}+{protocol} Element Attributes port_attributes Partition Visibility shared Schema port schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/ddos/dst/interface-ip/{addr}/port | ||
Create List | POST | /axapi/v3/ddos/dst/interface-ip/{addr}/port | ||
Get Object | GET | /axapi/v3/ddos/dst/interface-ip/{addr}/port/{port-num}+{protocol} | ||
Get List | GET | /axapi/v3/ddos/dst/interface-ip/{addr}/port | ||
Modify Object | POST | /axapi/v3/ddos/dst/interface-ip/{addr}/port/{port-num}+{protocol} | ||
Replace Object | PUT | /axapi/v3/ddos/dst/interface-ip/{addr}/port/{port-num}+{protocol} | ||
Replace List | PUT | /axapi/v3/ddos/dst/interface-ip/{addr}/port | ||
Delete Object | DELETE | /axapi/v3/ddos/dst/interface-ip/{addr}/port/{port-num}+{protocol} |
port-list¶
port-list is JSON List of port attributes
port-list : [
]
port attributes¶
deny
Description Blacklist and Drop all incoming packets for protocol
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
glid
Description Global limit ID
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
Reference Object: /axapi/v3/glid
port-num
Description Port Number
Type: number
Range: 1-65535
protocol
Description ‘tcp’: tcp; ‘udp’: udp; ‘http-probe’: http port for interface health check;
Type: string
Supported Values: tcp, udp, http-probe
user-tag
Description Customized tag
Type: string
Format: string-rlx
Maximum Length: 127 characters
Maximum Length: 1 characters
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters