.. _health_monitor_method_tcp: health monitor method tcp ========================= TCP type tcp Specification ----------------- ===================================== ========================================================================= ===================================== ========================================================================= **Type** *Configuration Resource* **Element Name** tcp **Element URI** /axapi/v3/health/monitor/{name}/method/tcp **Element Attributes** tcp_attributes **Schema** :download:`tcp schema ` ===================================== ========================================================================= **Operations Allowed:** .. 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/health/monitor/{name}/method/tcp .. raw:: html :ref:`794_tcp_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/health/monitor/{name}/method/tcp .. raw:: html :ref:`794_tcp_attributes` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/health/monitor/{name}/method/tcp .. raw:: html :ref:`794_tcp_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/health/monitor/{name}/method/tcp .. raw:: html :ref:`794_tcp_attributes` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/health/monitor/{name}/method/tcp .. raw:: html :ref:`794_tcp_attributes` .. raw:: html
.. _794_tcp_attributes: tcp attributes -------------- **method-tcp** **Description** TCP type **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **port-halfopen** **Description** Set TCP SYN check **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **Mutual Exclusion:** port-halfopen and port-send are mutually exclusive **port-resp** **Description:** port-resp is a **JSON Block**. Please see below for :ref:`794_port-resp` **Type:** Object **port-send** **Description** Send a string to server (Specify the string) **Type:** string **Format:** string-rlx **Maximum Length:** 511 characters **Maximum Length:** 1 characters **Mutual Exclusion:** port-send and port-halfopen are mutually exclusive **tcp-port** **Description** Specify TCP port (Specify port number) **Type:** number **Range:** 1-65534 **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters .. _794_port-resp: port-resp ^^^^^^^^^ =============================== =================================================== **Specification** =============================== =================================================== **Type** *object* =============================== =================================================== **port-contains** **Description** Mark server up if response string contains another string (Specify the string) **Type:** string **Format:** string-rlx **Maximum Length:** 127 characters **Maximum Length:** 1 characters