Vm_Guest_Filesystem_Files_Info

Vm_Guest_Filesystem_Files_Info
Vm_Guest_Filesystem_Files_Info

The Files.Info structure describes a file or directory in the guest operating system. Returned by Files.get.

JSON Example
{
    "type": "string",
    "size": 0,
    "attributes": {
        "last_modified": "string",
        "last_accessed": "string",
        "symlink_target": "string",
        "filesystem_family": "string",
        "win_attributes": {
            "hidden": false,
            "read_only": false,
            "created": "string"
        },
        "posix_attributes": {
            "owner": 0,
            "group": 0,
            "permissions": "string"
        }
    }
}
type
Required

The Files.Type enumerated type defines the valid types of files.
FILE : normal file
DIRECTORY : directory
SYMLINK : symbolic link

integer As int64
size
Required

The file size in bytes.

attributes
Required

The Files.FileAttributesInfo structure describes the attributes of a file in a guest operating system.