machine_get
Fetch one VMware Horizon desktop machine by opaque id to re-check state, assigned user, agent version, and base image. Avoids scanning the full machine list; a wrong id returns a 404 hint.
Instructions
[READ] One Horizon desktop machine by id (teaching 404 on a wrong id).
Same projection as one machine_list row — id, name, pool_id, state, assigned user, agent_version, base_image — fetched with a single GET instead of scanning the estate. Use it to re-check one machine after a write, or when you already hold an id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Horizon target from config.yaml; omit to use the default. | |
| machine_id | Yes | Horizon machine id (the opaque 'id' of a machine_list row, not the desktop's display name and not the vCenter VM name). A wrong id returns a 404 whose hint tells you to re-run machine_list for exact ids. |