Skip to content

CreateQueueEnvironmentRequest

Source code in docs_src/capo_deadline/types/create_queue_environment_request.py
class CreateQueueEnvironmentRequest(TypedDict, closed=True):
    farm_id: "capo_deadline.types.farm_id.FarmId"
    """The farm ID of the farm to connect to the environment."""
    queue_id: "capo_deadline.types.queue_id.QueueId"
    """The queue ID to connect the queue and environment."""
    client_token: NotRequired["capo_deadline.types.client_token.ClientToken"]
    """The unique token which the server uses to recognize retries of the same request."""
    priority: "capo_deadline.types.priority.Priority"
    """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."""
    template_type: (
        "capo_deadline.types.environment_template_type.EnvironmentTemplateType"
    )
    """The template's file type, <code>JSON</code> or <code>YAML</code>."""
    template: "capo_deadline.types.environment_template.EnvironmentTemplate"
    """The environment template to use in the queue."""

client_token instance-attribute

client_token: NotRequired[ClientToken]

The unique token which the server uses to recognize retries of the same request.

farm_id instance-attribute

farm_id: FarmId

The farm ID of the farm to connect to the environment.

priority instance-attribute

priority: Priority

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.

queue_id instance-attribute

queue_id: QueueId

The queue ID to connect the queue and environment.

template instance-attribute

The environment template to use in the queue.

template_type instance-attribute

template_type: EnvironmentTemplateType

The template's file type, JSON or YAML.