Package org.openstack4j.api.dns.v2
Interface ZoneService
-
- All Superinterfaces:
RestService
- All Known Implementing Classes:
ZoneServiceImpl
public interface ZoneService extends RestService
Designate V2 Zone Service
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Zonecreate(String name, String email)creates a new zoneZonecreate(Zone zone)create a new zoneActionResponsedelete(String zoneId)delete a zone by idZoneget(String zoneId)gets detailed information about a specified zone by idList<? extends Zone>list()lists zones.List<? extends Nameserver>listNameservers(String zoneId)list nameservers for a zoneZoneupdate(Zone zone)updates an existing zone
-
-
-
Method Detail
-
create
Zone create(Zone zone)
create a new zone- Parameters:
zone- the zone- Returns:
- the newly created zone
-
create
Zone create(String name, String email)
creates a new zone- Parameters:
name- the zone nameemail- the e-mail for the zone- Returns:
- the newly created group
-
get
Zone get(String zoneId)
gets detailed information about a specified zone by id- Parameters:
zoneId- the zone identifier- Returns:
- the zone
-
update
Zone update(Zone zone)
updates an existing zone- Parameters:
zone- the zone set to update- Returns:
- the updated zone
-
delete
ActionResponse delete(String zoneId)
delete a zone by id- Parameters:
zoneId- the zone id- Returns:
- the action response
-
listNameservers
List<? extends Nameserver> listNameservers(String zoneId)
list nameservers for a zone- Parameters:
zoneId- the zone identifier- Returns:
- list of nameservers for a zone
-
-