Orchestrator Function: vCenter VAPI Metamodel Find by Url

by Simon Sparks · 11 February 2026

To use this function add it to the class library file named vCenterVAPIBaseService.ts

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

Filename: vCenterVAPIService.ts

Description: Orchestrator Function to Find a vCenter VAPI Metamodel by Url

Function VAPIMetamodelFindByUrl

publicVAPIMetamodelFindByUrl(strEndpointUrl:string):VAPIMetamodel{

try{
letobjVAPIMetamodel:VAPIMetamodel=VAPIManager.findMetamodel(strEndpointUrl);

returnobjVAPIMetamodel;
}
catch (objException){
returnnull;
}
}

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like