Module Values.HealthCheckPolicySource

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

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

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

    *)
  2. intervalMillis : HealthCheckIntervalMillis.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 : PortProtocol.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 : HealthCheckTimeoutMillis.t;
    (*

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

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

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

    *)
}
Sourceval context_ : string
Sourceval make : ?path:??? -> ?port:??? -> healthyThreshold:HealthCheckThreshold.t -> intervalMillis:HealthCheckIntervalMillis.t -> protocol:PortProtocol.t -> timeoutMillis:HealthCheckTimeoutMillis.t -> unhealthyThreshold:HealthCheckThreshold.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of HealthCheckThreshold.t | `Long of HealthCheckIntervalMillis.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