{ "id":"/axapi/v3/slb/template/http-policy/{name}", "type":"object", "node-type":"list", "title":"http-policy", "partition-visibility":"shared", "description":"http-policy template", "properties":{ "name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"http-policy template name", "optional":false }, "cookie-name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"name of cookie to match (Cookie Name)", "optional":true }, "http-policy-match":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'cookie': cookie value match; 'host': hostname match; 'url': URL match; 'header-name': header name match; 'header-value': header value match; 'query-param-name': query parameter name; 'query-param-value': query parameter value; ", "enum":[ "cookie", "host", "url", "header-name", "header-value", "query-param-name", "query-param-value" ] }, "match-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "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; ", "enum":[ "contains", "ends-with", "equals", "starts-with" ] }, "match-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":128, "partition-visibility":"shared", "description":"URL String, use \"[no-name]\" for empty query-param-name match, use \"[no-value]\" for empty query-param-value match" }, "service-group":{ "type":"string", "format":"string", "minLength":1, "maxLength":127, "partition-visibility":"shared", "$ref":"/axapi/v3/slb/service-group", "description":"Service Group to be used (Service Group Name)" } } } ] }, "geo-location-match":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "geo-location":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "description":"Geolocation name" }, "geo-location-service-group":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "$ref":"/axapi/v3/slb/service-group", "description":"Service Group to be used (Service Group Name)" } } } ] }, "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 }, "multi-match-rule-list":{ "type":"array", "minItems":1, "items":{ "type":"multi-match-rule" }, "uniqueItems":true, "$ref":"/axapi/v3/slb/template/http-policy/{name}/multi-match-rule/{multi-match}", "array":[ { "properties":{ "multi-match":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":64, "partition-visibility":"shared", "description":"Specify a multi-match-rule name", "optional":false }, "seq-num":{ "type":"number", "format":"number", "minimum":1, "maximum":8192, "partition-visibility":"shared", "description":"Specify a sequence number", "optional":true }, "host-equals-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "host-contains-type", "host-starts-with-type", "host-ends-with-type" ], "description":"'equals': Host equals to string; ", "enum":[ "equals" ], "optional":true }, "host-equals-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Host string", "optional":true }, "host-contains-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "host-equals-type", "host-starts-with-type", "host-ends-with-type" ], "description":"'contains': Host contains string; ", "enum":[ "contains" ], "optional":true }, "host-contains-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Host string", "optional":true }, "host-starts-with-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "host-equals-type", "host-contains-type", "host-ends-with-type" ], "description":"'starts-with': Host starts-with string; ", "enum":[ "starts-with" ], "optional":true }, "host-starts-with-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Host string", "optional":true }, "host-ends-with-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "host-equals-type", "host-contains-type", "host-starts-with-type" ], "description":"'ends-with': Host ends-with string; ", "enum":[ "ends-with" ], "optional":true }, "host-ends-with-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Host string", "optional":true }, "cookie-name-equals-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "cookie-name-contains-type", "cookie-name-starts-with-type", "cookie-name-ends-with-type" ], "description":"'equals': Cookie name equals to string; ", "enum":[ "equals" ], "optional":true }, "cookie-name-equals-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Cookie name string", "optional":true }, "cookie-name-contains-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "cookie-name-equals-type", "cookie-name-starts-with-type", "cookie-name-ends-with-type" ], "description":"'contains': Cookie name contains string; ", "enum":[ "contains" ], "optional":true }, "cookie-name-contains-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Cookie value string", "optional":true }, "cookie-name-starts-with-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "cookie-name-equals-type", "cookie-name-contains-type", "cookie-name-ends-with-type" ], "description":"'starts-with': Cookie name starts-with string; ", "enum":[ "starts-with" ], "optional":true }, "cookie-name-starts-with-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Cookie name string", "optional":true }, "cookie-name-ends-with-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "cookie-name-equals-type", "cookie-name-contains-type", "cookie-name-starts-with-type" ], "description":"'ends-with': Cookie name ends-with string; ", "enum":[ "ends-with" ], "optional":true }, "cookie-name-ends-with-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Cookie name string", "optional":true }, "cookie-value-equals-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "cookie-value-contains-type", "cookie-value-starts-with-type", "cookie-value-ends-with-type" ], "description":"'equals': Cookie value equals to string; ", "enum":[ "equals" ], "optional":true }, "cookie-value-equals-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Cookie value string", "optional":true }, "cookie-value-contains-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "cookie-value-equals-type", "cookie-value-starts-with-type", "cookie-value-ends-with-type" ], "description":"'contains': Cookie value contains string; ", "enum":[ "contains" ], "optional":true }, "cookie-value-contains-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Cookie value string", "optional":true }, "cookie-value-starts-with-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "cookie-value-equals-type", "cookie-value-contains-type", "cookie-value-ends-with-type" ], "description":"'starts-with': Cookie value starts-with string; ", "enum":[ "starts-with" ], "optional":true }, "cookie-value-starts-with-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Cookie value string", "optional":true }, "cookie-value-ends-with-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "cookie-value-equals-type", "cookie-value-contains-type", "cookie-value-starts-with-type" ], "description":"'ends-with': Cookie value ends-with string; ", "enum":[ "ends-with" ], "optional":true }, "cookie-value-ends-with-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Cookie value string", "optional":true }, "url-equals-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "url-contains-type", "url-starts-with-type", "url-ends-with-type" ], "description":"'equals': URL equals to string; ", "enum":[ "equals" ], "optional":true }, "url-equals-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"URL string", "optional":true }, "url-contains-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "url-equals-type", "url-starts-with-type", "url-ends-with-type" ], "description":"'contains': URL contains string; ", "enum":[ "contains" ], "optional":true }, "url-contains-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"URL string", "optional":true }, "url-starts-with-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "url-equals-type", "url-contains-type", "url-ends-with-type" ], "description":"'starts-with': URL starts-with string; ", "enum":[ "starts-with" ], "optional":true }, "url-starts-with-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"URL string", "optional":true }, "url-ends-with-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "url-equals-type", "url-contains-type", "url-starts-with-type" ], "description":"'ends-with': URL ends-with string; ", "enum":[ "ends-with" ], "optional":true }, "url-ends-with-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"URL string", "optional":true }, "header-name-equals-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "header-name-contains-type", "header-name-starts-with-type", "header-name-ends-with-type" ], "description":"'equals': Header name equals to string; ", "enum":[ "equals" ], "optional":true }, "header-name-equals-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Header name string", "optional":true }, "header-name-contains-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "header-name-equals-type", "header-name-starts-with-type", "header-name-ends-with-type" ], "description":"'contains': Header name contains string; ", "enum":[ "contains" ], "optional":true }, "header-name-contains-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Header name string", "optional":true }, "header-name-starts-with-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "header-name-equals-type", "header-name-contains-type", "header-name-ends-with-type" ], "description":"'starts-with': Header name starts-with string; ", "enum":[ "starts-with" ], "optional":true }, "header-name-starts-with-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Header name string", "optional":true }, "header-name-ends-with-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "header-name-equals-type", "header-name-contains-type", "header-name-starts-with-type" ], "description":"'ends-with': Header name ends-with string; ", "enum":[ "ends-with" ], "optional":true }, "header-name-ends-with-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Header name string", "optional":true }, "header-value-equals-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "header-value-contains-type", "header-value-starts-with-type", "header-value-ends-with-type" ], "description":"'equals': Header value equals to string; ", "enum":[ "equals" ], "optional":true }, "header-value-equals-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Header value string", "optional":true }, "header-value-contains-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "header-value-equals-type", "header-value-starts-with-type", "header-value-ends-with-type" ], "description":"'contains': Header value contains string; ", "enum":[ "contains" ], "optional":true }, "header-value-contains-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Header value string", "optional":true }, "header-value-starts-with-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "header-value-equals-type", "header-value-contains-type", "header-value-ends-with-type" ], "description":"'starts-with': Header value starts-with string; ", "enum":[ "starts-with" ], "optional":true }, "header-value-starts-with-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Header value string", "optional":true }, "header-value-ends-with-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "header-value-equals-type", "header-value-contains-type", "header-value-starts-with-type" ], "description":"'ends-with': Header value ends-with string; ", "enum":[ "ends-with" ], "optional":true }, "header-value-ends-with-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Header value string", "optional":true }, "query-param-name-equals-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "query-param-name-contains-type", "query-param-name-starts-with-type", "query-param-name-ends-with-type" ], "description":"'equals': query parameter name equals to string; ", "enum":[ "equals" ], "optional":true }, "query-param-name-equals-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"query parameter name string, use \"[no-name]\" for empty query-param-name match", "optional":true }, "query-param-name-contains-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "query-param-name-equals-type", "query-param-name-starts-with-type", "query-param-name-ends-with-type" ], "description":"'contains': query parameter name contains string; ", "enum":[ "contains" ], "optional":true }, "query-param-name-contains-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"query parameter name string", "optional":true }, "query-param-name-starts-with-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "query-param-name-equals-type", "query-param-name-contains-type", "query-param-name-ends-with-type" ], "description":"'starts-with': query parameter name starts-with string; ", "enum":[ "starts-with" ], "optional":true }, "query-param-name-starts-with-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"query parameter name string", "optional":true }, "query-param-name-ends-with-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "query-param-name-equals-type", "query-param-name-contains-type", "query-param-name-starts-with-type" ], "description":"'ends-with': query parameter name ends-with string; ", "enum":[ "ends-with" ], "optional":true }, "query-param-name-ends-with-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"query parameter name string", "optional":true }, "query-param-value-equals-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "query-param-value-contains-type", "query-param-value-starts-with-type", "query-param-value-ends-with-type" ], "description":"'equals': query parameter value equals to string; ", "enum":[ "equals" ], "optional":true }, "query-param-value-equals-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"query parameter value string, use \"[no-value]\" for empty query-param-value match", "optional":true }, "query-param-value-contains-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "query-param-value-equals-type", "query-param-value-starts-with-type", "query-param-value-ends-with-type" ], "description":"'contains': query parameter value contains string; ", "enum":[ "contains" ], "optional":true }, "query-param-value-contains-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"query parameter value string", "optional":true }, "query-param-value-starts-with-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "query-param-value-equals-type", "query-param-value-contains-type", "query-param-value-ends-with-type" ], "description":"'starts-with': query parameter value starts-with string; ", "enum":[ "starts-with" ], "optional":true }, "query-param-value-starts-with-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"query parameter value string", "optional":true }, "query-param-value-ends-with-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "not-list":[ "query-param-value-equals-type", "query-param-value-contains-type", "query-param-value-starts-with-type" ], "description":"'ends-with': query parameter value ends-with string; ", "enum":[ "ends-with" ], "optional":true }, "query-param-value-ends-with-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"query parameter value string", "optional":true }, "service-group":{ "type":"string", "format":"string", "minLength":1, "maxLength":127, "partition-visibility":"shared", "$ref":"/axapi/v3/slb/service-group", "description":"Service Group to be used (Service Group Name)", "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 } }, "required":[ "multi-match" ] } ] } }, "object-keys":[ "name" ], "required":[ "name" ] }