Part of libcloud.dns.drivers.linode View Source View In Hierarchy
Method | list_zones | Return a list of zones. |
Method | list_records | Return a list of 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 | _to_zones | Convert a list of items to the Zone objects. |
Method | _to_zone | Build an Zone object from the item dictionary. |
Method | _to_records | Convert a list of items to the Record objects. |
Method | _to_record | Build a Record object from the item dictionary. |
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 | 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 | _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. |
Return a list of zones. @rtype: C{list} of L{Zone}
Return a list of records for the provided zone. @param zone: Zone to list records for. @type zone: L{Zone} @rtype: C{list} of L{Record}
Return a Zone instance. @param zone_id: ID of the required zone @type zone_id: C{str} @rtype: L{Zone}
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}
Create a new zone. API docs: http://www.linode.com/api/dns/domain.create @inherits: C{DNSDriver.create_zone}
Update an existing zone. API docs: http://www.linode.com/api/dns/domain.update @inherits: C{DNSDriver.update_zone}
Create a new record. API docs: http://www.linode.com/api/dns/domain.resource.create @inherits: C{DNSDriver.create_record}
Update an existing record. API docs: http://www.linode.com/api/dns/domain.resource.update @inherits: C{DNSDriver.update_record}
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}
Delete a record. @param record: Record to delete. @type record: L{Record} @rtype: C{bool}