InstanceSnapshot class
Describes an instance snapshot.
Constructors
-
InstanceSnapshot({String? arn, DateTime? createdAt, List<
Disk> ? fromAttachedDisks, String? fromBlueprintId, String? fromBundleId, String? fromInstanceArn, String? fromInstanceName, bool? isFromAutoSnapshot, ResourceLocation? location, String? name, String? progress, ResourceType? resourceType, int? sizeInGb, InstanceSnapshotState? state, String? supportCode, List<Tag> ? tags}) -
InstanceSnapshot.fromJson(Map<
String, dynamic> json) -
factory
Properties
- arn → String?
-
The Amazon Resource Name (ARN) of the snapshot (e.g.,
arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE
).final - createdAt → DateTime?
-
The timestamp when the snapshot was created (e.g.,
1479907467.024
).final -
fromAttachedDisks
→ List<
Disk> ? -
An array of disk objects containing information about all block storage
disks.
final
- fromBlueprintId → String?
-
The blueprint ID from which you created the snapshot (e.g.,
os_debian_8_3
). A blueprint is a virtual private server (or instance) image used to create instances quickly.final - fromBundleId → String?
-
The bundle ID from which you created the snapshot (e.g.,
micro_1_0
).final - fromInstanceArn → String?
-
The Amazon Resource Name (ARN) of the instance from which the snapshot was
created (e.g.,
arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE
).final - fromInstanceName → String?
-
The instance from which the 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 region name and Availability Zone where you created the snapshot.
final
- name → String?
-
The name of the snapshot.
final
- progress → String?
-
The progress of the snapshot.
final
- resourceType → ResourceType?
-
The type of resource (usually
InstanceSnapshot
).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sizeInGb → int?
-
The size in GB of the SSD.
final
- state → InstanceSnapshotState?
-
The state the snapshot is in.
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