public class ZoneServiceImpl extends BaseDNSServices implements ZoneService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
ZoneServiceImpl() |
| 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
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic Zone get(String zoneId)
ZoneServiceget in interface ZoneServicezoneId - the zone identifierpublic ActionResponse delete(String zoneId)
ZoneServicedelete in interface ZoneServicezoneId - the zone idpublic List<? extends Nameserver> listNameservers(String zoneId)
ZoneServicelistNameservers in interface ZoneServicezoneId - the zone identifierpublic Zone update(Zone zone)
ZoneServiceupdate in interface ZoneServicezone - the zone set to updatepublic Zone create(Zone zone)
ZoneServicecreate in interface ZoneServicezone - the zonepublic Zone create(String name, String email)
ZoneServicecreate in interface ZoneServicename - the zone nameemail - the e-mail for the zonepublic List<? extends Zone> list()
ZoneServicelist in interface ZoneServiceCopyright © 2017. All rights reserved.