You can create a conversion table from the Privilege Names used in the Defined Privileges document to the Id's used in PowerCLI with:
Get-VIPrivilege | Select-Object -Property Id,Name,Description | Sort-Object -Property Id
In this table you can see that the Id of "Allow virtual machine download" is: VirtualMachine.Provisioning.GetVmFiles.
The Id of "Allow virtual machine files upload" is: VirtualMachine.Provisioning.PutVmFiles
Do you mean download and upload files in the Datastore Browser? In that case you need "Datastore.Low level file operations".
allow vm download and allow vm files upload in a virtual machine (like vmx,logs)
these are the privilege of vm provisioning.
Dowloading and uploading files like the .vmx that is what you need "Datastore.Low level file operations" for.
I think you are saying about datastore privileges id.I am asking for virtual machine provisioning privilege id
I am sorry that I didn't understand your question at first.
For provisioning you need:
"Virtualmachine.Provisioning.Allow virtual machine download" and "Virtual machine.Provisioning.Allow virtual machine files upload".
thats fine.
for example : allow disk access -
VirtualMachine.Provisioning.DiskRandomAccess
like that,the id for allow vm download and vm files upload?
You can create a conversion table from the Privilege Names used in the Defined Privileges document to the Id's used in PowerCLI with:
Get-VIPrivilege | Select-Object -Property Id,Name,Description | Sort-Object -Property Id
In this table you can see that the Id of "Allow virtual machine download" is: VirtualMachine.Provisioning.GetVmFiles.
The Id of "Allow virtual machine files upload" is: VirtualMachine.Provisioning.PutVmFiles