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 a Address Record Exists in a Dns View using the Infoblox Plugin.
Function: isAddressRecordExists
publicisAddressRecordExists(objIpamConnection:IpamConnection,strDnsView:string,strIpAddress:string):boolean{
letobjIpamDnsRecordManager:IpamDnsRecordManager=objIpamConnection.getDnsRecordManager();
letblnIsAddressRecordExists:boolean=objIpamDnsRecordManager.isAddressRecordExists(strIpAddress,strDnsView);;
returnblnIsAddressRecordExists;
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
