|
Hi, I'm working on Virtual Machine provisioning using VSphere SDK 6.0. I have succeeded in provisioning the virtual machine from template using the following method |
ManagedObjectReference cloneTask = vimPort.cloneVMTask(vmRef, vmFolderRef, cloneName, cloneSpec);
I have also got the customization ofMemory, CPUwith the following method.
VirtualMachineConfigSpec configSpec =newVirtualMachineConfigSpec();
configSpec.setMemoryMB(512l);
configSpec.setNumCPUs(2);
I want to know more customization using the SDK likeHarkDisk, N/W Adapter, Networkingdetails etc. Help me to get some java code samples with the customization of the virtual machine or get me some links mentioning about the same. Any help would be grateful.
Thanks
Saumya T M