VmGuestFilesystemTransfersFileCreationAttributes

The Transfers.FileCreationAttributes structure describes file attributes used when transferring a file into the guest.


Properties

string as date-time
last_accessed Optional

The date and time the file was last accessed. If unset the value will be the time when the file is transferred into the guest.


string as date-time
last_modified Optional

The date and time the file was last modified. If unset the value will be the time when the file is transferred into the guest.


boolean
overwrite Optional

Whether an existing file should be overwritten. If unset any existing file will not be overwritten.


posix Optional

Posix-specific file creation information. If unset, the behavior is equivalent to a Transfers.PosixFileAttributesCreateSpec with all fields unset which means the defaults are used. May only be set if the guest operating system is Posix.


integer as int64
size Required

The size in bytes of the file to be transferred into the guest.


windows Optional

Windows-specific file creation information. If unset, the behavior is equivalent to a Transfers.WindowsFileAttributesCreateSpec with all fields unset which means the defaults are used. May only be set if the guest operating system is Windows.

JSON Example

{
    "size": 0
}
Feedback

Was this page helpful?