Enthusiast
Enthusiast

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

Jump to solution

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

1 Solution

Accepted Solutions
VMware Employee
VMware Employee

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
VMware Employee
VMware Employee

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

VMware Employee
VMware Employee

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