BAMAPI class - Platform - BlueCat Gateway - 24.1

Gateway Administration Guide

Locale
English
Product name
BlueCat Gateway
Version
24.1

Click a link to jump to the indicated section.

class bluecat.address_manager.api.BAMAPI(v1=None, v2=None)

Bases: object

A structure for holding clients to BAM REST API.

Both clients default to None.

There is no implied guarantee that the clients are for the same BAM, nor that they share the same user session. This may be the case, but it is the responsibility of the creator of the instance of this class, it is not intrinsic.

New in version 23.1.0.

close()

Release any allocated resources.

v1: bluecat_libraries.address_manager.api.client.Client = None

Client to the BAM REST v1 API.

v2: bluecat_libraries.address_manager.apiv2.client.Client = None

Client to the BAM REST v2 API.