Virtual Machine Query Unowned Files
For all files that belong to the vm, check that the file owner is set to the current datastore principal user, as set by HostDatastoreSystem.ConfigureDatastorePrincipal
Required privileges: VirtualMachine.Config.QueryUnownedFiles
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case VirtualMachine/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
The list of file paths for vm files whose ownership is not correct. Use FileManager.ChangeOwner to set the file ownership.
[
{}
]