Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

Selecting resource pools automatically

$
0
0

I'm continuing to tweak the built-in "Create custom virtual machine" workflow to meet our needs.  All of our ESXi hosts are members of clusters.  The workflow is very dependent on which ESXi host you want to create the VM on.  The presentation portion of the workflow shows how to display just the Datastores on the ESXi host you are creating the VM on:

 

GetAction("com.vmware.library.vc.datastore","getDatastoreForHostAndResourcePool").call( #vmHost , null , null )

 

How can I do the same thing for the resource pools?  Most of our clusters don't have any custom resource pools, just the default "Resources," but that is at the cluster level so having a list of all the available resource pools in our vCenter environment doesn't help.  Any ideas or examples on how to tackle this?


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>