org.jclouds.openstack.nova.v2_0.features
Interface FlavorApi


public interface FlavorApi

Provides asynchronous access to Flavors via their REST API.

Author:
Jeremy Daggett
See Also:
FlavorApi,

Method Summary
 Flavor getFlavor(String id)
          List details of the specified flavor
 Set<Resource> listFlavors()
          List all flavors (IDs, names, links)
 Set<Flavor> listFlavorsInDetail()
          List all flavors (all details)
 

Method Detail

listFlavors

Set<Resource> listFlavors()
List all flavors (IDs, names, links)

Returns:
all flavors (IDs, names, links)

listFlavorsInDetail

Set<Flavor> listFlavorsInDetail()
List all flavors (all details)

Returns:
all flavors (all details)

getFlavor

Flavor getFlavor(String id)
List details of the specified flavor

Parameters:
id - id of the flavor
Returns:
flavor or null if not found


Copyright © 2009-2012 jclouds. All Rights Reserved.