DNSRawOption class - Platform - BlueCat Gateway - 19.5.1

Gateway Administration Guide

prodname
BlueCat Gateway
version_custom
19.5.1

This class wraps the DNS Raw Deployment object from BAM. This object inherits from APIObject and not from Entity.

class deployment_option.DNSRawOption(api, api_entity)

Bases: deployment_option.RawDeploymentOption

DNS Raw Option class.

before_update()

Hook used in before updating in derived classes.

get_entity()

Get the BAM Entity of a deployment option.

get_id()

Get the BAM ID of a deployment option.

get_type()

Get the BAM type of the deployment option.

get_url()

Get URL.

get_value()

Get the BAM type of the deployment option.

is_null()

Is this the null entity? (ID == 0).

populate_from_api_entity(api_entity)

Populate class properties from inner BAM API object.

set_type(new_type)

Set the BAM type of the deployment option.

set_value(new_value)

Set the BAM value of the deployment option.

update()

Persist any changes to the deployment option to the BAM database.