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 Filesystem Snapshot Policies in Oracle Cloud Infrastructure File Storage service. * * Lists file system snapshot policies in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testFilesystemSnapshotPolicies = oci.filestorage.getFilesystemSnapshotPolicies({ * availabilityDomain: filesystemSnapshotPolicyAvailabilityDomain, * compartmentId: compartmentId, * displayName: filesystemSnapshotPolicyDisplayName, * id: filesystemSnapshotPolicyId, * state: filesystemSnapshotPolicyState, * }); * ``` */ export declare function getFilesystemSnapshotPolicies(args: GetFilesystemSnapshotPoliciesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getFilesystemSnapshotPolicies. */ export interface GetFilesystemSnapshotPoliciesArgs { /** * 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; filters?: inputs.FileStorage.GetFilesystemSnapshotPoliciesFilter[]; /** * 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 getFilesystemSnapshotPolicies. */ export interface GetFilesystemSnapshotPoliciesResult { /** * The availability domain that the file system snapshot policy is in. May be unset using a blank or NULL value. Example: `Uocm:PHX-AD-2` */ readonly availabilityDomain: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the file system snapshot policy. */ readonly compartmentId: string; /** * A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `My Filesystem Snapshot Policy` */ readonly displayName?: string; /** * The list of filesystem_snapshot_policies. */ readonly filesystemSnapshotPolicies: outputs.FileStorage.GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicy[]; readonly filters?: outputs.FileStorage.GetFilesystemSnapshotPoliciesFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system snapshot policy. */ readonly id?: string; /** * The current state of this file system snapshot policy. */ readonly state?: string; } /** * This data source provides the list of Filesystem Snapshot Policies in Oracle Cloud Infrastructure File Storage service. * * Lists file system snapshot policies in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testFilesystemSnapshotPolicies = oci.filestorage.getFilesystemSnapshotPolicies({ * availabilityDomain: filesystemSnapshotPolicyAvailabilityDomain, * compartmentId: compartmentId, * displayName: filesystemSnapshotPolicyDisplayName, * id: filesystemSnapshotPolicyId, * state: filesystemSnapshotPolicyState, * }); * ``` */ export declare function getFilesystemSnapshotPoliciesOutput(args: GetFilesystemSnapshotPoliciesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getFilesystemSnapshotPolicies. */ export interface GetFilesystemSnapshotPoliciesOutputArgs { /** * 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; 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; /** * Filter results by the specified lifecycle state. Must be a valid state for the resource type. */ state?: pulumi.Input; } //# sourceMappingURL=getFilesystemSnapshotPolicies.d.ts.map