Module Values_0.MetricValueSource

The value to be compared with the metric.

Sourcetype nonrec t = {
  1. count : UnsignedLong.t option;
    (*

    If the comparisonOperator calls for a numeric value, use this to specify that numeric value to be compared with the metric.

    *)
  2. cidrs : Cidrs.t option;
    (*

    If the comparisonOperator calls for a set of CIDRs, use this to specify that set to be compared with the metric.

    *)
  3. ports : Ports.t option;
    (*

    If the comparisonOperator calls for a set of ports, use this to specify that set to be compared with the metric.

    *)
  4. number : Number.t option;
    (*

    The numeral value of a metric.

    *)
  5. numbers : NumberList.t option;
    (*

    The numeral values of a metric.

    *)
  6. strings : StringList.t option;
    (*

    The string values of a metric.

    *)
}
Sourceval make : ?count:??? -> ?cidrs:??? -> ?ports:??? -> ?number:??? -> ?numbers:??? -> ?strings:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Number.t | `List of [> `Double of Number.t | `Integer of Port.t | `String of Cidr.t ] list | `Long of UnsignedLong.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