Module Values_0.ComputeQuotaConfigSource

Configuration of the compute allocation definition for an entity. This includes the resource sharing option and the setting to preempt low priority tasks.

Sourcetype nonrec t = {
  1. computeQuotaResources : ComputeQuotaResourceConfigList.t option;
    (*

    Allocate compute resources by instance types.

    *)
  2. resourceSharingConfig : ResourceSharingConfig.t option;
    (*

    Resource sharing configuration. This defines how an entity can lend and borrow idle compute with other entities within the cluster.

    *)
  3. preemptTeamTasks : PreemptTeamTasks.t option;
    (*

    Allows workloads from within an entity to preempt same-team workloads. When set to LowerPriority, the entity's lower priority tasks are preempted by their own higher priority tasks. Default is LowerPriority.

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