CustomRuleFrontDoor 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 contents of a web application rule.
public class CustomRuleFrontDoor : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Cdn.Models.CustomRuleFrontDoor>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Cdn.Models.CustomRuleFrontDoor>
type CustomRuleFrontDoor = class
interface IJsonModel<CustomRuleFrontDoor>
interface IPersistableModel<CustomRuleFrontDoor>
Public Class CustomRuleFrontDoor
Implements IJsonModel(Of CustomRuleFrontDoor), IPersistableModel(Of CustomRuleFrontDoor)
- Inheritance
-
CustomRuleFrontDoor
- Implements
Constructors
| Name | Description |
|---|---|
| CustomRuleFrontDoor(Int32, CdnRuleType, IEnumerable<MatchConditionFrontDoor>, OverrideActionType) |
Initializes a new instance of CustomRuleFrontDoor. |
Properties
| Name | Description |
|---|---|
| Action |
Describes what action to be applied when rule matches. |
| EnabledState |
Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. |
| GroupBy |
Describes the list of variables to group the rate limit requests. |
| MatchConditions |
List of match conditions. |
| Name |
Describes the name of the rule. |
| Priority |
Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value. |
| RateLimitDurationInMinutes |
Time window for resetting the rate limit count. Default is 1 minute. |
| RateLimitThreshold |
Number of allowed requests per client within the time window. |
| RuleType |
Describes type of rule. |