DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails

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

Bases: DatabaseToolsConnectionOracleDatabaseProxyClientDetails

Proxy client information for user name based proxy authentication.

Attributes:

PROXY_AUTHENTICATION_TYPE_NO_PROXY

A constant which can be used with the proxy_authentication_type property of a DatabaseToolsConnectionOracleDatabaseProxyClientDetails.

PROXY_AUTHENTICATION_TYPE_USER_NAME

A constant which can be used with the proxy_authentication_type property of a DatabaseToolsConnectionOracleDatabaseProxyClientDetails.

PROXY_AUTHENTICATION_TYPE_USER_NAME_AUTO_DETECT

A constant which can be used with the proxy_authentication_type property of a DatabaseToolsConnectionOracleDatabaseProxyClientDetails.

proxy_authentication_type

[Required] Gets the proxy_authentication_type of this DatabaseToolsConnectionOracleDatabaseProxyClientDetails.

roles

Gets the roles of this DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails.

user_name

[Required] Gets the user_name of this DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails.

user_password

Gets 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'

A constant which can be used with the proxy_authentication_type property of a DatabaseToolsConnectionOracleDatabaseProxyClientDetails. 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 DatabaseToolsConnectionOracleDatabaseProxyClientDetails. 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 DatabaseToolsConnectionOracleDatabaseProxyClientDetails. This constant has a value of “USER_NAME_AUTO_DETECT”

__init__(**kwargs)

Initializes a new DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails 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 DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails. 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 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.

property proxy_authentication_type

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

Allowed values for this property are: “USER_NAME”, “USER_NAME_AUTO_DETECT”, “NO_PROXY”

Returns

The proxy_authentication_type of this DatabaseToolsConnectionOracleDatabaseProxyClientDetails.

Return type

str

property 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]

property user_name

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

Returns

The user_name of this DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails.

Return type

str

property user_password

Gets the user_password of this DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails.

Returns

The user_password of this DatabaseToolsConnectionOracleDatabaseProxyClientUserNameDetails.

Return type

oci.database_tools.models.DatabaseToolsUserPasswordDetails