ChangeFileAttributesInGuestRequestType

ChangeFileAttributesInGuestRequestType
ChangeFileAttributesInGuestRequestType

The parameters of ChangeFileAttributesInGuest.

JSON Example
{
    "vm": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "auth": {
        "_typeName": "string",
        "interactiveSession": false
    },
    "guestFilePath": "string",
    "fileAttributes": {
        "_typeName": "string",
        "modificationTime": "string",
        "accessTime": "string",
        "symlinkTarget": "string"
    }
}
vm
Required

Virtual Machine to perform the operation on.

Required privileges: VirtualMachine.GuestOperations.Modify

auth
Required

The guest authentication data. See GuestAuthentication.

string
guestFilePath
Required

The complete path to the file to be copied in the guest. If the file points to an symbolic link, then the attributes of the target file are changed.

fileAttributes
Required

Specifies the different file attributes of the guest file to be changed. See GuestFileAttributes. If any property is not specified, then the specific attribute of the file will be unchanged.