get_vdi_machine
Fetch one Horizon VDI machine by id to recheck a single desktop after a write or when you already hold its id. Returns id, name, pool, state, user, agent version, and base image.
Instructions
[READ] One Horizon desktop machine by id (teaching 404 on a wrong id).
Same projection as one list_vdi_machines 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 list_vdi_machines 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 list_vdi_machines for exact ids. |