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

List all hosts connected to Datastore

$
0
0

Hi all,

 

I'm trying to perform a simple task which doesn't seem to work as expected.

vRO, i would like to input a datastore and output a list of hosts connected to that datastore:

 

action element:

 

in param = datastore

type VC:datastore

return type: ARRAY/VC:HostSystem

 

script:

return datastore.host;

 

error:

 

Unable to convert object, no sdk type defined for class : com.vmware.vim.vi4.DatastoreHostMount@

 

Many thanks for your help.

Regards,

Pod


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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