import * as pulumi from "@pulumi/pulumi"; /** * A snapshot is a backup method. Each snapshot is a backup of file storage at a specific point in time. If data is lost or a failure occurs, you can use snapshots to restore file storage and recover lost data * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const fileNASSnapshotDemo = new volcenginecc.filenas.Snapshot("FileNASSnapshotDemo", { * fileSystemId: "enas-apse1a059****", * snapshotName: "FileNASSnapshotDemo", * description: "FileNASSnapshotDemo description", * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:filenas/snapshot:Snapshot example "snapshot_id" * ``` */ export declare class Snapshot extends pulumi.CustomResource { /** * Get an existing Snapshot resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: SnapshotState, opts?: pulumi.CustomResourceOptions): Snapshot; /** * Returns true if the given object is an instance of Snapshot. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Snapshot; /** * Snapshot Creation Time */ readonly createdTime: pulumi.Output; /** * Snapshot Description */ readonly description: pulumi.Output; /** * File System ID */ readonly fileSystemId: pulumi.Output; /** * File System Name */ readonly fileSystemName: pulumi.Output; /** * Is encryption enabled. Currently only false is supported (not encrypted) */ readonly isEncrypt: pulumi.Output; /** * Snapshot Creation Progress */ readonly progress: pulumi.Output; /** * Snapshot Retention Period. Default is 2147483647 (permanent retention) */ readonly retentionDays: pulumi.Output; /** * Snapshot ID */ readonly snapshotId: pulumi.Output; /** * Snapshot Name */ readonly snapshotName: pulumi.Output; /** * Snapshot Type. Default is Manual (manual snapshot) */ readonly snapshotType: pulumi.Output; /** * File System Capacity (GiB) */ readonly sourceSize: pulumi.Output; /** * File System Version */ readonly sourceVersion: pulumi.Output; /** * Snapshot Status. Details: Progressing: Creating. Accomplished: Created successfully. Failed: Creation failed */ readonly status: pulumi.Output; /** * Availability Zone ID */ readonly zoneId: pulumi.Output; /** * Create a Snapshot resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: SnapshotArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Snapshot resources. */ export interface SnapshotState { /** * Snapshot Creation Time */ createdTime?: pulumi.Input; /** * Snapshot Description */ description?: pulumi.Input; /** * File System ID */ fileSystemId?: pulumi.Input; /** * File System Name */ fileSystemName?: pulumi.Input; /** * Is encryption enabled. Currently only false is supported (not encrypted) */ isEncrypt?: pulumi.Input; /** * Snapshot Creation Progress */ progress?: pulumi.Input; /** * Snapshot Retention Period. Default is 2147483647 (permanent retention) */ retentionDays?: pulumi.Input; /** * Snapshot ID */ snapshotId?: pulumi.Input; /** * Snapshot Name */ snapshotName?: pulumi.Input; /** * Snapshot Type. Default is Manual (manual snapshot) */ snapshotType?: pulumi.Input; /** * File System Capacity (GiB) */ sourceSize?: pulumi.Input; /** * File System Version */ sourceVersion?: pulumi.Input; /** * Snapshot Status. Details: Progressing: Creating. Accomplished: Created successfully. Failed: Creation failed */ status?: pulumi.Input; /** * Availability Zone ID */ zoneId?: pulumi.Input; } /** * The set of arguments for constructing a Snapshot resource. */ export interface SnapshotArgs { /** * Snapshot Description */ description?: pulumi.Input; /** * File System ID */ fileSystemId: pulumi.Input; /** * Snapshot Name */ snapshotName: pulumi.Input; }