{ "id":"/axapi/v3/ddos/template/icmp-v6/{icmp-tmpl-name}", "type":"object", "node-type":"list", "title":"icmp-v6", "partition-visibility":"shared", "description":"ICMPv6 template Configuration", "properties":{ "icmp-tmpl-name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"DDOS ICMPv6 Template Name", "optional":false }, "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 }, "type-list":{ "type":"array", "minItems":1, "items":{ "type":"type" }, "uniqueItems":true, "$ref":"/axapi/v3/ddos/template/icmp-v6/{icmp-tmpl-name}/type/{type-number}", "array":[ { "properties":{ "type-number":{ "type":"number", "format":"number", "minimum":0, "maximum":255, "partition-visibility":"shared", "description":"Specify ICMP type number", "optional":false }, "type-deny":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not-list":[ "type-rate", "code-other-rate" ], "description":"Reject this ICMP type", "optional":true }, "type-rate":{ "type":"number", "format":"number", "minimum":1, "maximum":16000000, "partition-visibility":"shared", "not":"type-deny", "description":"Specify the whole rate with this type", "optional":true }, "code":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "code-number":{ "type":"number", "format":"number", "minimum":0, "maximum":255, "partition-visibility":"shared", "description":"Specify the ICMP code" }, "code-rate":{ "type":"number", "format":"number", "minimum":1, "maximum":16000000, "partition-visibility":"shared", "description":"Specify the rate with the code" } } } ] }, "code-other":{ "type":"object", "properties":{ "code-other-rate":{ "type":"number", "format":"number", "minimum":1, "maximum":16000000, "partition-visibility":"shared", "not":"type-deny", "description":"Specify rate with other code" } } }, "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":[ "type-number" ] } ] }, "type-other":{ "type":"object", "$ref":"/axapi/v3/ddos/template/icmp-v6/{icmp-tmpl-name}/type-other", "properties":{ "type-other-deny":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"type-other-rate", "description":"Deny all other type" }, "type-other-rate":{ "type":"number", "format":"number", "minimum":1, "maximum":16000000, "partition-visibility":"shared", "not":"type-other-deny", "description":"Specify rate with other type" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } } }, "object-keys":[ "icmp-tmpl-name" ], "required":[ "icmp-tmpl-name" ] }