DatabaseToolsConnectionOracleDatabaseProxyClientUserName

class oci.database_tools.models.DatabaseToolsConnectionOracleDatabaseProxyClientUserName(**kwargs)

Bases: oci.database_tools.models.database_tools_connection_oracle_database_proxy_client.DatabaseToolsConnectionOracleDatabaseProxyClient

Proxy client information for user name based proxy authentication.

Attributes

PROXY_AUTHENTICATION_TYPE_NO_PROXY str(object=’’) -> str
PROXY_AUTHENTICATION_TYPE_USER_NAME str(object=’’) -> str
proxy_authentication_type [Required] Gets the proxy_authentication_type of this DatabaseToolsConnectionOracleDatabaseProxyClient.
roles Gets the roles of this DatabaseToolsConnectionOracleDatabaseProxyClientUserName.
user_name [Required] Gets the user_name of this DatabaseToolsConnectionOracleDatabaseProxyClientUserName.
user_password 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'
PROXY_AUTHENTICATION_TYPE_USER_NAME = 'USER_NAME'
__init__(**kwargs)

Initializes a new DatabaseToolsConnectionOracleDatabaseProxyClientUserName object with values from keyword arguments. The default value of the proxy_authentication_type attribute of this class is USER_NAME and 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”, “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.

proxy_authentication_type

[Required] Gets the proxy_authentication_type of this DatabaseToolsConnectionOracleDatabaseProxyClient. The proxy authentication type.

Allowed values for this property are: “USER_NAME”, “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
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]
user_name

[Required] Gets the user_name of this DatabaseToolsConnectionOracleDatabaseProxyClientUserName. The user name.

Returns:The user_name of this DatabaseToolsConnectionOracleDatabaseProxyClientUserName.
Return type:str
user_password

Gets the user_password of this DatabaseToolsConnectionOracleDatabaseProxyClientUserName.

Returns:The user_password of this DatabaseToolsConnectionOracleDatabaseProxyClientUserName.
Return type:oci.database_tools.models.DatabaseToolsUserPassword