{ "id":"/axapi/v3/slb/template/dns/{name}/rpz/{seq-id}", "type":"object", "node-type":"list", "title":"rpz", "partition-visibility":"shared", "description":"Response Policy Zone File", "properties":{ "seq-id":{ "type":"number", "format":"number", "minimum":1, "maximum":8, "partition-visibility":"shared", "description":"sequential id of RPZ", "optional":false }, "name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Specify a Response Policy Zone name", "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 }, "logging":{ "type":"object", "$ref":"/axapi/v3/slb/template/dns/{name}/rpz/{seq-id}/logging", "properties":{ "enable":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Log RPZ triggered action" }, "rpz-action":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "str-rpz-action":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'drop': Log RPZ due to drop action; 'pass-thru': Log RPZ due to pass-thru action; 'nxdomain': Log RPZ due to nxdomain action; 'nodata': Log RPZ due to nodata action; 'tcp-only': Log RPZ due to tcp-only action; 'local-data': Log RPZ due to local-data action; ", "enum":[ "drop", "pass-thru", "nxdomain", "nodata", "tcp-only", "local-data" ] } } } ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } } }, "object-keys":[ "seq-id" ], "required":[ "seq-id" ] }