.. _ddos_network_object_ip: ddos network-object ip ====================== DDOS Network-object IPv4 Subnet ip Specification ---------------- ===================================== ============================================================================================== **Parameter** **Value** ===================================== ============================================================================================== **Type** *Collection* **Object Key(s)** *subnet-ip-addr* **Collection Name** :ref:`1124_ip_list` **Collection URI** /axapi/v3/ddos/network-object/{object-name}/ip **Element Name** ip **Element URI** /axapi/v3/ddos/network-object/{object-name}/ip/{subnet-ip-addr} **Element Attributes** ip_attributes **Partition Visibility** shared **Statistics Data URI** /axapi/v3/ddos/network-object/{object-name}/ip/{subnet-ip-addr}/stats **Schema** :download:`ip schema ` ===================================== ============================================================================================== **Operations Allowed:** .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html
OperationMethodURIPayload
Create Object .. raw:: html POST .. raw:: html /axapi/v3/ddos/network-object/{object-name}/ip .. raw:: html :ref:`1124_ip_attributes` .. raw:: html
Create List .. raw:: html POST .. raw:: html /axapi/v3/ddos/network-object/{object-name}/ip .. raw:: html :ref:`1124_ip_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/ddos/network-object/{object-name}/ip/{subnet-ip-addr} .. raw:: html :ref:`1124_ip_attributes` .. raw:: html
Get List .. raw:: html GET .. raw:: html /axapi/v3/ddos/network-object/{object-name}/ip .. raw:: html :ref:`1124_ip_list` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/ddos/network-object/{object-name}/ip/{subnet-ip-addr} .. raw:: html :ref:`1124_ip_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/ddos/network-object/{object-name}/ip/{subnet-ip-addr} .. raw:: html :ref:`1124_ip_attributes` .. raw:: html
Replace List .. raw:: html PUT .. raw:: html /axapi/v3/ddos/network-object/{object-name}/ip .. raw:: html :ref:`1124_ip_list` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/ddos/network-object/{object-name}/ip/{subnet-ip-addr} .. raw:: html :ref:`1124_ip_attributes` .. raw:: html
.. _1124_ip_list: ip-list ------- ip-list is **JSON List** of :ref:`1124_ip_attributes` ip-list : [ { :ref:`1124_ip_attributes` }, { :ref:`1124_ip_attributes` }, ... ] .. _1124_ip_attributes: ip attributes ------------- **prefix-anomaly-threshold** **Description:** prefix-anomaly-threshold is a **JSON Block**. Please see below for :ref:`1124_prefix-anomaly-threshold` **Type:** Object **sampling-enable** **Type:** List **subnet-ip-addr** **Description** IP Subnet, supported prefix range is from 8 to 31 **Type:** string **Format:** ipv4-cidr **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 .. _1124_prefix-anomaly-threshold: prefix-anomaly-threshold ^^^^^^^^^^^^^^^^^^^^^^^^ =============================== =================================================== **Specification** **Value** =============================== =================================================== **Type** *object* =============================== =================================================== **prefix-bit-rate** **Description** Bit rate of the prefix subnet **Type:** number **Range:** 800-34359738360 **prefix-pkt-rate** **Description** Packet rate of the prefix subnet **Type:** number **Range:** 1-2147483647 .. _1124_sampling-enable: sampling-enable ^^^^^^^^^^^^^^^ =============================== =================================================== **Specification** **Value** =============================== =================================================== **Type** *list* **Block object keys** =============================== =================================================== **counters1** **Description** 'all': all; 'packet_rate': PPS; 'bit_rate': B(bits)PS; **Type:** string **Supported Values:** all, packet_rate, bit_rate