VMware Cloud Community
PavanHCL
Contributor
Contributor

issue with DataStore.getHost() method

DataStore.getHost() method returns the list of DataStoreHostMount objects but not the actual host. 

Can I get the Host IP using DataStoreHostMost? if not, please suggest ways to get the host IP 

Reply
0 Kudos
2 Replies
Nawals
Expert
Expert

Ref Solved: How to use "DatastoreHostMount" data object

NKS Please Mark Helpful/correct if my answer resolve your query.
Reply
0 Kudos
PavanHCL
Contributor
Contributor

Thank you for your reply. could you please share the code snippet in Java. 
Reply
0 Kudos