Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace IpBasedMaxConnectionsRule

An object that represents the action of configuring an IP max connection rule which specifies how many connections IPs can make to a listener.

Properties

Const action

action: string = "IP_BASED_MAX_CONNECTIONS"

Optional defaultMaxConnections

defaultMaxConnections: undefined | number

The maximum number of connections that the any IP can make to a listener unless the IP is mentioned in maxConnections. If no defaultMaxConnections is specified the default is unlimited. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional ipMaxConnections

ipMaxConnections: Array<IpMaxConnections>

An array of IPs that have a maxConnection setting different than the default and what that maxConnection setting is

Methods

getDeserializedJsonObj

  • getDeserializedJsonObj(obj: Rule): object

getJsonObj

  • getJsonObj(obj: Rule): object