org.jclouds.cloudstack.features
Interface GuestOSClient


public interface GuestOSClient

Provides synchronous access to CloudStack Operating System features.

Author:
Adrian Cole
See Also:
GuestOSAsyncClient,

Method Summary
 Map.Entry<Long,String> getOSCategory(long id)
          get a specific os category by id
 OSType getOSType(long id)
          get a specific os type by id
 Map<Long,String> listOSCategories()
          Lists all supported OS categories for this cloud.
 Set<OSType> listOSTypes(ListOSTypesOptions... options)
          Lists all supported OS types for this cloud.
 

Method Detail

listOSTypes

Set<OSType> listOSTypes(ListOSTypesOptions... options)
Lists all supported OS types for this cloud.

Parameters:
options - if present, how to constrain the list
Returns:
os types matching query, or empty set, if no types are found

getOSType

OSType getOSType(long id)
get a specific os type by id

Parameters:
id - os type to get
Returns:
os type or null if not found

listOSCategories

Map<Long,String> listOSCategories()
Lists all supported OS categories for this cloud.

Returns:
os categories matching query, or empty set, if no categories are found

getOSCategory

Map.Entry<Long,String> getOSCategory(long id)
get a specific os category by id

Parameters:
id - os category to get
Returns:
os category or null if not found


Copyright © 2009-2012 jclouds. All Rights Reserved.