I have to get DiskType information using python pyvmomi library, I am able to get the same through C# VMware sdk via "Get-VM | Get-HardDisk -DiskType "Flat" | Select Parent,Name,DiskType,ScsiCanonicalName,DeviceName,Diskmode | fl"
command, which will output all the disk in vSphere/eSX with Flat disktype. In the respective command, I have searched for "Flat" disktype which can also be "RawPhysical, RawVirtual, or Unknown". I have gone through VMware MOB properties as well but wasn't able to search for DiskType property.
Thanks