org.jclouds.cloudstack.features
Interface GuestOSApi


public interface GuestOSApi

Provides synchronous access to cloudstack via their REST API.

See Also:

Method Summary
 Map.Entry<String,String> getOSCategory(String id)
          get a specific os category by id
 OSType getOSType(String id)
          get a specific os type by id
 Map<String,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

@Named(value="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

@Named(value="listOsTypes")
OSType getOSType(String id)
get a specific os type by id

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

listOSCategories

@Named(value="listOsCategories")
Map<String,String> listOSCategories()
Lists all supported OS categories for this cloud.

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

getOSCategory

@Named(value="listOsCategories")
Map.Entry<String,String> getOSCategory(String id)
get a specific os category by id

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


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.