IpMaxConnections

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

Bases: object

An object that species the maximum number of connections the listed IPs can make to a listener.

Methods

__init__(**kwargs) Initializes a new IpMaxConnections object with values from keyword arguments.

Attributes

ip_addresses [Required] Gets the ip_addresses of this IpMaxConnections.
max_connections [Required] Gets the max_connections of this IpMaxConnections.
__init__(**kwargs)

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

Parameters:
  • ip_addresses (list[str]) – The value to assign to the ip_addresses property of this IpMaxConnections.
  • max_connections (int) – The value to assign to the max_connections property of this IpMaxConnections.
ip_addresses

[Required] Gets the ip_addresses of this IpMaxConnections. Each element in the list should be valid IPv4 or IPv6 CIDR Block address. Example: ‘[“129.213.176.0/24”, “150.136.187.0/24”, “2002::1234:abcd:ffff:c0a8:101/64”]’

Returns:The ip_addresses of this IpMaxConnections.
Return type:list[str]
max_connections

[Required] Gets the max_connections of this IpMaxConnections. The maximum number of simultaneous connections that the specified IPs can make to the Listener. IPs without a maxConnections setting can make either defaultMaxConnections simultaneous connections to a listener or, if no defaultMaxConnections is specified, an unlimited number of simultaneous connections to a listener.

Returns:The max_connections of this IpMaxConnections.
Return type:int