To use this function add it to the class library file named OrchestratorService.ts
GitHub Repository: https://github.com/SimonSparksUK/Orchestrator
Filename: OrchestratorService.ts
Description: Orchestrator Function to Attach vSphere Update Manager Baseline to Host
Public Function: attachBaselines
publicattachBaselines(objVumVIInventory:VumVIInventory,arrVumBaseline:VumBaseline[]):void{
letarrVumBaselineReturn:VumBaseline[]=VumObjectManager.getVirtualApplianceBaselines(arrVumBaseline);
letarrVumVIInventory:VumVIInventory[]= [];
arrVumVIInventory.push(objVumVIInventory);
VumObjectManager.attachBaselines(arrVumBaselineReturn,arrVumVIInventory);
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
