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
public isPtrRecordExists(objIpamConnection: IpamConnection, strDnsView: string, strDomainNameFQDN: string): boolean {
let objIpamDnsRecordManager: IpamDnsRecordManager = objIpamConnection.getDnsRecordManager();
let blnIsPtrRecordExists: boolean = objIpamDnsRecordManager.isPtrRecordExists(strDomainNameFQDN.toLowerCase(), strDnsView);;
return blnIsPtrRecordExists;
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
