object Volume extends Serializable
- Source
- Volume.scala
- Alphabetic
- By Inheritance
- Volume
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- 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.
- case class Update(name: Option[String] = None, description: Option[String] = None, metadata: Map[String, String] = Map.empty) extends Product with Serializable
- name
the volume name.
- description
the volume description.
- metadata
metadata that will be associated with the volume.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- implicit val decoder: Decoder[Volume]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])
- object Create extends Serializable
- object Update extends Serializable