IRateLimitRule Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.RateLimitRuleTypeConverter))]
public interface IRateLimitRule : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICustomRule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.RateLimitRuleTypeConverter))>]
type IRateLimitRule = interface
    interface IJsonSerializable
    interface ICustomRule
Public Interface IRateLimitRule
Implements ICustomRule
Derived
Attributes
Implements

Properties

Name Description
Action

Describes what action to be applied when rule matches

(Inherited from ICustomRule)
EnabledState

Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.

(Inherited from ICustomRule)
MatchCondition

List of match conditions.

(Inherited from ICustomRule)
Name

Defines the name of the custom rule

(Inherited from ICustomRule)
Priority

Defines in what order this rule be evaluated in the overall list of custom rules

(Inherited from ICustomRule)
RateLimitDurationInMinute

Defines rate limit duration. Default is 1 minute.

RateLimitThreshold

Defines rate limit threshold.

Methods

Name Description
ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to