.. _slb_template_dns_logging: slb template dns-logging ======================== DNS Logging template dns-logging Specification ------------------------- ===================================== ======================================================================== **Parameter** **Value** ===================================== ======================================================================== **Type** *Collection* **Object Key(s)** *name* **Collection Name** :ref:`2156_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 **Partition Visibility** shared **Schema** :download:`dns-logging schema ` ===================================== ======================================================================== **Operations Allowed:** .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html
OperationMethodURIPayload
Create Object .. raw:: html POST .. raw:: html /axapi/v3/slb/template/dns-logging .. raw:: html :ref:`2156_dns-logging_attributes` .. raw:: html
Create List .. raw:: html POST .. raw:: html /axapi/v3/slb/template/dns-logging .. raw:: html :ref:`2156_dns-logging_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/slb/template/dns-logging/{name} .. raw:: html :ref:`2156_dns-logging_attributes` .. raw:: html
Get List .. raw:: html GET .. raw:: html /axapi/v3/slb/template/dns-logging .. raw:: html :ref:`2156_dns-logging_list` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/slb/template/dns-logging/{name} .. raw:: html :ref:`2156_dns-logging_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/slb/template/dns-logging/{name} .. raw:: html :ref:`2156_dns-logging_attributes` .. raw:: html
Replace List .. raw:: html PUT .. raw:: html /axapi/v3/slb/template/dns-logging .. raw:: html :ref:`2156_dns-logging_list` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/slb/template/dns-logging/{name} .. raw:: html :ref:`2156_dns-logging_attributes` .. raw:: html
.. _2156_dns-logging_list: dns-logging-list ---------------- dns-logging-list is **JSON List** of :ref:`2156_dns-logging_attributes` dns-logging-list : [ { :ref:`2156_dns-logging_attributes` }, { :ref:`2156_dns-logging_attributes` }, ... ] .. _2156_dns-logging_attributes: 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