Module Values.LoadBalancerStateSource

Information about the state of the load balancer.

Sourcetype nonrec t = {
  1. code : LoadBalancerStateEnum.t option;
    (*

    The state code. The initial state of the load balancer is provisioning. After the load balancer is fully set up and ready to route traffic, its state is active. If load balancer is routing traffic but does not have the resources it needs to scale, its state isactive_impaired. If the load balancer could not be set up, its state is failed.

    *)
  2. reason : StateReason.t option;
    (*

    A description of the state.

    *)
}
Sourceval make : ?code:??? -> ?reason:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of StateReason.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