Module Values.IntervalSource

The time period used to evaluate the SLO. It can be either a calendar interval or rolling interval.

Sourcetype nonrec t = {
  1. rollingInterval : RollingInterval.t option;
    (*

    If the interval is a rolling interval, this structure contains the interval specifications.

    *)
  2. calendarInterval : CalendarInterval.t option;
    (*

    If the interval is a calendar interval, this structure contains the interval specifications.

    *)
}
Sourceval make : ?rollingInterval:??? -> ?calendarInterval:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `Integer of RollingIntervalDuration.t | `Timestamp of Timestamp.t ]) list ]) 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