|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VolumeApi
Provides synchronous access to Volumes. This API strictly handles creating and managing Volumes. To attach a Volume to a Server you need to use the
VolumeAttachmentApi,
VolumeAsyncApi,
API Doc| Method Summary | |
|---|---|
Volume |
create(int sizeGB,
CreateVolumeOptions... options)
Creates a new Volume |
boolean |
delete(String volumeId)
Delete a Volume. |
Volume |
get(String volumeId)
Return data about the given Volume. |
com.google.common.collect.FluentIterable<? extends Volume> |
list()
Returns a summary list of Volumes. |
com.google.common.collect.FluentIterable<? extends Volume> |
listInDetail()
Returns a detailed list of Volumes. |
| Method Detail |
|---|
@Named(value="volume:list") com.google.common.collect.FluentIterable<? extends Volume> list()
@Named(value="volume:list") com.google.common.collect.FluentIterable<? extends Volume> listInDetail()
@Named(value="volume:get") Volume get(String volumeId)
volumeId - Id of the Volume
@Named(value="volume:create")
Volume create(int sizeGB,
CreateVolumeOptions... options)
volumeId - Id of the Volumeoptions - See CreateVolumeOptions
@Named(value="volume:delete") boolean delete(String volumeId)
volumeId - Id of the Volume
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||