The designateclient.v1.servers Module

class designateclient.v1.servers.ServersController(client)[source]

Bases: designateclient.client.CrudController

create(server)[source]

Create a server

Parameters:server – A Server to create
Returns:Server
delete(server)[source]

Delete a server

Parameters:server – A Server, or Server Identifier to delete
get(server_id)[source]

Retrieve a server

Parameters:server_id – Server Identifier
Returns:Server
list()[source]

Retrieve a list of servers

Returns:A list of :class:`Server`s
update(server)[source]

Update a server

Parameters:server – A Server to update
Returns:Server