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 Replication Targets in Oracle Cloud Infrastructure File Storage service. * * Lists the replication target resources in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testReplicationTargets = oci.filestorage.getReplicationTargets({ * availabilityDomain: replicationTargetAvailabilityDomain, * compartmentId: compartmentId, * displayName: replicationTargetDisplayName, * id: replicationTargetId, * state: replicationTargetState, * }); * ``` */ export declare function getReplicationTargets(args: GetReplicationTargetsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getReplicationTargets. */ export interface GetReplicationTargetsArgs { /** * 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.GetReplicationTargetsFilter[]; /** * 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 getReplicationTargets. */ export interface GetReplicationTargetsResult { /** * The availability domain the replication target is in. Must be in the same availability domain as the target 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. This name is same as the replication display name for the associated resource. Example: `My Replication` */ readonly displayName?: string; readonly filters?: outputs.FileStorage.GetReplicationTargetsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the replication target. */ readonly id?: string; /** * The list of replication_targets. */ readonly replicationTargets: outputs.FileStorage.GetReplicationTargetsReplicationTarget[]; /** * The current state of this replication. */ readonly state?: string; } /** * This data source provides the list of Replication Targets in Oracle Cloud Infrastructure File Storage service. * * Lists the replication target resources in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testReplicationTargets = oci.filestorage.getReplicationTargets({ * availabilityDomain: replicationTargetAvailabilityDomain, * compartmentId: compartmentId, * displayName: replicationTargetDisplayName, * id: replicationTargetId, * state: replicationTargetState, * }); * ``` */ export declare function getReplicationTargetsOutput(args: GetReplicationTargetsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getReplicationTargets. */ export interface GetReplicationTargetsOutputArgs { /** * 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=getReplicationTargets.d.ts.map