{ "id":"/axapi/v3/template/limit-policy/{policy-number}", "type":"object", "node-type":"list", "title":"limit-policy", "partition-visibility":"shared", "description":"Create a Limit Policy", "properties":{ "policy-number":{ "type":"number", "format":"number", "minimum":1, "maximum":1023, "partition-visibility":"shared", "description":"Limit Policy Number", "optional":false }, "limit-rate":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'limit-pps': Enable Packets Per Second Rate Limit; 'limit-throughput': Enable Throughput Rate Limit; ", "enum":[ "limit-pps", "limit-throughput" ], "optional":true }, "uplink-pps":{ "type":"number", "format":"number", "minimum":1, "maximum":2147483647, "partition-visibility":"shared", "description":"Uplink PPS limit (Number of Packets per second)", "optional":true }, "downlink-pps":{ "type":"number", "format":"number", "minimum":1, "maximum":2147483647, "partition-visibility":"shared", "description":"Downlink PPS limit (Number of Packets per second)", "optional":true }, "ddos-protection-factor":{ "type":"number", "format":"number", "minimum":1, "maximum":50, "partition-visibility":"shared", "description":"Enable DDoS Protection (Multiplier of the downlink PPS)", "optional":true }, "total-pps":{ "type":"number", "format":"number", "minimum":1, "maximum":2147483647, "partition-visibility":"shared", "description":"Total PPS limit (Number of Packets per second)", "optional":true }, "uplink-throughput":{ "type":"number", "format":"number", "minimum":1, "maximum":100000, "partition-visibility":"shared", "description":"Uplink Throughput limit (Mega Bits per second)", "optional":true }, "downlink-throughput":{ "type":"number", "format":"number", "minimum":1, "maximum":100000, "partition-visibility":"shared", "description":"Downlink Throughput limit (Mega Bits per second)", "optional":true }, "total-throughput":{ "type":"number", "format":"number", "minimum":1, "maximum":100000, "partition-visibility":"shared", "description":"Total Throughput limit (Mega Bits per second)", "optional":true }, "limit-cps":{ "type":"number", "format":"number", "minimum":1, "maximum":2147483647, "partition-visibility":"shared", "description":"Enable Connections Per Second Rate Limit (Number of Connections per second)", "optional":true }, "limit-concurrent-sessions":{ "type":"number", "format":"number", "minimum":1, "maximum":2147483647, "partition-visibility":"shared", "description":"Enable Concurrent Session Limit (Number of Concurrent Sessions)", "optional":true }, "log":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Log when Session Limit is exceeded", "optional":true }, "limit-scope":{ "type":"string", "format":"enum", "default":"subscriber-ip", "partition-visibility":"shared", "description":"'aggregate': Rule Level; 'subscriber-ip': Subscriber IP Level; 'subscriber-prefix': Subscriber Prefix Level; ", "enum":[ "aggregate", "subscriber-ip", "subscriber-prefix" ], "optional":true }, "prefix-length":{ "type":"number", "format":"number", "minimum":1, "maximum":128, "partition-visibility":"shared", "description":"Prefix length", "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 } }, "object-keys":[ "policy-number" ], "required":[ "policy-number" ] }