slb template dns-logging¶
DNS Logging template
dns-logging Specification¶
Type Collection Object Key(s) name Collection Name dns-logging-list Collection URI /axapi/v3/slb/template/dns-logging Element Name dns-logging Element URI /axapi/v3/slb/template/dns-logging/{name} Element Attributes dns-logging_attributes Schema dns-logging schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/slb/template/dns-logging | ||
Create List | POST | /axapi/v3/slb/template/dns-logging | ||
Get Object | GET | /axapi/v3/slb/template/dns-logging/{name} | ||
Get List | GET | /axapi/v3/slb/template/dns-logging | ||
Modify Object | POST | /axapi/v3/slb/template/dns-logging/{name} | ||
Replace Object | PUT | /axapi/v3/slb/template/dns-logging/{name} | ||
Replace List | PUT | /axapi/v3/slb/template/dns-logging | ||
Delete Object | DELETE | /axapi/v3/slb/template/dns-logging/{name} |
dns-logging-list¶
dns-logging-list is JSON List of dns-logging attributes
dns-logging-list : [
]
dns-logging attributes¶
disable
Description Disable DNS Logging template
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
dns-logging-protocol
Description ‘both’: Log DNS over tcp and udp; ‘tcp’: Log DNS over tcp; ‘udp’: Log DNS over udp;
Type: string
Supported Values: both, tcp, udp
dns-logging-request-section
Description ‘all’: Log DNS header and question section; ‘header’: Log DNS header information; ‘question’: Log DNS question section;
Type: string
Supported Values: all, header, question
dns-logging-type
Description ‘query’: DNS Query Logging;
Type: string
Supported Values: query
name
Description DNS Logging Template Name
Type: string
Format: string-rlx
Maximum Length: 127 characters
Maximum Length: 1 characters
user-tag
Description Customized tag
Type: string
Format: string-rlx
Maximum Length: 127 characters
Maximum Length: 1 characters
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters