NAME

Paws::Lightsail::Disk

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::Lightsail::Disk object:

$service_obj->Method(Att1 => { AddOns => $value, ..., Tags => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::Disk object:

$result = $service_obj->Method(...);
$result->Att1->AddOns

DESCRIPTION

Describes a system disk or a block storage disk.

ATTRIBUTES

AddOns => ArrayRef[Paws::Lightsail::AddOn]

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

Arn => Str

The Amazon Resource Name (ARN) of the disk.

AttachedTo => Str

The resources to which the disk is attached.

AttachmentState => Str

(Deprecated) The attachment state of the disk.

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.

CreatedAt => Str

The date when the disk was created.

GbInUse => Int

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

In releases prior to November 14, 2017, this parameter was not included in the API response. It is now deprecated.

Iops => Int

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

IsAttached => Bool

A Boolean value indicating whether the disk is attached.

IsSystemDisk => Bool

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

Location => Paws::Lightsail::ResourceLocation

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

Name => Str

The unique name of the disk.

Path => Str

The disk path.

ResourceType => Str

The Lightsail resource type (e.g., Disk).

SizeInGb => Int

The size of the disk in GB.

State => Str

Describes the status of the disk.

SupportCode => Str

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.

Tags => ArrayRef[Paws::Lightsail::Tag]

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).

SEE ALSO

This class forms part of Paws, describing an object used in Paws::Lightsail

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues