Module Values_0.ResourceSharingConfigSource

Resource sharing configuration.

Sourcetype nonrec t = {
  1. strategy : ResourceSharingStrategy.t;
    (*

    The strategy of how idle compute is shared within the cluster. The following are the options of strategies. DontLend: entities do not lend idle compute. Lend: entities can lend idle compute to entities that can borrow. LendandBorrow: entities can lend idle compute and borrow idle compute from other entities. Default is LendandBorrow.

    *)
  2. borrowLimit : BorrowLimit.t option;
    (*

    The limit on how much idle compute can be borrowed.The values can be 1 - 500 percent of idle compute that the team is allowed to borrow. Default is 50.

    *)
  3. absoluteBorrowLimits : AbsoluteBorrowLimitResourceList.t option;
    (*

    The absolute limits on compute resources that can be borrowed from idle compute. When specified, these limits define the maximum amount of specific resource types (such as accelerators, vCPU, or memory) that an entity can borrow, regardless of the percentage-based BorrowLimit.

    *)
}
Sourceval context_ : string
Sourceval make : ?borrowLimit:??? -> ?absoluteBorrowLimits:??? -> strategy:ResourceSharingStrategy.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of BorrowLimit.t | `List of [> `Structure of (string * [> `Enum of string | `Float of VCpuAmount.t | `Integer of InstanceCount.t | `Structure of (string * [> `Enum of string | `Integer of AcceleratorPartitionConfigCountInteger.t ]) list ]) list ] 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