Package org.jclouds.cloudstack.features
Interface OfferingApi
- All Known Subinterfaces:
 GlobalOfferingApi
public interface OfferingApi
Provides synchronous access to cloudstack via their REST API.
 
- See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptionget a specific disk offering by idget a specific service offering by idget a specific service offering by idlistDiskOfferings(ListDiskOfferingsOptions... options) Lists disk offeringslistNetworkOfferings(ListNetworkOfferingsOptions... options) Lists service offeringslistServiceOfferings(ListServiceOfferingsOptions... options) Lists service offerings 
- 
Method Details
- 
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
 
 
 -