To use this function add it to the class library file named PluginVCVirtualMachineService.ts
GitHub Repository: https://github.com/SimonSparksUK/Orchestrator
Filename: PluginVCVirtualMachineService.ts
Function: ReconfigureAdvancedParameters
publicReconfigureAdvancedParameters(objVcVirtualMachine:VcVirtualMachine,objProperties:Properties):boolean{
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);
});
letblnReturn:boolean=this.ReconfigureExtraConfig(objVcVirtualMachine,arrVcOptionValue);
returnblnReturn;
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
