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.
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
Region ID
Pool ID
The time, in seconds, between sending probes to members
1 <= x <= 2147483647Number of successes before the member is switched to ONLINE state
1 <= x <= 10The maximum time to connect. Must be less than the delay value
x <= 2147483Health monitor type. Once health monitor is created, cannot be changed.
HTTP, HTTPS, K8S, PING, TCP, TLS-HELLO, UDP-CONNECT 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"
Number of failures before the member is switched to ERROR state.
1 <= x <= 10URL Path. Defaults to '/'. Can only be used together with HTTP or HTTPS health monitor type.
1"/"
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.