l.d.d.z.ZerigoDNSDriver(DNSDriver) : class documentation

Part of libcloud.dns.drivers.zerigo View Source View In Hierarchy

No class docstring
Method iterate_zones Return a generator to iterate over available zones.
Method iterate_records Return a generator to iterate over records for the provided zone.
Method get_zone Return a Zone instance.
Method get_record Return a Record instance.
Method create_zone Create a new zone.
Method update_zone Update an existing zone.
Method create_record Create a new record.
Method update_record Update an existing record.
Method delete_zone Delete a zone.
Method delete_record Delete a record.
Method ex_get_zone_by_domain Retrieve a zone object by the domain name.
Method ex_force_slave_axfr Force a zone transfer.
Method _to_zone_elem Undocumented
Method _to_record_elem Undocumented
Method _to_zones Undocumented
Method _to_zone Undocumented
Method _to_records Undocumented
Method _to_record Undocumented
Method _get_more Undocumented
Method _get_data Undocumented

Inherited from DNSDriver:

Method __init__ @param key: API key or username to used (required) @type key: C{str}
Method list_record_types Return a list of RecordType objects supported by the provider.
Method list_zones Return a list of zones.
Method list_records Return a list of records for the provided zone.
Method _string_to_record_type Return a string representation of a DNS record type to a libcloud RecordType ENUM.

Inherited from BaseDriver (via DNSDriver):

Method _ex_connection_class_kwargs Return extra connection keyword arguments which are passed to the Connection class constructor.
def iterate_zones(self): (source)
Return a generator to iterate over available zones.

@rtype: C{generator} of L{Zone}
def iterate_records(self, zone): (source)
Return a generator to iterate over records for the provided zone.

@param zone: Zone to list records for.
@type zone: L{Zone}

@rtype: C{generator} of L{Record}
def get_zone(self, zone_id): (source)
Return a Zone instance.

@param zone_id: ID of the required zone
@type  zone_id: C{str}

@rtype: L{Zone}
def get_record(self, zone_id, record_id): (source)
Return a Record instance.

@param zone_id: ID of the required zone
@type  zone_id: C{str}

@param record_id: ID of the required record
@type  record_id: C{str}

@rtype: L{Record}
def create_zone(self, domain, type='master', ttl=None, extra=None): (source)
Create a new zone.

Provider API docs:
https://www.zerigo.com/docs/apis/dns/1.1/zones/create

@inherits: L{DNSDriver.create_zone}
def update_zone(self, zone, domain=None, type=None, ttl=None, extra=None): (source)
Update an existing zone.

Provider API docs:
https://www.zerigo.com/docs/apis/dns/1.1/zones/update

@inherits: L{DNSDriver.update_zone}
def create_record(self, name, zone, type, data, extra=None): (source)
Create a new record.

Provider API docs:
https://www.zerigo.com/docs/apis/dns/1.1/hosts/create

@inherits: L{DNSDriver.create_record}
def update_record(self, record, name=None, type=None, data=None, extra=None): (source)
Update an existing record.

@param record: Record to update.
@type  record: L{Record}

@param name: Hostname or FQDN.
@type  name: C{str}

@param type: DNS record type (A, AAAA, ...).
@type  type: L{RecordType}

@param data: Data for the record (depends on the record type).
@type  data: C{str}

@param extra: (optional) Extra attributes (driver specific).
@type  extra: C{dict}

@rtype: L{Record}
def delete_zone(self, zone): (source)
Delete a zone.

Note: This will delete all the records belonging to this zone.

@param zone: Zone to delete.
@type  zone: L{Zone}

@rtype: C{bool}
def delete_record(self, record): (source)
Delete a record.

@param record: Record to delete.
@type  record: L{Record}

@rtype: C{bool}
def ex_get_zone_by_domain(self, domain): (source)
Retrieve a zone object by the domain name.

@param domain: The domain which should be used
@type  domain: C{str}

@rtype: L{Zone}
def ex_force_slave_axfr(self, zone): (source)
Force a zone transfer.

@param zone: Zone which should be used.
@type  zone: L{Zone}

@rtype: L{Zone}
def _to_zone_elem(self, domain=None, type=None, ttl=None, extra=None): (source)
Undocumented
def _to_record_elem(self, name=None, type=None, data=None, extra=None): (source)
Undocumented
def _to_zones(self, elem): (source)
Undocumented
def _to_zone(self, elem): (source)
Undocumented
def _to_records(self, elem, zone): (source)
Undocumented
def _to_record(self, elem, zone): (source)
Undocumented
def _get_more(self, rtype, **kwargs): (source)
Undocumented
def _get_data(self, rtype, last_key, **kwargs): (source)
Undocumented
API Documentation for libcloud, generated by pydoctor at 2013-02-18 10:41:20.