Orchestrator Function: AVI Server Build

by Simon Sparks · 11 March 2026

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

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

Filename: PluginAVIService.ts

Description: Orchestrator Function to Build an AVI Server.

Private Function: AviServerBuild

privateAviServerBuild(strIpAddress:string,intPort:number,strAviIpAddrType:"V4"|"V6"="V4",intRatio:number=1):AviServer{
letobjAviIpAddr:AviIpAddr=newAviIpAddr();
objAviIpAddr.setType(strAviIpAddrType);
objAviIpAddr.setAddr(strIpAddress)

letobjAviServer:AviServer=newAviServer();
objAviServer.setIp(objAviIpAddr);
objAviServer.setPort(intPort);
objAviServer.setRatio(intRatio);

returnobjAviServer;
}

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like