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