
DeleteVmSnapshot
This task deletes a named snapshot of a virtual machine on an ESXi host.
Enterprise Edition Talk to us
This task deletes a named snapshot of a virtual machine on an ESXi host.
Delete a snapshot of a virtual machine on an ESXi host.
This task deletes a named snapshot of a virtual machine on an ESXi host.
type: "io.kestra.plugin.ee.vmware.esxi.DeleteVmSnapshot"Examples
Delete a VM snapshot by name
id: delete_vm_snapshot
namespace: company.team
tasks:
- id: delete_snapshot
type: io.kestra.plugin.ee.vmware.esxi.DeleteVmSnapshot
server: "esxi.mycompany.com"
username: "{{ secret('VMWARE_ESXI_USERNAME') }}"
password: "{{ secret('VMWARE_ESXI_PASSWORD') }}"
vmName: "vm-to-snapshot"
snapshotName: "daily-backup-2025-07-18"
Properties
password*Requiredstring
The password for authentication.
The password used to authenticate with the VMware server.
server*Requiredstring
The URL of the server.
The URL to connect to the VMwareserver. This is a FQDN or an IP address (eg: esxi.mycompany.com), so without any protocol nor port.
snapshotName*Requiredstring
The name of the snapshot to delete.
username*Requiredstring
The username for authentication.
The username used to authenticate with the server. It could be something like '[email protected]' for vCenter or 'root' for ESXi.
vmName*Requiredstring
The name of the virtual machine.
portintegerstring
443The port for the connection.
The port to connect to the server. Default is 443.
removeChildrenbooleanstring
falseWhether to remove child snapshots.
If true, child snapshots will also be removed. Default: false.
trustStorePathstring
The path to the trust store file.
The path to the trust store file containing certificates for secure connections. If not provided, an empty keystore will be created and the connection will be insecure.