vm_power_off
Hard power off a VM by its extId in Nutanix AIops; preview the self-lockout guard with dry_run before shutdown, then reverse by powering it on.
Instructions
[WRITE][risk=medium] Hard power off a VM (reversible → power-on).
Args:
vm_ext_id: VM extId as returned by vm_list.
dry_run: If True, preview it (runs the self-lockout guard) without powering off.
target: Prism Central target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No | ||
| vm_ext_id | Yes |