case class Volume(id: String, size: Information, status: VolumeStatus, userId: String, projectId: Option[String] = None, name: Option[String] = None, description: Option[String] = None, type: Option[String] = None, createdAt: LocalDateTime, updatedAt: Option[LocalDateTime] = None, availabilityZone: String, encrypted: Boolean, multiAttach: Boolean = false, bootable: Boolean, snapshotId: Option[String] = None, sourceVolumeId: Option[String] = None, consistencyGroupId: Option[String] = None, host: Option[String] = None, backendVolumeId: Option[String] = None, replicationStatus: Option[VolumeStatus] = None, migrationStatus: Option[VolumeStatus] = None, attachments: List[Attachment] = List.empty, metadata: JsonObject = JsonObject.empty, volumeImageMetadata: Option[Map[String, String]] = None, links: List[Link] = List.empty) extends Identifiable with Product with Serializable
- size
the size of the volume, in gibibytes (GiB).
- status
the volume status.
- userId
the UUID of the user.
- projectId
the project ID which the volume belongs to.
- name
the volume name.
- description
the volume description.
- createdAt
the date and time when the resource was created.
- updatedAt
the date and time when the resource was updated.
- availabilityZone
the name of the availability zone.
- encrypted
whether this volume is encrypted.
- multiAttach
whether this volume can attach to more than one instance.
- bootable
whether this volume has the bootable attribute set.
- snapshotId
the snapshot id from which this volume was created.
- sourceVolumeId
the volume id from which this volume was created.
- consistencyGroupId
the consistency group id this volume belongs to.
- host
current back-end of the volume. Host format is host@backend#pool.
- backendVolumeId
the volume ID that this volume name on the back-end is based on.
- replicationStatus
the volume replication status.
- migrationStatus
the status of this volume migration.
- attachments
instance attachment information.
- metadata
metadata that is associated with the volume.
- 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.
- Source
- Volume.scala
- Alphabetic
- By Inheritance
- Volume
- Serializable
- Product
- Equals
- Identifiable
- AnyRef
- Any
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Volume(id: String, size: Information, status: VolumeStatus, userId: String, projectId: Option[String] = None, name: Option[String] = None, description: Option[String] = None, type: Option[String] = None, createdAt: LocalDateTime, updatedAt: Option[LocalDateTime] = None, availabilityZone: String, encrypted: Boolean, multiAttach: Boolean = false, bootable: Boolean, snapshotId: Option[String] = None, sourceVolumeId: Option[String] = None, consistencyGroupId: Option[String] = None, host: Option[String] = None, backendVolumeId: Option[String] = None, replicationStatus: Option[VolumeStatus] = None, migrationStatus: Option[VolumeStatus] = None, attachments: List[Attachment] = List.empty, metadata: JsonObject = JsonObject.empty, volumeImageMetadata: Option[Map[String, String]] = None, links: List[Link] = List.empty)
- size
the size of the volume, in gibibytes (GiB).
- status
the volume status.
- userId
the UUID of the user.
- projectId
the project ID which the volume belongs to.
- name
the volume name.
- description
the volume description.
- createdAt
the date and time when the resource was created.
- updatedAt
the date and time when the resource was updated.
- availabilityZone
the name of the availability zone.
- encrypted
whether this volume is encrypted.
- multiAttach
whether this volume can attach to more than one instance.
- bootable
whether this volume has the bootable attribute set.
- snapshotId
the snapshot id from which this volume was created.
- sourceVolumeId
the volume id from which this volume was created.
- consistencyGroupId
the consistency group id this volume belongs to.
- host
current back-end of the volume. Host format is host@backend#pool.
- backendVolumeId
the volume ID that this volume name on the back-end is based on.
- replicationStatus
the volume replication status.
- migrationStatus
the status of this volume migration.
- attachments
instance attachment information.
- metadata
metadata that is associated with the volume.
- 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.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ->[B](y: B): (Volume, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val attachments: List[Attachment]
- val availabilityZone: String
- val backendVolumeId: Option[String]
- val bootable: Boolean
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val consistencyGroupId: Option[String]
- val createdAt: LocalDateTime
- val description: Option[String]
- val encrypted: Boolean
- def ensuring(cond: (Volume) => Boolean, msg: => Any): Volume
- def ensuring(cond: (Volume) => Boolean): Volume
- def ensuring(cond: Boolean, msg: => Any): Volume
- def ensuring(cond: Boolean): Volume
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val host: Option[String]
- val id: String
- Definition Classes
- Volume → Identifiable
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val links: List[Link]
- Definition Classes
- Volume → Identifiable
- lazy val linksMap: Map[String, Uri]
- Definition Classes
- Identifiable
- val metadata: JsonObject
- val migrationStatus: Option[VolumeStatus]
- val multiAttach: Boolean
- val name: Option[String]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val projectId: Option[String]
- val replicationStatus: Option[VolumeStatus]
- val size: Information
- val snapshotId: Option[String]
- val sourceVolumeId: Option[String]
- val status: VolumeStatus
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val type: Option[String]
- val updatedAt: Option[LocalDateTime]
- val userId: String
- val volumeImageMetadata: Option[Map[String, String]]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def →[B](y: B): (Volume, B)
- Implicit
- This member is added by an implicit conversion from Volume toArrowAssoc[Volume] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.