DiskSnapshot class
Describes a block storage disk snapshot.
Constructors
-
DiskSnapshot({String? arn, DateTime? createdAt, String? fromDiskArn, String? fromDiskName, String? fromInstanceArn, String? fromInstanceName, bool? isFromAutoSnapshot, ResourceLocation? location, String? name, String? progress, ResourceType? resourceType, int? sizeInGb, DiskSnapshotState? state, String? supportCode, List<
Tag> ? tags}) -
DiskSnapshot.fromJson(Map<
String, dynamic> json) -
factory
Properties
- arn → String?
-
The Amazon Resource Name (ARN) of the disk snapshot.
final
- createdAt → DateTime?
-
The date when the disk snapshot was created.
final
- fromDiskArn → String?
-
The Amazon Resource Name (ARN) of the source disk from which the disk
snapshot was created.
final
- fromDiskName → String?
-
The unique name of the source disk from which the disk snapshot was created.
final
- fromInstanceArn → String?
-
The Amazon Resource Name (ARN) of the source instance from which the disk
(system volume) snapshot was created.
final
- fromInstanceName → String?
-
The unique name of the source instance from which the disk (system volume)
snapshot was created.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFromAutoSnapshot → bool?
-
A Boolean value indicating whether the snapshot was created from an
automatic snapshot.
final
- location → ResourceLocation?
-
The AWS Region and Availability Zone where the disk snapshot was created.
final
- name → String?
-
The name of the disk snapshot (e.g.,
my-disk-snapshot
).final - progress → String?
-
The progress of the disk snapshot operation.
final
- resourceType → ResourceType?
-
The Lightsail resource type (e.g.,
DiskSnapshot
).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 → DiskSnapshotState?
-
The status of the disk snapshot operation.
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
-
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