RequestRateLimitingConfiguration¶
- class oci.waf.models.RequestRateLimitingConfiguration(**kwargs)¶
Bases:
objectRate limiting configuration.
Methods:
__init__(**kwargs)Initializes a new RequestRateLimitingConfiguration object with values from keyword arguments.
Attributes:
Gets the action_duration_in_seconds of this RequestRateLimitingConfiguration.
[Required] Gets the period_in_seconds of this RequestRateLimitingConfiguration.
[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.
- property 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
- property 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
- property 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