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 File Systems in Oracle Cloud Infrastructure File Storage service. * * Lists the file system resources in the specified compartment, or by the specified compartment and * file system snapshot policy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testFileSystems = oci.filestorage.getFileSystems({ * availabilityDomain: fileSystemAvailabilityDomain, * compartmentId: compartmentId, * displayName: fileSystemDisplayName, * filesystemSnapshotPolicyId: testFilesystemSnapshotPolicy.id, * id: fileSystemId, * parentFileSystemId: testFileSystem.id, * sourceSnapshotId: testSnapshot.id, * state: fileSystemState, * }); * ``` */ export declare function getFileSystems(args: GetFileSystemsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getFileSystems. */ export interface GetFileSystemsArgs { /** * The name of the availability domain. Example: `Uocm:PHX-AD-1` */ availabilityDomain: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; /** * A user-friendly name. It does not have to be unique, and it is changeable. Example: `My resource` */ displayName?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system snapshot policy that is associated with the file systems. */ filesystemSnapshotPolicyId?: string; filters?: inputs.FileStorage.GetFileSystemsFilter[]; /** * 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; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system that contains the source snapshot of a cloned file system. See [Cloning a File System](https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). */ parentFileSystemId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the snapshot used to create a cloned file system. See [Cloning a File System](https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). */ sourceSnapshotId?: 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 getFileSystems. */ export interface GetFileSystemsResult { /** * The availability domain the file system is in. May be unset as a blank or NULL value. Example: `Uocm:PHX-AD-1` */ readonly availabilityDomain: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the file system. */ readonly compartmentId: string; /** * A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `My file system` */ readonly displayName?: string; /** * The list of file_systems. */ readonly fileSystems: outputs.FileStorage.GetFileSystemsFileSystem[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots. */ readonly filesystemSnapshotPolicyId?: string; readonly filters?: outputs.FileStorage.GetFileSystemsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system. */ readonly id?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system that contains the source snapshot of a cloned file system. See [Cloning a File System](https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). */ readonly parentFileSystemId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source snapshot used to create a cloned file system. See [Cloning a File System](https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). */ readonly sourceSnapshotId?: string; /** * The current state of the file system. */ readonly state?: string; } /** * This data source provides the list of File Systems in Oracle Cloud Infrastructure File Storage service. * * Lists the file system resources in the specified compartment, or by the specified compartment and * file system snapshot policy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testFileSystems = oci.filestorage.getFileSystems({ * availabilityDomain: fileSystemAvailabilityDomain, * compartmentId: compartmentId, * displayName: fileSystemDisplayName, * filesystemSnapshotPolicyId: testFilesystemSnapshotPolicy.id, * id: fileSystemId, * parentFileSystemId: testFileSystem.id, * sourceSnapshotId: testSnapshot.id, * state: fileSystemState, * }); * ``` */ export declare function getFileSystemsOutput(args: GetFileSystemsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getFileSystems. */ export interface GetFileSystemsOutputArgs { /** * The name of the availability domain. Example: `Uocm:PHX-AD-1` */ availabilityDomain: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * A user-friendly name. It does not have to be unique, and it is changeable. Example: `My resource` */ displayName?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system snapshot policy that is associated with the file systems. */ filesystemSnapshotPolicyId?: pulumi.Input; filters?: pulumi.Input[] | 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; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system that contains the source snapshot of a cloned file system. See [Cloning a File System](https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). */ parentFileSystemId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the snapshot used to create a cloned file system. See [Cloning a File System](https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). */ sourceSnapshotId?: pulumi.Input; /** * Filter results by the specified lifecycle state. Must be a valid state for the resource type. */ state?: pulumi.Input; } //# sourceMappingURL=getFileSystems.d.ts.map