pyvmomi
pyvmomi copied to clipboard
Grab members of a given DRS affinity Hostgroup
Hi I have created a DRS affinity host group in my cluster called "windows_licensed" and I am trying to grab the esx hosts in there. I think it has to do with vim.cluster.HostGroup but I haven't been able to figure it out. Tried the property collector but it seems this isn't a supported view_type.
Any kickstart would be appreciated.
Thanks.