import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Filesystem Snapshot Policy resource in Oracle Cloud Infrastructure File Storage service. * * Gets the specified file system snapshot policy's information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testFilesystemSnapshotPolicy = oci.filestorage.getFilesystemSnapshotPolicy({ * filesystemSnapshotPolicyId: testFilesystemSnapshotPolicyOciFileStorageFilesystemSnapshotPolicy.id, * }); * ``` */ export declare function getFilesystemSnapshotPolicy(args: GetFilesystemSnapshotPolicyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getFilesystemSnapshotPolicy. */ export interface GetFilesystemSnapshotPolicyArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system snapshot policy. */ filesystemSnapshotPolicyId: string; } /** * A collection of values returned by getFilesystemSnapshotPolicy. */ export interface GetFilesystemSnapshotPolicyResult { /** * 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; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: 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; readonly filesystemSnapshotPolicyId: string; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system snapshot policy. */ readonly id: string; readonly isLockOverride: boolean; /** * Locks associated with this resource. */ readonly locks: outputs.FileStorage.GetFilesystemSnapshotPolicyLock[]; /** * The prefix to apply to all snapshots created by this policy. Example: `acme` */ readonly policyPrefix: string; /** * The list of associated snapshot schedules. A maximum of 10 schedules can be associated with a policy. */ readonly schedules: outputs.FileStorage.GetFilesystemSnapshotPolicySchedule[]; /** * The current state of this file system snapshot policy. */ readonly state: string; /** * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. */ readonly systemTags: { [key: string]: string; }; /** * The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` */ readonly timeCreated: string; } /** * This data source provides details about a specific Filesystem Snapshot Policy resource in Oracle Cloud Infrastructure File Storage service. * * Gets the specified file system snapshot policy's information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testFilesystemSnapshotPolicy = oci.filestorage.getFilesystemSnapshotPolicy({ * filesystemSnapshotPolicyId: testFilesystemSnapshotPolicyOciFileStorageFilesystemSnapshotPolicy.id, * }); * ``` */ export declare function getFilesystemSnapshotPolicyOutput(args: GetFilesystemSnapshotPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getFilesystemSnapshotPolicy. */ export interface GetFilesystemSnapshotPolicyOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system snapshot policy. */ filesystemSnapshotPolicyId: pulumi.Input; } //# sourceMappingURL=getFilesystemSnapshotPolicy.d.ts.map