.. _snmp_server_view: snmp-server view ================ Defines named "view" - a subset of the overall OID tree view Specification ------------------ ===================================== ========================================================================== **Parameter** **Value** ===================================== ========================================================================== **Type** *Collection* **Object Key(s)** *viewname, oid* **Collection Name** :ref:`3123_view_list` **Collection URI** /axapi/v3/snmp-server/view **Element Name** view **Element URI** /axapi/v3/snmp-server/view/{viewname}+{oid} **Element Attributes** view_attributes **Partition Visibility** shared **Schema** :download:`view 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 .. raw:: html .. raw:: html .. raw:: html .. raw:: html
OperationMethodURIPayload
Create Object .. raw:: html POST .. raw:: html /axapi/v3/snmp-server/view .. raw:: html :ref:`3123_view_attributes` .. raw:: html
Create List .. raw:: html POST .. raw:: html /axapi/v3/snmp-server/view .. raw:: html :ref:`3123_view_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/snmp-server/view/{viewname}+{oid} .. raw:: html :ref:`3123_view_attributes` .. raw:: html
Get List .. raw:: html GET .. raw:: html /axapi/v3/snmp-server/view .. raw:: html :ref:`3123_view_list` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/snmp-server/view/{viewname}+{oid} .. raw:: html :ref:`3123_view_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/snmp-server/view/{viewname}+{oid} .. raw:: html :ref:`3123_view_attributes` .. raw:: html
Replace List .. raw:: html PUT .. raw:: html /axapi/v3/snmp-server/view .. raw:: html :ref:`3123_view_list` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/snmp-server/view/{viewname}+{oid} .. raw:: html :ref:`3123_view_attributes` .. raw:: html
.. _3123_view_list: view-list --------- view-list is **JSON List** of :ref:`3123_view_attributes` view-list : [ { :ref:`3123_view_attributes` }, { :ref:`3123_view_attributes` }, ... ] .. _3123_view_attributes: view attributes --------------- **mask** **Description** Hex octets, separated by '.', mask of oid **Type:** string **Maximum Length:** 128 characters **Maximum Length:** 1 characters **Mutual Exclusion:** mask and type are mutually exclusive **oid** **Description** MIB view family name or oid **Type:** string **Format:** string-rlx **Maximum Length:** 127 characters **Maximum Length:** 1 characters **type** **Description** 'included': MIB family is included in the view; 'excluded': MIB family is excluded from the view; **Type:** string **Supported Values:** included, excluded **Mutual Exclusion:** type and mask are mutually exclusive **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters **viewname** **Description** Name of the view **Type:** string **Maximum Length:** 31 characters **Maximum Length:** 1 characters