VMware Cloud Community
cjxkaka
Contributor
Contributor

How to get the Snapshot's owner or creator through the API

Author : Kristina Bliznashka

URL : http:////docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.html.hostclient.doc/GUID-7D1F1251-...

Topic Name : Managing Snapshots with the VMware Host Client

Publication Name : vSphere Single Host Management - VMware Host Client

Product/Version : VMware vSphere/6.7

Question :

I want to list all snapshots of virtual machine, and show each snapshot's owner or creator. How can I get the snapshot's owner or creator property through the java API? I investigated on the internet, many said that can use event service to get the snapshot's created event and get the snapshot's owner or creator property. But vSphere keeps information about tasks and events only 30 days that set as a default period. If over 30 days, I can't get the snapshot's owner or creator property through by event information. Can you give me some help?

0 Kudos
0 Replies