Show / Hide Table of Contents

Class OciCacheUser

An OCI cache user is required to connect to an OCI cache cluster.

Inheritance
object
OciCacheUser
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.RedisService.Models
Assembly: OCI.DotNetSDK.Redis.dll
Syntax
public class OciCacheUser

Properties

AclString

Declaration
[Required(ErrorMessage = "AclString is required.")]
[JsonProperty(PropertyName = "aclString")]
public string AclString { get; set; }
Property Value
Type Description
string

ACL string of OCI cache user.

Remarks

Required

AuthenticationMode

Declaration
[Required(ErrorMessage = "AuthenticationMode is required.")]
[JsonProperty(PropertyName = "authenticationMode")]
public AuthenticationMode AuthenticationMode { get; set; }
Property Value
Type Description
AuthenticationMode
Remarks

Required

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

OCI Cache user compartment ID.

Remarks

Required

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}}

Description

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

Description of OCI cache user.

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

OCI Cache user unique ID.

Remarks

Required

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public OciCacheUser.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
OciCacheUser.LifecycleStateEnum?

OCI Cache user lifecycle state.

Remarks

Required

Name

Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type Description
string

OCI Cache user name.

Remarks

Required

Status

Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public OciCacheUser.StatusEnum? Status { get; set; }
Property Value
Type Description
OciCacheUser.StatusEnum?

OCI Cache user status. ON enables and OFF disables the OCI cache user to login to the cluster.

Remarks

Required

SystemTags

Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}

TimeCreated

Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The date and time, when the OCI cache user was created.

TimeUpdated

Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The date and time, when the OCI cache user was updated.

In this article
Back to top