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
- Alphabetic
- By Inheritance
- Create
- Serializable
- Product
- Equals
- AnyRef
- Any
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ->[B](y: B): (Create, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val availabilityZone: Option[String]
- val backupId: Option[String]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val consistencyGroupId: Option[String]
- val description: Option[String]
- def ensuring(cond: (Create) => Boolean, msg: => Any): Create
- def ensuring(cond: (Create) => Boolean): Create
- def ensuring(cond: Boolean, msg: => Any): Create
- def ensuring(cond: Boolean): Create
- 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 imageId: Option[String]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val metadata: Map[String, String]
- 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 size: Information
- val snapshotId: Option[String]
- val sourceVolumeId: Option[String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val type: Option[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): (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.