IamAuthenticationMode

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

Bases: oci.redis.models.authentication_mode.AuthenticationMode

child class of AuthenticationMode.

Attributes

AUTHENTICATION_TYPE_IAM str(object=’’) -> str
AUTHENTICATION_TYPE_PASSWORD str(object=’’) -> str
authentication_type [Required] Gets the authentication_type of this AuthenticationMode.

Methods

__init__(**kwargs) Initializes a new IamAuthenticationMode object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
AUTHENTICATION_TYPE_IAM = 'IAM'
AUTHENTICATION_TYPE_PASSWORD = 'PASSWORD'
__init__(**kwargs)

Initializes a new IamAuthenticationMode object with values from keyword arguments. The default value of the authentication_type attribute of this class is IAM and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:authentication_type (str) – The value to assign to the authentication_type property of this IamAuthenticationMode. Allowed values for this property are: “IAM”, “PASSWORD”
authentication_type

[Required] Gets the authentication_type of this AuthenticationMode. This is Authentication Type of OCI cache user

Allowed values for this property are: “IAM”, “PASSWORD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The authentication_type of this AuthenticationMode.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.