.. _flowspec_icmp_code: flowspec icmp-code ================== Configure ICMP Code for a Flowspec icmp-code Specification ----------------------- ===================================== =============================================================================================== **Parameter** **Value** ===================================== =============================================================================================== **Type** *Collection* **Object Key(s)** *icmp-code-attribute, code* **Collection Name** :ref:`1592_icmp-code_list` **Collection URI** /axapi/v3/flowspec/{name}/icmp-code **Element Name** icmp-code **Element URI** /axapi/v3/flowspec/{name}/icmp-code/{icmp-code-attribute}+{code} **Element Attributes** icmp-code_attributes **Partition Visibility** shared **Schema** :download:`icmp-code 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/flowspec/{name}/icmp-code .. raw:: html :ref:`1592_icmp-code_attributes` .. raw:: html
Create List .. raw:: html POST .. raw:: html /axapi/v3/flowspec/{name}/icmp-code .. raw:: html :ref:`1592_icmp-code_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/flowspec/{name}/icmp-code/{icmp-code-attribute}+{code} .. raw:: html :ref:`1592_icmp-code_attributes` .. raw:: html
Get List .. raw:: html GET .. raw:: html /axapi/v3/flowspec/{name}/icmp-code .. raw:: html :ref:`1592_icmp-code_list` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/flowspec/{name}/icmp-code/{icmp-code-attribute}+{code} .. raw:: html :ref:`1592_icmp-code_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/flowspec/{name}/icmp-code/{icmp-code-attribute}+{code} .. raw:: html :ref:`1592_icmp-code_attributes` .. raw:: html
Replace List .. raw:: html PUT .. raw:: html /axapi/v3/flowspec/{name}/icmp-code .. raw:: html :ref:`1592_icmp-code_list` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/flowspec/{name}/icmp-code/{icmp-code-attribute}+{code} .. raw:: html :ref:`1592_icmp-code_attributes` .. raw:: html
.. _1592_icmp-code_list: icmp-code-list -------------- icmp-code-list is **JSON List** of :ref:`1592_icmp-code_attributes` icmp-code-list : [ { :ref:`1592_icmp-code_attributes` }, { :ref:`1592_icmp-code_attributes` }, ... ] .. _1592_icmp-code_attributes: icmp-code attributes -------------------- **code** **Description** Specify the ICMP Code **Type:** number **Range:** 0-255 **code-end** **Description** Specify the ICMP Code **Type:** number **Range:** 1-255 **icmp-code-attribute** **Description** 'eq': Match only packets on a given ICMP Code; 'gt': Match only packets with a greater ICMP Code; 'lt': Match only packets with a lower ICMP Code; 'range': match only packets in the range of ICMP Codes; **Type:** string **Supported Values:** eq, gt, lt, range **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters