VirtualMachineDatastoreInfo

VirtualMachineDatastoreInfo
VirtualMachineDatastoreInfo

DatastoreInfo describes a datastore that a virtual disk can be stored on.

AllOf
This class requires all of the following:
JSON Example
{
    "_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"
}
datastore
Required

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.

capability
Required

Information about the capabilities of this datastore.

integer As int64 As int64
maxFileSize
Required

The maximum size of a file that can reside on this datastore.

integer As int64 As int64
maxVirtualDiskCapacity
Optional

The maximum capacity of a virtual disk which can be created on this volume

integer As int64 As int64
maxPhysicalRDMFileSize
Optional

Maximum raw device mapping size (physical compatibility)

integer As int64 As int64
maxVirtualRDMFileSize
Optional

Maximum raw device mapping size (virtual compatibility)

string
mode
Required

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.

string
vStorageSupport
Optional

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:

See also FileSystemMountInfoVStorageSupportStatusEnum.