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 max number of connections that the specified IPs can make to the Listener.

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