Module Values_0.CreateComputeQuotaRequestSource

Create compute allocation definition. This defines how compute is allocated, shared, and borrowed for specified entities. Specifically, how to lend and borrow idle compute and assign a fair-share weight to the specified entities.

Sourcetype nonrec t = {
  1. name : EntityName.t;
    (*

    Name to the compute allocation definition.

    *)
  2. description : EntityDescription.t option;
    (*

    Description of the compute allocation definition.

    *)
  3. clusterArn : ClusterArn.t;
    (*

    ARN of the cluster.

    *)
  4. computeQuotaConfig : ComputeQuotaConfig.t;
    (*

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

    *)
  5. computeQuotaTarget : ComputeQuotaTarget.t;
    (*

    The target entity to allocate compute resources to.

    *)
  6. activationState : ActivationState.t option;
    (*

    The state of the compute allocation being described. Use to enable or disable compute allocation. Default is Enabled.

    *)
  7. tags : TagList.t option;
    (*

    Tags of the compute allocation definition.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?activationState:??? -> ?tags:??? -> name:EntityName.t -> clusterArn:ClusterArn.t -> computeQuotaConfig:ComputeQuotaConfig.t -> computeQuotaTarget:ComputeQuotaTarget.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of EntityName.t | `Structure of (string * [> `Enum of string | `Integer of FairShareWeight.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 | `String of ComputeQuotaTargetTeamName.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 ]) 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