import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Redis Cluster Create Identity Token resource in Oracle Cloud Infrastructure Redis service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/redis/latest/RedisClusterCreateIdentityToken * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/redis * * Generates an identity token to sign in with the specified redis user for the redis cluster * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRedisClusterCreateIdentityToken = new oci.redis.RedisClusterCreateIdentityToken("test_redis_cluster_create_identity_token", { * publicKey: redisClusterCreateIdentityTokenPublicKey, * redisClusterId: testRedisCluster.id, * redisUser: redisClusterCreateIdentityTokenRedisUser, * }); * ``` * * ## Import * * Import is not supported for this resource. */ export declare class RedisClusterCreateIdentityToken extends pulumi.CustomResource { /** * Get an existing RedisClusterCreateIdentityToken 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?: RedisClusterCreateIdentityTokenState, opts?: pulumi.CustomResourceOptions): RedisClusterCreateIdentityToken; /** * Returns true if the given object is an instance of RedisClusterCreateIdentityToken. 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 RedisClusterCreateIdentityToken; readonly definedTags: pulumi.Output<{ [key: string]: string; } | undefined>; readonly freeformTags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Generated Identity token */ readonly identityToken: pulumi.Output; /** * User public key pair */ readonly publicKey: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster. */ readonly redisClusterId: pulumi.Output; /** * Redis User generating identity token. * * ** 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 redisUser: pulumi.Output; /** * Create a RedisClusterCreateIdentityToken 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: RedisClusterCreateIdentityTokenArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RedisClusterCreateIdentityToken resources. */ export interface RedisClusterCreateIdentityTokenState { definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Generated Identity token */ identityToken?: pulumi.Input; /** * User public key pair */ publicKey?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster. */ redisClusterId?: pulumi.Input; /** * Redis User generating identity token. * * ** 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 */ redisUser?: pulumi.Input; } /** * The set of arguments for constructing a RedisClusterCreateIdentityToken resource. */ export interface RedisClusterCreateIdentityTokenArgs { definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * User public key pair */ publicKey: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Oracle) of the cluster. */ redisClusterId: pulumi.Input; /** * Redis User generating identity token. * * ** 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 */ redisUser: pulumi.Input; } //# sourceMappingURL=redisClusterCreateIdentityToken.d.ts.map