Interface VolumeApi
Deprecated.
Provides access to the OpenStack Compute (Nova) Volume extension API.
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(int sizeGB, CreateVolumeOptions... options) Deprecated.Please useinvalid reference
org.jclouds.openstack.cinder.v1.features.VolumeApi#create(int, CreateVolumeOptions)
createSnapshot
(String volumeId, CreateVolumeSnapshotOptions... options) Deprecated.Please useinvalid reference
org.jclouds.openstack.cinder.v1.features.SnapshotApi#create(String, CreateVolumeSnapshotOptions)
boolean
Deprecated.Please useVolumeApi.delete(String)
instead.boolean
deleteSnapshot
(String snapshotId) Deprecated.Please useSnapshotApi.delete(String)
instead.Deprecated.Please useVolumeApi.get(String)
instead.getSnapshot
(String snapshotId) Deprecated.Please useSnapshotApi.get(String)
instead.com.google.common.collect.FluentIterable
<Volume> list()
Deprecated.Please useVolumeApi.list()
instead.com.google.common.collect.FluentIterable
<Volume> Deprecated.Please useVolumeApi.listInDetail()
instead.com.google.common.collect.FluentIterable
<VolumeSnapshot> Deprecated.Please useSnapshotApi.list()
instead.com.google.common.collect.FluentIterable
<VolumeSnapshot> Deprecated.Please useSnapshotApi.listInDetail()
instead.
-
Method Details
-
list
@Deprecated @Named("volume:list") @GET @Path("/os-volumes") com.google.common.collect.FluentIterable<Volume> list()Deprecated.Please useVolumeApi.list()
instead. To be removed in jclouds 2.0.Returns a summary list of snapshots.- Returns:
- the list of snapshots
-
listInDetail
@Deprecated @Named("volume:list") @GET @Path("/os-volumes/detail") com.google.common.collect.FluentIterable<Volume> listInDetail()Deprecated.Please useVolumeApi.listInDetail()
instead. To be removed in jclouds 2.0.Returns a detailed list of volumes.- Returns:
- the list of volumes.
-
get
@Deprecated @Named("volume:get") @GET @Path("/os-volumes/{id}") @Nullable Volume get(@PathParam("id") String volumeId) Deprecated.Please useVolumeApi.get(String)
instead. To be removed in jclouds 2.0.Return data about the given volume.- Returns:
- details of a specific snapshot.
-
create
@Deprecated @Named("volume:create") @POST @Path("/os-volumes") @Produces("application/json") Volume create(int sizeGB, CreateVolumeOptions... options) Deprecated.Please useinvalid reference
org.jclouds.openstack.cinder.v1.features.VolumeApi#create(int, CreateVolumeOptions)
Creates a new Snapshot- Returns:
- the new Snapshot
-
delete
@Deprecated @Named("volume:delete") @DELETE @Path("/os-volumes/{volumeId}") @Consumes("application/json") boolean delete(@PathParam("volumeId") String volumeId) Deprecated.Please useVolumeApi.delete(String)
instead. To be removed in jclouds 2.0.Delete a snapshot.- Returns:
- true if successful
-
listSnapshots
@Deprecated @Named("volume:listSnapshots") @GET @Path("/os-snapshots") com.google.common.collect.FluentIterable<VolumeSnapshot> listSnapshots()Deprecated.Please useSnapshotApi.list()
instead. To be removed in jclouds 2.0.Returns a summary list of snapshots.- Returns:
- the list of snapshots
-
listSnapshotsInDetail
@Deprecated @Named("volume:listSnapshots") @GET @Path("/os-snapshots/detail") com.google.common.collect.FluentIterable<VolumeSnapshot> listSnapshotsInDetail()Deprecated.Please useSnapshotApi.listInDetail()
instead. To be removed in jclouds 2.0.Returns a summary list of snapshots.- Returns:
- the list of snapshots
-
getSnapshot
@Deprecated @Named("volume:getSnapshot") @GET @Path("/os-snapshots/{id}") @Nullable VolumeSnapshot getSnapshot(@PathParam("id") String snapshotId) Deprecated.Please useSnapshotApi.get(String)
instead. To be removed in jclouds 2.0.Return data about the given snapshot.- Returns:
- details of a specific snapshot.
-
createSnapshot
@Deprecated @Named("volume:createSnapshot") @POST @Path("/os-snapshots") @Produces("application/json") VolumeSnapshot createSnapshot(String volumeId, CreateVolumeSnapshotOptions... options) Deprecated.Please useinvalid reference
org.jclouds.openstack.cinder.v1.features.SnapshotApi#create(String, CreateVolumeSnapshotOptions)
Creates a new Snapshot.- Returns:
- the new Snapshot
-
deleteSnapshot
@Deprecated @Named("volume:deleteSnapshot") @DELETE @Path("/os-snapshots/{id}") boolean deleteSnapshot(@PathParam("id") String snapshotId) Deprecated.Please useSnapshotApi.delete(String)
instead. To be removed in jclouds 2.0.Delete a snapshot.- Returns:
- true if successful
-
VolumeApi
orVolumeApi
instead. To be removed in jclouds 2.0.