To use this function add it to the class library file named vCenterServerService.ts
GitHub Repository: https://github.com/SimonSparksUK/Orchestrator
Filename: vCenterServerService.ts
publicVcVirtualMachineGetAdvancedSettings(objVcVirtualMachine:VcVirtualMachine):Properties{
letobjProperties:Properties=newProperties();
letobjVcVirtualMachineConfigInfo:VcVirtualMachineConfigInfo=objVcVirtualMachine.config;
letarrVcValueOption:VcOptionValue[]=objVcVirtualMachineConfigInfo.extraConfig;
arrVcValueOption.forEach((objOptionValue:VcOptionValue):void=>{
objProperties.put(objOptionValue.key,objOptionValue.value_AnyValue);
});
returnobjProperties;
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
