CustomRuleFrontDoor Class

Definition

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.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<CustomRuleFrontDoor>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<CustomRuleFrontDoor>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<CustomRuleFrontDoor>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<CustomRuleFrontDoor>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<CustomRuleFrontDoor>.Write(ModelReaderWriterOptions)

Applies to