{ "id":"/axapi/v3/ddos/detection/agent/{agent-name}", "type":"object", "node-type":"list", "title":"agent", "partition-visibility":"shared", "description":"Configure DDoS detection agent", "properties":{ "agent-name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Specify name for the agent", "optional":false }, "agent-v4-addr":{ "type":"string", "format":"ipv4-address", "partition-visibility":"shared", "description":"Configure agent's IPv4 address", "optional":true }, "agent-v6-addr":{ "type":"string", "format":"ipv6-address", "partition-visibility":"shared", "description":"Configure agent's IPv6 address", "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 }, "sflow":{ "type":"object", "$ref":"/axapi/v3/ddos/detection/agent/{agent-name}/sflow", "properties":{ "sflow-pkt-samples-collection":{ "type":"string", "format":"enum", "default":"enable", "partition-visibility":"shared", "description":"'enable': Enable sflow packet samples collection(default); 'disable': Disable sflow packet samples collection; ", "enum":[ "enable", "disable" ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } }, "netflow":{ "type":"object", "$ref":"/axapi/v3/ddos/detection/agent/{agent-name}/netflow", "properties":{ "netflow-samples-collection":{ "type":"string", "format":"enum", "default":"enable", "partition-visibility":"shared", "description":"'enable': Enable Netflow flow samples collection(default); 'disable': Disable Netflow flow samples collection; ", "enum":[ "enable", "disable" ] }, "netflow-sampling-rate":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "default":1, "partition-visibility":"shared", "description":"Configure agent's netflow sampling rate" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } } }, "object-keys":[ "agent-name" ], "required":[ "agent-name" ] }