import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This data source provides the list of Snapshots in Oracle Cloud Infrastructure File Storage service.
 *
 * Lists snapshots of the specified file system, or by file system snapshot policy and compartment,
 * or by file system snapshot policy and file system.
 *
 * If file system ID is not specified, a file system snapshot policy ID and compartment ID must be specified.
 *
 * Users can only sort by time created when listing snapshots by file system snapshot policy ID and compartment ID
 * (sort by name is NOT supported for listing snapshots by policy and compartment).
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testSnapshots = oci.filestorage.getSnapshots({
 *     compartmentId: compartmentId,
 *     fileSystemId: testFileSystem.id,
 *     filesystemSnapshotPolicyId: testFilesystemSnapshotPolicy.id,
 *     id: snapshotId,
 *     state: snapshotState,
 * });
 * ```
 */
export declare function getSnapshots(args?: GetSnapshotsArgs, opts?: pulumi.InvokeOptions): Promise<GetSnapshotsResult>;
/**
 * A collection of arguments for invoking getSnapshots.
 */
export interface GetSnapshotsArgs {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
     */
    compartmentId?: string;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system.
     */
    fileSystemId?: string;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system snapshot policy that is used to create the snapshots.
     */
    filesystemSnapshotPolicyId?: string;
    filters?: inputs.FileStorage.GetSnapshotsFilter[];
    /**
     * Filter results by [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resouce type.
     */
    id?: string;
    /**
     * Filter results by the specified lifecycle state. Must be a valid state for the resource type.
     */
    state?: string;
}
/**
 * A collection of values returned by getSnapshots.
 */
export interface GetSnapshotsResult {
    readonly compartmentId?: string;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system from which the snapshot was created.
     */
    readonly fileSystemId?: string;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system snapshot policy that created this snapshot.
     */
    readonly filesystemSnapshotPolicyId?: string;
    readonly filters?: outputs.FileStorage.GetSnapshotsFilter[];
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the snapshot.
     */
    readonly id?: string;
    /**
     * The list of snapshots.
     */
    readonly snapshots: outputs.FileStorage.GetSnapshotsSnapshot[];
    /**
     * The current state of the snapshot.
     */
    readonly state?: string;
}
/**
 * This data source provides the list of Snapshots in Oracle Cloud Infrastructure File Storage service.
 *
 * Lists snapshots of the specified file system, or by file system snapshot policy and compartment,
 * or by file system snapshot policy and file system.
 *
 * If file system ID is not specified, a file system snapshot policy ID and compartment ID must be specified.
 *
 * Users can only sort by time created when listing snapshots by file system snapshot policy ID and compartment ID
 * (sort by name is NOT supported for listing snapshots by policy and compartment).
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testSnapshots = oci.filestorage.getSnapshots({
 *     compartmentId: compartmentId,
 *     fileSystemId: testFileSystem.id,
 *     filesystemSnapshotPolicyId: testFilesystemSnapshotPolicy.id,
 *     id: snapshotId,
 *     state: snapshotState,
 * });
 * ```
 */
export declare function getSnapshotsOutput(args?: GetSnapshotsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSnapshotsResult>;
/**
 * A collection of arguments for invoking getSnapshots.
 */
export interface GetSnapshotsOutputArgs {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system.
     */
    fileSystemId?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system snapshot policy that is used to create the snapshots.
     */
    filesystemSnapshotPolicyId?: pulumi.Input<string | undefined>;
    filters?: pulumi.Input<pulumi.Input<inputs.FileStorage.GetSnapshotsFilterArgs>[] | undefined>;
    /**
     * Filter results by [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resouce type.
     */
    id?: pulumi.Input<string | undefined>;
    /**
     * Filter results by the specified lifecycle state. Must be a valid state for the resource type.
     */
    state?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getSnapshots.d.ts.map