To use this function add it to the class library file named vCloudService.ts
GitHub Repository: https://github.com/SimonSparksUK/Orchestrator
Filename: vCloudService.ts
Description: Orchestrator Function to add memory to a vCloud virtual machine
Function VclVMAddMemory
public VclVMAddMemory(objVclVM: VclVM, intMemorySize:number): void {
objVclVM.updateInternalState();
let objVclVirtualMemory: VclVirtualMemory = objVclVM.getMemory();
objVclVirtualMemory.memorySize = intMemorySize;
let objVclTask: VclTask = objVclVM.updateMemory(objVclVirtualMemory);
this.WaitForVclTask(objVclTask, 1);
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
