import { _ResourceLocation, _UnmarshalledResourceLocation } from "./_ResourceLocation"; import { _Tag, _UnmarshalledTag } from "./_Tag"; import { _Disk, _UnmarshalledDisk } from "./_Disk"; /** *

Describes the snapshot of the virtual private server, or instance.

*/ export interface _InstanceSnapshot { /** *

The name of the snapshot.

*/ name?: string; /** *

The Amazon Resource Name (ARN) of the snapshot (e.g., arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE).

*/ arn?: 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.

*/ supportCode?: string; /** *

The timestamp when the snapshot was created (e.g., 1479907467.024).

*/ createdAt?: Date | string | number; /** *

The region name and Availability Zone where you created the snapshot.

*/ location?: _ResourceLocation; /** *

The type of resource (usually InstanceSnapshot).

*/ resourceType?: "Instance" | "StaticIp" | "KeyPair" | "InstanceSnapshot" | "Domain" | "PeeredVpc" | "LoadBalancer" | "LoadBalancerTlsCertificate" | "Disk" | "DiskSnapshot" | "RelationalDatabase" | "RelationalDatabaseSnapshot" | "ExportSnapshotRecord" | "CloudFormationStackRecord" | string; /** *

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

*/ tags?: Array<_Tag> | Iterable<_Tag>; /** *

The state the snapshot is in.

*/ state?: "pending" | "error" | "available" | string; /** *

The progress of the snapshot.

*/ progress?: string; /** *

An array of disk objects containing information about all block storage disks.

*/ fromAttachedDisks?: Array<_Disk> | Iterable<_Disk>; /** *

The instance from which the snapshot was created.

*/ fromInstanceName?: 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).

*/ fromInstanceArn?: 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.

*/ fromBlueprintId?: string; /** *

The bundle ID from which you created the snapshot (e.g., micro_1_0).

*/ fromBundleId?: string; /** *

The size in GB of the SSD.

*/ sizeInGb?: number; } export interface _UnmarshalledInstanceSnapshot extends _InstanceSnapshot { /** *

The timestamp when the snapshot was created (e.g., 1479907467.024).

*/ createdAt?: Date; /** *

The region name and Availability Zone where you created the snapshot.

*/ location?: _UnmarshalledResourceLocation; /** *

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

*/ tags?: Array<_UnmarshalledTag>; /** *

An array of disk objects containing information about all block storage disks.

*/ fromAttachedDisks?: Array<_UnmarshalledDisk>; }