WafRequest¶
-
class
oci.waas.models.WafRequest(**kwargs)¶ Bases:
objectA time series of request counts handled by the Web Application Firewall, including blocked requests.
Methods
__init__(**kwargs)Initializes a new WafRequest object with values from keyword arguments. Attributes
countGets the count of this WafRequest. time_observedGets the time_observed of this WafRequest. time_range_in_secondsGets the time_range_in_seconds of this WafRequest. -
__init__(**kwargs)¶ Initializes a new WafRequest object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - time_observed (datetime) – The value to assign to the time_observed property of this WafRequest.
- time_range_in_seconds (int) – The value to assign to the time_range_in_seconds property of this WafRequest.
- count (int) – The value to assign to the count property of this WafRequest.
-
count¶ Gets the count of this WafRequest. The total number of requests received in this time period.
Returns: The count of this WafRequest. Return type: int
-
time_observed¶ Gets the time_observed of this WafRequest. The date and time the traffic was observed, rounded down to the start of a range, and expressed in RFC 3339 timestamp format.
Returns: The time_observed of this WafRequest. Return type: datetime
-
time_range_in_seconds¶ Gets the time_range_in_seconds of this WafRequest. The number of seconds this data covers.
Returns: The time_range_in_seconds of this WafRequest. Return type: int
-