org.jclouds.cloudstack.features
Interface OfferingClient

All Known Subinterfaces:
GlobalOfferingClient

public interface OfferingClient

Provides synchronous access to CloudStack zone features.

Author:
Adrian Cole
See Also:
OfferingAsyncClient,

Method Summary
 DiskOffering getDiskOffering(long id)
          get a specific disk offering by id
 NetworkOffering getNetworkOffering(long id)
          get a specific service offering by id
 ServiceOffering getServiceOffering(long id)
          get a specific service offering by id
 Set<DiskOffering> listDiskOfferings(ListDiskOfferingsOptions... options)
          Lists disk offerings
 Set<NetworkOffering> listNetworkOfferings(ListNetworkOfferingsOptions... options)
          Lists service offerings
 Set<ServiceOffering> listServiceOfferings(ListServiceOfferingsOptions... options)
          Lists service offerings
 

Method Detail

listServiceOfferings

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

ServiceOffering getServiceOffering(long id)
get a specific service offering by id

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

listDiskOfferings

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

DiskOffering getDiskOffering(long id)
get a specific disk offering by id

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

listNetworkOfferings

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

NetworkOffering getNetworkOffering(long id)
get a specific service offering by id

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


Copyright © 2009-2012 jclouds. All Rights Reserved.