RequestRateLimitingConfiguration

class oci.waf.models.RequestRateLimitingConfiguration(**kwargs)

Bases: object

Rate limiting configuration.

Methods

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

Attributes

action_duration_in_seconds Gets the action_duration_in_seconds of this RequestRateLimitingConfiguration.
period_in_seconds [Required] Gets the period_in_seconds of this RequestRateLimitingConfiguration.
requests_limit [Required] Gets the requests_limit of this RequestRateLimitingConfiguration.
__init__(**kwargs)

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

Parameters:
  • period_in_seconds (int) – The value to assign to the period_in_seconds property of this RequestRateLimitingConfiguration.
  • requests_limit (int) – The value to assign to the requests_limit property of this RequestRateLimitingConfiguration.
  • action_duration_in_seconds (int) – The value to assign to the action_duration_in_seconds property of this RequestRateLimitingConfiguration.
action_duration_in_seconds

Gets the action_duration_in_seconds of this RequestRateLimitingConfiguration. Duration of block action application in seconds when requestsLimit is reached. Optional and can be 0 (no block duration).

Returns:The action_duration_in_seconds of this RequestRateLimitingConfiguration.
Return type:int
period_in_seconds

[Required] Gets the period_in_seconds of this RequestRateLimitingConfiguration. Evaluation period in seconds.

Returns:The period_in_seconds of this RequestRateLimitingConfiguration.
Return type:int
requests_limit

[Required] Gets the requests_limit of this RequestRateLimitingConfiguration. Requests allowed per evaluation period.

Returns:The requests_limit of this RequestRateLimitingConfiguration.
Return type:int