Interface ZoneApi

All Known Subinterfaces:
GlobalZoneApi

public interface ZoneApi
Provides synchronous access to cloudstack via their REST API.

See Also:
  • Method Details

    • listZones

      @Named("listZones") @GET @Consumes("application/json") 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("listZones") @GET @Consumes("application/json") Zone getZone(@QueryParam("id") String id)
      get a specific zone by id
      Parameters:
      id - zone to get
      Returns:
      zone or null if not found