org.jclouds.cloudstack.features
Interface GlobalZoneApi

All Superinterfaces:
ZoneApi

public interface GlobalZoneApi
extends ZoneApi

Provides synchronous access to CloudStack Account features available to Global Admin users.

See Also:

Method Summary
 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
 
Methods inherited from interface org.jclouds.cloudstack.features.ZoneApi
getZone, listZones
 

Method Detail

createZone

@Named(value="createZone")
Zone createZone(String name,
                      NetworkType networkType,
                      String externalDns1,
                      String internalDns1,
                      CreateZoneOptions... options)
Create a new Zone

Parameters:
name - the name of the Zone
networkType - network type of the zone, can be Basic or Advanced
dns1 - the first DNS for the Zone
internalDns1 - the first internal DNS for the Zone
options - optional arguments
Returns:
zone instance or null

updateZone

@Named(value="updateZone")
Zone updateZone(String id,
                      UpdateZoneOptions... options)
Update a zone

Parameters:
id - the ID of the Zone
options - optional arguments
Returns:

deleteZone

@Named(value="deleteZone")
void deleteZone(String id)
Delete a zone with a specific ID

Parameters:
zoneId - the ID of the Zone


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.