{ "id":"/axapi/v3/flowspec/{name}/icmp-code/{icmp-code-attribute}+{code}", "type":"object", "node-type":"list", "title":"icmp-code", "partition-visibility":"shared", "description":"Configure ICMP Code for a Flowspec", "properties":{ "icmp-code-attribute":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'eq': Match only packets on a given ICMP Code; 'gt': Match only packets with a greater ICMP Code; 'lt': Match only packets with a lower ICMP Code; 'range': match only packets in the range of ICMP Codes; ", "enum":[ "eq", "gt", "lt", "range" ], "optional":false }, "code":{ "type":"number", "format":"number", "minimum":0, "maximum":255, "partition-visibility":"shared", "description":"Specify the ICMP Code", "optional":false }, "code-end":{ "type":"number", "format":"number", "minimum":1, "maximum":255, "partition-visibility":"shared", "description":"Specify the ICMP Code", "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 } }, "object-keys":[ "icmp-code-attribute", "code" ], "required":[ "icmp-code-attribute", "code" ] }