{ "id":"/axapi/v3/snmp-server/host/host-name/{hostname}+{version}", "type":"object", "node-type":"list", "title":"host-name", "partition-visibility":"shared", "description":"Specify IPV6 hosts to receive SNMP traps", "properties":{ "hostname":{ "type":"string", "format":"string", "minLength":1, "maxLength":31, "partition-visibility":"shared", "description":"Hostname of SNMP trap host", "optional":false }, "version":{ "type":"string", "format":"enum", "default":"v2c", "partition-visibility":"shared", "description":"'v1': Use SNMPv1; 'v2c': Use SNMPv2c; 'v3': User SNMPv3; ", "enum":[ "v1", "v2c", "v3" ], "optional":false }, "user":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":31, "partition-visibility":"shared", "description":"SNMPv3 user to send traps (User Name)", "optional":true }, "v1-v2c-comm":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":31, "partition-visibility":"shared", "description":"SNMPv1/v2c community string", "optional":true }, "udp-port":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "default":162, "partition-visibility":"shared", "description":"The trap host's UDP port number(default: 162)", "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":[ "hostname", "version" ], "required":[ "hostname", "version" ] }