The designateclient.v1.domains Module

The designateclient.v1.domains Module

class designateclient.v1.domains.DomainsController(client)[source]

Bases: designateclient.client.CrudController

create(domain)[source]

Create a domain

Parameters:domain – A Domain to create
Returns:Domain
delete(domain)[source]

Delete a domain

Parameters:domain – A Domain, or Domain Identifier to delete
get(domain_id)[source]

Retrieve a domain

Parameters:domain_id – Domain Identifier
Returns:Domain
list()[source]

Retrieve a list of domains

Returns:A list of Domain
list_domain_servers(domain_id)[source]

Retrieve the list of nameservers for a domain

Parameters:domain_id – Domain Identifier
Returns:A list of Server
update(domain)[source]

Update a domain

Parameters:domain – A Domain to update
Returns:Domain
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