Values.VirtualGatewayHealthCheckPolicySourceAn object that represents the health check policy for a virtual gateway's listener.
type nonrec t = {healthyThreshold : VirtualGatewayHealthCheckThreshold.t;The number of consecutive successful health checks that must occur before declaring the listener healthy.
*)intervalMillis : VirtualGatewayHealthCheckIntervalMillis.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 : VirtualGatewayPortProtocol.t;The protocol for the health check request. If you specify grpc, then your service must conform to the GRPC Health Checking Protocol.
*)timeoutMillis : VirtualGatewayHealthCheckTimeoutMillis.t;The amount of time to wait when receiving a response from the health check, in milliseconds.
*)unhealthyThreshold : VirtualGatewayHealthCheckThreshold.t;The number of consecutive failed health checks that must occur before declaring a virtual gateway unhealthy.
*)}val make :
?path:??? ->
?port:??? ->
healthyThreshold:VirtualGatewayHealthCheckThreshold.t ->
intervalMillis:VirtualGatewayHealthCheckIntervalMillis.t ->
protocol:VirtualGatewayPortProtocol.t ->
timeoutMillis:VirtualGatewayHealthCheckTimeoutMillis.t ->
unhealthyThreshold:VirtualGatewayHealthCheckThreshold.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Integer of VirtualGatewayHealthCheckThreshold.t
| `Long of VirtualGatewayHealthCheckIntervalMillis.t
| `String of String_.t ])
list ]