latestSwagger 2.02026-08-191,9198883.9 MB

b296c3a60aa5

Workers

Modify an existing worker machine.

put/workers/{id}

Path parameters

idstring required

The ID of the worker

Request body

Idstring required

The ID of the worker

IsDisabledboolean required

Whether the worker is disabled or not

MachinePolicyIdstring

The policy the worker must adhere to

Namestring required

The name of the worker

Slugstring
SpaceIdstring required

The ID of the space containing the resource(s).

WorkerPoolIdsstring[] required

The worker pools the worker belongs to

Response

The modified worker

Architecturestring
HasLatestCalamariboolean
HealthStatus'Healthy' | 'Unavailable' | 'Unknown' | 'HasWarnings' | 'Unhealthy'
Idstring

Gets or sets a unique identifier for this resource.

IsDisabledboolean
IsInProcessboolean
LastModifiedBystring

Gets or sets the username of the user who last modified this resource.

LastModifiedOnstring date-time

Gets or sets the date/time that this resource was last modified.

Linksobject

Gets or sets a dictionary of links to other related resources. These links can be used to navigate the resources on the server.

MachinePolicyIdstring
Namestring
OperatingSystemstring
OperatingSystemVersionstring
ShellNamestring
ShellVersionstring
SkipInitialHealthCheckboolean
Slugstring
SpaceIdstring
StatusSummarystring
Thumbprintstring
Uristring
WorkerPoolIdsstring[]