Disk
¶
Source code in docs_src/capo_lightsail/types/disk.py
add_ons
instance-attribute
¶
add_ons: NotRequired[AddOnList]
An array of objects representing the add-ons enabled on the disk.
arn
instance-attribute
¶
arn: NotRequired[NonEmptyString]
The Amazon Resource Name (ARN) of the disk.
attached_to
instance-attribute
¶
attached_to: NotRequired[ResourceName]
The resources to which the disk is attached.
attachment_state
instance-attribute
¶
attachment_state: NotRequired[string]
(Discontinued) 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 discontinued, but still included in the response. Use isAttached instead.
auto_mount_status
instance-attribute
¶
auto_mount_status: NotRequired[AutoMountStatus]
The status of automatically mounting a storage disk to a virtual computer.
This parameter only applies to Lightsail for Research resources.
created_at
instance-attribute
¶
created_at: NotRequired[IsoDate]
The date when the disk was created.
gb_in_use
instance-attribute
¶
gb_in_use: NotRequired[integer]
(Discontinued) 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 discontinued.
iops
instance-attribute
¶
iops: NotRequired[integer]
The input/output operations per second (IOPS) of the disk.
is_attached
instance-attribute
¶
is_attached: NotRequired[boolean]
A Boolean value indicating whether the disk is attached.
is_system_disk
instance-attribute
¶
is_system_disk: NotRequired[boolean]
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
location
instance-attribute
¶
location: NotRequired[ResourceLocation]
The AWS Region and Availability Zone where the disk is located.
resource_type
instance-attribute
¶
resource_type: NotRequired[ResourceType]
The Lightsail resource type (Disk).
support_code
instance-attribute
¶
support_code: NotRequired[string]
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
instance-attribute
¶
tags: NotRequired[TagList]
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.