{ "id":"/axapi/v3/gslb/service-matching-rules/{zone}/rule/{seq-num}", "type":"object", "node-type":"list", "title":"rule", "partition-visibility":"shared", "description":"Service-matching rule", "properties":{ "seq-num":{ "type":"number", "format":"number", "minimum":1, "maximum":32, "partition-visibility":"shared", "description":"Sequence number of rule", "optional":false }, "domain-match-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "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; ", "enum":[ "equals", "contains", "starts-with", "ends-with" ], "optional":true }, "domain-match-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Domain name string", "optional":true }, "src-ipv4":{ "type":"string", "format":"ipv4-cidr", "partition-visibility":"shared", "not":"src-ipv6", "description":"Client source IPv4 subnet", "optional":true }, "src-ipv6":{ "type":"string", "format":"ipv6-address-plen", "partition-visibility":"shared", "not":"src-ipv4", "description":"Client source IPv6 subnet", "optional":true }, "health-state":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "gslb-site":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "$ref":"/axapi/v3/gslb/site", "description":"Health state of GSLB site (GSLB site name)" }, "site-state":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'AllUp': AllUp; 'Down': Down; 'AllUp-or-PartUp': AllUp-or-PartUp; 'Down-or-PartUp': Down-or-PartUp; ", "enum":[ "AllUp", "Down", "AllUp-or-PartUp", "Down-or-PartUp" ] }, "gslb-service-ip":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "partition-visibility":"shared", "$ref":"/axapi/v3/gslb/service-ip", "description":"Health state of GSLB service-ip (GSLB service-ip name)" }, "service-ip-state":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'Up': Up; 'Down': Down; ", "enum":[ "Up", "Down" ] }, "slb-server":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "$ref":"/axapi/v3/slb/server", "description":"Health state of SLB server (SLB server name)" }, "slb-svr-state":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'Up': Up; 'Down': Down; ", "enum":[ "Up", "Down" ] } } } ] }, "service":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Name of zone service to be redirected", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Customized tag", "optional":true } }, "object-keys":[ "seq-num" ], "required":[ "seq-num" ] }