To use this function add it to the class library file named vCenterServerService.ts
GitHub Repository: https://github.com/SimonSparksUK/Orchestrator
Filename: vCenterServerService.ts
publicVcVirtualMachineReconfigureAdvancedParameters(objVcVirtualMachine:VcVirtualMachine,objProperties:Properties):void{
letarrVcOptionValue:VcOptionValue[]= [];
letarrKey:string[]=objProperties.keys;
arrKey.forEach((strKey:string):void=>{
letobjVcOptionValue:VcOptionValue=newVcOptionValue();
objVcOptionValue.key=strKey;
objVcOptionValue.value_AnyValue=objProperties.get(strKey);
arrVcOptionValue.push(objVcOptionValue);
});
this.VcVirtualMachineReconfigureExtraConfig(objVcVirtualMachine,arrVcOptionValue);
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
