The designateclient.v1.records Module

The designateclient.v1.records Module

class designateclient.v1.records.RecordsController(client)[source]

Bases: designateclient.client.CrudController

create(domain, record)[source]

Create a record

Parameters:
  • domainDomain or Domain Identifier
  • record – A Record to create
Returns:

Record

delete(domain, record)[source]

Delete a record

Parameters:
  • domainDomain or Domain Identifier
  • record – A Record, or Record Identifier to delete
get(domain, record_id)[source]

Retrieve a record

Parameters:
  • domainDomain or Domain Identifier
  • record_id – Record Identifier
Returns:

Record

list(domain)[source]

Retrieve a list of records

Parameters:domainDomain or Domain Identifier
Returns:A list of Record
update(domain, record)[source]

Update a record

Parameters:
  • domainDomain or Domain Identifier
  • record – A Record to update
Returns:

Record

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

python-designateclient 2.10.1.dev3