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

query hosts

$
0
0

Hi,

 

I get all the hosts from a cluster with the command:

var hosts = cluster.getAllHostSystemOfCluster();

 

I want to pass over the array of hosts, and check if the host is available and not in maintenance mode and get all the datastore from the host.

 

Thanks!


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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