otcextensions.sdk.dns.v2.zone¶
The DNS Zone Class¶
The Zone
class inherits from
Resource
.
-
class
otcextensions.sdk.dns.v2.zone.
Zone
(_synchronized=False, connection=None, **attrs)¶ DNS ZONE Resource
The base resource
- Parameters
_synchronized (bool) – This is not intended to be used directly. See
new()
andexisting()
.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.
-
record_num
¶ Recordset number of the zone
-
router
¶ A dictionary represent Router(VPC), for private zone
-
routers
¶ Router list associated to this zone
-
zone_type
¶ Zone type, if private, domain will only available in a special VPC. Valid values include private, public Type: str