Vm_Guest_Filesystem_Files_FileAttributesInfo

Vm_Guest_Filesystem_Files_FileAttributesInfo
Vm_Guest_Filesystem_Files_FileAttributesInfo

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

JSON Example
{
    "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"
    }
}
string As date-time
last_modified
Required

The date and time the file was last modified.

string As date-time
last_accessed
Required

The date and time the file was last accessed.

string
symlink_target
Optional

The target for the file if it's a symbolic link. This is currently only set for Posix guest operating systems, but may be supported in the future on Windows guest operating systems that support symbolic links. Set if the file is a symbolic link.

filesystem_family
Required

The Files.FilesystemFamily enumerated type defines the types of guest operating fllesystem.
WINDOWS : The guest OS is a Windows variant.
POSIX : Linux, Solaris, etc.

win_attributes
Optional

The {@name WindowsFileAttributesInfo) structure describes file attributes specific to Windows Guest operating systems.

posix_attributes
Optional

The Files.PosixFileAttributesInfo structure describes information about file attributes specific to Posix Guest operating systems.