package models
- Source
- package.scala
- Alphabetic
- By Inheritance
- models
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class Attachment(id: String, serverId: String, attachmentId: String, attachedAt: LocalDateTime, hostName: String, volumeId: String, device: String) extends Product with Serializable
- final case class Quota(volumes: Int, volumesPerType: Map[String, Int] = Map.empty, snapshots: Int, snapshotsPerType: Map[String, Int] = Map.empty, backups: Int, groups: Int, maxVolumeSize: Information, backupsStorage: Information, volumesStorage: Information, volumesStoragePerType: Map[String, Information] = Map.empty) extends Product with Serializable
A value of -1 means no limit.
A value of -1 means no limit.
- volumes
number of volumes that are allowed for each project.
- volumesPerType
number of volumes that are allowed for each project and the specified volume type.
- snapshots
number of snapshots that are allowed for each project.
- snapshotsPerType
number of snapshots per volume type that are allowed for each project.
- backups
number of backups that are allowed for each project.
- groups
number of groups that are allowed for each project.
- maxVolumeSize
max size of a volume.
- backupsStorage
size of backups that are allowed for each project.
- volumesStorage
size of volumes and snapshots that are allowed for each project.
- volumesStoragePerType
size of volumes and snapshots per volume type that are allowed for each project.
- case class QuotaUsage(volumes: Usage[Int], volumesPerType: Map[String, Usage[Int]], snapshots: Usage[Int], snapshotsPerType: Map[String, Usage[Int]], backups: Usage[Int], groups: Usage[Int], maxVolumeSize: Usage[Information], backupsStorage: Usage[Information], volumesStorage: Usage[Information], volumesStoragePerType: Map[String, Usage[Information]]) extends Product with Serializable
A value of -1 means no limit.
A value of -1 means no limit.
- volumes
number of volumes that are allowed for each project.
- volumesPerType
number of volumes that are allowed for each project and the specified volume type.
- snapshots
number of snapshots that are allowed for each project.
- snapshotsPerType
number of snapshots per volume type that are allowed for each project.
- backups
number of backups that are allowed for each project.
- groups
number of groups that are allowed for each project.
- maxVolumeSize
max size of a volume.
- backupsStorage
size of backups that are allowed for each project.
- volumesStorage
size of volumes and snapshots that are allowed for each project.
- volumesStoragePerType
size of volumes and snapshots per volume type that are allowed for each project.
- 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.
- sealed trait VolumeStatus extends EnumEntry
- case class VolumeSummary(id: String, name: Option[String] = None, links: List[Link] = List.empty) extends Identifiable with Product with Serializable
Value Members
- implicit val decoderInformation: Decoder[Information]
- implicit val encoderInformation: Encoder[Information]
- object Attachment extends Serializable
- object Quota extends Serializable
- object QuotaUsage extends Serializable
- object Volume extends Serializable
- case object VolumeStatus extends Enum[VolumeStatus] with Product with Serializable
- object VolumeSummary extends Serializable