Interface VolumeApi


@Deprecated @Beta @Consumes("application/json") public interface VolumeApi
Deprecated.
Please use org.jclouds.openstack.cinder.v1.features.VolumeApi or org.jclouds.openstack.cinder.v1.features.VolumeApi instead. To be removed in jclouds 2.0.
Provides access to the OpenStack Compute (Nova) Volume extension API.
  • Method Summary

    Modifier and Type
    Method
    Description
    create(int sizeGB, CreateVolumeOptions... options)
    Deprecated.
    Please use org.jclouds.openstack.cinder.v1.features.VolumeApi#create(int, CreateVolumeOptions) instead.
    Deprecated.
    Please use org.jclouds.openstack.cinder.v1.features.SnapshotApi#create(String, CreateVolumeSnapshotOptions) instead.
    boolean
    delete(String volumeId)
    Deprecated.
    Please use org.jclouds.openstack.cinder.v1.features.VolumeApi#delete(String) instead.
    boolean
    deleteSnapshot(String snapshotId)
    Deprecated.
    Please use org.jclouds.openstack.cinder.v1.features.SnapshotApi#delete(String) instead.
    get(String volumeId)
    Deprecated.
    Please use org.jclouds.openstack.cinder.v1.features.VolumeApi#get(String) instead.
    getSnapshot(String snapshotId)
    Deprecated.
    Please use org.jclouds.openstack.cinder.v1.features.SnapshotApi#get(String) instead.
    com.google.common.collect.FluentIterable<Volume>
    Deprecated.
    Please use org.jclouds.openstack.cinder.v1.features.VolumeApi#list() instead.
    com.google.common.collect.FluentIterable<Volume>
    Deprecated.
    Please use org.jclouds.openstack.cinder.v1.features.VolumeApi#listInDetail() instead.
    com.google.common.collect.FluentIterable<VolumeSnapshot>
    Deprecated.
    Please use org.jclouds.openstack.cinder.v1.features.SnapshotApi#list() instead.
    com.google.common.collect.FluentIterable<VolumeSnapshot>
    Deprecated.
    Please use org.jclouds.openstack.cinder.v1.features.SnapshotApi#listInDetail() instead.
  • Method Details

    • list

      @Deprecated @Named("volume:list") @GET @Path("/os-volumes") com.google.common.collect.FluentIterable<Volume> list()
      Deprecated.
      Please use org.jclouds.openstack.cinder.v1.features.VolumeApi#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 use org.jclouds.openstack.cinder.v1.features.VolumeApi#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 use org.jclouds.openstack.cinder.v1.features.VolumeApi#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 use org.jclouds.openstack.cinder.v1.features.VolumeApi#create(int, CreateVolumeOptions) instead. To be removed in jclouds 2.0.
      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 use org.jclouds.openstack.cinder.v1.features.VolumeApi#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 use org.jclouds.openstack.cinder.v1.features.SnapshotApi#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 use org.jclouds.openstack.cinder.v1.features.SnapshotApi#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 use org.jclouds.openstack.cinder.v1.features.SnapshotApi#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 use org.jclouds.openstack.cinder.v1.features.SnapshotApi#create(String, CreateVolumeSnapshotOptions) instead. To be removed in jclouds 2.0.
      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 use org.jclouds.openstack.cinder.v1.features.SnapshotApi#delete(String) instead. To be removed in jclouds 2.0.
      Delete a snapshot.
      Returns:
      true if successful