.. _slb_template_http_policy: slb template http-policy ======================== http-policy template http-policy Specification ------------------------- ===================================== ======================================================================== ===================================== ======================================================================== **Type** *Collection* **Object Key(s)** *name* **Collection Name** :ref:`1435_http-policy_list` **Collection URI** /axapi/v3/slb/template/http-policy **Element Name** http-policy **Element URI** /axapi/v3/slb/template/http-policy/{name} **Element Attributes** http-policy_attributes **Schema** :download:`http-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
OperationMethodURIPayload
Create Object .. raw:: html POST .. raw:: html /axapi/v3/slb/template/http-policy .. raw:: html :ref:`1435_http-policy_attributes` .. raw:: html
Create List .. raw:: html POST .. raw:: html /axapi/v3/slb/template/http-policy .. raw:: html :ref:`1435_http-policy_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/slb/template/http-policy/{name} .. raw:: html :ref:`1435_http-policy_attributes` .. raw:: html
Get List .. raw:: html GET .. raw:: html /axapi/v3/slb/template/http-policy .. raw:: html :ref:`1435_http-policy_list` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/slb/template/http-policy/{name} .. raw:: html :ref:`1435_http-policy_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/slb/template/http-policy/{name} .. raw:: html :ref:`1435_http-policy_attributes` .. raw:: html
Replace List .. raw:: html PUT .. raw:: html /axapi/v3/slb/template/http-policy .. raw:: html :ref:`1435_http-policy_list` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/slb/template/http-policy/{name} .. raw:: html :ref:`1435_http-policy_attributes` .. raw:: html
.. _1435_http-policy_list: http-policy-list ---------------- http-policy-list is **JSON List** of :ref:`1435_http-policy_attributes` http-policy-list : [ { :ref:`1435_http-policy_attributes` }, { :ref:`1435_http-policy_attributes` }, ... ] .. _1435_http-policy_attributes: http-policy attributes ---------------------- **cookie-name** **Description** name of cookie to match (Cookie Name) **Type:** string **Format:** string-rlx **Maximum Length:** 63 characters **Maximum Length:** 1 characters **geo-location-match** **Type:** List **http-policy-match** **Type:** List **name** **Description** http-policy template name **Type:** string **Format:** string-rlx **Maximum Length:** 127 characters **Maximum Length:** 1 characters **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 .. _1435_http-policy-match: http-policy-match ^^^^^^^^^^^^^^^^^ =============================== =================================================== **Specification** =============================== =================================================== **Type** *list* **Block object keys** =============================== =================================================== **match-string** **Description** URL String **Type:** string **Format:** string-rlx **Maximum Length:** 128 characters **Maximum Length:** 1 characters **match-type** **Description** 'contains': Select service group if URL string contains another string; 'ends-with': Select service group if URL string ends with another string; 'equals': Select service group if URL string equals another string; 'starts-with': Select service group if URL string starts with another string; **Type:** string **Supported Values:** contains, ends-with, equals, starts-with **service-group** **Description** Service Group to be used (Service Group Name) **Type:** string **Maximum Length:** 127 characters **Maximum Length:** 1 characters **Reference Object:** :doc:`/axapi/v3/slb/service-group ` **template** **Description** 'waf': waf; (WAF template to be used) **Type:** string **Supported Values:** waf **template-name** **Description** WAF template to be used (Template Name) **Type:** string **Format:** string-rlx **Maximum Length:** 63 characters **Maximum Length:** 1 characters **Reference Object:** :doc:`/axapi/v3/waf/template ` **type** **Description** 'cookie': cookie value match; 'host': hostname match; 'url': URL match; **Type:** string **Supported Values:** cookie, host, url .. _1435_geo-location-match: geo-location-match ^^^^^^^^^^^^^^^^^^ =============================== =================================================== **Specification** =============================== =================================================== **Type** *list* **Block object keys** =============================== =================================================== **geo-location** **Description** Geolocation name **Type:** string **Maximum Length:** 128 characters **Maximum Length:** 1 characters **geo-location-service-group** **Description** Service Group to be used (Service Group Name) **Type:** string **Format:** string-rlx **Maximum Length:** 127 characters **Maximum Length:** 1 characters **Reference Object:** :doc:`/axapi/v3/slb/service-group ` **geo-location-template** **Description** 'waf': waf; (WAF template to be used) **Type:** string **Supported Values:** waf **geo-location-template-name** **Description** WAF template to be used (Template Name) **Type:** string **Format:** string-rlx **Maximum Length:** 127 characters **Maximum Length:** 1 characters **Reference Object:** :doc:`/axapi/v3/waf/template `