Hi all,
I have an ESXi host with many Virtual Machines running on it.
I need to build a custom application (in Python, Java or .NET) to connect to the ESXi host to revert selected VMs to particular snapshots at the user's discretion.
I am relatively new to products in the vSphere product line.
Thank you
Hi,
That's fairly easy to do in a PowerCLI script, bash script, C++, or ... well in a lot of different language API bindings.
For python, have a look here:
GitHub - vmware/pyvmomi: VMware vSphere API Python Bindings
or just have a look here:
VMware API and SDK Documentation
There's no additional cost.
--
Wil
I am trying to find the API endpoints for listing and restoring snapshots etc.
But I cannot find anything on this here:
https://vmware.github.io/vsphere-automation-sdk-rest/vsphere/index.html
I found out in the meantime that the REST API does not support these operations yet.
One must stick with the vSphere Web Services API for that purpose: