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 Replications in Oracle Cloud Infrastructure File Storage service. * * Lists the replication resources in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testReplications = oci.filestorage.getReplications({ * availabilityDomain: replicationAvailabilityDomain, * compartmentId: compartmentId, * displayName: replicationDisplayName, * fileSystemId: testFileSystem.id, * id: replicationId, * state: replicationState, * }); * ``` */ export declare function getReplications(args: GetReplicationsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getReplications. */ export interface GetReplicationsArgs { /** * 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 source file system. */ fileSystemId?: string; filters?: inputs.FileStorage.GetReplicationsFilter[]; /** * 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 getReplications. */ export interface GetReplicationsResult { /** * The availability domain the replication is in. The replication must be in the same availability domain as the source file system. 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 replication. */ readonly compartmentId: string; /** * A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `My replication` */ readonly displayName?: string; readonly fileSystemId?: string; readonly filters?: outputs.FileStorage.GetReplicationsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the replication. */ readonly id?: string; /** * The list of replications. */ readonly replications: outputs.FileStorage.GetReplicationsReplication[]; /** * The current state of this replication. This resource can be in a `FAILED` state if replication target is deleted instead of the replication resource. */ readonly state?: string; } /** * This data source provides the list of Replications in Oracle Cloud Infrastructure File Storage service. * * Lists the replication resources in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testReplications = oci.filestorage.getReplications({ * availabilityDomain: replicationAvailabilityDomain, * compartmentId: compartmentId, * displayName: replicationDisplayName, * fileSystemId: testFileSystem.id, * id: replicationId, * state: replicationState, * }); * ``` */ export declare function getReplicationsOutput(args: GetReplicationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getReplications. */ export interface GetReplicationsOutputArgs { /** * 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 source file system. */ fileSystemId?: 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=getReplications.d.ts.map