Packages

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
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Volume
  2. Serializable
  3. Product
  4. Equals
  5. Identifiable
  6. AnyRef
  7. Any
Implicitly
  1. by StringFormat
  2. by Ensuring
  3. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. 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
    @inline()
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val attachments: List[Attachment]
  7. val availabilityZone: String
  8. val backendVolumeId: Option[String]
  9. val bootable: Boolean
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. val consistencyGroupId: Option[String]
  12. val createdAt: LocalDateTime
  13. val description: Option[String]
  14. val encrypted: Boolean
  15. def ensuring(cond: (Volume) => Boolean, msg: => Any): Volume
    Implicit
    This member is added by an implicit conversion from Volume toEnsuring[Volume] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (Volume) => Boolean): Volume
    Implicit
    This member is added by an implicit conversion from Volume toEnsuring[Volume] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: => Any): Volume
    Implicit
    This member is added by an implicit conversion from Volume toEnsuring[Volume] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): Volume
    Implicit
    This member is added by an implicit conversion from Volume toEnsuring[Volume] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Volume toStringFormat[Volume] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. val host: Option[String]
  23. val id: String
    Definition Classes
    Volume → Identifiable
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. val links: List[Link]
    Definition Classes
    Volume → Identifiable
  26. lazy val linksMap: Map[String, Uri]
    Definition Classes
    Identifiable
  27. val metadata: JsonObject
  28. val migrationStatus: Option[VolumeStatus]
  29. val multiAttach: Boolean
  30. val name: Option[String]
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  34. def productElementNames: Iterator[String]
    Definition Classes
    Product
  35. val projectId: Option[String]
  36. val replicationStatus: Option[VolumeStatus]
  37. val size: Information
  38. val snapshotId: Option[String]
  39. val sourceVolumeId: Option[String]
  40. val status: VolumeStatus
  41. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  42. val type: Option[String]
  43. val updatedAt: Option[LocalDateTime]
  44. val userId: String
  45. val volumeImageMetadata: Option[Map[String, String]]
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. 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.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion StringFormat fromVolume to StringFormat[Volume]

Inherited by implicit conversion Ensuring fromVolume to Ensuring[Volume]

Inherited by implicit conversion ArrowAssoc fromVolume to ArrowAssoc[Volume]

Ungrouped