Orchestrator Function: Get vSphere Update Manager Host Baselines

by Simon Sparks · 4 February 2026

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 Get vSphere Update Manager Host Baselines

Private Function: getHostBaselines

privategetHostBaselines(objVcHostSystem:VcHostSystem):VumBaseline[]{
letstrVCenterUri:string=`https://${objVcHostSystem.sdkConnection.id}/sdk`;

letobjVumBaselineSearchSpec:VumBaselineSearchSpec=newVumBaselineSearchSpec(strVCenterUri);
objVumBaselineSearchSpec.setTargetTypesByStringArray(["HOST"]);

letarrVumBaseline:VumBaseline[]=VumObjectManager.getFilteredBaselines(objVumBaselineSearchSpec);

returnarrVumBaseline|| [];
}

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like