Table: vsphere_datastore
A datastore is a storage pool that can be used by virtual machines.
The vsphere_datastore
table can be used to query datastore utilization and capacity.
Examples
List datastores
select *from vsphere_datastore;
Select inacessible datastores
select *from vsphere_datastorewhere accessible = false;
Select NFS type datastores
select *from vsphere_datastorewhere type = 'NFS';
Schema for vsphere_datastore
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form, e.g. connection_name. | |
accessible | boolean | The connectivity status of this datastore | |
capacity | bigint | Maximum capacity of this datastore in bytes | |
free | bigint | Available space of this datastore, in bytes | |
moref | text | Managed object reference of the datastore | |
name | text | The name of the datastore | |
type | text | Type of file system volume, such as VMFS or NFS | |
uncommitted | bigint | Total additional storage space, in bytes, potentially used by all virtual machines on this datastore |