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

Describes a block storage disk snapshot.

*/ export interface _DiskSnapshot { /** *

The name of the disk snapshot (e.g., my-disk-snapshot).

*/ name?: string; /** *

The Amazon Resource Name (ARN) of the disk snapshot.

*/ 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 date when the disk snapshot was created.

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

The AWS Region and Availability Zone where the disk snapshot was created.

*/ location?: _ResourceLocation; /** *

The Lightsail resource type (e.g., DiskSnapshot).

*/ 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 size of the disk in GB.

*/ sizeInGb?: number; /** *

The status of the disk snapshot operation.

*/ state?: "pending" | "completed" | "error" | "unknown" | string; /** *

The progress of the disk snapshot operation.

*/ progress?: string; /** *

The unique name of the source disk from which the disk snapshot was created.

*/ fromDiskName?: string; /** *

The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was created.

*/ fromDiskArn?: string; /** *

The unique name of the source instance from which the disk (system volume) snapshot was created.

*/ fromInstanceName?: string; /** *

The Amazon Resource Name (ARN) of the source instance from which the disk (system volume) snapshot was created.

*/ fromInstanceArn?: string; } export interface _UnmarshalledDiskSnapshot extends _DiskSnapshot { /** *

The date when the disk snapshot was created.

*/ createdAt?: Date; /** *

The AWS Region and Availability Zone where the disk snapshot was created.

*/ 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>; }