CreateOciCacheUserDetails

class oci.redis.models.CreateOciCacheUserDetails(**kwargs)

Bases: object

Details required to create a new OCI cache user.

Methods:

__init__(**kwargs)

Initializes a new CreateOciCacheUserDetails object with values from keyword arguments.

Attributes:

acl_string

[Required] Gets the acl_string of this CreateOciCacheUserDetails.

authentication_mode

[Required] Gets the authentication_mode of this CreateOciCacheUserDetails.

compartment_id

[Required] Gets the compartment_id of this CreateOciCacheUserDetails.

defined_tags

Gets the defined_tags of this CreateOciCacheUserDetails.

description

[Required] Gets the description of this CreateOciCacheUserDetails.

freeform_tags

Gets the freeform_tags of this CreateOciCacheUserDetails.

name

[Required] Gets the name of this CreateOciCacheUserDetails.

status

Gets the status of this CreateOciCacheUserDetails.

__init__(**kwargs)

Initializes a new CreateOciCacheUserDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • name (str) – The value to assign to the name property of this CreateOciCacheUserDetails.

  • description (str) – The value to assign to the description property of this CreateOciCacheUserDetails.

  • compartment_id (str) – The value to assign to the compartment_id property of this CreateOciCacheUserDetails.

  • authentication_mode (oci.redis.models.AuthenticationMode) – The value to assign to the authentication_mode property of this CreateOciCacheUserDetails.

  • acl_string (str) – The value to assign to the acl_string property of this CreateOciCacheUserDetails.

  • status (str) – The value to assign to the status property of this CreateOciCacheUserDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateOciCacheUserDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateOciCacheUserDetails.

property acl_string

[Required] Gets the acl_string of this CreateOciCacheUserDetails. ACL string of OCI cache user.

Returns

The acl_string of this CreateOciCacheUserDetails.

Return type

str

property authentication_mode

[Required] Gets the authentication_mode of this CreateOciCacheUserDetails.

Returns

The authentication_mode of this CreateOciCacheUserDetails.

Return type

oci.redis.models.AuthenticationMode

property compartment_id

[Required] Gets the compartment_id of this CreateOciCacheUserDetails. OCI cache user compartment ID.

Returns

The compartment_id of this CreateOciCacheUserDetails.

Return type

str

property defined_tags

Gets the defined_tags of this CreateOciCacheUserDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns

The defined_tags of this CreateOciCacheUserDetails.

Return type

dict(str, dict(str, object))

property description

[Required] Gets the description of this CreateOciCacheUserDetails. Description of OCI cache user.

Returns

The description of this CreateOciCacheUserDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this CreateOciCacheUserDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns

The freeform_tags of this CreateOciCacheUserDetails.

Return type

dict(str, str)

property name

[Required] Gets the name of this CreateOciCacheUserDetails. OCI cache user name is required to connect to an OCI cache cluster.

Returns

The name of this CreateOciCacheUserDetails.

Return type

str

property status

Gets the status of this CreateOciCacheUserDetails. OCI cache user status. ON enables and OFF disables the OCI cache user to login to the associated clusters. Default value is ON.

Returns

The status of this CreateOciCacheUserDetails.

Return type

str