Class CreateOciCacheUserDetails
Details required to create a new OCI cache user.
Inherited Members
Namespace: Oci.RedisService.Models
Assembly: OCI.DotNetSDK.Redis.dll
Syntax
public class CreateOciCacheUserDetails
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
[Required(ErrorMessage = "Description is required.")]
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | Description of OCI cache user. |
Remarks
Required
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"} |
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | OCI cache user name is required to connect to an OCI cache cluster. |
Remarks
Required
Status
Declaration
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(StringEnumConverter))]
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 associated clusters. Default value is ON. |