vmware / pyvmomi

VMware vSphere API Python Bindings
Apache License 2.0
2.2k stars 767 forks source link

Get complete task history #230

Open retooth opened 9 years ago

retooth commented 9 years ago

Hi,

is there a method to access the complete task history? I've only seen the recentTask-Property on TaskManager and ManagedEntity which doesn't cover completed tasks that are older than 10 minutes.

All the best, retooth

hevel commented 8 years ago
tfs = vim.TaskFilterSpec()
task_collector = content.taskManager.CreateCollectorForTasks(tfs)

this may help