Share via


ICustomRule Interface

Definition

[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)

Applies to