{ "id":"/axapi/v3/ddos/dst/zone/{zone-name}/web-gui", "type":"object", "node-type":"scalar", "title":"web-gui", "partition-visibility":"shared", "auto-created-object":1, "description":"Configure web settings for onbox GUI", "properties":{ "status":{ "type":"string", "format":"enum", "default":"newly", "partition-visibility":"shared", "description":"'newly': newly; 'learning': learning; 'learned': learned; 'activated': activated; ", "enum":[ "newly", "learning", "learned", "activated" ], "optional":true }, "activated-after-learning":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Activate it after learning", "optional":true }, "create-time":{ "type":"string", "format":"string", "minLength":1, "maxLength":13, "partition-visibility":"shared", "description":"Configure create time", "optional":true }, "modify-time":{ "type":"string", "format":"string", "minLength":1, "maxLength":13, "partition-visibility":"shared", "description":"Configure modify time", "optional":true }, "sensitivity":{ "type":"string", "format":"enum", "default":"3", "partition-visibility":"shared", "description":"'5': Low; '3': Medium; '1.5': High; ", "enum":[ "5", "3", "1.5" ], "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 }, "learning":{ "type":"object", "$ref":"/axapi/v3/ddos/dst/zone/{zone-name}/web-gui/learning", "properties":{ "duration":{ "type":"string", "format":"enum", "default":"6hour", "partition-visibility":"shared", "description":"'1minute': 1 minute; '6hour': 6 hours; '12hour': 12 hours; '24hour': 24 hours; '7day': 7 days; ", "enum":[ "1minute", "6hour", "12hour", "24hour", "7day" ] }, "starting-time":{ "type":"string", "format":"string", "minLength":1, "maxLength":13, "partition-visibility":"shared", "description":"Configure learning starting time" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } }, "protection":{ "type":"object", "$ref":"/axapi/v3/ddos/dst/zone/{zone-name}/web-gui/protection", "properties":{ "port":{ "type":"object", "$ref":"/axapi/v3/ddos/dst/zone/{zone-name}/web-gui/protection/port", "properties":{ "zone-service-list":{ "type":"array", "minItems":1, "items":{ "type":"zone-service" }, "uniqueItems":true, "$ref":"/axapi/v3/ddos/dst/zone/{zone-name}/web-gui/protection/port/zone-service/{port-num}+{protocol}", "array":[ { "properties":{ "port-num":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"Port Number", "optional":false }, "protocol":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'dns-tcp': DNS-TCP Port; 'dns-udp': DNS-UDP Port; 'http': HTTP Port; 'tcp': TCP Port; 'udp': UDP Port; 'ssl-l4': SSL-L4 Port; ", "enum":[ "dns-tcp", "dns-udp", "http", "tcp", "udp", "ssl-l4" ], "optional":false }, "pbe":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "description":"Peak Bandwidth Expected", "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 } }, "required":[ "port-num", "protocol" ] } ] }, "zone-service-other-list":{ "type":"array", "minItems":1, "items":{ "type":"zone-service-other" }, "uniqueItems":true, "$ref":"/axapi/v3/ddos/dst/zone/{zone-name}/web-gui/protection/port/zone-service-other/{port-other}+{protocol}", "array":[ { "properties":{ "port-other":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'other': other; ", "enum":[ "other" ], "optional":false }, "protocol":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'tcp': TCP Port; 'udp': UDP Port; ", "enum":[ "tcp", "udp" ], "optional":false }, "pbe":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "description":"Peak Bandwidth Expected", "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 } }, "required":[ "port-other", "protocol" ] } ] } } }, "ip-proto":{ "type":"object", "$ref":"/axapi/v3/ddos/dst/zone/{zone-name}/web-gui/protection/ip-proto", "properties":{ "proto-name-list":{ "type":"array", "minItems":1, "items":{ "type":"proto-name" }, "uniqueItems":true, "$ref":"/axapi/v3/ddos/dst/zone/{zone-name}/web-gui/protection/ip-proto/proto-name/{protocol}", "array":[ { "properties":{ "protocol":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'icmp-v4': ip-proto icmp-v4; 'icmp-v6': ip-proto icmp-v6; ", "enum":[ "icmp-v4", "icmp-v6" ], "optional":false }, "pbe":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "description":"Peak Bandwidth Expected", "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":[ "protocol" ] } ] } } }, "port-range-list":{ "type":"array", "minItems":1, "items":{ "type":"port-range" }, "uniqueItems":true, "$ref":"/axapi/v3/ddos/dst/zone/{zone-name}/web-gui/protection/port-range/{port-range-start}+{port-range-end}+{protocol}", "array":[ { "properties":{ "port-range-start":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"Port-Range Start Port Number", "optional":false }, "port-range-end":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"Port-Range End Port Number", "optional":false }, "protocol":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'dns-tcp': DNS-TCP Port; 'dns-udp': DNS-UDP Port; 'http': HTTP Port; 'tcp': TCP Port; 'udp': UDP Port; 'ssl-l4': SSL-L4 Port; ", "enum":[ "dns-tcp", "dns-udp", "http", "tcp", "udp", "ssl-l4" ], "optional":false }, "pbe":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "description":"Peak Bandwidth Expected", "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":[ "port-range-start", "port-range-end", "protocol" ] } ] } } } } }