Function: Get a vCACCAFE Host

by Simon Sparks · 27 January 2026

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

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

Filename: vRealizeAutomation.ts

Function: getVCACCAFEHost

Description: The following code gets a vCACCAFE Host

private getVCACCAFEHost (): vCACCAFEHost
{
    let arrVCACCAFEHost: vCACCAFEHost[] = Server.findAllForType("VCACCAFE:VCACHost", "");

    let objVCACCAFEHost: vCACCAFEHost = arrVCACCAFEHost.find((objVCACCAFEHost: vCACCAFEHost) : boolean => { return objVCACCAFEHost.name.indexOf(this.strTenantID) > -1; });

    return objVCACCAFEHost;
}

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like