Skip to content

CreateWorkerRequest

Source code in docs_src/capo_deadline/types/create_worker_request.py
class CreateWorkerRequest(TypedDict, closed=True):
    farm_id: "capo_deadline.types.farm_id.FarmId"
    """<p>The farm ID of the farm to connect to the worker.</p>"""
    fleet_id: "capo_deadline.types.fleet_id.FleetId"
    """<p>The fleet ID to connect to the worker.</p>"""
    host_properties: NotRequired[
        "capo_deadline.types.host_properties_request.HostPropertiesRequest"
    ]
    """<p>The IP address and host name of the worker.</p>"""
    client_token: NotRequired["capo_deadline.types.client_token.ClientToken"]
    """<p>The unique token which the server uses to recognize retries of the same request.</p>"""
    tags: NotRequired["capo_deadline.types.tags.Tags"]
    """<p>Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.</p>"""

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 worker.

fleet_id instance-attribute

fleet_id: FleetId

The fleet ID to connect to the worker.

host_properties instance-attribute

host_properties: NotRequired[HostPropertiesRequest]

The IP address and host name of the worker.

tags instance-attribute

tags: NotRequired[Tags]

Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.