DatabaseToolsConnectionOracleDatabaseProxyClientUserName¶
- class oci.database_tools.models.DatabaseToolsConnectionOracleDatabaseProxyClientUserName(**kwargs)¶
Bases:
DatabaseToolsConnectionOracleDatabaseProxyClientProxy client information for user name based proxy authentication.
Attributes:
A constant which can be used with the proxy_authentication_type property of a DatabaseToolsConnectionOracleDatabaseProxyClient.
A constant which can be used with the proxy_authentication_type property of a DatabaseToolsConnectionOracleDatabaseProxyClient.
A constant which can be used with the proxy_authentication_type property of a DatabaseToolsConnectionOracleDatabaseProxyClient.
[Required] Gets the proxy_authentication_type of this DatabaseToolsConnectionOracleDatabaseProxyClient.
Gets the roles of this DatabaseToolsConnectionOracleDatabaseProxyClientUserName.
[Required] Gets the user_name of this DatabaseToolsConnectionOracleDatabaseProxyClientUserName.
Gets the user_password of this DatabaseToolsConnectionOracleDatabaseProxyClientUserName.
Methods:
__init__(**kwargs)Initializes a new DatabaseToolsConnectionOracleDatabaseProxyClientUserName 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.
- PROXY_AUTHENTICATION_TYPE_NO_PROXY = 'NO_PROXY'¶
A constant which can be used with the proxy_authentication_type property of a DatabaseToolsConnectionOracleDatabaseProxyClient. This constant has a value of “NO_PROXY”
- PROXY_AUTHENTICATION_TYPE_USER_NAME = 'USER_NAME'¶
A constant which can be used with the proxy_authentication_type property of a DatabaseToolsConnectionOracleDatabaseProxyClient. This constant has a value of “USER_NAME”
- PROXY_AUTHENTICATION_TYPE_USER_NAME_AUTO_DETECT = 'USER_NAME_AUTO_DETECT'¶
A constant which can be used with the proxy_authentication_type property of a DatabaseToolsConnectionOracleDatabaseProxyClient. This constant has a value of “USER_NAME_AUTO_DETECT”
- __init__(**kwargs)¶
Initializes a new DatabaseToolsConnectionOracleDatabaseProxyClientUserName object with values from keyword arguments. The default value of the
proxy_authentication_typeattribute of this class isUSER_NAMEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
proxy_authentication_type (str) – The value to assign to the proxy_authentication_type property of this DatabaseToolsConnectionOracleDatabaseProxyClientUserName. Allowed values for this property are: “USER_NAME”, “USER_NAME_AUTO_DETECT”, “NO_PROXY”
user_name (str) – The value to assign to the user_name property of this DatabaseToolsConnectionOracleDatabaseProxyClientUserName.
user_password (oci.database_tools.models.DatabaseToolsUserPassword) – The value to assign to the user_password property of this DatabaseToolsConnectionOracleDatabaseProxyClientUserName.
roles (list[str]) – The value to assign to the roles property of this DatabaseToolsConnectionOracleDatabaseProxyClientUserName.
- 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.
- property proxy_authentication_type¶
[Required] Gets the proxy_authentication_type of this DatabaseToolsConnectionOracleDatabaseProxyClient. The proxy authentication type.
Allowed values for this property are: “USER_NAME”, “USER_NAME_AUTO_DETECT”, “NO_PROXY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The proxy_authentication_type of this DatabaseToolsConnectionOracleDatabaseProxyClient.
- Return type
str
- property roles¶
Gets the roles of this DatabaseToolsConnectionOracleDatabaseProxyClientUserName. A list of database roles for the client. These roles are enabled if the proxy is authorized to use the roles on behalf of the client.
- Returns
The roles of this DatabaseToolsConnectionOracleDatabaseProxyClientUserName.
- Return type
list[str]
- property user_name¶
[Required] Gets the user_name of this DatabaseToolsConnectionOracleDatabaseProxyClientUserName. The user name.
- Returns
The user_name of this DatabaseToolsConnectionOracleDatabaseProxyClientUserName.
- Return type
str
- property user_password¶
Gets the user_password of this DatabaseToolsConnectionOracleDatabaseProxyClientUserName.
- Returns
The user_password of this DatabaseToolsConnectionOracleDatabaseProxyClientUserName.
- Return type