VMware Cloud Community
damascushill
Contributor
Contributor

vCAC VCO Plugin 5.2 Inventory Host

I'm attempting to retrieve the the Host from the vCAC VCO Plugin 5.2 Inventory.  I have been successful retrieving other parts of the inventory with the code below, but I can not find the Host. Does anybody have the correct search string?

var vCACHostMachine = Server.findAllForType("vCAC:HostMachine"); 

Tags (2)
Reply
0 Kudos
5 Replies
cdecanini_
VMware Employee
VMware Employee

Try "vCAC:vCACHost"

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
Reply
0 Kudos
damascushill
Contributor
Contributor

That will give you the vCAC Instance you are running on. This is at the top or the inventory. Smiley Happy

Reply
0 Kudos
cdecanini_
VMware Employee
VMware Employee

I thought that this was what you were looking for. I do not have a vCO system with vCAC plug-in installed at hand now. Open the API explorer and look for the types under the vCAC plug-in

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
Reply
0 Kudos
damascushill
Contributor
Contributor

Hosts folder....

vCAC.png

Reply
0 Kudos
nicknyu
Contributor
Contributor

Hi Damascushill,

I meet the same issue with you

Did you solve it ?

Thanks a lot

Nick

Reply
0 Kudos