Skip to content

Commit ce91294

Browse files
authored
Merge pull request #102766 from msrini-MSFT/patch-101
(AzureCXP) fixes MicrosoftDocs/azure-docs#47108
2 parents 623b55f + 2137a66 commit ce91294

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/web-application-firewall/afds/waf-front-door-configure-ip-restriction.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ az network front-door waf-policy rule create \
6262
Next, add match condition to the rule:
6363

6464
```azurecli
65-
az network front-door waf-policy rule match-condition add\
65+
az network front-door waf-policy rule match-condition add \
6666
--match-variable RemoteAddr \
67-
--operator IPMatch
68-
--values "ip-address-range-1" "ip-address-range-2"
69-
--negate true\
70-
--name IPAllowListRule\
67+
--operator IPMatch \
68+
--values "ip-address-range-1" "ip-address-range-2" \
69+
--negate true \
70+
--name IPAllowListRule \
7171
--resource-group <resource-group-name> \
7272
--policy-name IPAllowPolicyExampleCLI
7373
```
@@ -87,7 +87,7 @@ Set the Azure Front Door Service *WebApplicationFirewallPolicyLink* ID to the po
8787

8888
```azurecli
8989
az network front-door update \
90-
--set FrontendEndpoints[0].WebApplicationFirewallPolicyLink.id=/subscriptions/<subscription ID>/resourcegroups/<resource- name>/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/IPAllowPolicyExampleCLI \
90+
--set FrontendEndpoints[0].WebApplicationFirewallPolicyLink.id=/subscriptions/<subscription ID>/resourcegroups/resource-group-name/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/IPAllowPolicyExampleCLI \
9191
--name <frontdoor-name>
9292
--resource-group <resource-group-name>
9393
```

0 commit comments

Comments
 (0)