Quantcast
Channel: VMware Communities : All Content - vSphere Management SDK
Viewing all articles
Browse latest Browse all 1860

Shared datastores from a cluster of ESXi servers

$
0
0

Hi,

 

Is there any API that gives only the shared datastores of a particular ESXi server / cluster of ESXi servers..?

 

Cluster1

--Host1 --> local1, shared1, shared2

--Host2 --> local2, shared1, shared2

 

where shared1 and shared2 are mapped to both Host1 and Host2. So is there any API to get these..? I achieved this by getting the datastores from all the hosts and comparing them. But if there is any API then I can reduce the no. of lines in my code.

 

Please help.


Viewing all articles
Browse latest Browse all 1860

Trending Articles



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