Package org.jclouds.cloudstack.features
Interface GlobalZoneApi
- All Superinterfaces:
 ZoneApi
Provides synchronous access to CloudStack Account features available to Global
 Admin users.
- See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptioncreateZone(String name, NetworkType networkType, String externalDns1, String internalDns1, CreateZoneOptions... options) Create a new ZonevoiddeleteZone(String id) Delete a zone with a specific IDupdateZone(String id, UpdateZoneOptions... options) Update a zone 
- 
Method Details
- 
createZone
@Named("createZone") @GET @Consumes("application/json") Zone createZone(@QueryParam("name") String name, @QueryParam("networktype") NetworkType networkType, @QueryParam("dns1") String externalDns1, @QueryParam("internaldns1") String internalDns1, CreateZoneOptions... options) Create a new Zone- Parameters:
 name- the name of the ZonenetworkType- network type of the zone, can be Basic or AdvancedinternalDns1- the first internal DNS for the Zoneoptions- optional argumentsdns1- the first DNS for the Zone- Returns:
 - zone instance or null
 
 - 
updateZone
@Named("updateZone") @GET @Consumes("application/json") Zone updateZone(@QueryParam("id") String id, UpdateZoneOptions... options) Update a zone- Parameters:
 id- the ID of the Zoneoptions- optional arguments- Returns:
 
 - 
deleteZone
@Named("deleteZone") @GET @Consumes("application/json") void deleteZone(@QueryParam("id") String id) Delete a zone with a specific ID- Parameters:
 zoneId- the ID of the Zone
 
 -