Module Values.GetJobQueueSnapshotResponseSource

Provides a snapshot of job queue state, including ordering of RUNNABLE jobs, as well as capacity utilization for already dispatched jobs. The first 100 RUNNABLE jobs in the job queue are listed in order of dispatch. For job queues with an attached quota-share policy, the first RUNNABLE job in each quota share is also listed. Capacity utilization for the job queue is provided, as well as break downs by share for job queues with attached fair-share or quota-share scheduling policies.

Sourcetype nonrec t = {
  1. frontOfQueue : FrontOfQueueDetail.t option;
    (*

    The list of the first 100 RUNNABLE jobs in each job queue. For first-in-first-out (FIFO) job queues, jobs are ordered based on their submission time. For job queues with an attached fair-share scheduling (FSS) or quota-share policy, jobs are ordered based on their job priority and share usage.

    *)
  2. frontOfQuotaShares : FrontOfQuotaSharesDetail.t option;
    (*

    The first RUNNABLE job in each quota share. Jobs are ordered based on their job priority and share usage.

    *)
  3. queueUtilization : QueueSnapshotUtilizationDetail.t option;
    (*

    The job queue's capacity utilization, including total usage and breakdown per given share.

    *)
}
Sourcetype nonrec error = [
  1. | `ClientException of ClientException.t
  2. | `ServerException of ServerException.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?frontOfQueue:??? -> ?frontOfQuotaShares:??? -> ?queueUtilization:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ClientException of ClientException.t | `ServerException of ServerException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ClientException of ClientException.t | `ServerException of ServerException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `Double of Double.t | `Long of Long.t | `String of String_.t ]) list ] list | `Long of Long.t | `Map of ([> `String of String_.t ] * [> `List of [> `Structure of (string * [> `Long of Long.t | `String of String_.t ]) list ] list ]) list | `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `Double of Double.t | `String of String_.t ]) list ] list | `String of String_.t ]) list ] list | `Long of Long.t ]) 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