Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 231085

Re: Retrieve tasks and events for a Virtual Machine

$
0
0

Hi,

 

one way to achieve your goal is using the parent sdkConnection of your VM object and using the taskManager and eventManager.

For each one (Task and Event) create a FilterSpec (containing your VM) and trigger the createCollectorForTasks/createCollectorForEvents method.

The result will be a browsable/paginated collector where you can retrieve your tasks and events for your VM object.

 

Greetz


Viewing all articles
Browse latest Browse all 231085

Trending Articles



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