.. _ddos_detection_agent: ddos detection agent ==================== Configure DDoS detection agent agent Specification ------------------- ===================================== ========================================================================== **Parameter** **Value** ===================================== ========================================================================== **Type** *Collection* **Object Key(s)** *agent-name* **Collection Name** :ref:`93_agent_list` **Collection URI** /axapi/v3/ddos/detection/agent **Element Name** agent **Element URI** /axapi/v3/ddos/detection/agent/{agent-name} **Element Attributes** agent_attributes **Partition Visibility** shared **Statistics Data URI** /axapi/v3/ddos/detection/agent/{agent-name}/stats **Schema** :download:`agent 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 .. raw:: html .. raw:: html .. raw:: html .. raw:: html
OperationMethodURIPayload
Create Object .. raw:: html POST .. raw:: html /axapi/v3/ddos/detection/agent .. raw:: html :ref:`93_agent_attributes` .. raw:: html
Create List .. raw:: html POST .. raw:: html /axapi/v3/ddos/detection/agent .. raw:: html :ref:`93_agent_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/ddos/detection/agent/{agent-name} .. raw:: html :ref:`93_agent_attributes` .. raw:: html
Get List .. raw:: html GET .. raw:: html /axapi/v3/ddos/detection/agent .. raw:: html :ref:`93_agent_list` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/ddos/detection/agent/{agent-name} .. raw:: html :ref:`93_agent_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/ddos/detection/agent/{agent-name} .. raw:: html :ref:`93_agent_attributes` .. raw:: html
Replace List .. raw:: html PUT .. raw:: html /axapi/v3/ddos/detection/agent .. raw:: html :ref:`93_agent_list` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/ddos/detection/agent/{agent-name} .. raw:: html :ref:`93_agent_attributes` .. raw:: html
.. _93_agent_list: agent-list ---------- agent-list is **JSON List** of :ref:`93_agent_attributes` agent-list : [ { :ref:`93_agent_attributes` }, { :ref:`93_agent_attributes` }, ... ] .. _93_agent_attributes: agent attributes ---------------- **agent-name** **Description** Specify name for the agent **Type:** string **Format:** string-rlx **Maximum Length:** 63 characters **Maximum Length:** 1 characters **agent-v4-addr** **Description** Configure agent's IPv4 address **Type:** string **Format:** ipv4-address **agent-v6-addr** **Description** Configure agent's IPv6 address **Type:** string **Format:** ipv6-address **netflow** **Description:** netflow is a **JSON Block**. Please see below for :ref:`93_netflow` **Type:** Object **Reference Object:** :doc:`/axapi/v3/ddos/detection/agent/{agent-name}/netflow ` **sflow** **Description:** sflow is a **JSON Block**. Please see below for :ref:`93_sflow` **Type:** Object **Reference Object:** :doc:`/axapi/v3/ddos/detection/agent/{agent-name}/sflow ` **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 .. _93_sflow: sflow ^^^^^ =============================== =================================================== **Specification** **Value** =============================== =================================================== **Type** *object* =============================== =================================================== **sflow-pkt-samples-collection** **Description** 'enable': Enable sflow packet samples collection(default); 'disable': Disable sflow packet samples collection; **Type:** string **Supported Values:** enable, disable **Default:** enable **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters .. _93_netflow: netflow ^^^^^^^ =============================== =================================================== **Specification** **Value** =============================== =================================================== **Type** *object* =============================== =================================================== **netflow-samples-collection** **Description** 'enable': Enable Netflow flow samples collection(default); 'disable': Disable Netflow flow samples collection; **Type:** string **Supported Values:** enable, disable **Default:** enable **netflow-sampling-rate** **Description** Configure agent's netflow sampling rate **Type:** number **Range:** 1-65535 **Default:** 1 **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters