Orchestrator Function: vRA Host Get By Name

by Simon Sparks · 11 February 2026

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

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

Filename: OrchestratorPluginVRAService.ts

Description: Orchestrator Function to Get vRA Host by Name

Public Function: VraHostGetByName

publicVraHostGetByName(strDisplayName:string):VraHost{
letarrVraHost:VraHost[]=this.VraHostGetAll("vra-onprem")

letobjVraHost:VraHost=arrVraHost.find((objVraHost:VraHost):boolean=>{
returnobjVraHost.name===strDisplayName;
});

returnobjVraHost;
}

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like