Module Values.LimitSummarySource

Provides information about a specific limit.

Sourcetype nonrec t = {
  1. farmId : FarmId.t option;
    (*

    The unique identifier of the farm that contains the limit.

    *)
  2. limitId : LimitId.t option;
    (*

    The unique identifier of the limit.

    *)
  3. currentCount : MinZeroMaxInteger.t option;
    (*

    The number of resources from the limit that are being used by jobs. The result is delayed and may not be the count at the time that you called the operation.

    *)
  4. createdAt : CreatedAt.t option;
    (*

    The Unix timestamp of the date and time that the limit was created.

    *)
  5. createdBy : CreatedBy.t option;
    (*

    The user identifier of the person that created the limit.

    *)
  6. updatedAt : UpdatedAt.t option;
    (*

    The Unix timestamp of the date and time that the limit was last updated.

    *)
  7. updatedBy : UpdatedBy.t option;
    (*

    The user identifier of the person that last updated the limit.

    *)
  8. displayName : ResourceName.t option;
    (*

    The name of the limit used in lists to identify the limit. This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

    *)
  9. amountRequirementName : AmountRequirementName.t option;
    (*

    The value that you specify as the name in the amounts field of the hostRequirements in a step of a job template to declare the limit requirement.

    *)
  10. maxCount : MaxCount.t option;
    (*

    The maximum number of resources constrained by this limit. When all of the resources are in use, steps that require the limit won't be scheduled until the resource is available. The maxValue must not be 0. If the value is -1, there is no restriction on the number of resources that can be acquired for this limit.

    *)
}
Sourceval make : ?farmId:??? -> ?limitId:??? -> ?currentCount:??? -> ?createdAt:??? -> ?createdBy:??? -> ?updatedAt:??? -> ?updatedBy:??? -> ?displayName:??? -> ?amountRequirementName:??? -> ?maxCount:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of MinZeroMaxInteger.t | `String of FarmId.t | `Timestamp of CreatedAt.t ]) 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