Module Values.RollingIntervalSource

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

Sourcetype nonrec t = {
  1. durationUnit : DurationUnit.t;
    (*

    Specifies the rolling interval unit.

    *)
  2. duration : RollingIntervalDuration.t;
    (*

    Specifies the duration of each rolling interval. For example, if Duration is 7 and DurationUnit is DAY, each rolling interval is seven days.

    *)
}
Sourceval context_ : string
Sourceval make : durationUnit:DurationUnit.t -> duration:RollingIntervalDuration.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of RollingIntervalDuration.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