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, uri
public Zone get(String zoneId)
ZoneService
get
in interface ZoneService
zoneId
- the zone identifierpublic ActionResponse delete(String zoneId)
ZoneService
delete
in interface ZoneService
zoneId
- the zone idpublic List<? extends Nameserver> listNameservers(String zoneId)
ZoneService
listNameservers
in interface ZoneService
zoneId
- the zone identifierpublic Zone update(Zone zone)
ZoneService
update
in interface ZoneService
zone
- the zone set to updatepublic Zone create(Zone zone)
ZoneService
create
in interface ZoneService
zone
- the zonepublic Zone create(String name, String email)
ZoneService
create
in interface ZoneService
name
- the zone nameemail
- the e-mail for the zonepublic List<? extends Zone> list()
ZoneService
list
in interface ZoneService
Copyright © 2017. All rights reserved.