vm_delete
Delete a VM from Prism Central. Use dry_run to preview before executing this destructive, high-risk operation.
Instructions
[WRITE][risk=high] Delete a VM. Destructive — pass dry_run=True to preview first.
Tagged risk=high (audit tier 'review'); NUTANIX_AUDIT_APPROVED_BY /
NUTANIX_AUDIT_RATIONALE optionally annotate who/why. Captures the VM's
prior name/power state on the audit trail.
Args:
vm_ext_id: VM extId as returned by vm_list.
dry_run: If True, return what WOULD be deleted without deleting.
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 |