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.