Show / Hide Table of Contents

Class AddressRateLimiting

The IP rate limiting configuration. Defines the amount of allowed requests from a unique IP address and the resulting block response code when that threshold is exceeded.

Inheritance
object
AddressRateLimiting
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.WaasService.Models
Assembly: OCI.DotNetSDK.Waas.dll
Syntax
public class AddressRateLimiting

Properties

AllowedRatePerAddress

Declaration
[JsonProperty(PropertyName = "allowedRatePerAddress")]
public int? AllowedRatePerAddress { get; set; }
Property Value
Type Description
int?

The number of allowed requests per second from one IP address. If unspecified, defaults to 1.

BlockResponseCode

Declaration
[JsonProperty(PropertyName = "blockResponseCode")]
public int? BlockResponseCode { get; set; }
Property Value
Type Description
int?

The response status code returned when a request is blocked. If unspecified, defaults to 503. The list of available response codes: 400, 401, 403, 404, 405, 408, 409, 411, 412, 413, 414, 415, 416, 422, 494, 495, 496, 497, 499, 500, 501, 502, 503, 504, 507.

IsEnabled

Declaration
[Required(ErrorMessage = "IsEnabled is required.")]
[JsonProperty(PropertyName = "isEnabled")]
public bool? IsEnabled { get; set; }
Property Value
Type Description
bool?

Enables or disables the address rate limiting Web Application Firewall feature.

Remarks

Required

MaxDelayedCountPerAddress

Declaration
[JsonProperty(PropertyName = "maxDelayedCountPerAddress")]
public int? MaxDelayedCountPerAddress { get; set; }
Property Value
Type Description
int?

The maximum number of requests allowed to be queued before subsequent requests are dropped. If unspecified, defaults to 10.

In this article
Back to top