@Deprecated @Beta @Consumes(value="application/json") public interface VolumeApi
Modifier and Type | Method and Description |
---|---|
Volume |
create(int sizeGB,
CreateVolumeOptions... options)
Deprecated.
Please use
org.jclouds.openstack.cinder.v1.features.VolumeApi#create(int, CreateVolumeOptions) instead.
To be removed in jclouds 2.0. |
VolumeSnapshot |
createSnapshot(String volumeId,
CreateVolumeSnapshotOptions... options)
Deprecated.
Please use
org.jclouds.openstack.cinder.v1.features.SnapshotApi#create(String, CreateVolumeSnapshotOptions) instead.
To be removed in jclouds 2.0. |
boolean |
delete(String volumeId)
Deprecated.
Please use
VolumeApi.delete(String) instead.
To be removed in jclouds 2.0. |
boolean |
deleteSnapshot(String snapshotId)
Deprecated.
Please use
SnapshotApi.delete(String) instead.
To be removed in jclouds 2.0. |
Volume |
get(String volumeId)
Deprecated.
Please use
VolumeApi.get(String) instead.
To be removed in jclouds 2.0. |
VolumeSnapshot |
getSnapshot(String snapshotId)
Deprecated.
Please use
SnapshotApi.get(String) instead.
To be removed in jclouds 2.0. |
com.google.common.collect.FluentIterable<Volume> |
list()
Deprecated.
Please use
VolumeApi.list() instead.
To be removed in jclouds 2.0. |
com.google.common.collect.FluentIterable<Volume> |
listInDetail()
Deprecated.
Please use
VolumeApi.listInDetail() instead.
To be removed in jclouds 2.0. |
com.google.common.collect.FluentIterable<VolumeSnapshot> |
listSnapshots()
Deprecated.
Please use
SnapshotApi.list() instead.
To be removed in jclouds 2.0. |
com.google.common.collect.FluentIterable<VolumeSnapshot> |
listSnapshotsInDetail()
Deprecated.
Please use
SnapshotApi.listInDetail() instead.
To be removed in jclouds 2.0. |
@Deprecated @Named(value="volume:list") @GET @Path(value="/os-volumes") com.google.common.collect.FluentIterable<Volume> list()
VolumeApi.list()
instead.
To be removed in jclouds 2.0.@Deprecated @Named(value="volume:list") @GET @Path(value="/os-volumes/detail") com.google.common.collect.FluentIterable<Volume> listInDetail()
VolumeApi.listInDetail()
instead.
To be removed in jclouds 2.0.@Deprecated @Named(value="volume:get") @GET @Path(value="/os-volumes/{id}") @Nullable Volume get(@PathParam(value="id") String volumeId)
VolumeApi.get(String)
instead.
To be removed in jclouds 2.0.@Deprecated @Named(value="volume:create") @POST @Path(value="/os-volumes") @Produces(value="application/json") Volume create(int sizeGB, CreateVolumeOptions... options)
org.jclouds.openstack.cinder.v1.features.VolumeApi#create(int, CreateVolumeOptions)
instead.
To be removed in jclouds 2.0.@Deprecated @Named(value="volume:delete") @DELETE @Path(value="/os-volumes/{volumeId}") @Consumes(value="application/json") boolean delete(@PathParam(value="volumeId") String volumeId)
VolumeApi.delete(String)
instead.
To be removed in jclouds 2.0.@Deprecated @Named(value="volume:listSnapshots") @GET @Path(value="/os-snapshots") com.google.common.collect.FluentIterable<VolumeSnapshot> listSnapshots()
SnapshotApi.list()
instead.
To be removed in jclouds 2.0.@Deprecated @Named(value="volume:listSnapshots") @GET @Path(value="/os-snapshots/detail") com.google.common.collect.FluentIterable<VolumeSnapshot> listSnapshotsInDetail()
SnapshotApi.listInDetail()
instead.
To be removed in jclouds 2.0.@Deprecated @Named(value="volume:getSnapshot") @GET @Path(value="/os-snapshots/{id}") @Nullable VolumeSnapshot getSnapshot(@PathParam(value="id") String snapshotId)
SnapshotApi.get(String)
instead.
To be removed in jclouds 2.0.@Deprecated @Named(value="volume:createSnapshot") @POST @Path(value="/os-snapshots") @Produces(value="application/json") VolumeSnapshot createSnapshot(String volumeId, CreateVolumeSnapshotOptions... options)
org.jclouds.openstack.cinder.v1.features.SnapshotApi#create(String, CreateVolumeSnapshotOptions)
instead.
To be removed in jclouds 2.0.@Deprecated @Named(value="volume:deleteSnapshot") @DELETE @Path(value="/os-snapshots/{id}") boolean deleteSnapshot(@PathParam(value="id") String snapshotId)
SnapshotApi.delete(String)
instead.
To be removed in jclouds 2.0.Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.