VirtualMachineFileLayoutExFileInfo

VirtualMachineFileLayoutExFileInfo
VirtualMachineFileLayoutExFileInfo

Basic information about a file.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "key": 0,
    "name": "string",
    "type": "string",
    "size": 0,
    "uniqueSize": 0,
    "backingObjectId": "string",
    "accessible": false
}
integer As int32 As int32
key
Required

Key to reference this file.

string
name
Required

Name of the file, including the complete datastore path.

string
type
Required

Type of the file.

VirtualMachineFileLayoutExFileTypeEnum lists all valid values.

integer As int64 As int64
size
Required

Size of the file in bytes.

integer As int64 As int64
uniqueSize
Optional

Size of the file in bytes corresponding to the file blocks that were allocated uniquely.

In other words, if the underlying storage supports sharing of file blocks across disk files, the property corresponds to the size of the file blocks that were allocated only in context of this file, i.e. it does not include shared blocks that were allocated in other files. This property will be unset if the underlying implementation is unable to compute this information. One example of this is when the file resides on a NAS datastore whose underlying storage doesn't support this metric. In some cases the field might be set but the value could be over-estimated due to the inability of the NAS based storage to provide an accurate value.

string
backingObjectId
Optional

Backing object's durable and unmutable identifier.

Each backing object has a unique identifier which is not settable. This property is applied to the file backed by a storage object, such as vvol.

boolean
accessible
Optional

Flag which indicates the accessibility of the file when the file info object was created.