DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails¶
-
class
oci.database_tools.models.DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails(**kwargs)¶ Bases:
oci.database_tools.models.database_tools_connection_oracle_database_proxy_client_details.DatabaseToolsConnectionOracleDatabaseProxyClientDetailsProxy client information for user name based proxy authentication.
Attributes
PROXY_AUTHENTICATION_TYPE_NO_PROXYstr(object=’’) -> str PROXY_AUTHENTICATION_TYPE_USER_NAMEstr(object=’’) -> str proxy_authentication_type[Required] Gets the proxy_authentication_type of this DatabaseToolsConnectionOracleDatabaseProxyClientDetails. rolesGets the roles of this DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails. user_name[Required] Gets the user_name of this DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails. user_passwordGets the user_password of this DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails. Methods
__init__(**kwargs)Initializes a new DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails 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 DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails 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 DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails. Allowed values for this property are: “USER_NAME”, “NO_PROXY”
- user_name (str) – The value to assign to the user_name property of this DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails.
- user_password (oci.database_tools.models.DatabaseToolsUserPasswordDetails) – The value to assign to the user_password property of this DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails.
- roles (list[str]) – The value to assign to the roles property of this DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails.
-
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 DatabaseToolsConnectionOracleDatabaseProxyClientDetails. The proxy authentication type.
Allowed values for this property are: “USER_NAME”, “NO_PROXY”
Returns: The proxy_authentication_type of this DatabaseToolsConnectionOracleDatabaseProxyClientDetails. Return type: str
-
roles¶ Gets the roles of this DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails. 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 DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails. Return type: list[str]
-
user_name¶ [Required] Gets the user_name of this DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails. The user name.
Returns: The user_name of this DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails. Return type: str
-
user_password¶ Gets the user_password of this DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails.
Returns: The user_password of this DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails. Return type: oci.database_tools.models.DatabaseToolsUserPasswordDetails
-