Udostępnij za pośrednictwem


RateLimitRule Class

Definition

Defines a rate limiting rule that can be included in a waf policy

public class RateLimitRule : Microsoft.Azure.Management.Cdn.Models.CustomRule
type RateLimitRule = class
    inherit CustomRule
Public Class RateLimitRule
Inherits CustomRule
Inheritance
RateLimitRule

Constructors

RateLimitRule()

Initializes a new instance of the RateLimitRule class.

RateLimitRule(String, Int32, IList<MatchCondition>, String, Int32, Int32, String)

Initializes a new instance of the RateLimitRule class.

Properties

Action

Gets or sets describes what action to be applied when rule matches. Possible values include: 'Allow', 'Block', 'Log', 'Redirect'

(Inherited from CustomRule)
EnabledState

Gets or sets describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. Possible values include: 'Disabled', 'Enabled'

(Inherited from CustomRule)
MatchConditions

Gets or sets list of match conditions.

(Inherited from CustomRule)
Name

Gets or sets defines the name of the custom rule

(Inherited from CustomRule)
Priority

Gets or sets defines in what order this rule be evaluated in the overall list of custom rules

(Inherited from CustomRule)
RateLimitDurationInMinutes

Gets or sets defines rate limit duration. Default is 1 minute.

RateLimitThreshold

Gets or sets defines rate limit threshold.

Methods

Validate()

Validate the object.

Applies to