public interface VolumeApi
VolumeAttachmentApi
Modifier and Type | Method and Description |
---|---|
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.
|
@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") @Nullable 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 VolumeCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.