Hello,
Could you please help me in creating a workflow for adding a CPU for a created virtual machine? I wrote a script for adding CPU's and validated it. It shows success. But while adding the inputs it is not validating. Any helps appreciated. Find the coding below and find the attachment for error.
This is the coding:
var configSpec = new VcVirtualMachineConfigSpec();
configSpec.name = vmName;
configSpec.numCPUs = vmNbOfCpus;
Please guide me if I am wrong.