Huddle01 Cloud
CLIVirtual Machines

hudl vm action <id> <action>

Run a power action against a VM: start, stop, reboot, hard-reboot, suspend, resume.

Run a power action against a VM: start, stop, reboot, hard-reboot, suspend, resume.

Usage

hudl vm action <id> <action> [flags]

Available actions

ActionDescription
startPower on a stopped VM.
stopGracefully shut down a running VM (ACPI signal).
rebootGraceful reboot (ACPI signal).
hard-rebootForceful reboot (equivalent to power cycling). Use when the VM is unresponsive.
suspendPause the VM and save its memory state. The VM stops consuming compute but retains its resources.
resumeResume a suspended VM from its saved state.

Common flags

FlagDescription
--region <code>Override the active region for this call only.
--workspace <slug>Override the active workspace for this call only.
-o, --outputOutput format: table (default), json, yaml, wide, name.
--idempotency-key <key>Attach an idempotency key so retries are safe.

Examples

Gracefully stop a VM:

hudl vm action 3e2a7f19-b8c4-4d5e-9f1a-6c7d8e9f0a1b stop

Start a previously stopped VM:

hudl vm action 3e2a7f19-b8c4-4d5e-9f1a-6c7d8e9f0a1b start

Hard-reboot an unresponsive VM:

hudl vm action 3e2a7f19-b8c4-4d5e-9f1a-6c7d8e9f0a1b hard-reboot

Suspend a VM to save compute costs overnight:

hudl vm action 3e2a7f19-b8c4-4d5e-9f1a-6c7d8e9f0a1b suspend

API reference

This command calls POST /instances/{id}/action under the hood. See the full request and response schema in the API reference.