You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to list all the hosts that are under a given Host Rule, Host Group or VM Group.
I tried to get the information of a host rule from the host by running govc object.collect -json -json <path_to_host>, but there in there, there is no information related to Host Rule, Host Group or VM Group, the host belongs to.
On the other side, if I do govc object.collect -json <Path to cluster> I can get the information about Host Rule, Host Group or VM Group, however, there is no information regarding the hosts.
Is there a way to link these two elements using govc?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I would like to list all the hosts that are under a given Host Rule, Host Group or VM Group.
I tried to get the information of a host rule from the host by running
govc object.collect -json -json <path_to_host>
, but there in there, there is no information related to Host Rule, Host Group or VM Group, the host belongs to.On the other side, if I do
govc object.collect -json <Path to cluster>
I can get the information about Host Rule, Host Group or VM Group, however, there is no information regarding the hosts.Is there a way to link these two elements using govc?
Many thanks.
Beta Was this translation helpful? Give feedback.
All reactions