l.d.b.Zone(object) : class documentation

Part of libcloud.dns.base View Source View In Hierarchy

DNS zone.
Method __init__ @type id: C{str} @param id: Zone id.
Method list_records Undocumented
Method create_record Undocumented
Method update Undocumented
Method delete Undocumented
Method __repr__ Undocumented
def __init__(self, id, domain, type, ttl, driver, extra=None): (source)
@type id: C{str}
@param id: Zone id.

@type domain: C{str}
@param domain: The name of the domain.

@type type: C{string}
@param type: Zone type (master, slave).

@type ttl: C{int}
@param ttl: Default TTL for records in this zone (in seconds).

@type driver: C{DNSDriver}
@param driver: DNSDriver instance.

@type extra: C{dict}
@param extra: (optional) Extra attributes (driver specific).
def list_records(self): (source)
Undocumented
def create_record(self, name, type, data, extra=None): (source)
Undocumented
def update(self, domain=None, type=None, ttl=None, extra=None): (source)
Undocumented
def delete(self): (source)
Undocumented
def __repr__(self): (source)
Undocumented
API Documentation for libcloud, generated by pydoctor at 2012-11-19 12:09:27.