reset_or_restart_sessions
Power-cycle or reboot the VM backing a session to recover from unresponsive states, ending the user's session. Use reset for a hard cycle (may cause data loss) or restart for a graceful reboot.
Instructions
Reset or restart the virtual machine backing one or more sessions.
CAUTION: Both actions will terminate the user's session. reset is a hard power-cycle and may cause data loss. restart attempts a graceful reboot but the session will still end. Always confirm with the user before calling this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | reset: hard power-cycle the VM (immediate, may cause data loss). restart: graceful reboot of the VM (user is logged off first). | |
| confirm | No | Only used when the server runs with HORIZON_CONFIRMATION=flag (clients without elicitation). Otherwise the user is asked to confirm directly in the client. | |
| session_ids | Yes | List of session IDs to act on |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||