import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::StorageEBS::Snapshot */ export declare function getSnapshot(args: GetSnapshotArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSnapshot. */ export interface GetSnapshotArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getSnapshot. */ export interface GetSnapshotResult { /** * Snapshot creation time. */ readonly creationTime: string; /** * Snapshot description. Default is empty. Length must be between 0 and 255 characters. */ readonly description: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Image ID */ readonly imageId: string; /** * Whether the snapshot has enabled ultra-fast availability. Value options: true: ultra-fast availability enabled. false: ultra-fast availability not enabled. */ readonly instantAccess: boolean; /** * Snapshot dump progress. */ readonly progress: number; /** * Name of the Project to which the snapshot will be added. Note: snapshots do not inherit the project of the cloud disk, so snapshots and cloud disks can belong to different projects. If you do not set ProjectName when creating the snapshot, it will be added to the default project. */ readonly projectName: string; /** * Snapshot retention period, in days. Value options: empty: retain snapshot permanently. 1~65536: specify retention days. Default is empty, which means retain snapshot permanently. Snapshot retention period is calculated from the snapshot creation time. */ readonly retentionDays: number; /** * Whether the snapshot is shared. */ readonly shared: boolean; /** * Snapshot consistency group ID. */ readonly snapshotGroupId: string; /** * Snapshot ID. */ readonly snapshotId: string; /** * Name of the created snapshot. Naming rules: length must be between 1 and 128 characters. Only Chinese characters, letters, numbers, underscores (_), hyphens (-), and periods (.) are allowed. To avoid conflicts with automatic snapshot names, the name cannot start with 'auto'. */ readonly snapshotName: string; /** * Snapshot type. The available values are: user: query manual snapshots. auto: query automatic snapshots. share: query shared snapshots. By default, all snapshots are queried. */ readonly snapshotType: string; /** * Snapshot status. Value options: available: available. creating: creating. rollbacking: rolling back. deleted: deleted. failed: error. */ readonly status: string; /** * Snapshot tag information. */ readonly tags: outputs.storageebs.GetSnapshotTag[]; /** * Cloud disk ID associated with the snapshot. */ readonly volumeId: string; /** * Cloud disk category. Value options: system: system disk. data: data disk. */ readonly volumeKind: string; /** * Cloud disk name. */ readonly volumeName: string; /** * Cloud disk size, in GiB. */ readonly volumeSize: number; /** * Cloud disk status. Value options: available: available, attaching: attaching, attached: attached, detaching: detaching, creating: creating, deleting: deleting, error: error, extending: expanding, "": cloud disk deleted. */ readonly volumeStatus: string; /** * Cloud disk type. Value options: ESSD*PL0: Ultra-fast SSD cloud disk, PL0 specification. ESSD*FlexPL: Ultra-fast SSD cloud disk, FlexPL specification. TSSD_TL0: Throughput SSD cloud disk */ readonly volumeType: string; /** * Availability zone ID where the snapshot is located. */ readonly zoneId: string; } /** * Data Source schema for Volcengine::StorageEBS::Snapshot */ export declare function getSnapshotOutput(args: GetSnapshotOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSnapshot. */ export interface GetSnapshotOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }