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 PTR Record Exists in a Dns View using the Infoblox Plugin.
Function: isPtrRecordExists
publicisPtrRecordExists(objIpamConnection:IpamConnection,strDnsView:string,strDomainNameFQDN:string):boolean{
letobjIpamDnsRecordManager:IpamDnsRecordManager=objIpamConnection.getDnsRecordManager();
letblnIsPtrRecordExists:boolean=objIpamDnsRecordManager.isPtrRecordExists(strDomainNameFQDN.toLowerCase(),strDnsView);;
returnblnIsPtrRecordExists;
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
