import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Use this data source to get information about an Amazon FSx for OpenZFS Snapshot for use when provisioning new Volumes. * * ## Example Usage * * ### Root volume Example * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.fsx.getOpenZfsSnapshot({ * filters: [{ * name: "volume-id", * values: ["fsvol-073a32b6098a73feb"], * }], * mostRecent: true, * }); * ``` */ export declare function getOpenZfsSnapshot(args?: GetOpenZfsSnapshotArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOpenZfsSnapshot. */ export interface GetOpenZfsSnapshotArgs { /** * Configuration block. Detailed below. */ filters?: inputs.fsx.GetOpenZfsSnapshotFilter[]; /** * If more than one result is returned, use the most recent snapshot. */ mostRecent?: boolean; /** * Name of the snapshot. */ name?: string; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: string; /** * Returns information on a specific snapshot_id. */ snapshotIds?: string[]; /** * List of Tag values, with a maximum of 50 elements. */ tags?: { [key: string]: string; }; } /** * A collection of values returned by getOpenZfsSnapshot. */ export interface GetOpenZfsSnapshotResult { /** * ARN of the snapshot. */ readonly arn: string; /** * Time that the resource was created. */ readonly creationTime: string; readonly filters?: outputs.fsx.GetOpenZfsSnapshotFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly mostRecent?: boolean; /** * Name of the snapshot. */ readonly name?: string; readonly region: string; /** * ID of the snapshot. */ readonly snapshotId: string; readonly snapshotIds?: string[]; /** * List of Tag values, with a maximum of 50 elements. */ readonly tags: { [key: string]: string; }; /** * ID of the volume that the snapshot is of. */ readonly volumeId: string; } /** * Use this data source to get information about an Amazon FSx for OpenZFS Snapshot for use when provisioning new Volumes. * * ## Example Usage * * ### Root volume Example * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.fsx.getOpenZfsSnapshot({ * filters: [{ * name: "volume-id", * values: ["fsvol-073a32b6098a73feb"], * }], * mostRecent: true, * }); * ``` */ export declare function getOpenZfsSnapshotOutput(args?: GetOpenZfsSnapshotOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOpenZfsSnapshot. */ export interface GetOpenZfsSnapshotOutputArgs { /** * Configuration block. Detailed below. */ filters?: pulumi.Input[] | undefined>; /** * If more than one result is returned, use the most recent snapshot. */ mostRecent?: pulumi.Input; /** * Name of the snapshot. */ name?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Returns information on a specific snapshot_id. */ snapshotIds?: pulumi.Input[] | undefined>; /** * List of Tag values, with a maximum of 50 elements. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=getOpenZfsSnapshot.d.ts.map