Creates a health monitor for a load balancer pool to automatically check the health status of pool members. The health monitor performs periodic checks on pool members and removes unhealthy members from rotation, ensuring only healthy servers receive traffic.
Documentation Index
Fetch the complete documentation index at: https://gcore.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Project ID
1
Region ID
1
Pool ID
"00000000-0000-4000-8000-000000000000"
The time, in seconds, between sending probes to members
1 <= x <= 214748364710
Number of successes before the member is switched to ONLINE state
1 <= x <= 102
The maximum time to connect. Must be less than the delay value
x <= 21474835
Health monitor type. Once health monitor is created, cannot be changed.
HTTP, HTTPS, K8S, PING, TCP, TLS-HELLO, UDP-CONNECT "HTTP"
"HTTPS"
"PING"
"TCP"
"TLS_HELLO"
"UDP_CONNECT"
"K8S"
Administrative state of the resource. When set to true, the resource is enabled and operational. When set to false, the resource is disabled and will not process traffic. Defaults to true.
true
false
Domain name for HTTP host header. Can only be used together with HTTP or HTTPS health monitor type.
^[A-Za-z0-9._-]{1,253}$"example.com"
Expected HTTP response codes. Can be a single code or a range of codes. Can only be used together with HTTP or HTTPS health monitor type. For example, 200,202,300-302,401,403,404,500-504. If not specified, the default is 200.
"200,301,302"
HTTP method. Can only be used together with HTTP or HTTPS health monitor type.
CONNECT, DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT, TRACE "CONNECT"
HTTP version. Can only be used together with HTTP or HTTPS health monitor type. Supported values: 1.0, 1.1.
1.0, 1.1 "1.1"
Number of failures before the member is switched to ERROR state.
1 <= x <= 102
The HTTP path the health monitor requests on each member. Defaults to / if not set. Can only be used with HTTP or HTTPS health monitor type.
Must start with / and contain only plain path segments. Query strings (?), fragments (#), percent-encoding (%), and consecutive slashes (//) are not allowed.
Examples of valid paths:
/ — check the root (most common, default)/healthz — a dedicated health endpoint^/([^/?#%][^?#%]*)?$"/"
OK
List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:
GET /v1/tasks/{task_id} - Check individual task status and details
Poll task status until completion (FINISHED/ERROR) before proceeding with dependent operations.["d478ae29-dedc-4869-82f0-96104425f565"]