.. _gslb_service_ip_service: gslb service-ip service ======================= Service Port service Specification --------------------- ===================================== ============================================================================================================ **Parameter** **Value** ===================================== ============================================================================================================ **Type** *Collection* **Object Key(s)** *port-num, port-proto, label* **Collection Name** :ref:`1842_service_list` **Collection URI** /axapi/v3/gslb/service-ip/{node-name}/service **Element Name** service **Element URI** /axapi/v3/gslb/service-ip/{node-name}/service/{port-num}+{port-proto}+{label} **Element Attributes** service_attributes **Partition Visibility** shared **Statistics Data URI** /axapi/v3/gslb/service-ip/{node-name}/service/{port-num}+{port-proto}+{label}/stats **Operational Data URI** /axapi/v3/gslb/service-ip/{node-name}/service/{port-num}+{port-proto}+{label}/oper **Schema** :download:`service 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}/service .. raw:: html :ref:`1842_service_attributes` .. raw:: html
Create List .. raw:: html POST .. raw:: html /axapi/v3/gslb/service-ip/{node-name}/service .. raw:: html :ref:`1842_service_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/gslb/service-ip/{node-name}/service/{port-num}+{port-proto}+{label} .. raw:: html :ref:`1842_service_attributes` .. raw:: html
Get List .. raw:: html GET .. raw:: html /axapi/v3/gslb/service-ip/{node-name}/service .. raw:: html :ref:`1842_service_list` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/gslb/service-ip/{node-name}/service/{port-num}+{port-proto}+{label} .. raw:: html :ref:`1842_service_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/gslb/service-ip/{node-name}/service/{port-num}+{port-proto}+{label} .. raw:: html :ref:`1842_service_attributes` .. raw:: html
Replace List .. raw:: html PUT .. raw:: html /axapi/v3/gslb/service-ip/{node-name}/service .. raw:: html :ref:`1842_service_list` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/gslb/service-ip/{node-name}/service/{port-num}+{port-proto}+{label} .. raw:: html :ref:`1842_service_attributes` .. raw:: html
.. _1842_service_list: service-list ------------ service-list is **JSON List** of :ref:`1842_service_attributes` service-list : [ { :ref:`1842_service_attributes` }, { :ref:`1842_service_attributes` }, ... ] .. _1842_service_attributes: service attributes ------------------ **action** **Description** 'enable': Enable this GSLB server port; 'disable': Disable this GSLB server port; **Type:** string **Supported Values:** enable, disable **Default:** enable **health-check** **Description** Health Check Monitor (Monitor Name) **Type:** string **Maximum Length:** 63 characters **Maximum Length:** 1 characters **Mutual Exclusion:** health-check 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 and health-check are mutually exclusive **health-check-protocol-disable** **Description** Disable GSLB Protocol Health Monitor **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **label** **Description** Service Label **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters **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 .. _1842_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