DatabaseToolsConnectionOracleDatabaseProxyClientUserNameAutoDetect¶
- class oci.database_tools.models.DatabaseToolsConnectionOracleDatabaseProxyClientUserNameAutoDetect(**kwargs)¶
Bases:
DatabaseToolsConnectionOracleDatabaseProxyClientProxy client information for user name auto detect 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 DatabaseToolsConnectionOracleDatabaseProxyClientUserNameAutoDetect.
Methods:
__init__(**kwargs)Initializes a new DatabaseToolsConnectionOracleDatabaseProxyClientUserNameAutoDetect 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 DatabaseToolsConnectionOracleDatabaseProxyClientUserNameAutoDetect object with values from keyword arguments. The default value of the
proxy_authentication_typeattribute of this class isUSER_NAME_AUTO_DETECTand 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 DatabaseToolsConnectionOracleDatabaseProxyClientUserNameAutoDetect. Allowed values for this property are: “USER_NAME”, “USER_NAME_AUTO_DETECT”, “NO_PROXY”
roles (list[str]) – The value to assign to the roles property of this DatabaseToolsConnectionOracleDatabaseProxyClientUserNameAutoDetect.
- 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 DatabaseToolsConnectionOracleDatabaseProxyClientUserNameAutoDetect. 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 DatabaseToolsConnectionOracleDatabaseProxyClientUserNameAutoDetect.
- Return type
list[str]