Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ICustomRule Interface
Definition
- Assembly:
- Az.FrontDoor.private.dll
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.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.CustomRuleTypeConverter))]
public interface ICustomRule : Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.CustomRuleTypeConverter))>]
type ICustomRule = interface
interface IJsonSerializable
Public Interface ICustomRule
Implements IJsonSerializable
- Derived
- Attributes
- Implements
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. |
| GroupByCustomRule |
Describes the list of variables to group the rate limit requests |
| MatchCondition |
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. |
Methods
| Name | Description |
|---|---|
| ToJson(JsonObject, SerializationMode) | (Inherited from IJsonSerializable) |
