ConnectionConfiguration

class oci.load_balancer.models.ConnectionConfiguration(**kwargs)

Bases: object

Configuration details for the connection between the client and backend servers.

Attributes

BACKEND_TCP_PROXY_PROTOCOL_OPTIONS_PP2_TYPE_AUTHORITY A constant which can be used with the backend_tcp_proxy_protocol_options property of a ConnectionConfiguration.
backend_tcp_proxy_protocol_options Gets the backend_tcp_proxy_protocol_options of this ConnectionConfiguration.
backend_tcp_proxy_protocol_version Gets the backend_tcp_proxy_protocol_version of this ConnectionConfiguration.
idle_timeout [Required] Gets the idle_timeout of this ConnectionConfiguration.

Methods

__init__(**kwargs) Initializes a new ConnectionConfiguration object with values from keyword arguments.
BACKEND_TCP_PROXY_PROTOCOL_OPTIONS_PP2_TYPE_AUTHORITY = 'PP2_TYPE_AUTHORITY'

A constant which can be used with the backend_tcp_proxy_protocol_options property of a ConnectionConfiguration. This constant has a value of “PP2_TYPE_AUTHORITY”

__init__(**kwargs)

Initializes a new ConnectionConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • idle_timeout (int) – The value to assign to the idle_timeout property of this ConnectionConfiguration.
  • backend_tcp_proxy_protocol_version (int) – The value to assign to the backend_tcp_proxy_protocol_version property of this ConnectionConfiguration.
  • backend_tcp_proxy_protocol_options (list[str]) – The value to assign to the backend_tcp_proxy_protocol_options property of this ConnectionConfiguration. Allowed values for items in this list are: “PP2_TYPE_AUTHORITY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
backend_tcp_proxy_protocol_options

Gets the backend_tcp_proxy_protocol_options of this ConnectionConfiguration. An array that represents the PPV2 Options that can be enabled on TCP Listeners. Example: [“PP2_TYPE_AUTHORITY”]

Allowed values for items in this list are: “PP2_TYPE_AUTHORITY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The backend_tcp_proxy_protocol_options of this ConnectionConfiguration.
Return type:list[str]
backend_tcp_proxy_protocol_version

Gets the backend_tcp_proxy_protocol_version of this ConnectionConfiguration. The backend TCP Proxy Protocol version.

Example: 1

Returns:The backend_tcp_proxy_protocol_version of this ConnectionConfiguration.
Return type:int
idle_timeout

[Required] Gets the idle_timeout of this ConnectionConfiguration. The maximum idle time, in seconds, allowed between two successive receive or two successive send operations between the client and backend servers. A send operation does not reset the timer for receive operations. A receive operation does not reset the timer for send operations.

For more information, see Connection Configuration.

Example: 1200

Returns:The idle_timeout of this ConnectionConfiguration.
Return type:int