.. _gslb_service_matching_rules_rule: gslb service-matching-rules rule ================================ Service-matching rule rule Specification ------------------ ===================================== ========================================================================================== **Parameter** **Value** ===================================== ========================================================================================== **Type** *Collection* **Object Key(s)** *seq-num* **Collection Name** :ref:`1845_rule_list` **Collection URI** /axapi/v3/gslb/service-matching-rules/{zone}/rule **Element Name** rule **Element URI** /axapi/v3/gslb/service-matching-rules/{zone}/rule/{seq-num} **Element Attributes** rule_attributes **Partition Visibility** shared **Schema** :download:`rule 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/gslb/service-matching-rules/{zone}/rule .. raw:: html :ref:`1845_rule_attributes` .. raw:: html
Create List .. raw:: html POST .. raw:: html /axapi/v3/gslb/service-matching-rules/{zone}/rule .. raw:: html :ref:`1845_rule_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/gslb/service-matching-rules/{zone}/rule/{seq-num} .. raw:: html :ref:`1845_rule_attributes` .. raw:: html
Get List .. raw:: html GET .. raw:: html /axapi/v3/gslb/service-matching-rules/{zone}/rule .. raw:: html :ref:`1845_rule_list` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/gslb/service-matching-rules/{zone}/rule/{seq-num} .. raw:: html :ref:`1845_rule_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/gslb/service-matching-rules/{zone}/rule/{seq-num} .. raw:: html :ref:`1845_rule_attributes` .. raw:: html
Replace List .. raw:: html PUT .. raw:: html /axapi/v3/gslb/service-matching-rules/{zone}/rule .. raw:: html :ref:`1845_rule_list` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/gslb/service-matching-rules/{zone}/rule/{seq-num} .. raw:: html :ref:`1845_rule_attributes` .. raw:: html
.. _1845_rule_list: rule-list --------- rule-list is **JSON List** of :ref:`1845_rule_attributes` rule-list : [ { :ref:`1845_rule_attributes` }, { :ref:`1845_rule_attributes` }, ... ] .. _1845_rule_attributes: rule attributes --------------- **domain-match-string** **Description** Domain name string **Type:** string **Format:** string-rlx **Maximum Length:** 255 characters **Maximum Length:** 1 characters **domain-match-type** **Description** 'equals': Domain name equals to string; 'contains': Domain name contains string; 'starts-with': Domain name starts with string; 'ends-with': Domain name ends with string; **Type:** string **Supported Values:** equals, contains, starts-with, ends-with **health-state** **Type:** List **seq-num** **Description** Sequence number of rule **Type:** number **Range:** 1-500 **service** **Description** Name of zone service to be redirected **Type:** string **Format:** string-rlx **Maximum Length:** 63 characters **Maximum Length:** 1 characters **src-ipv4** **Description** Client source IPv4 subnet **Type:** string **Format:** ipv4-cidr **Mutual Exclusion:** src-ipv4 and src-ipv6 are mutually exclusive **src-ipv6** **Description** Client source IPv6 subnet **Type:** string **Format:** ipv6-address-plen **Mutual Exclusion:** src-ipv6 and src-ipv4 are mutually exclusive **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 .. _1845_health-state: health-state ^^^^^^^^^^^^ =============================== =================================================== **Specification** **Value** =============================== =================================================== **Type** *list* **Block object keys** =============================== =================================================== **gslb-service-ip** **Description** Health state of GSLB service-ip (GSLB service-ip name) **Type:** string **Maximum Length:** 63 characters **Maximum Length:** 1 characters **Reference Object:** :doc:`/axapi/v3/gslb/service-ip ` **gslb-site** **Description** Health state of GSLB site (GSLB site name) **Type:** string **Format:** string-rlx **Maximum Length:** 63 characters **Maximum Length:** 1 characters **Reference Object:** :doc:`/axapi/v3/gslb/site ` **service-ip-state** **Description** 'Up': Up; 'Down': Down; **Type:** string **Supported Values:** Up, Down **site-state** **Description** 'AllUp': AllUp; 'Down': Down; 'AllUp-or-PartUp': AllUp-or-PartUp; 'Down-or-PartUp': Down-or-PartUp; **Type:** string **Supported Values:** AllUp, Down, AllUp-or-PartUp, Down-or-PartUp **slb-server** **Description** Health state of SLB server (SLB server name) **Type:** string **Format:** string-rlx **Maximum Length:** 127 characters **Maximum Length:** 1 characters **Reference Object:** :doc:`/axapi/v3/slb/server ` **slb-svr-state** **Description** 'Up': Up; 'Down': Down; **Type:** string **Supported Values:** Up, Down