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

<p>Thanks</p>