Module Values.VirtualGatewayHealthCheckPolicySource

An object that represents the health check policy for a virtual gateway's listener.

Sourcetype nonrec t = {
  1. healthyThreshold : VirtualGatewayHealthCheckThreshold.t;
    (*

    The number of consecutive successful health checks that must occur before declaring the listener healthy.

    *)
  2. intervalMillis : VirtualGatewayHealthCheckIntervalMillis.t;
    (*

    The time period in milliseconds between each health check execution.

    *)
  3. 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.

    *)
  4. 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.

    *)
  5. 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.

    *)
  6. timeoutMillis : VirtualGatewayHealthCheckTimeoutMillis.t;
    (*

    The amount of time to wait when receiving a response from the health check, in milliseconds.

    *)
  7. unhealthyThreshold : VirtualGatewayHealthCheckThreshold.t;
    (*

    The number of consecutive failed health checks that must occur before declaring a virtual gateway unhealthy.

    *)
}
Sourceval context_ : string
Sourceval make : ?path:??? -> ?port:??? -> healthyThreshold:VirtualGatewayHealthCheckThreshold.t -> intervalMillis:VirtualGatewayHealthCheckIntervalMillis.t -> protocol:VirtualGatewayPortProtocol.t -> timeoutMillis:VirtualGatewayHealthCheckTimeoutMillis.t -> unhealthyThreshold:VirtualGatewayHealthCheckThreshold.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of VirtualGatewayHealthCheckThreshold.t | `Long of VirtualGatewayHealthCheckIntervalMillis.t | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t