{ "id":"/axapi/v3/slb/template/dns-logging/{name}", "type":"object", "node-type":"list", "title":"dns-logging", "partition-visibility":"shared", "description":"DNS Logging template", "properties":{ "name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"DNS Logging Template Name", "optional":false }, "disable":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Disable DNS Logging template", "optional":true }, "dns-logging-protocol":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'both': Log DNS over tcp and udp; 'tcp': Log DNS over tcp; 'udp': Log DNS over udp; ", "enum":[ "both", "tcp", "udp" ], "optional":true }, "dns-logging-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'query': DNS Query Logging; 'response': DNS Response Logging; 'both': DNS Query and Response Logging; ", "enum":[ "query", "response", "both" ], "optional":true }, "dns-logging-request-section":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'all': Log DNS header and question section; 'header': Log DNS header information; 'question': Log DNS question section; ", "enum":[ "all", "header", "question" ], "optional":true }, "dns-logging-response-section":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'all': Log DNS header information, answer, authority, additional section content; 'header': Log DNS header information; 'answer': Log DNS header information and answer section content; ", "enum":[ "all", "header", "answer" ], "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 }, "response-type":{ "type":"object", "$ref":"/axapi/v3/slb/template/dns-logging/{name}/response-type", "properties":{ "config":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"start config the response type detail" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" }, "type-list":{ "type":"array", "minItems":1, "items":{ "type":"type" }, "uniqueItems":true, "$ref":"/axapi/v3/slb/template/dns-logging/{name}/response-type/type/{response-type-name}", "array":[ { "properties":{ "response-type-name":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'TXT': TXT; 'RRSIG': RRSIG; 'TSIG': TSIG; 'DNSKEY': DNSKEY; 'DS': DS; 'CAA': CAA; 'NAPTR': NAPTR; 'OPT': OPT; ", "enum":[ "TXT", "RRSIG", "TSIG", "DNSKEY", "DS", "CAA", "NAPTR", "OPT" ], "optional":false }, "length-limit-flag":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "optional":true }, "txt-data":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "optional":true }, "txt-type-limit-num":{ "type":"number", "format":"number", "minimum":0, "maximum":256, "default":0, "partition-visibility":"shared", "not":"txt-type-no-limit", "description":"Limit the field length", "optional":true }, "txt-type-no-limit":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"txt-type-limit-num", "description":"Print the field as much as possible", "optional":true }, "signature":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "optional":true }, "rrsig-type-limit-num":{ "type":"number", "format":"number", "minimum":0, "maximum":256, "default":0, "partition-visibility":"shared", "not":"rrsig-type-no-limit", "description":"Limit the field length", "optional":true }, "rrsig-type-no-limit":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"rrsig-type-limit-num", "description":"Print the field as much as possible", "optional":true }, "other-data":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "optional":true }, "tsig-type-limit-num":{ "type":"number", "format":"number", "minimum":0, "maximum":256, "default":0, "partition-visibility":"shared", "not":"tsig-type-no-limit", "description":"Limit the field length", "optional":true }, "tsig-type-no-limit":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"tsig-type-limit-num", "description":"Print the field as much as possible", "optional":true }, "public-key":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "optional":true }, "dnskey-type-limit-num":{ "type":"number", "format":"number", "minimum":0, "maximum":256, "default":0, "partition-visibility":"shared", "not":"dnskey-type-no-limit", "description":"Limit the field length", "optional":true }, "dnskey-type-no-limit":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"dnskey-type-limit-num", "description":"Print the field as much as possible", "optional":true }, "digest":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "optional":true }, "ds-type-limit-num":{ "type":"number", "format":"number", "minimum":0, "maximum":256, "default":0, "partition-visibility":"shared", "not":"ds-type-no-limit", "description":"Limit the field length", "optional":true }, "ds-type-no-limit":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"ds-type-limit-num", "description":"Print the field as much as possible", "optional":true }, "value-field":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "optional":true }, "caa-type-limit-num":{ "type":"number", "format":"number", "minimum":0, "maximum":256, "default":0, "partition-visibility":"shared", "not":"caa-type-no-limit", "description":"Limit the field length", "optional":true }, "caa-type-no-limit":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"caa-type-limit-num", "description":"Print the field as much as possible", "optional":true }, "service-field":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "optional":true }, "naptr-type-limit-num":{ "type":"number", "format":"number", "minimum":0, "maximum":256, "default":0, "partition-visibility":"shared", "not":"naptr-type-no-limit", "description":"Limit the field length", "optional":true }, "naptr-type-no-limit":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"naptr-type-limit-num", "description":"Print the field as much as possible", "optional":true }, "rdata-field":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "optional":true }, "opt-type-limit-num":{ "type":"number", "format":"number", "minimum":0, "maximum":256, "default":0, "partition-visibility":"shared", "not":"opt-type-no-limit", "description":"Limit the field length", "optional":true }, "opt-type-no-limit":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not":"opt-type-limit-num", "description":"Print the field as much as possible", "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 } }, "required":[ "response-type-name" ] } ] } } } }, "object-keys":[ "name" ], "required":[ "name" ] }