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
public ReconfigureAdvancedParameters(objVcVirtualMachine: VcVirtualMachine, objProperties: Properties): boolean {
let arrVcOptionValue: VcOptionValue[] = [];
let arrKey: string[] = objProperties.keys;
arrKey.forEach((strKey: string): void => {
let objVcOptionValue: VcOptionValue = new VcOptionValue();
objVcOptionValue.key = strKey;
objVcOptionValue.value_AnyValue = objProperties.get(strKey);
arrVcOptionValue.push(objVcOptionValue);
});
let blnReturn:boolean = this.ReconfigureExtraConfig(objVcVirtualMachine, arrVcOptionValue);
return blnReturn;
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
