AuthenticationMode¶
- class oci.redis.models.AuthenticationMode(**kwargs)¶
Bases:
objectThese are the Authentication details of an OCI cache user.
Attributes:
A constant which can be used with the authentication_type property of a AuthenticationMode.
A constant which can be used with the authentication_type property of a AuthenticationMode.
[Required] Gets the authentication_type of this AuthenticationMode.
Methods:
__init__(**kwargs)Initializes a new AuthenticationMode 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'¶
A constant which can be used with the authentication_type property of a AuthenticationMode. This constant has a value of “IAM”
- AUTHENTICATION_TYPE_PASSWORD = 'PASSWORD'¶
A constant which can be used with the authentication_type property of a AuthenticationMode. This constant has a value of “PASSWORD”
- __init__(**kwargs)¶
Initializes a new AuthenticationMode object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
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 AuthenticationMode. 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’.
- property 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.