org.jclouds.cloudstack.features
Interface ZoneApi

All Known Subinterfaces:
GlobalZoneApi

public interface ZoneApi

Provides synchronous access to cloudstack via their REST API.

See Also:

Method Summary
 Zone getZone(String id)
          get a specific zone by id
 Set<Zone> listZones(ListZonesOptions... options)
          Lists zones
 

Method Detail

listZones

@Named(value="listZones")
Set<Zone> listZones(ListZonesOptions... options)
Lists zones

Parameters:
options - if present, how to constrain the list.
Returns:
zones matching query, or empty set, if no zones are found

getZone

@Named(value="listZones")
Zone getZone(String id)
get a specific zone by id

Parameters:
id - zone to get
Returns:
zone or null if not found


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