Package org.jclouds.cloudstack.features
Interface GuestOSApi
public interface GuestOSApi
Provides synchronous access to cloudstack via their REST API.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetOSCategory
(String id) get a specific os category by idget a specific os type by idLists all supported OS categories for this cloud.listOSTypes
(ListOSTypesOptions... options) Lists all supported OS types for this cloud.
-
Method Details
-
listOSTypes
@Named("listOsTypes") @GET @Consumes("application/json") 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("listOsTypes") @GET @Consumes("application/json") OSType getOSType(@QueryParam("id") String id) get a specific os type by id- Parameters:
id
- os type to get- Returns:
- os type or null if not found
-
listOSCategories
Lists all supported OS categories for this cloud.- Returns:
- os categories matching query, or empty set, if no categories are found
-
getOSCategory
get a specific os category by id- Parameters:
id
- os category to get- Returns:
- os category or null if not found
-