FileInfo

FileInfo
FileInfo

This data object type contains rudimentary information about a file in a datastore.

The information here is not meant to cover all information in traditional file systems, but rather to provide sufficient information for files that are associated with virtual machines. Derived types describe the known file types for a datastore.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "path": "string",
    "friendlyName": "string",
    "fileSize": 0,
    "modification": "string",
    "owner": "string"
}
string
path
Required

The path relative to the folder path in the search results.

string
friendlyName
Optional

User friendly name.

integer As int64 As int64
fileSize
Optional

The size of the file in bytes.

string As date-time As date-time
modification
Optional

The last date and time the file was modified.

string
owner
Optional

The user name of the owner of the file.