GuestFileAttributes

GuestFileAttributes
GuestFileAttributes

Different attributes for a guest file.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "modificationTime": "string",
    "accessTime": "string",
    "symlinkTarget": "string"
}
string As date-time As date-time
modificationTime
Optional

The date and time the file was last modified.

If this property is not specified when passing a GuestFileAttributes object to InitiateFileTransferToGuest, the default value will be the time when the file is created inside the guest.

string As date-time As date-time
accessTime
Optional

The date and time the file was last accessed.

If this property is not specified when passing a GuestFileAttributes object to InitiateFileTransferToGuest, the default value will be the time when the file is created inside the guest.

string
symlinkTarget
Optional

The target for the file if it's a symbolic link.

This is currently only set for Linux guest operating systems, but may be supported in the future on Windows guest operating systems that support symbolic links. This property gives information about files when returned from ListFilesInGuest or InitiateFileTransferFromGuest as part of a GuestFileAttributes object. This property will be ignored when passing a GuestFileAttributes object to InitiateFileTransferToGuest or ChangeFileAttributesInGuest. If the file is a symbolic link, then the attributes of the target are returned, not those of the symbolic link.