Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 49146

Re: VRO extract host value from VC:HostSystem

$
0
0

In vRO Javascript code, once you have an object of type VC:HostSystem, you can retrieve the host name directly with a call that looks like

 

// let's assume you got the variable 'host' of type VC:HostSystem
var name = host.name;
System.log("host name: " + name);

 

You can check in vRO API Explorer what properties/methods are available for VC:HostSystem / VcHostSystem


Viewing all articles
Browse latest Browse all 49146

Trending Articles



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