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

public VAPIMetamodelFindByUrl(strEndpointUrl: string): VAPIMetamodel {

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

        return objVAPIMetamodel;
    }
    catch (objException) {
        return null;
    }
}

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like