Virtual Machine Customize VM Task
Customizes a virtual machine's guest operating system.
Required privileges: VirtualMachine.Provisioning.Customize
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.2.0 APIs.
"CustomizeVMRequestType Object"
The Specification data object type contains information required to customize a virtual machine when deploying it or migrating it to a new host.
This method returns a Task object with which to monitor the operation.
"MoRefTask Object"
CustomizationFault: A subclass of CustomizationFault is thrown.
"CustomizationFault Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/VirtualMachine/{moId}/CustomizeVM_Task