Values.CreateQueueEnvironmentRequestSourceCreates an environment for a queue that defines how jobs in the queue run.
type nonrec t = {farmId : FarmId.t;The farm ID of the farm to connect to the environment.
*)queueId : QueueId.t;The queue ID to connect the queue and environment.
*)clientToken : ClientToken.t option;The unique token which the server uses to recognize retries of the same request.
*)priority : Priority.t;Sets the priority of the environments in the queue from 0 to 10,000, where 0 is the highest priority (activated first and deactivated last). If two environments share the same priority value, the environment created first takes higher priority.
*)templateType : EnvironmentTemplateType.t;The template's file type, JSON or YAML.
*)template : EnvironmentTemplate.t;The environment template to use in the queue.
*)}val make :
?clientToken:??? ->
farmId:FarmId.t ->
queueId:QueueId.t ->
priority:Priority.t ->
templateType:EnvironmentTemplateType.t ->
template:EnvironmentTemplate.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string | `Integer of Priority.t | `String of FarmId.t ])
list ]