Disk

class Disk

Describes a block storage disk.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

An array of objects representing the add-ons enabled on the disk.

Link copied to clipboard
val arn: String?

The Amazon Resource Name (ARN) of the disk.

Link copied to clipboard

The resources to which the disk is attached.

Link copied to clipboard

(Discontinued) The attachment state of the disk.

Link copied to clipboard

The status of automatically mounting a storage disk to a virtual computer.

Link copied to clipboard

The date when the disk was created.

Link copied to clipboard
val gbInUse: Int?

(Discontinued) The number of GB in use by the disk.

Link copied to clipboard
val iops: Int?

The input/output operations per second (IOPS) of the disk.

Link copied to clipboard

A Boolean value indicating whether the disk is attached.

Link copied to clipboard

A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).

Link copied to clipboard

The AWS Region and Availability Zone where the disk is located.

Link copied to clipboard
val name: String?

The unique name of the disk.

Link copied to clipboard
val path: String?

The disk path.

Link copied to clipboard

The Lightsail resource type (Disk).

Link copied to clipboard

The size of the disk in GB.

Link copied to clipboard

Describes the status of the disk.

Link copied to clipboard

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

Link copied to clipboard
val tags: List<Tag>?

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.

Functions

Link copied to clipboard
inline fun copy(block: Disk.Builder.() -> Unit = {}): Disk
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String