org.jclouds.cloudstack.features
Interface GlobalZoneClient

All Superinterfaces:
ZoneClient

public interface GlobalZoneClient
extends ZoneClient

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

Author:
Andrei Savu
See Also:

Method Summary
 Zone createZone(String name, NetworkType networkType, String dns1, String internalDns1, CreateZoneOptions... options)
          Create a new Zone
 Void deleteZone(long zoneId)
          Delete a zone with a specific ID
 Zone updateZone(long id, UpdateZoneOptions... options)
          Update a zone
 
Methods inherited from interface org.jclouds.cloudstack.features.ZoneClient
getZone, listZones
 

Method Detail

createZone

Zone createZone(String name,
                NetworkType networkType,
                String dns1,
                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

Zone updateZone(long id,
                UpdateZoneOptions... options)
Update a zone

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

deleteZone

Void deleteZone(long zoneId)
Delete a zone with a specific ID

Parameters:
zoneId - the ID of the Zone


Copyright © 2009-2012 jclouds. All Rights Reserved.