Using OO to pull port group and VLAN data from Vcenter for a cluster or host

I am hoping someone can help push me in the right direction on this.  I am attempting to use HP OO to automate our vCenter OS builds.  I am having trouble looking up the proper port group to leverage.  I would like to start with cluster or even host system and VLAN id and then get back port group name.


It was suggested that I look at the advanced search feature, but I have not been able to get the proper combination of property and object type to get this to work.


Any assistance or direction would be greatly appreciated.