TrafficDetectionRule Class

Ddos Custom Policy traffic detection rule.

Constructor

TrafficDetectionRule(*args: Any, **kwargs: Any)

Variables

Name Description
traffic_type

The traffic type (one of Tcp, Udp, TcpSyn) that the detection rule will be applied upon. Known values are: "Tcp", "Udp", and "TcpSyn".

packets_per_second
int

The customized packets per second threshold.

Attributes

packets_per_second

The customized packets per second threshold.

packets_per_second: int | None

traffic_type

The traffic type (one of Tcp, Udp, TcpSyn) that the detection rule will be applied upon. Known values are: "Tcp", "Udp", and "TcpSyn".

traffic_type: str | _models.DdosTrafficType | None