openstack.dns.v2.recordset

The Recordset Class

The DNS class inherits from Resource.

class openstack.dns.v2.recordset.Recordset(_synchronized=False, connection=None, **attrs)

DNS Recordset Resource

The base resource

Parameters
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

action

Properties current action in progress on the resource

created_at

Timestamp when the zone was created

description

Recordset description

Links contains a self pertaining to this zone or a next pertaining to next page

name

DNS Name of the recordset

project_id

ID of the project which the recordset belongs to

records

DNS record value list

status

Recordset status Valid values include: PENDING_CREATE, ACTIVE,`PENDING_DELETE`, ERROR

ttl

Time to live, default 300, available value 300-2147483647 (seconds)

type

DNS type of the recordset Valid values include A, AAAA, MX, CNAME, TXT, NS, SSHFP, SPF, SRV, PTR

updated_at

Timestamp when the zone was last updated

zone_id

The id of the Zone which this recordset belongs to

zone_name

The name of the Zone which this recordset belongs to