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 Redis Clusters in Oracle Cloud Infrastructure Redis service. * * Lists the Oracle Cloud Infrastructure Cache clusters in the specified compartment. A cluster is a memory-based storage solution. For more information, see [OCI Cache](https://docs.cloud.oracle.com/iaas/Content/ocicache/home.htm). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRedisClusters = oci.redis.getRedisClusters({ * compartmentId: compartmentId, * displayName: redisClusterDisplayName, * id: redisClusterId, * state: redisClusterState, * }); * ``` */ export declare function getRedisClusters(args?: GetRedisClustersArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRedisClusters. */ export interface GetRedisClustersArgs { /** * The ID of the compartment in which to list resources. */ compartmentId?: string; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; filters?: inputs.Redis.GetRedisClustersFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster. */ id?: string; /** * A filter to return only resources their lifecycleState matches the given lifecycleState. */ state?: string; } /** * A collection of values returned by getRedisClusters. */ export interface GetRedisClustersResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the compartment that contains the cluster. */ readonly compartmentId?: string; /** * A user-friendly name of a cluster node. */ readonly displayName?: string; readonly filters?: outputs.Redis.GetRedisClustersFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster. */ readonly id?: string; /** * The list of redis_cluster_collection. */ readonly redisClusterCollections: outputs.Redis.GetRedisClustersRedisClusterCollection[]; /** * The current state of the cluster. */ readonly state?: string; } /** * This data source provides the list of Redis Clusters in Oracle Cloud Infrastructure Redis service. * * Lists the Oracle Cloud Infrastructure Cache clusters in the specified compartment. A cluster is a memory-based storage solution. For more information, see [OCI Cache](https://docs.cloud.oracle.com/iaas/Content/ocicache/home.htm). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRedisClusters = oci.redis.getRedisClusters({ * compartmentId: compartmentId, * displayName: redisClusterDisplayName, * id: redisClusterId, * state: redisClusterState, * }); * ``` */ export declare function getRedisClustersOutput(args?: GetRedisClustersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRedisClusters. */ export interface GetRedisClustersOutputArgs { /** * The ID of the compartment in which to list resources. */ compartmentId?: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster. */ id?: pulumi.Input; /** * A filter to return only resources their lifecycleState matches the given lifecycleState. */ state?: pulumi.Input; } //# sourceMappingURL=getRedisClusters.d.ts.map