Skip to content

Commit d6d262b

Browse files
Merge pull request #212085 from duongau/patch-6
Front Door - Rules match condition - create operator list for afd and afdx
2 parents b0e1688 + 6fb9f5c commit d6d262b

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

articles/frontdoor/rules-match-conditions.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1749,6 +1749,33 @@ In this example, we match all requests with a server port of 443.
17491749

17501750
For rules that accept values from the standard operator list, the following operators are valid:
17511751

1752+
::: zone pivot="front-door-classic"
1753+
1754+
| Operator | Description | ARM template support |
1755+
|----------------------------|--------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------|
1756+
| Any | Matches when there's any value, regardless of what it is. | `operator`: `Any` |
1757+
| Equal | Matches when the value exactly matches the specified string. | `operator`: `Equal` |
1758+
| Contains | Matches when the value contains the specified string. | `operator`: `Contains` |
1759+
| Less Than | Matches when the length of the value is less than the specified integer. | `operator`: `LessThan` |
1760+
| Greater Than | Matches when the length of the value is greater than the specified integer. | `operator`: `GreaterThan` |
1761+
| Less Than or Equal | Matches when the length of the value is less than or equal to the specified integer. | `operator`: `LessThanOrEqual` |
1762+
| Greater Than or Equal | Matches when the length of the value is greater than or equal to the specified integer. | `operator`: `GreaterThanOrEqual` |
1763+
| Begins With | Matches when the value begins with the specified string. | `operator`: `BeginsWith` |
1764+
| Ends With | Matches when the value ends with the specified string. | `operator`: `EndsWith` |
1765+
| Not Any | Matches when there's no value. | `operator`: `Any` and `negateCondition` : `true` |
1766+
| Not Equal | Matches when the value doesn't match the specified string. | `operator`: `Equal` and `negateCondition` : `true` |
1767+
| Not Contains | Matches when the value doesn't contain the specified string. | `operator`: `Contains` and `negateCondition` : `true` |
1768+
| Not Less Than | Matches when the length of the value isn't less than the specified integer. | `operator`: `LessThan` and `negateCondition` : `true` |
1769+
| Not Greater Than | Matches when the length of the value isn't greater than the specified integer. | `operator`: `GreaterThan` and `negateCondition` : `true` |
1770+
| Not Less Than or Equal | Matches when the length of the value isn't less than or equal to the specified integer. | `operator`: `LessThanOrEqual` and `negateCondition` : `true` |
1771+
| Not Greater Than or Equals | Matches when the length of the value isn't greater than or equal to the specified integer. | `operator`: `GreaterThanOrEqual` and `negateCondition` : `true` |
1772+
| Not Begins With | Matches when the value doesn't begin with the specified string. | `operator`: `BeginsWith` and `negateCondition` : `true` |
1773+
| Not Ends With | Matches when the value doesn't end with the specified string. | `operator`: `EndsWith` and `negateCondition` : `true` |
1774+
1775+
::: zone-end
1776+
1777+
::: zone pivot="front-door-standard-premium"
1778+
17521779
| Operator | Description | ARM template support |
17531780
|----------------------------|--------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------|
17541781
| Any | Matches when there's any value, regardless of what it is. | `operator`: `Any` |
@@ -1772,6 +1799,8 @@ For rules that accept values from the standard operator list, the following oper
17721799
| Not Ends With | Matches when the value doesn't end with the specified string. | `operator`: `EndsWith` and `negateCondition` : `true` |
17731800
| Not RegEx | Matches when the value doesn't match the specified regular expression. [See below for further details.](#regular-expressions) | `operator`: `RegEx` and `negateCondition` : `true` |
17741801

1802+
::: zone-end
1803+
17751804
> [!TIP]
17761805
> For numeric operators like *Less than* and *Greater than or equals*, the comparison used is based on length. The value in the match condition should be an integer that specifies the length you want to compare.
17771806

0 commit comments

Comments
 (0)