Package org.jclouds.cloudstack.features
Interface OfferingApi
-
- All Known Subinterfaces:
GlobalOfferingApi
public interface OfferingApi
Provides synchronous access to cloudstack via their REST API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DiskOffering
getDiskOffering(String id)
get a specific disk offering by idNetworkOffering
getNetworkOffering(String id)
get a specific service offering by idServiceOffering
getServiceOffering(String id)
get a specific service offering by idSet<DiskOffering>
listDiskOfferings(ListDiskOfferingsOptions... options)
Lists disk offeringsSet<NetworkOffering>
listNetworkOfferings(ListNetworkOfferingsOptions... options)
Lists service offeringsSet<ServiceOffering>
listServiceOfferings(ListServiceOfferingsOptions... options)
Lists service offerings
-
-
-
Method Detail
-
listServiceOfferings
@Named("listServiceOfferings") @GET @Consumes("application/json") Set<ServiceOffering> listServiceOfferings(ListServiceOfferingsOptions... options)
Lists service offerings- Parameters:
options
- if present, how to constrain the list.- Returns:
- service offerings matching query, or empty set, if no service offerings are found
-
getServiceOffering
@Named("listServiceOfferings") @GET @Consumes("application/json") ServiceOffering getServiceOffering(@QueryParam("id") String id)
get a specific service offering by id- Parameters:
id
- offering to get- Returns:
- service offering or null if not found
-
listDiskOfferings
@Named("listDiskOfferings") @GET @Consumes("application/json") Set<DiskOffering> listDiskOfferings(ListDiskOfferingsOptions... options)
Lists disk offerings- Parameters:
options
- if present, how to constrain the list.- Returns:
- disk offerings matching query, or empty set, if no disk offerings are found
-
getDiskOffering
@Named("listDiskOfferings") @GET @Consumes("application/json") DiskOffering getDiskOffering(@QueryParam("id") String id)
get a specific disk offering by id- Parameters:
id
- offering to get- Returns:
- disk offering or null if not found
-
listNetworkOfferings
@Named("listNetworkOfferings") @GET @Consumes("application/json") Set<NetworkOffering> listNetworkOfferings(ListNetworkOfferingsOptions... options)
Lists service offerings- Parameters:
options
- if present, how to constrain the list.- Returns:
- service offerings matching query, or empty set, if no service offerings are found
-
getNetworkOffering
@Named("listNetworkOfferings") @GET @Consumes("application/json") NetworkOffering getNetworkOffering(@QueryParam("id") String id)
get a specific service offering by id- Parameters:
id
- offering to get- Returns:
- service offering or null if not found
-
-