Packages

case class Create(size: Information, availabilityZone: Option[String] = None, name: Option[String] = None, description: Option[String] = None, multiAttach: Boolean = false, sourceVolumeId: Option[String] = None, snapshotId: Option[String] = None, backupId: Option[String] = None, imageId: Option[String] = None, type: Option[String] = None, metadata: Map[String, String] = Map.empty, consistencyGroupId: Option[String] = None) extends Product with Serializable

size

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

availabilityZone

the availability zone where the volume will be created.

name

the volume name.

description

the volume description.

multiAttach

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

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.

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.

backupId

the UUID of the backup.

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.

consistencyGroupId

the UUID of the consistency group.

Source
Volume.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Create
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. 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 Create(size: Information, availabilityZone: Option[String] = None, name: Option[String] = None, description: Option[String] = None, multiAttach: Boolean = false, sourceVolumeId: Option[String] = None, snapshotId: Option[String] = None, backupId: Option[String] = None, imageId: Option[String] = None, type: Option[String] = None, metadata: Map[String, String] = Map.empty, consistencyGroupId: Option[String] = None)

    size

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

    availabilityZone

    the availability zone where the volume will be created.

    name

    the volume name.

    description

    the volume description.

    multiAttach

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

    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.

    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.

    backupId

    the UUID of the backup.

    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.

    consistencyGroupId

    the UUID of the consistency group.

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): (Create, B)
    Implicit
    This member is added by an implicit conversion from Create toArrowAssoc[Create] 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 availabilityZone: Option[String]
  7. val backupId: Option[String]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. val consistencyGroupId: Option[String]
  10. val description: Option[String]
  11. def ensuring(cond: (Create) => Boolean, msg: => Any): Create
    Implicit
    This member is added by an implicit conversion from Create toEnsuring[Create] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (Create) => Boolean): Create
    Implicit
    This member is added by an implicit conversion from Create toEnsuring[Create] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: => Any): Create
    Implicit
    This member is added by an implicit conversion from Create toEnsuring[Create] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): Create
    Implicit
    This member is added by an implicit conversion from Create toEnsuring[Create] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Create toStringFormat[Create] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. val imageId: Option[String]
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. val metadata: Map[String, String]
  21. val multiAttach: Boolean
  22. val name: Option[String]
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. def productElementNames: Iterator[String]
    Definition Classes
    Product
  27. val size: Information
  28. val snapshotId: Option[String]
  29. val sourceVolumeId: Option[String]
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. val type: Option[String]
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  34. 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): (Create, B)
    Implicit
    This member is added by an implicit conversion from Create toArrowAssoc[Create] 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 AnyRef

Inherited from Any

Inherited by implicit conversion StringFormat fromCreate to StringFormat[Create]

Inherited by implicit conversion Ensuring fromCreate to Ensuring[Create]

Inherited by implicit conversion ArrowAssoc fromCreate to ArrowAssoc[Create]

Ungrouped