.. _gslb_service_ip_port: gslb service-ip port ==================== Server Port port Specification ------------------ ===================================== ================================================================================================= **Parameter** **Value** ===================================== ================================================================================================= **Type** *Collection* **Object Key(s)** *port-num, port-proto* **Collection Name** :ref:`1739_port_list` **Collection URI** /axapi/v3/gslb/service-ip/{node-name}/port **Element Name** port **Element URI** /axapi/v3/gslb/service-ip/{node-name}/port/{port-num}+{port-proto} **Element Attributes** port_attributes **Partition Visibility** shared **Statistics Data URI** /axapi/v3/gslb/service-ip/{node-name}/port/{port-num}+{port-proto}/stats **Operational Data URI** /axapi/v3/gslb/service-ip/{node-name}/port/{port-num}+{port-proto}/oper **Schema** :download:`port 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/gslb/service-ip/{node-name}/port .. raw:: html :ref:`1739_port_attributes` .. raw:: html
Create List .. raw:: html POST .. raw:: html /axapi/v3/gslb/service-ip/{node-name}/port .. raw:: html :ref:`1739_port_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/gslb/service-ip/{node-name}/port/{port-num}+{port-proto} .. raw:: html :ref:`1739_port_attributes` .. raw:: html
Get List .. raw:: html GET .. raw:: html /axapi/v3/gslb/service-ip/{node-name}/port .. raw:: html :ref:`1739_port_list` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/gslb/service-ip/{node-name}/port/{port-num}+{port-proto} .. raw:: html :ref:`1739_port_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/gslb/service-ip/{node-name}/port/{port-num}+{port-proto} .. raw:: html :ref:`1739_port_attributes` .. raw:: html
Replace List .. raw:: html PUT .. raw:: html /axapi/v3/gslb/service-ip/{node-name}/port .. raw:: html :ref:`1739_port_list` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/gslb/service-ip/{node-name}/port/{port-num}+{port-proto} .. raw:: html :ref:`1739_port_attributes` .. raw:: html
.. _1739_port_list: port-list --------- port-list is **JSON List** of :ref:`1739_port_attributes` port-list : [ { :ref:`1739_port_attributes` }, { :ref:`1739_port_attributes` }, ... ] .. _1739_port_attributes: port attributes --------------- **action** **Description** 'enable': Enable this GSLB server port; 'disable': Disable this GSLB server port; **Type:** string **Supported Values:** enable, disable **Default:** enable **follow-port-protocol** **Description** 'tcp': TCP Port; 'udp': UDP Port; **Type:** string **Supported Values:** tcp, udp **health-check** **Description** Health Check Monitor (Monitor Name) **Type:** string **Maximum Length:** 63 characters **Maximum Length:** 1 characters **Mutual Exclusion:** health-check, health-check-follow-port, and health-check-disable are mutually exclusive **Reference Object:** :doc:`/axapi/v3/health/monitor ` **health-check-disable** **Description** Disable Health Check Monitor **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **Mutual Exclusion:** health-check-disable, health-check, and health-check-follow-port are mutually exclusive **health-check-follow-port** **Description** Specify which port to follow for health status (Port Number) **Type:** number **Range:** 1-65534 **Mutual Exclusion:** health-check-follow-port, health-check, and health-check-disable are mutually exclusive **health-check-protocol-disable** **Description** Disable GSLB Protocol Health Monitor **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **port-num** **Description** Port Number **Type:** number **Range:** 0-65534 **port-proto** **Description** 'tcp': TCP Port; 'udp': UDP Port; **Type:** string **Supported Values:** tcp, udp **sampling-enable** **Type:** List **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 .. _1739_sampling-enable: sampling-enable ^^^^^^^^^^^^^^^ =============================== =================================================== **Specification** **Value** =============================== =================================================== **Type** *list* **Block object keys** =============================== =================================================== **counters1** **Description** 'all': all; 'active': Active Servers; 'current': Current Connections; **Type:** string **Supported Values:** all, active, current