vsphere_delete_vm
Permanently delete a virtual machine and all its files from disk. Requires the VM to be powered off and explicit confirmation.
Instructions
Permanently delete a virtual machine and all of its files from disk.
This cannot be undone. The VM must be powered off. Requires permission
mode destructive and an explicit confirm=true.
Args:
vm: VM name, managed object id, UUID or inventory path.
confirm: Must be true; guards against accidental deletion.
wait: Wait for the delete task to finish.
timeout_seconds: Override the default task timeout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | ||
| wait | No | ||
| confirm | Yes | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||