VMware {code} Community
bigStorage
Contributor
Contributor

How to get complete virtual disk information if I have virtual disk lunuuid as input?

I want to get complete LUN/virtual disk info and the input that I have is only the lunuuid via pyvmomi, by complete info I meant the LUN serial number, wwn and other respective information. I am able to do that via VM's path like if I have IP/UUID of respective VM then I can directly search the VM by creating a SearchIndex and then searching through that index by direct API i.e. FindByIp/FindByUuid and then searching that VM's hardware for input lunuuid and get information regarding that respective LUN, but it's an in-direct path so, like I can find VM directly is there any direct API to reach to respective LUN and find all it's information.

Tags (2)
Reply
0 Kudos
0 Replies