b1tddfp Class¶
- class bloxone.b1tddfp(cfg_file='config.ini', api_key='', url='https://csp.infoblox.com', api_version='v1')[source]¶
- get(objpath, id='', action='', **params)[source]¶
Generic get object wrapper for Threat Defense objects
- Parameters
objpath (str) – Swagger object path
id (str) – Optional Object ID
action (str) – Optional object action, e.g. “nextavailableip”
- Returns
Requests response object
- Return type
response object
- get_id(objpath, *, key='', value='', include_path=False)[source]¶
Get object id using key/value pair
- Parameters
objpath (str) – Swagger object path
key (str) – name of key to match
value (str) – value to match
- Returns
object id or “”
- Return type
id (str)