Orchestrator Class Library: Orchestrator Plugin vCenter VAPI Base Service

by Simon Sparks · 27 October 2025

Over the course of the next 12 months I will be adding functions to this page so bookmark it and come back regularly for new cool features and updates.

GitHub Repository: https://github.com/SimonSparksUK/Orchestrator

Filename: vCenterVAPIBaseService.ts

import{BaseService}from"../BaseService";

exportclassvCenterVAPIBaseServiceextendsBaseService{
protected objVAPIEndpoint:VAPIEndpoint;
protected objVAPIClient:VAPIClient;

constructor(strProjectID:string,strServiceName:string){
super(strProjectID,strServiceName);

this.arrVCenterServers=Constants.arrVCenterServer.filter((objVCenterServer:vCenterServer):boolean=>{
if (objVCenterServer.vCenterType===vCenterType.Workload){
if (this.strEnvironmentRoadSign==="PROD"){
returnobjVCenterServer.Environment===Environment.Production;
}else{
returnobjVCenterServer.Environment===Environment.Development;
}
}else{
returnfalse;
}
});
}

}

Class Functions:


Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like