Files
deb-python-pyvmomi/docs/vim/vm/guest/FileManager/FileAttributes.rst
Shawn Hartsock 15f7be9a52 pyVmomi reStructured Text Documentation
This external documentation for pyVmomi was generated using Googly Docs
(aka Google Standard Documentation) which renders very cleanly in
GitHub. Internal documentation for a class should be done in Sphinx
format because tools like pyCharm and Eclipse can use that documentation
as a hint for code completion.

Note: External docs as Googly Docs, internal docs as Sphinx.

Closes bug#15
2014-06-17 14:07:42 -04:00

2.3 KiB

vim.vm.guest.FileManager.FileAttributes

Different attributes for a guest file.
extends

vmodl.DynamicData

since

vSphere API 5.0

Attributes:

modificationTime (datetime, 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.

accessTime (datetime, 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.

symlinkTarget (str, 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 .