VMware Cloud Community
anuragvr
Enthusiast
Enthusiast
Jump to solution

How to get the list of attached vCAC host to the VCO in the VCO workflow

Is there any way to get the list of all attached vCAC host to vCenter Orchestrator in the VCO workflow?

1 Solution

Accepted Solutions
cdecanini_
VMware Employee
VMware Employee
Jump to solution

Yes:

vcacHosts = Server.findAllForType("VCACCAFE: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

View solution in original post

2 Replies
cdecanini_
VMware Employee
VMware Employee
Jump to solution

Yes:

vcacHosts = Server.findAllForType("VCACCAFE: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
cdecanini_
VMware Employee
VMware Employee
Jump to solution

Or switch the type to vCAC:VCACHost if you need to get the IaaS hosts.

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