VmGuestFilesystemFileErrorDetails

The FileErrorDetails structure describes additional error information for file and directory operations.


Properties

string
file_path Required

The file path associated with the error.


reason Required

The ErrorReason enumerated type defines the reasons a file or directory operation failed.
NOT_A_FILE : An argument is not a file.
NOT_A_DIRECTORY : The argument is not a directory.
PATH_TOO_LONG : The file path is too long.
FILE_NOT_FOUND : The file is not found.
FILE_TOO_LARGE : The file is too large.
NO_DISK_SPACE : There is insufficent disk space.
DIRECTORY_NOT_EMPTY : Directory not empty.

Possible values are: NOT_A_FILENOT_A_DIRECTORYPATH_TOO_LONGFILE_NOT_FOUNDFILE_TOO_LARGENO_DISK_SPACEDIRECTORY_NOT_EMPTY

JSON Example

{
    "file_path": "string",
    "reason": "NOT_A_FILE"
}

Feedback

Was this page helpful?