{ "id":"/axapi/v3/ddos/zone-profile/{profile-name}/ip-proto", "type":"object", "node-type":"intermediate", "title":"ip-proto", "operation-not-allowed": ["PUT", "POST", "DELETE"], "partition-visibility":"shared", "description":"DDOS IP protocol profile configuration", "properties":{ "proto-number-list":{ "type":"array", "minItems":1, "items":{ "type":"proto-number" }, "uniqueItems":true, "$ref":"/axapi/v3/ddos/zone-profile/{profile-name}/ip-proto/proto-number/{protocol-num}", "array":[ { "properties":{ "protocol-num":{ "type":"number", "format":"number", "minimum":0, "maximum":255, "partition-visibility":"shared", "description":"Protocol Number", "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 }, "indicator-list":{ "type":"array", "minItems":1, "items":{ "type":"indicator" }, "uniqueItems":true, "$ref":"/axapi/v3/ddos/zone-profile/{profile-name}/ip-proto/proto-number/{protocol-num}/indicator/{indicator-name}", "array":[ { "properties":{ "indicator-name":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'pkt-rate': pkt-rate; 'pkt-drop-rate': pkt-drop-rate; 'bit-rate': bit-rate; 'pkt-drop-ratio': pkt-drop-ratio; 'bytes-to-bytes-from-ratio': bytes-to-bytes-from-ratio; 'frag-rate': frag-rate; 'cpu-utilization': cpu-utilization; 'interface-utilization': interface-utilization; ", "enum":[ "pkt-rate", "pkt-drop-rate", "bit-rate", "pkt-drop-ratio", "bytes-to-bytes-from-ratio", "frag-rate", "cpu-utilization", "interface-utilization" ], "optional":false }, "src-threshold-cfg":{ "type":"object", "properties":{ "src-threshold-num":{ "type":"number", "format":"number", "minimum":1, "maximum":2147483647, "partition-visibility":"shared", "description":"Indicator per-src threshold" }, "src-threshold-large-num":{ "type":"number", "format":"number", "minimum":1, "maximum":10995116277760, "partition-visibility":"shared", "description":"Indicator per-src threshold" }, "src-threshold-str":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "description":"Indicator per-src threshold (Non-zero floating point)" } } }, "zone-threshold-cfg":{ "type":"object", "properties":{ "zone-threshold-num":{ "type":"number", "format":"number", "minimum":1, "maximum":2147483647, "partition-visibility":"shared", "description":"Threshold for the entire zone" }, "zone-threshold-large-num":{ "type":"number", "format":"number", "minimum":1, "maximum":10995116277760, "partition-visibility":"shared", "description":"Threshold for the entire zone" }, "zone-threshold-str":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "description":"Threshold for the entire zone (Non-zero floating point)" } } }, "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":[ "indicator-name" ] } ] } }, "required":[ "protocol-num" ] } ] }, "proto-name-list":{ "type":"array", "minItems":1, "items":{ "type":"proto-name" }, "uniqueItems":true, "$ref":"/axapi/v3/ddos/zone-profile/{profile-name}/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; 'gre': ip-proto gre; 'ipv4-encap': ip-proto IPv4 Encapsulation; 'ipv6-encap': ip-proto IPv6 Encapsulation; ", "enum":[ "icmp-v4", "icmp-v6", "gre", "ipv4-encap", "ipv6-encap" ], "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 }, "indicator-list":{ "type":"array", "minItems":1, "items":{ "type":"indicator" }, "uniqueItems":true, "$ref":"/axapi/v3/ddos/zone-profile/{profile-name}/ip-proto/proto-name/{protocol}/indicator/{indicator-name}", "array":[ { "properties":{ "indicator-name":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'pkt-rate': pkt-rate; 'pkt-drop-rate': pkt-drop-rate; 'bit-rate': bit-rate; 'pkt-drop-ratio': pkt-drop-ratio; 'bytes-to-bytes-from-ratio': bytes-to-bytes-from-ratio; 'frag-rate': frag-rate; 'cpu-utilization': cpu-utilization; 'interface-utilization': interface-utilization; ", "enum":[ "pkt-rate", "pkt-drop-rate", "bit-rate", "pkt-drop-ratio", "bytes-to-bytes-from-ratio", "frag-rate", "cpu-utilization", "interface-utilization" ], "optional":false }, "src-threshold-cfg":{ "type":"object", "properties":{ "src-threshold-num":{ "type":"number", "format":"number", "minimum":1, "maximum":2147483647, "partition-visibility":"shared", "description":"Indicator per-src threshold" }, "src-threshold-large-num":{ "type":"number", "format":"number", "minimum":1, "maximum":10995116277760, "partition-visibility":"shared", "description":"Indicator per-src threshold" }, "src-threshold-str":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "description":"Indicator per-src threshold (Non-zero floating point)" } } }, "zone-threshold-cfg":{ "type":"object", "properties":{ "zone-threshold-num":{ "type":"number", "format":"number", "minimum":1, "maximum":2147483647, "partition-visibility":"shared", "description":"Threshold for the entire zone" }, "zone-threshold-large-num":{ "type":"number", "format":"number", "minimum":1, "maximum":10995116277760, "partition-visibility":"shared", "description":"Threshold for the entire zone" }, "zone-threshold-str":{ "type":"string", "format":"string", "minLength":1, "maxLength":128, "partition-visibility":"shared", "description":"Threshold for the entire zone (Non-zero floating point)" } } }, "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":[ "indicator-name" ] } ] } }, "required":[ "protocol" ] } ] } } }