- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Using python to periodically delete Recycle bin in Infoblox
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 08:08 AM
I'm trying to use the infoblox_client library in python to access the recycle bin in infoblox and delete 1 week old's object ( not empty the entire bin ) periodically every week.
I'm not able to find the syntax in the library to extract deleted objects from infoblox. Can anyone help ?
Re: Using python to periodically delete Recycle bin in Infoblox
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
To retrieve and delete objects from the Infoblox recycle bin using the infoblox_client library, retrieve all objects of the desired type, filter deleted objects based on their last_updated or deleted attributes, determine deletion age, and delete objects older than one week. Replace placeholders with your Infoblox server credentials and adjust the query based on the object type. Ensure necessary permissions and test the code.