class Aws::Lightsail::Types::Disk

Describes a block storage disk.

@!attribute [rw] name

The unique name of the disk.
@return [String]

@!attribute [rw] arn

The Amazon Resource Name (ARN) of the disk.
@return [String]

@!attribute [rw] support_code

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.
@return [String]

@!attribute [rw] created_at

The date when the disk was created.
@return [Time]

@!attribute [rw] location

The AWS Region and Availability Zone where the disk is located.
@return [Types::ResourceLocation]

@!attribute [rw] resource_type

The Lightsail resource type (e.g., `Disk`).
@return [String]

@!attribute [rw] tags

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

[1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags
@return [Array<Types::Tag>]

@!attribute [rw] add_ons

An array of objects representing the add-ons enabled on the disk.
@return [Array<Types::AddOn>]

@!attribute [rw] size_in_gb

The size of the disk in GB.
@return [Integer]

@!attribute [rw] is_system_disk

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

@!attribute [rw] iops

The input/output operations per second (IOPS) of the disk.
@return [Integer]

@!attribute [rw] path

The disk path.
@return [String]

@!attribute [rw] state

Describes the status of the disk.
@return [String]

@!attribute [rw] attached_to

The resources to which the disk is attached.
@return [String]

@!attribute [rw] is_attached

A Boolean value indicating whether the disk is attached.
@return [Boolean]

@!attribute [rw] attachment_state

(Deprecated) The attachment state of the disk.

<note markdown="1"> In releases prior to November 14, 2017, this parameter returned
`attached` for system disks in the API response. It is now
deprecated, but still included in the response. Use `isAttached`
instead.

 </note>
@return [String]

@!attribute [rw] gb_in_use

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

<note markdown="1"> In releases prior to November 14, 2017, this parameter was not
included in the API response. It is now deprecated.

 </note>
@return [Integer]

@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Disk AWS API Documentation

Constants

SENSITIVE