vm_migrate
Live-migrate a VM to another host with optional dry-run preview, reversible to the prior host, and audit annotations for governed operations.
Instructions
[WRITE][risk=high] Live-migrate a VM to another host (reversible → prior host).
Pass dry_run=True to preview. Tagged risk=high (audit tier 'review');
NUTANIX_AUDIT_APPROVED_BY / NUTANIX_AUDIT_RATIONALE optionally annotate
who/why.
Args:
vm_ext_id: VM extId as returned by vm_list.
target_host_ext_id: Destination host extId (from host_list).
dry_run: If True, preview the migration without performing it.
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 | ||
| target_host_ext_id | Yes |