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 delete an Ipam Network View using the Infoblox Plugin.
Function: IpamNetworkViewDelete
publicIpamNetworkViewDelete(objIpamConnection:IpamConnection,strNetworkViewReference:string):boolean{
letobjIpamViewManager:IpamViewManager=objIpamConnection.getViewManager();
try{
objIpamViewManager.removeNetworkView(strNetworkViewReference)
returntrue;
}
catch (objException){
returnfalse;
}
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
