Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 182126

refresh rootSnapshotList after a change

$
0
0


Hello


the idea is to have a Virtual Machine object instantiated somewhere soon in code 


at that point lets say that $vm->snapshot->rootSnapshotList has a couple oh sub snapshots , lets call them snap1,snap2 and snap3 


meanwhile  i add a new snapshot ( CreateSnapshot_Task(%args) )  ,


if i browse the rootSnapshotList , i will not see the newly created snapshot , in order to see it i must instanciate a new VM object and access its rootSnapshot 


now consider i have 100 VMs ready to be reinstanciated or even 1000 , that would not be so nice to call find_entity_view for each one no ?


Did vmware do any subroutine to re-scan the snapshots in a VM ?


I have tried  $vm->Reload  but to no avail 


Viewing all articles
Browse latest Browse all 182126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>