oci.Redis.OciCacheUser
Explore with Pulumi AI
This resource provides the Oci Cache User resource in Oracle Cloud Infrastructure Redis service.
Creates a new Oracle Cloud Infrastructure Cache user. Oracle Cloud Infrastructure Cache user is required to authenticate to Oracle Cloud Infrastructure Cache cluster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOciCacheUser = new oci.redis.OciCacheUser("test_oci_cache_user", {
aclString: ociCacheUserAclString,
authenticationMode: {
authenticationType: ociCacheUserAuthenticationModeAuthenticationType,
hashedPasswords: ociCacheUserAuthenticationModeHashedPasswords,
},
compartmentId: compartmentId,
description: ociCacheUserDescription,
name: ociCacheUserName,
definedTags: {
"foo-namespace.bar-key": "value",
},
freeformTags: {
"bar-key": "value",
},
status: ociCacheUserStatus,
});
import pulumi
import pulumi_oci as oci
test_oci_cache_user = oci.redis.OciCacheUser("test_oci_cache_user",
acl_string=oci_cache_user_acl_string,
authentication_mode={
"authentication_type": oci_cache_user_authentication_mode_authentication_type,
"hashed_passwords": oci_cache_user_authentication_mode_hashed_passwords,
},
compartment_id=compartment_id,
description=oci_cache_user_description,
name=oci_cache_user_name,
defined_tags={
"foo-namespace.bar-key": "value",
},
freeform_tags={
"bar-key": "value",
},
status=oci_cache_user_status)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/redis"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := redis.NewOciCacheUser(ctx, "test_oci_cache_user", &redis.OciCacheUserArgs{
AclString: pulumi.Any(ociCacheUserAclString),
AuthenticationMode: &redis.OciCacheUserAuthenticationModeArgs{
AuthenticationType: pulumi.Any(ociCacheUserAuthenticationModeAuthenticationType),
HashedPasswords: pulumi.Any(ociCacheUserAuthenticationModeHashedPasswords),
},
CompartmentId: pulumi.Any(compartmentId),
Description: pulumi.Any(ociCacheUserDescription),
Name: pulumi.Any(ociCacheUserName),
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
FreeformTags: pulumi.StringMap{
"bar-key": pulumi.String("value"),
},
Status: pulumi.Any(ociCacheUserStatus),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testOciCacheUser = new Oci.Redis.OciCacheUser("test_oci_cache_user", new()
{
AclString = ociCacheUserAclString,
AuthenticationMode = new Oci.Redis.Inputs.OciCacheUserAuthenticationModeArgs
{
AuthenticationType = ociCacheUserAuthenticationModeAuthenticationType,
HashedPasswords = ociCacheUserAuthenticationModeHashedPasswords,
},
CompartmentId = compartmentId,
Description = ociCacheUserDescription,
Name = ociCacheUserName,
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
FreeformTags =
{
{ "bar-key", "value" },
},
Status = ociCacheUserStatus,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Redis.OciCacheUser;
import com.pulumi.oci.Redis.OciCacheUserArgs;
import com.pulumi.oci.Redis.inputs.OciCacheUserAuthenticationModeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testOciCacheUser = new OciCacheUser("testOciCacheUser", OciCacheUserArgs.builder()
.aclString(ociCacheUserAclString)
.authenticationMode(OciCacheUserAuthenticationModeArgs.builder()
.authenticationType(ociCacheUserAuthenticationModeAuthenticationType)
.hashedPasswords(ociCacheUserAuthenticationModeHashedPasswords)
.build())
.compartmentId(compartmentId)
.description(ociCacheUserDescription)
.name(ociCacheUserName)
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.freeformTags(Map.of("bar-key", "value"))
.status(ociCacheUserStatus)
.build());
}
}
resources:
testOciCacheUser:
type: oci:Redis:OciCacheUser
name: test_oci_cache_user
properties:
aclString: ${ociCacheUserAclString}
authenticationMode:
authenticationType: ${ociCacheUserAuthenticationModeAuthenticationType}
hashedPasswords: ${ociCacheUserAuthenticationModeHashedPasswords}
compartmentId: ${compartmentId}
description: ${ociCacheUserDescription}
name: ${ociCacheUserName}
definedTags:
foo-namespace.bar-key: value
freeformTags:
bar-key: value
status: ${ociCacheUserStatus}
Create OciCacheUser Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OciCacheUser(name: string, args: OciCacheUserArgs, opts?: CustomResourceOptions);
@overload
def OciCacheUser(resource_name: str,
args: OciCacheUserArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OciCacheUser(resource_name: str,
opts: Optional[ResourceOptions] = None,
acl_string: Optional[str] = None,
authentication_mode: Optional[OciCacheUserAuthenticationModeArgs] = None,
compartment_id: Optional[str] = None,
description: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
status: Optional[str] = None)
func NewOciCacheUser(ctx *Context, name string, args OciCacheUserArgs, opts ...ResourceOption) (*OciCacheUser, error)
public OciCacheUser(string name, OciCacheUserArgs args, CustomResourceOptions? opts = null)
public OciCacheUser(String name, OciCacheUserArgs args)
public OciCacheUser(String name, OciCacheUserArgs args, CustomResourceOptions options)
type: oci:Redis:OciCacheUser
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args OciCacheUserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args OciCacheUserArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OciCacheUserArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OciCacheUserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OciCacheUserArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var ociCacheUserResource = new Oci.Redis.OciCacheUser("ociCacheUserResource", new()
{
AclString = "string",
AuthenticationMode = new Oci.Redis.Inputs.OciCacheUserAuthenticationModeArgs
{
AuthenticationType = "string",
HashedPasswords = new[]
{
"string",
},
},
CompartmentId = "string",
Description = "string",
DefinedTags =
{
{ "string", "string" },
},
FreeformTags =
{
{ "string", "string" },
},
Name = "string",
Status = "string",
});
example, err := redis.NewOciCacheUser(ctx, "ociCacheUserResource", &redis.OciCacheUserArgs{
AclString: pulumi.String("string"),
AuthenticationMode: &redis.OciCacheUserAuthenticationModeArgs{
AuthenticationType: pulumi.String("string"),
HashedPasswords: pulumi.StringArray{
pulumi.String("string"),
},
},
CompartmentId: pulumi.String("string"),
Description: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
Status: pulumi.String("string"),
})
var ociCacheUserResource = new OciCacheUser("ociCacheUserResource", OciCacheUserArgs.builder()
.aclString("string")
.authenticationMode(OciCacheUserAuthenticationModeArgs.builder()
.authenticationType("string")
.hashedPasswords("string")
.build())
.compartmentId("string")
.description("string")
.definedTags(Map.of("string", "string"))
.freeformTags(Map.of("string", "string"))
.name("string")
.status("string")
.build());
oci_cache_user_resource = oci.redis.OciCacheUser("ociCacheUserResource",
acl_string="string",
authentication_mode={
"authentication_type": "string",
"hashed_passwords": ["string"],
},
compartment_id="string",
description="string",
defined_tags={
"string": "string",
},
freeform_tags={
"string": "string",
},
name="string",
status="string")
const ociCacheUserResource = new oci.redis.OciCacheUser("ociCacheUserResource", {
aclString: "string",
authenticationMode: {
authenticationType: "string",
hashedPasswords: ["string"],
},
compartmentId: "string",
description: "string",
definedTags: {
string: "string",
},
freeformTags: {
string: "string",
},
name: "string",
status: "string",
});
type: oci:Redis:OciCacheUser
properties:
aclString: string
authenticationMode:
authenticationType: string
hashedPasswords:
- string
compartmentId: string
definedTags:
string: string
description: string
freeformTags:
string: string
name: string
status: string
OciCacheUser Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The OciCacheUser resource accepts the following input properties:
- Acl
String string - (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
- Authentication
Mode OciCache User Authentication Mode - (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
- Compartment
Id string - (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
- Description string
- (Updatable) Description of Oracle Cloud Infrastructure cache user.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Name string
- Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
- Status string
(Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.
** 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
- Acl
String string - (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
- Authentication
Mode OciCache User Authentication Mode Args - (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
- Compartment
Id string - (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
- Description string
- (Updatable) Description of Oracle Cloud Infrastructure cache user.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Name string
- Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
- Status string
(Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.
** 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
- acl
String String - (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
- authentication
Mode OciCache User Authentication Mode - (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
- compartment
Id String - (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
- description String
- (Updatable) Description of Oracle Cloud Infrastructure cache user.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- name String
- Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
- status String
(Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.
** 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
- acl
String string - (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
- authentication
Mode OciCache User Authentication Mode - (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
- compartment
Id string - (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
- description string
- (Updatable) Description of Oracle Cloud Infrastructure cache user.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- name string
- Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
- status string
(Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.
** 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
- acl_
string str - (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
- authentication_
mode OciCache User Authentication Mode Args - (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
- compartment_
id str - (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
- description str
- (Updatable) Description of Oracle Cloud Infrastructure cache user.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- name str
- Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
- status str
(Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.
** 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
- acl
String String - (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
- authentication
Mode Property Map - (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
- compartment
Id String - (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
- description String
- (Updatable) Description of Oracle Cloud Infrastructure cache user.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- name String
- Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
- status String
(Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.
** 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
Outputs
All input properties are implicitly available as output properties. Additionally, the OciCacheUser resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- Oracle Cloud Infrastructure Cache user lifecycle state.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time, when the Oracle Cloud Infrastructure cache user was created.
- Time
Updated string - The date and time, when the Oracle Cloud Infrastructure cache user was updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- Oracle Cloud Infrastructure Cache user lifecycle state.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time, when the Oracle Cloud Infrastructure cache user was created.
- Time
Updated string - The date and time, when the Oracle Cloud Infrastructure cache user was updated.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- Oracle Cloud Infrastructure Cache user lifecycle state.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time, when the Oracle Cloud Infrastructure cache user was created.
- time
Updated String - The date and time, when the Oracle Cloud Infrastructure cache user was updated.
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- Oracle Cloud Infrastructure Cache user lifecycle state.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The date and time, when the Oracle Cloud Infrastructure cache user was created.
- time
Updated string - The date and time, when the Oracle Cloud Infrastructure cache user was updated.
- id str
- The provider-assigned unique ID for this managed resource.
- state str
- Oracle Cloud Infrastructure Cache user lifecycle state.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The date and time, when the Oracle Cloud Infrastructure cache user was created.
- time_
updated str - The date and time, when the Oracle Cloud Infrastructure cache user was updated.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- Oracle Cloud Infrastructure Cache user lifecycle state.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time, when the Oracle Cloud Infrastructure cache user was created.
- time
Updated String - The date and time, when the Oracle Cloud Infrastructure cache user was updated.
Look up Existing OciCacheUser Resource
Get an existing OciCacheUser resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: OciCacheUserState, opts?: CustomResourceOptions): OciCacheUser
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
acl_string: Optional[str] = None,
authentication_mode: Optional[OciCacheUserAuthenticationModeArgs] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
state: Optional[str] = None,
status: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> OciCacheUser
func GetOciCacheUser(ctx *Context, name string, id IDInput, state *OciCacheUserState, opts ...ResourceOption) (*OciCacheUser, error)
public static OciCacheUser Get(string name, Input<string> id, OciCacheUserState? state, CustomResourceOptions? opts = null)
public static OciCacheUser get(String name, Output<String> id, OciCacheUserState state, CustomResourceOptions options)
resources: _: type: oci:Redis:OciCacheUser get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Acl
String string - (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
- Authentication
Mode OciCache User Authentication Mode - (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
- Compartment
Id string - (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) Description of Oracle Cloud Infrastructure cache user.
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Name string
- Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
- State string
- Oracle Cloud Infrastructure Cache user lifecycle state.
- Status string
(Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.
** 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
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time, when the Oracle Cloud Infrastructure cache user was created.
- Time
Updated string - The date and time, when the Oracle Cloud Infrastructure cache user was updated.
- Acl
String string - (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
- Authentication
Mode OciCache User Authentication Mode Args - (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
- Compartment
Id string - (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) Description of Oracle Cloud Infrastructure cache user.
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Name string
- Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
- State string
- Oracle Cloud Infrastructure Cache user lifecycle state.
- Status string
(Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.
** 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
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time, when the Oracle Cloud Infrastructure cache user was created.
- Time
Updated string - The date and time, when the Oracle Cloud Infrastructure cache user was updated.
- acl
String String - (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
- authentication
Mode OciCache User Authentication Mode - (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
- compartment
Id String - (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) Description of Oracle Cloud Infrastructure cache user.
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- name String
- Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
- state String
- Oracle Cloud Infrastructure Cache user lifecycle state.
- status String
(Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.
** 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
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time, when the Oracle Cloud Infrastructure cache user was created.
- time
Updated String - The date and time, when the Oracle Cloud Infrastructure cache user was updated.
- acl
String string - (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
- authentication
Mode OciCache User Authentication Mode - (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
- compartment
Id string - (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
- (Updatable) Description of Oracle Cloud Infrastructure cache user.
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- name string
- Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
- state string
- Oracle Cloud Infrastructure Cache user lifecycle state.
- status string
(Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.
** 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
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The date and time, when the Oracle Cloud Infrastructure cache user was created.
- time
Updated string - The date and time, when the Oracle Cloud Infrastructure cache user was updated.
- acl_
string str - (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
- authentication_
mode OciCache User Authentication Mode Args - (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
- compartment_
id str - (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
- (Updatable) Description of Oracle Cloud Infrastructure cache user.
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- name str
- Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
- state str
- Oracle Cloud Infrastructure Cache user lifecycle state.
- status str
(Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.
** 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
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The date and time, when the Oracle Cloud Infrastructure cache user was created.
- time_
updated str - The date and time, when the Oracle Cloud Infrastructure cache user was updated.
- acl
String String - (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
- authentication
Mode Property Map - (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
- compartment
Id String - (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) Description of Oracle Cloud Infrastructure cache user.
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- name String
- Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
- state String
- Oracle Cloud Infrastructure Cache user lifecycle state.
- status String
(Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.
** 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
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time, when the Oracle Cloud Infrastructure cache user was created.
- time
Updated String - The date and time, when the Oracle Cloud Infrastructure cache user was updated.
Supporting Types
OciCacheUserAuthenticationMode, OciCacheUserAuthenticationModeArgs
- Authentication
Type string - (Updatable) This is Authentication Type of Oracle Cloud Infrastructure cache user
- Hashed
Passwords List<string> - (Updatable) SHA-256 hashed passwords for Oracle Cloud Infrastructure Cache user,required if authenticationType is set to PASSWORD.
- Authentication
Type string - (Updatable) This is Authentication Type of Oracle Cloud Infrastructure cache user
- Hashed
Passwords []string - (Updatable) SHA-256 hashed passwords for Oracle Cloud Infrastructure Cache user,required if authenticationType is set to PASSWORD.
- authentication
Type String - (Updatable) This is Authentication Type of Oracle Cloud Infrastructure cache user
- hashed
Passwords List<String> - (Updatable) SHA-256 hashed passwords for Oracle Cloud Infrastructure Cache user,required if authenticationType is set to PASSWORD.
- authentication
Type string - (Updatable) This is Authentication Type of Oracle Cloud Infrastructure cache user
- hashed
Passwords string[] - (Updatable) SHA-256 hashed passwords for Oracle Cloud Infrastructure Cache user,required if authenticationType is set to PASSWORD.
- authentication_
type str - (Updatable) This is Authentication Type of Oracle Cloud Infrastructure cache user
- hashed_
passwords Sequence[str] - (Updatable) SHA-256 hashed passwords for Oracle Cloud Infrastructure Cache user,required if authenticationType is set to PASSWORD.
- authentication
Type String - (Updatable) This is Authentication Type of Oracle Cloud Infrastructure cache user
- hashed
Passwords List<String> - (Updatable) SHA-256 hashed passwords for Oracle Cloud Infrastructure Cache user,required if authenticationType is set to PASSWORD.
Import
OciCacheUsers can be imported using the id
, e.g.
$ pulumi import oci:Redis/ociCacheUser:OciCacheUser test_oci_cache_user "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.