.. _ddos_src_based_policy: ddos src-based-policy ===================== Configure src-based policy src-based-policy Specification ------------------------------ ===================================== ===================================================================== **Parameter** **Value** ===================================== ===================================================================== **Type** *Collection* **Object Key(s)** *name* **Collection Name** :ref:`1145_src-based-policy_list` **Collection URI** /axapi/v3/ddos/src-based-policy **Element Name** src-based-policy **Element URI** /axapi/v3/ddos/src-based-policy/{name} **Element Attributes** src-based-policy_attributes **Partition Visibility** shared **Schema** :download:`src-based-policy 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/src-based-policy .. raw:: html :ref:`1145_src-based-policy_attributes` .. raw:: html
Create List .. raw:: html POST .. raw:: html /axapi/v3/ddos/src-based-policy .. raw:: html :ref:`1145_src-based-policy_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/ddos/src-based-policy/{name} .. raw:: html :ref:`1145_src-based-policy_attributes` .. raw:: html
Get List .. raw:: html GET .. raw:: html /axapi/v3/ddos/src-based-policy .. raw:: html :ref:`1145_src-based-policy_list` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/ddos/src-based-policy/{name} .. raw:: html :ref:`1145_src-based-policy_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/ddos/src-based-policy/{name} .. raw:: html :ref:`1145_src-based-policy_attributes` .. raw:: html
Replace List .. raw:: html PUT .. raw:: html /axapi/v3/ddos/src-based-policy .. raw:: html :ref:`1145_src-based-policy_list` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/ddos/src-based-policy/{name} .. raw:: html :ref:`1145_src-based-policy_attributes` .. raw:: html
.. _1145_src-based-policy_list: src-based-policy-list --------------------- src-based-policy-list is **JSON List** of :ref:`1145_src-based-policy_attributes` src-based-policy-list : [ { :ref:`1145_src-based-policy_attributes` }, { :ref:`1145_src-based-policy_attributes` }, ... ] .. _1145_src-based-policy_attributes: src-based-policy attributes --------------------------- **name** **Description** Specify name of the policy **Type:** string **Format:** string-rlx **Maximum Length:** 63 characters **Maximum Length:** 1 characters **policy-class-list-list** **Type:** List **Reference Object:** :doc:`/axapi/v3/ddos/src-based-policy/{name}/policy-class-list/{class-list-name} ` **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 .. _1145_policy-class-list-list: policy-class-list-list ^^^^^^^^^^^^^^^^^^^^^^ =============================== =================================================== **Specification** **Value** =============================== =================================================== **Type** *list* **Block object keys** =============================== =================================================== **class-list-name** **Description** Class-list name **Type:** string **Format:** string-rlx **Maximum Length:** 63 characters **Maximum Length:** 1 characters **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters