VmGuestFilesystemFilesFileAttributesInfo

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


Properties

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.

Possible values are: WINDOWSPOSIX


string as date-time
last_accessed Required

The date and time the file was last accessed.


string as date-time
last_modified Required

The date and time the file was last modified.


posix_attributes Optional

Posix-specific file information. This field is optional and it is only relevant when the value of Files.FileAttributesInfo.filesystem-family is POSIX.


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.


win_attributes Optional

Windows-specific file information. This field is optional and it is only relevant when the value of Files.FileAttributesInfo.filesystem-family is WINDOWS.

JSON Example

{
	"filesystem_family": "WINDOWS",
	"last_accessed": "string",
	"last_modified": "string"
}

Feedback

Was this page helpful?