Values.HealthCheckPolicySourceAn object that represents the health check policy for a virtual node's listener.
type nonrec t = {healthyThreshold : HealthCheckThreshold.t;The number of consecutive successful health checks that must occur before declaring listener healthy.
*)intervalMillis : HealthCheckIntervalMillis.t;The time period in milliseconds between each health check execution.
*)path : String_.t option;The destination path for the health check request. This value is only used if the specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored.
*)port : PortNumber.t option;The destination port for the health check request. This port must match the port defined in the PortMapping for the listener.
*)protocol : PortProtocol.t;The protocol for the health check request. If you specify grpc, then your service must conform to the GRPC Health Checking Protocol.
*)timeoutMillis : HealthCheckTimeoutMillis.t;The amount of time to wait when receiving a response from the health check, in milliseconds.
*)unhealthyThreshold : HealthCheckThreshold.t;The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy.
*)}val make :
?path:??? ->
?port:??? ->
healthyThreshold:HealthCheckThreshold.t ->
intervalMillis:HealthCheckIntervalMillis.t ->
protocol:PortProtocol.t ->
timeoutMillis:HealthCheckTimeoutMillis.t ->
unhealthyThreshold:HealthCheckThreshold.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Integer of HealthCheckThreshold.t
| `Long of HealthCheckIntervalMillis.t
| `String of String_.t ])
list ]