første xml update
[virt-orchestrator.git] / vFLOWER / content / Actions / com.vmware.library.vc.vm / changeVMRAM.action.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <dunes-script-module name="changeVMRAM" result-type="VC:Task" api-version="3.1.0" id="385834ae-1544-4c98-84c1-434bd54c377a" version="0.1.0" allowed-operations="fv">
3     <description>Change the VM memory size.</description>
4
5     <param n="vm" t="VC:VirtualMachine">The VM to change</param>
6
7     <param n="memory" t="number">New memory value</param>
8
9     <script encoded="false">
10 var configSpec = new VcVirtualMachineConfigSpec();
11 configSpec.memoryMB = memory;
12 var task = vm.reconfigVM_Task( configSpec );
13 return task;
14     </script>
15 </dunes-script-module>