public interface ZoneService extends RestService
Modifier and Type | Method and Description |
---|---|
Zone |
create(String name,
String email)
creates a new zone
|
Zone |
create(Zone zone)
create a new zone
|
ActionResponse |
delete(String zoneId)
delete a zone by id
|
Zone |
get(String zoneId)
gets detailed information about a specified zone by id
|
List<? extends Zone> |
list()
lists zones.
|
List<? extends Nameserver> |
listNameservers(String zoneId)
list nameservers for a zone
|
Zone |
update(Zone zone)
updates an existing zone
|
Zone create(Zone zone)
zone
- the zoneZone create(String name, String email)
name
- the zone nameemail
- the e-mail for the zoneZone get(String zoneId)
zoneId
- the zone identifierZone update(Zone zone)
zone
- the zone set to updateActionResponse delete(String zoneId)
zoneId
- the zone idList<? extends Nameserver> listNameservers(String zoneId)
zoneId
- the zone identifierCopyright © 2017. All rights reserved.