VMware {code} Community
Pratik123
Contributor
Contributor

Get ESXi local filesystem details like capacity and freespace

Hi,

We can get the disk information of guests using GuestDiskInfo object

https://code.vmware.com/doc/preview?id=4206#/doc/vim.vm.GuestInfo.DiskInfo.html

It gives us capacity as well as free space.

Is there a similar API to get the ESXi filesystem details (non-datastores).

I see there is an API but does give us all the details.

HostFileSystemVolumeInfo

https://code.vmware.com/doc/preview?id=4206#/doc/vim.host.FileSystemVolumeInfo.html

Thanks,

Pratik

0 Kudos
0 Replies