reset_vdi_machine
Hard-reset VDI desktops only after previewing the blast radius, then confirm to clear stuck machines; unconfirmed calls report affected users and states without changing anything.
Instructions
[WRITE] Hard-reset desktop machine(s) — the user loses unsaved state.
A bare call returns blast_radius (machine ids, names, states, assigned users) and resets nothing; confirm=True resets. A machine whose state cannot be read is refused. Show blast_radius to the user and wait for their decision. Do not set confirm=True on your own because the user asked for this earlier: they have not seen the blast radius yet. For a graceful in-guest reboot use vmware-aiops (the vCenter VM). Audited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Horizon target from config.yaml; omit to use the default. | |
| confirm | No | False (default) returns the blast radius and changes nothing. True resets. | |
| machine_ids | Yes | Machine ids to reset (from list_vdi_machines). |