Open
Description
How do I do snapshot related operations on a VM? Say I want to capture snapshots or revert back to a snapshot, how can I do that? I've tried searching this on the
vsphere automation sdk for python docs but it doesn't seem to have any information related to this.
Thanks.
Activity
abessifi commentedon Sep 29, 2019
@tianhao64 any feedback on this please ?
rfalias commentedon Oct 23, 2019
Curious about this as well...
Surprising the automation sdk doesn't have snapshot capabilities. Is this a feature request or already in progress?
anusha94 commentedon Mar 16, 2021
Can anybody confirm if this feature is still not available with the latest SDK? I can forward the request in that case.
KnutssonDevelopment commentedon Apr 22, 2021
I looks like it is a VM property, which makes sense. I am able to list them by the vm object anyway.
KnutssonDevelopment commentedon Apr 22, 2021
I have posted some example code here: https://vm.knutsson.it/2021/04/get-snapshot-informatin-using-python/
luponata commentedon May 4, 2021
Good to know!, unfortunately this is working only on a separate API implementation: "Pyvmomi"
I keep wondering why they haven't implemented the same snapshot concept with the newer REST API
Anyway it's however possible to know the presence of snapshots with the following code:
Unfortunately we cannot know the date and any descriptions of the snapshot, but it is a start
avesst commentedon May 2, 2024
This is still not implemented?
P-T-I commentedon Apr 10, 2025
Would like to know if this is getting implemented? @aagrawal3 any insights?