DatastoreInfo

DatastoreInfo
DatastoreInfo

Information related to datastore.

JSON Example
{
    "capacity_mb": 946176,
    "datacenter_id": "datacenter-1",
    "disk_type": "NON_SSD",
    "file_system_type": "VMFS",
    "free_space_mb": 88239,
    "host_or_cluster_id": "domain-c85",
    "id": "datastore-29",
    "incompatible_reasons": [
        "string"
    ],
    "local_datastore": true,
    "name": "Datastore1",
    "number_of_vms": 15,
    "path": "/Datacenter/host/Cluster/Datastore1",
    "vcenter_id": "d0325b13-2bf1-4fa4-b027-e780004f2d1e",
    "vmfs_major_version": 5
}
integer As int64 As int64
capacity_mb
Optional

Maximum capacity of this datastore, in MB.

string
datacenter_id
Optional

Datacenter id for this datastore.

string
disk_type
Optional

Disk type of the datastore.

  • SSD: Solid State Drive disk type.
  • NON_SSD: NON-Solid State Drive disk type.
  • UNKNOWN: Unknown disk type.
  • NON_VMFS: NON-VMFS disk type.
Possible values are : SSD, NON_SSD, UNKNOWN, NON_VMFS,
string
file_system_type
Optional

File system type of the datastore.

  • VMFS: Virtual Machine File System.
  • NFS: Network File System.
  • VSAN: vSAN File System.
  • VVOL: Virtual Volumes.
  • UNKNOWN: Unknown File System type.
Possible values are : VMFS, NFS, VSAN, VVOL, UNKNOWN,
integer As int64 As int64
free_space_mb
Optional

Available capacity of this datastore, in MB.

string
host_or_cluster_id
Optional

Host or Cluster id for this datastore.

string
id
Optional

Unique ID representing the datastore.

array of string
incompatible_reasons
Optional

Reasons that may preclude this Datastore from being used in desktop pool/farm.

Possible values are : INACCESSIBLE_TO_SOME_HOSTS, VMFS6_AND_MORE_THAN_64_HOSTS, VMFS5_AND_MORE_THAN_32_HOSTS, NOT_VMFS5_AND_MORE_THAN_8_HOSTS, ESX65_AND_MORE_THAN_64_HOSTS, ESX51_AND_MORE_THAN_32_HOSTS, NOT_ESX51_AND_MORE_THAN_8_HOSTS, INCOMPATIBLE_NATIVE_SNAPSHOTS,
boolean
local_datastore
Optional

Indicates if this datastore is local to a single host.

string
name
Optional

Datastore name.

integer As int32 As int32
number_of_vms
Optional

Indicates the number of virtual machines the datastore has for desktop pool/farm when applicable

string
path
Optional

Datastore path.

string
vcenter_id
Optional

Virtual Center id for this datastore.

string
vmfs_major_version
Optional

The VMFS major version number.