RateLimitRule Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a rate limiting rule that can be included in a waf policy Serialized Name: RateLimitRule
public class RateLimitRule : Azure.ResourceManager.Cdn.Models.CustomRule, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Cdn.Models.RateLimitRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Cdn.Models.RateLimitRule>
public class RateLimitRule : Azure.ResourceManager.Cdn.Models.CustomRule
type RateLimitRule = class
inherit CustomRule
interface IJsonModel<RateLimitRule>
interface IPersistableModel<RateLimitRule>
type RateLimitRule = class
inherit CustomRule
Public Class RateLimitRule
Inherits CustomRule
Implements IJsonModel(Of RateLimitRule), IPersistableModel(Of RateLimitRule)
Public Class RateLimitRule
Inherits CustomRule
- Inheritance
- Implements
Constructors
RateLimitRule(String, Int32, IEnumerable<CustomRuleMatchCondition>, OverrideActionType, Int32, Int32) |
Initializes a new instance of RateLimitRule. |
Properties
Action |
Describes what action to be applied when rule matches Serialized Name: CustomRule.action (Inherited from CustomRule) |
EnabledState |
Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. Serialized Name: CustomRule.enabledState (Inherited from CustomRule) |
MatchConditions |
List of match conditions. Serialized Name: CustomRule.matchConditions (Inherited from CustomRule) |
Name |
Defines the name of the custom rule Serialized Name: CustomRule.name (Inherited from CustomRule) |
Priority |
Defines in what order this rule be evaluated in the overall list of custom rules Serialized Name: CustomRule.priority (Inherited from CustomRule) |
RateLimitDurationInMinutes |
Defines rate limit duration. Default is 1 minute. Serialized Name: RateLimitRule.rateLimitDurationInMinutes |
RateLimitThreshold |
Defines rate limit threshold. Serialized Name: RateLimitRule.rateLimitThreshold |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |