Disk class

Describes a system disk or a block storage disk.

Constructors

Disk({List<AddOn>? addOns, String? arn, String? attachedTo, String? attachmentState, DateTime? createdAt, int? gbInUse, int? iops, bool? isAttached, bool? isSystemDisk, ResourceLocation? location, String? name, String? path, ResourceType? resourceType, int? sizeInGb, DiskState? state, String? supportCode, List<Tag>? tags})
Disk.fromJson(Map<String, dynamic> json)
factory

Properties

addOns List<AddOn>?
An array of objects representing the add-ons enabled on the disk.
final
arn String?
The Amazon Resource Name (ARN) of the disk.
final
attachedTo String?
The resources to which the disk is attached.
final
attachmentState String?
(Deprecated) The attachment state of the disk.
final
createdAt DateTime?
The date when the disk was created.
final
gbInUse int?
(Deprecated) The number of GB in use by the disk.
final
hashCode int
The hash code for this object.
no setterinherited
iops int?
The input/output operations per second (IOPS) of the disk.
final
isAttached bool?
A Boolean value indicating whether the disk is attached.
final
isSystemDisk bool?
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
final
location ResourceLocation?
The AWS Region and Availability Zone where the disk is located.
final
name String?
The unique name of the disk.
final
path String?
The disk path.
final
resourceType ResourceType?
The Lightsail resource type (e.g., Disk).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizeInGb int?
The size of the disk in GB.
final
state DiskState?
Describes the status of the disk.
final
supportCode 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.
final
tags List<Tag>?
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited