{ "id":"/axapi/v3/class-list/{name}", "type":"object", "node-type":"list", "title":"class-list", "partition-visibility":"shared", "description":"Configure classification list", "properties":{ "name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Specify name of the class list", "optional":false }, "type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'ac': Make class-list type Aho-Corasick; 'dns': Make class-list type DNS; 'ipv4': Make class-list type IPv4; 'ipv6': Make class-list type IPv6; 'string': Make class-list type String; 'string-case-insensitive': Make class-list type String-case-insensitive. Case insensitive is applied to key string; ", "enum":[ "ac", "dns", "ipv4", "ipv6", "string", "string-case-insensitive" ], "optional":true }, "file":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "modify-not-allowed":1, "description":"Create/Edit a class-list stored as a file", "optional":true }, "ipv4-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "ipv4addr":{ "type":"string", "format":"ipv4-cidr", "partition-visibility":"shared", "description":"Specify IP address" }, "lid":{ "type":"number", "format":"number", "minimum":1, "maximum":1023, "partition-visibility":"shared", "not-list":[ "glid-num", "glid", "lsn-lid", "lsn-radius-profile", "gtp-rate-limit-policy-v4", "v6-glid", "dns-glid" ], "description":"Use Limit ID defined in template (Specify LID index)" }, "glid":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":1023, "partition-visibility":"shared", "$ref":"/axapi/v3/glid", "not-list":[ "lid", "shared-partition-glid", "lsn-lid", "lsn-radius-profile", "gtp-rate-limit-policy-v4" ], "description":"Use global Limit ID (Specify global LID index)" }, "shared-partition-glid":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"glid", "description":"Reference a glid from shared partition" }, "glid-shared":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":1023, "partition-visibility":"shared", "$ref":"/axapi/v3/glid", "description":"Use global Limit ID" }, "lsn-lid":{ "type":"number", "format":"number", "minimum":1, "maximum":1023, "partition-visibility":"shared", "not-list":[ "lid", "glid", "lsn-radius-profile", "gtp-rate-limit-policy-v4" ], "description":"LSN Limit ID (LID index)" }, "lsn-radius-profile":{ "type":"number", "format":"number", "minimum":1, "maximum":16, "partition-visibility":"shared", "not-list":[ "lid", "glid", "lsn-lid", "gtp-rate-limit-policy-v4" ], "description":"LSN RADIUS Profile Index" }, "gtp-rate-limit-policy-v4":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "$ref":"/axapi/v3/template/gtp/rate-limit-policy", "not-list":[ "lid", "glid", "lsn-lid", "lsn-radius-profile" ], "description":"GTP Rate Limit Template Name" }, "age":{ "type":"number", "format":"number", "minimum":1, "maximum":2000, "partition-visibility":"shared", "description":"Specify age in minutes" } } } ] }, "ipv6-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "ipv6-addr":{ "type":"string", "format":"ipv6-address-plen", "partition-visibility":"shared", "description":"Specify IPv6 host or subnet" }, "v6-lid":{ "type":"number", "format":"number", "minimum":1, "maximum":1023, "partition-visibility":"shared", "not-list":[ "glid-v6", "v6-lsn-lid", "v6-lsn-radius-profile", "gtp-rate-limit-policy-v6" ], "description":"Use Limit ID defined in template (Specify LID index)" }, "v6-glid":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":1023, "partition-visibility":"shared", "$ref":"/axapi/v3/glid", "not-list":[ "lid", "shared-partition-v6-glid", "v6-lsn-lid", "v6-lsn-radius-profile", "gtp-rate-limit-policy-v6" ], "description":"Use global Limit ID (Specify global LID index)" }, "shared-partition-v6-glid":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"v6-glid", "description":"Reference a glid from shared partition" }, "v6-glid-shared":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":1023, "partition-visibility":"shared", "$ref":"/axapi/v3/glid", "description":"Use global Limit ID" }, "v6-lsn-lid":{ "type":"number", "format":"number", "minimum":1, "maximum":1023, "partition-visibility":"shared", "not-list":[ "v6-lid", "v6-glid", "v6-lsn-radius-profile", "gtp-rate-limit-policy-v6" ], "description":"LSN Limit ID (LID index)" }, "v6-lsn-radius-profile":{ "type":"number", "format":"number", "minimum":1, "maximum":16, "partition-visibility":"shared", "not-list":[ "v6-lid", "v6-glid", "v6-lsn-lid", "gtp-rate-limit-policy-v6" ], "description":"LSN RADIUS Profile Index" }, "gtp-rate-limit-policy-v6":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "$ref":"/axapi/v3/template/gtp/rate-limit-policy", "not-list":[ "v6-lid", "v6-glid", "v6-lsn-lid", "v6-lsn-radius-profile" ], "description":"GTP Rate Limit Template Name" }, "v6-age":{ "type":"number", "format":"number", "minimum":1, "maximum":2000, "partition-visibility":"shared", "description":"Specify age in minutes" } } } ] }, "dns":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "dns-match-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'contains': Domain contains another string; 'ends-with': Domain ends with another string; 'starts-with': Domain starts-with another string; ", "enum":[ "contains", "ends-with", "starts-with" ] }, "dns-match-string":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "description":"Domain name" }, "dns-lid":{ "type":"number", "format":"number", "minimum":1, "maximum":1023, "partition-visibility":"shared", "not":"glid-dns", "description":"Use Limit ID defined in template (Specify LID index)" }, "dns-glid":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":1023, "partition-visibility":"shared", "$ref":"/axapi/v3/glid", "not-list":[ "lid", "shared-partition-dns-glid" ], "description":"Use global Limit ID (Specify global LID index)" }, "shared-partition-dns-glid":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"dns-glid", "description":"Reference a glid from shared partition" }, "dns-glid-shared":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":1023, "partition-visibility":"shared", "$ref":"/axapi/v3/glid", "description":"Use global Limit ID" } } } ] }, "str-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "str":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Specify key string" }, "str-lid-dummy":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"str-glid-dummy", "description":"Use Limit ID defined in template" }, "str-lid":{ "type":"number", "format":"number", "minimum":1, "maximum":1023, "partition-visibility":"shared", "description":"LID index" }, "str-glid-dummy":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"str-lid-dummy", "description":"Use global Limit ID" }, "str-glid":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":1023, "partition-visibility":"shared", "$ref":"/axapi/v3/glid", "not":"shared-partition-str-glid", "description":"Global LID index" }, "shared-partition-str-glid":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"str-glid", "description":"Reference a glid from shared partition" }, "str-glid-shared":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":1023, "partition-visibility":"shared", "$ref":"/axapi/v3/glid", "description":"Use global Limit ID" }, "value-str":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":639, "partition-visibility":"shared", "description":"Specify value string" } } } ] }, "ac-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "ac-match-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'contains': String contains another string; 'ends-with': String ends with another string; 'equals': String equals another string; 'starts-with': String starts with another string; ", "enum":[ "contains", "ends-with", "equals", "starts-with" ] }, "ac-key-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Specify key string" }, "ac-value":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":639, "partition-visibility":"shared", "not":"gtp-rate-limit-policy-str", "description":"Specify value string" }, "gtp-rate-limit-policy-str":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "$ref":"/axapi/v3/template/gtp/rate-limit-policy", "not":"ac-value", "description":"GTP Rate Limit Template Name" } } } ] }, "geo-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "geo-location":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Specify geo-location" }, "geo-location-ipv6":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Specify IPv6 geo-location" } } } ] }, "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" ] }