| Modifier and Type | Method and Description |
|---|---|
Zone |
createZone(String name,
NetworkType networkType,
String externalDns1,
String internalDns1,
CreateZoneOptions... options)
Create a new Zone
|
void |
deleteZone(String id)
Delete a zone with a specific ID
|
Zone |
updateZone(String id,
UpdateZoneOptions... options)
Update a zone
|
@Named(value="createZone") @GET @Consumes(value="application/json") Zone createZone(@QueryParam(value="name") String name, @QueryParam(value="networktype") NetworkType networkType, @QueryParam(value="dns1") String externalDns1, @QueryParam(value="internaldns1") String internalDns1, CreateZoneOptions... options)
name - the name of the ZonenetworkType - network type of the zone, can be Basic or Advanceddns1 - the first DNS for the ZoneinternalDns1 - the first internal DNS for the Zoneoptions - optional arguments@Named(value="updateZone") @GET @Consumes(value="application/json") Zone updateZone(@QueryParam(value="id") String id, UpdateZoneOptions... options)
id - the ID of the Zoneoptions - optional arguments@Named(value="deleteZone")
@GET
@Consumes(value="application/json")
void deleteZone(@QueryParam(value="id")
String id)
zoneId - the ID of the ZoneCopyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.