vCO Workflow Action to Add Memory to a vCloud Virtual Machine

The following is the script to add memory to a vCloud virtual machine

 

objVclVM.updateInternalState();

var objVclVirtualMemory;
	objVclVirtualMemory = objVclVM.getMemory();
	objVclVirtualMemory.memorySize = 4096;

var objVclTask;
	objVclTask = objVclVM.updateMemory(objVclVirtualMemory);	

objCustomActions.waitVclTask(objVclTask);

Leave a Reply