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
public IpamConnectionIsOnline(objIpamConnection: IpamConnection, blnRefreshSslContext: boolean = false): boolean {
try {
if (blnRefreshSslContext) {
IpamConnectionManager.refreshSslContext();
}
objIpamConnection.checkConnectivity();
return true;
} catch (e) {
this.objLogger.info(e.message);
return false;
}
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
