import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Redis Cluster Attach Oci Cache User resource in Oracle Cloud Infrastructure Redis service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/redis/latest/RedisClusterAttachOciCacheUser * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/redis * * Attach existing Oracle Cloud Infrastructure cache users to a redis cluster. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRedisClusterAttachOciCacheUser = new oci.redis.RedisClusterAttachOciCacheUser("test_redis_cluster_attach_oci_cache_user", { * ociCacheUsers: redisClusterAttachOciCacheUserOciCacheUsers, * redisClusterId: testRedisCluster.id, * }); * ``` * * ## Import * * Import is not supported for this resource. */ export declare class RedisClusterAttachOciCacheUser extends pulumi.CustomResource { /** * Get an existing RedisClusterAttachOciCacheUser 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?: RedisClusterAttachOciCacheUserState, opts?: pulumi.CustomResourceOptions): RedisClusterAttachOciCacheUser; /** * Returns true if the given object is an instance of RedisClusterAttachOciCacheUser. 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 RedisClusterAttachOciCacheUser; /** * List of Oracle Cloud Infrastructure cache user unique IDs (OCIDs). */ readonly ociCacheUsers: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster. * * ** 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 redisClusterId: pulumi.Output; /** * Create a RedisClusterAttachOciCacheUser 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: RedisClusterAttachOciCacheUserArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RedisClusterAttachOciCacheUser resources. */ export interface RedisClusterAttachOciCacheUserState { /** * List of Oracle Cloud Infrastructure cache user unique IDs (OCIDs). */ ociCacheUsers?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster. * * ** 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 */ redisClusterId?: pulumi.Input; } /** * The set of arguments for constructing a RedisClusterAttachOciCacheUser resource. */ export interface RedisClusterAttachOciCacheUserArgs { /** * List of Oracle Cloud Infrastructure cache user unique IDs (OCIDs). */ ociCacheUsers: pulumi.Input[]>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster. * * ** 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 */ redisClusterId: pulumi.Input; } //# sourceMappingURL=redisClusterAttachOciCacheUser.d.ts.map