Function: F5 Networks Generic Object Get by Name

by Simon Sparks · 19 March 2026

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

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

Filename: OrchestratorPluginF5Service.ts

Description: Orchestrator Function to get an F5 Networks Generic Object Get by Name.

Public Function: ObjectGetByName

publicObjectGetByName<T>(objF5NetworksEndpoint:F5NetworksEndpoint,strObjectType:F5Types,strDisplayName:string):T{

letstrBigIpEndpointId:string=System.getObjectId(objF5NetworksEndpoint);

letarrF5NetworksObject:T[]=this.FindAllForType<T>(strObjectType,strBigIpEndpointId,false);

letobjF5NetworksObject:T=arrF5NetworksObject.find((objF5NetworksObject:T):boolean=>{
//@ts-ignore
returnobjF5NetworksObject.displayName===strDisplayName;
});

returnobjF5NetworksObject;
}
TypeScript

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like