import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Oci Cache User Get Redis Cluster resource in Oracle Cloud Infrastructure Redis service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/redis/latest/OciCacheUserGetRedisCluster * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/redis * * Gets a list of associated redis cluster for an Oracle Cloud Infrastructure cache user. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOciCacheUserGetRedisCluster = new oci.redis.OciCacheUserGetRedisCluster("test_oci_cache_user_get_redis_cluster", { * ociCacheUserId: testOciCacheUser.id, * compartmentId: compartmentId, * displayName: ociCacheUserGetRedisClusterDisplayName, * }); * ``` * * ## Import * * Import is not supported for this resource. */ export declare class OciCacheUserGetRedisCluster extends pulumi.CustomResource { /** * Get an existing OciCacheUserGetRedisCluster resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: OciCacheUserGetRedisClusterState, opts?: pulumi.CustomResourceOptions): OciCacheUserGetRedisCluster; /** * Returns true if the given object is an instance of OciCacheUserGetRedisCluster. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is OciCacheUserGetRedisCluster; /** * The ID of the compartment in which to list resources. */ readonly compartmentId: pulumi.Output; /** * A filter to return only resources that match the entire display name given. */ readonly displayName: pulumi.Output; readonly ociCacheClusters: pulumi.Output; /** * A filter to return only resources, that match with the given Oracle Cloud Infrastructure cache user ID (OCID). * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly ociCacheUserId: pulumi.Output; /** * Create a OciCacheUserGetRedisCluster resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: OciCacheUserGetRedisClusterArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OciCacheUserGetRedisCluster resources. */ export interface OciCacheUserGetRedisClusterState { /** * 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; ociCacheClusters?: pulumi.Input[] | undefined>; /** * A filter to return only resources, that match with the given Oracle Cloud Infrastructure cache user ID (OCID). * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ ociCacheUserId?: pulumi.Input; } /** * The set of arguments for constructing a OciCacheUserGetRedisCluster resource. */ export interface OciCacheUserGetRedisClusterArgs { /** * 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; /** * A filter to return only resources, that match with the given Oracle Cloud Infrastructure cache user ID (OCID). * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ ociCacheUserId: pulumi.Input; } //# sourceMappingURL=ociCacheUserGetRedisCluster.d.ts.map