Volume

pt.tecnico.dsi.openstack.cinder.models.Volume
See theVolume companion object
case class Volume(id: String, size: Information, status: VolumeStatus, userId: String, projectId: Option[String], name: String, description: Option[String], `type`: Option[String], availabilityZone: String, encrypted: Boolean, multiAttach: Boolean, bootable: Boolean, snapshotId: Option[String], sourceVolumeId: Option[String], consistencyGroupId: Option[String], host: Option[String], backendVolumeId: Option[String], replicationStatus: Option[VolumeStatus], migrationStatus: Option[VolumeStatus], attachments: List[Attachment], metadata: JsonObject, volumeImageMetadata: Option[Map[String, String]], createdAt: LocalDateTime, updatedAt: Option[LocalDateTime], links: List[Link]) extends Identifiable

Value parameters

`type`

the associated volume type for the volume.

attachments

instance attachment information.

availabilityZone

the name of the availability zone.

backendVolumeId

the volume ID that this volume name on the back-end is based on.

bootable

whether this volume has the bootable attribute set.

consistencyGroupId

the consistency group id this volume belongs to.

createdAt

the date and time when the resource was created.

description

the volume description.

encrypted

whether this volume is encrypted.

host

current back-end of the volume. Host format is host@backend#pool.

metadata

metadata that is associated with the volume.

migrationStatus

the status of this volume migration.

multiAttach

whether this volume can attach to more than one instance.

name

the volume name.

projectId

the project ID which the volume belongs to.

replicationStatus

the volume replication status.

size

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

snapshotId

the snapshot id from which this volume was created.

sourceVolumeId

the volume id from which this volume was created.

status

the volume status.

updatedAt

the date and time when the resource was updated.

userId

the UUID of the user.

volumeImageMetadata

list of image metadata entries. Only included for volumes that were created from an image, or from a snapshot of a volume originally created from an image.

Attributes

Companion
object
Source
Volume.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Identifiable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def project[F[_]](using evidence$1: Applicative[F], keystone: KeystoneClient[F]): F[Option[Project]]

Attributes

Source
Volume.scala
def user[F[_]](using keystone: KeystoneClient[F]): F[User]

Attributes

Source
Volume.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Inherited fields

lazy val linksMap: Map[String, Uri]

Attributes

Inherited from:
Identifiable
Source
Identifiable.scala