Module Values.ScaleSource

A floating-point percentage of the desired number of tasks to place and keep running in the task set.

Sourcetype nonrec t = {
  1. value : Double.t option;
    (*

    The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100.

    *)
  2. unit : ScaleUnit.t option;
    (*

    The unit of measure for the scale value.

    *)
}
Sourceval make : ?value:??? -> ?unit:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Double.t | `Enum of string ]) 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