Module Values.AutoScalingSource

Specifies how the connector scales.

Sourcetype nonrec t = {
  1. maxWorkerCount : int;
    (*

    The maximum number of workers allocated to the connector.

    *)
  2. mcuCount : int;
    (*

    The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.

    *)
  3. minWorkerCount : int;
    (*

    The minimum number of workers allocated to the connector.

    *)
  4. scaleInPolicy : ScaleInPolicy.t option;
    (*

    The scale-in policy for the connector.

    *)
  5. scaleOutPolicy : ScaleOutPolicy.t option;
    (*

    The scale-out policy for the connector.

    *)
  6. maxAutoscalingTaskCount : int option;
    (*

    The maximum number of tasks allocated to the connector during autoscaling operations. Must be at least equal to maxWorkerCount.

    *)
}
Sourceval context_ : string
Sourceval make : ?scaleInPolicy:??? -> ?scaleOutPolicy:??? -> ?maxAutoscalingTaskCount:??? -> maxWorkerCount:int -> mcuCount:int -> minWorkerCount:int -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of int | `Structure of (string * [> `Integer of int ]) 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