Class RateLimitAction
Inheritance
System.Object
RateLimitAction
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Cloudflare.Outputs
Assembly: Pulumi.Cloudflare.dll
Syntax
public sealed class RateLimitAction
Fields
View SourceMode
The type of action to perform. Allowable values are 'simulate', 'ban', 'challenge' and 'js_challenge'.
Declaration
public readonly string Mode
Field Value
| Type | Description |
|---|---|
| System.String |
Response
Custom content-type and body to return, this overrides the custom error for the zone. This field is not required. Omission will result in default HTML error page. Definition below.
Declaration
public readonly RateLimitActionResponse Response
Field Value
| Type | Description |
|---|---|
| RateLimitActionResponse |
Timeout
The time in seconds as an integer to perform the mitigation action. This field is required if the mode is either simulate or ban. Must be the same or greater than the period (min: 1, max: 86400).
Declaration
public readonly int? Timeout
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |