Volume

pt.tecnico.dsi.openstack.cinder.models.Volume$
See theVolume companion class
object Volume

Attributes

Companion
class
Source
Volume.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Volume.type

Members list

Type members

Classlikes

case class Create(size: Information, availabilityZone: Option[String], name: String, description: Option[String], multiAttach: Boolean, sourceVolumeId: Option[String], snapshotId: Option[String], backupId: Option[String], imageId: Option[String], `type`: Option[String], metadata: Map[String, String], consistencyGroupId: Option[String])

Value parameters

`type`

The volume type (either name or ID). To create an environment with multiple-storage back ends, you must specify a volume type. Block Storage volume back ends are spawned as children to cinder-volume, and they are keyed from a unique queue. They are named cinder-volume.HOST.BACKEND. For example, cinder-volume.ubuntu.lvmdriver. When a volume is created, the scheduler chooses an appropriate back end to handle the request based on the volume type.

availabilityZone

the availability zone where the volume will be created.

backupId

the UUID of the backup.

consistencyGroupId

the UUID of the consistency group.

description

the volume description.

imageId

the UUID of the image from which you want to create the volume. Required to create a bootable volume.

metadata

metadata that will be associated with the volume.

multiAttach

to enable this volume to be attached to more than one server set this value to true.

name

the volume name.

size

the size of the volume, in gibibytes (GiB).

snapshotId

to create a volume from an existing snapshot, specify the UUID of the volume snapshot. The volume is created in same availability zone and with same size as the snapshot.

sourceVolumeId

the UUID of the source volume. The API creates a new volume with the same size as the source volume unless a larger size is requested.

Attributes

Source
Volume.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Summary(id: String, name: String, links: List[Link]) extends Identifiable

Attributes

Source
Volume.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Identifiable
class Object
trait Matchable
class Any
Show all
case class Update(name: Option[String], description: Option[String], metadata: Map[String, String])

Value parameters

description

the volume description.

metadata

metadata that will be associated with the volume.

name

the volume name.

Attributes

Source
Volume.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete fields

Attributes

Source
Volume.scala

Givens