To use this function add it to the class library file named InfobloxService.ts
GitHub Repository: https://github.com/SimonSparksUK/Orchestrator
Filename: InfobloxService.ts
Description: Orchestrator Function to check if an Ipam Connection is online.
Function: IpamConnectionIsOnline
publicIpamConnectionIsOnline(objIpamConnection:IpamConnection,blnRefreshSslContext:boolean=false):boolean{
try{
if (blnRefreshSslContext){
IpamConnectionManager.refreshSslContext();
}
objIpamConnection.checkConnectivity();
returntrue;
}catch (e){
this.objLogger.info(e.message);
returnfalse;
}
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
