DatastoreCapability

DatastoreCapability
DatastoreCapability

Information about the capabilities of this datastore.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "directoryHierarchySupported": false,
    "rawDiskMappingsSupported": false,
    "perFileThinProvisioningSupported": false,
    "storageIORMSupported": false,
    "nativeSnapshotSupported": false,
    "topLevelDirectoryCreateSupported": false,
    "seSparseSupported": false,
    "vmfsSparseSupported": false,
    "vsanSparseSupported": false,
    "upitSupported": false,
    "vmdkExpandSupported": false,
    "clusteredVmdkSupported": false
}
boolean
directoryHierarchySupported
Required

Indicates whether or not directories can be created on this datastore.

boolean
rawDiskMappingsSupported
Required

Indicates whether or not raw disk mappings can be created on this datastore.

boolean
perFileThinProvisioningSupported
Required

Indicates whether or not the datastore supports thin provisioning on a per file basis.

When thin provisioning is used, backing storage is lazily allocated.

This is supported by VMFS3. VMFS2 always allocates storage eagerly. Thus, this value is false for VMFS2. Most NAS systems always use thin provisioning. They do not support configuring this on a per file basis, so for NAS systems this value is also false.

boolean
storageIORMSupported
Required

Deprecated as of vSphere8.0 U3, and there is no replacement for it.

Indicates whether the datastore supports Storage I/O Resource Management.

boolean
nativeSnapshotSupported
Required

Indicates whether the datastore supports native snapshot feature which is based on Copy-On-Write.

boolean
topLevelDirectoryCreateSupported
Optional

Indicates whether the datastore supports traditional top-level directory creation.

See also DatastoreNamespaceManager.

boolean
seSparseSupported
Optional

Indicates whether the datastore supports the Flex-SE(SeSparse) feature.

boolean
vmfsSparseSupported
Optional

Indicates whether the datastore supports the vmfsSparse feature.

True for VMFS3/VMFS5/NFS/NFS41, False for VMFS6. If value is undefined, then it should be read as supported.

boolean
vsanSparseSupported
Optional

Indicates whether the datastore supports the vsanSparse feature.

boolean
upitSupported
Optional

Deprecated as of vSphere API 8.0, and there is no replacement for it.

Indicates whether the datastore supports the upit feature.

boolean
vmdkExpandSupported
Optional

On certain datastores (e.g.

2016 PMEM datastore) VMDK expand is not supported. This field tells user if VMDK on this datastore can be expanded or not. If value is undefined, then it should be read as supported.

boolean
clusteredVmdkSupported
Optional

Indicates whether the datastore supports clustered VMDK feature.