Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 178776

Fetching the default IaaS host

$
0
0

I've been try to get the default IaaS host from an action (to populate dynamic forms in a blueprint). the following code simply returns "undefined":

 

var host = Server.findAllForType("vCAC:VCACHost")[0];

System.log("found: "+host.displayName);

 

I sure i'm missing something basic - but i assumed that the IaaS host would be available..

 

Thanks!


Viewing all articles
Browse latest Browse all 178776

Trending Articles



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