Interface VolumeTypeApi
-
@Consumes("application/json") @Path("/types") public interface VolumeTypeApi
Provides access to the OpenStack Block Storage (Cinder) v1 Volume Types API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VolumeType
get(String volumeTypeId)
Return data about the given VolumeType.com.google.common.collect.FluentIterable<? extends VolumeType>
list()
Returns a summary list of VolumeTypes.
-
-
-
Method Detail
-
list
@Named("volumeType:list") @GET com.google.common.collect.FluentIterable<? extends VolumeType> list()
Returns a summary list of VolumeTypes.- Returns:
- The list of VolumeTypes
-
get
@Named("volumeType:get") @GET @Path("/{id}") @Nullable VolumeType get(@PathParam("id") String volumeTypeId)
Return data about the given VolumeType.- Parameters:
volumeTypeId
- Id of the VolumeType- Returns:
- Details of a specific VolumeType
-
-