snapshot_restore
Revert a VM to a specified snapshot. Preview with dry run to avoid irreversible data loss.
Instructions
[WRITE][risk=high] Revert a VM to a snapshot. Destructive & NOT undoable — preview first.
Reverting overwrites the VM's current state; 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.
snapshot_ext_id: Snapshot extId as returned by snapshot_list.
dry_run: If True, preview the revert 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 | ||
| snapshot_ext_id | Yes |