{ "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; ", "enum":[ "cookie", "host", "url" ] }, "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" }, "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)" }, "template":{ "type":"string", "format":"enum", "plat-neg-list":["fireeye"], "partition-visibility":"shared", "description":"'waf': waf; (WAF template to be used)", "enum":[ "waf" ] }, "template-name":{ "type":"string", "format":"string-rlx", "plat-neg-list":["fireeye"], "minLength":1, "maxLength":63, "partition-visibility":"shared", "$ref":"/axapi/v3/waf/template", "description":"WAF template to be used (Template Name)" }, "optional":true } } ] }, "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)" }, "geo-location-template":{ "type":"string", "format":"enum", "plat-neg-list":["fireeye"], "partition-visibility":"shared", "description":"'waf': waf; (WAF template to be used)", "enum":[ "waf" ] }, "geo-location-template-name":{ "type":"string", "format":"string-rlx", "plat-neg-list":["fireeye"], "minLength":1, "maxLength":127, "partition-visibility":"shared", "$ref":"/axapi/v3/waf/template", "description":"WAF template to be used (Template 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 } }, "object-keys":[ "name" ], "required":[ "name" ] }