VirtualMachineDatastoreInfo
DatastoreInfo describes a datastore that a virtual disk can be stored on.
{
"_typeName": "string",
"name": "string",
"configurationTag": [
"string"
],
"datastore": {
"_typeName": "string",
"datastore": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"name": "string",
"url": "string",
"capacity": 0,
"freeSpace": 0,
"uncommitted": 0,
"accessible": false,
"multipleHostAccess": false,
"type": "string",
"maintenanceMode": "string"
},
"capability": {
"_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
},
"maxFileSize": 0,
"maxVirtualDiskCapacity": 0,
"maxPhysicalRDMFileSize": 0,
"maxVirtualRDMFileSize": 0,
"mode": "string",
"vStorageSupport": "string"
}
Summary information about the datastore.
The status fields and managed object reference is not set when an object of this type is created. These fields and references are typically set later when these objects are associated with a host.
The maximum size of a file that can reside on this datastore.
The maximum capacity of a virtual disk which can be created on this volume
Maximum raw device mapping size (physical compatibility)
Maximum raw device mapping size (virtual compatibility)
Access mode for this datastore.
This is either readOnly or readWrite. A virtual disk needs to be stored on readWrite datastore. ISOs can be read from a readOnly datastore.
See also HostMountModeEnum.
Indicate the states of vStorage hardware acceleration support for this datastore.
In the case of a cluster compute resource, this property is aggregated from the values reported by individual hosts as follows:
- If at least one host reports vStorageSupported, then it is set to vStorageSupported.
- Else if at least one host reports vStorageUnknown, it is set to vStorageUnknown.
- Else if at least one host reports vStorageUnsupported, it is set to vStorageUnsupported.
- Else it is unset.