Skip to content

Commit 500e107

Browse files
committed
add tabs
1 parent a12d8e1 commit 500e107

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: web-application-firewall
55
author: vhorne
66
ms.service: web-application-firewall
77
ms.topic: article
8-
ms.date: 11/16/2022
8+
ms.date: 05/28/2024
99
ms.author: victorh
1010
ms.custom: devx-track-azurepowershell, devx-track-azurecli
1111
---
@@ -22,6 +22,8 @@ By default, your web application is accessible from the internet. If you want to
2222

2323
## Configure a WAF policy with the Azure portal
2424

25+
#### [Portal](#tab/browser)
26+
2527
Follow these steps to configure a WAF policy by using the Azure portal.
2628

2729
### Prerequisites
@@ -86,6 +88,8 @@ Create an Azure Front Door profile by following the instructions described in [Q
8688
> [!NOTE]
8789
> A private IP address was intentionally used in the custom rule to guarantee the rule would trigger. In an actual deployment, create *allow* and *deny* rules by using IP addresses for your particular situation.
8890
91+
#### [CLI](#tab/azure-devops-cli)
92+
8993
## Configure a WAF policy with the Azure CLI
9094

9195
Follow these steps to configure a WAF policy by using the Azure CLI.
@@ -173,6 +177,8 @@ In this example, the WAF policy is applied to `FrontendEndpoints[0]`. You can li
173177
> [!Note]
174178
> You need to set the `WebApplicationFirewallPolicyLink` property only once to link a WAF policy to an Azure Front Door front end. Subsequent policy updates are automatically applied to the front end.
175179
180+
#### [Azure PowerShell](#tab/powershell)
181+
176182
## Configure a WAF policy with Azure PowerShell
177183

178184
Follow these steps to configure a WAF policy by using Azure PowerShell.
@@ -257,9 +263,13 @@ Link a WAF policy object to an existing front-end host and update Azure Front Do
257263
> [!NOTE]
258264
> In this example, the WAF policy is applied to `FrontendEndpoints[0]`. You can link a WAF policy to any of your front ends. You need to set the `WebApplicationFirewallPolicyLink` property only once to link a WAF policy to an Azure Front Door front end. Subsequent policy updates are automatically applied to the front end.
259265
266+
#### [Template](#tab/yaml)
267+
260268
## Configure a WAF policy with a Resource Manager template
261269
To view the template that creates an Azure Front Door policy and a WAF policy with custom IP restriction rules, go to [GitHub](https://github.com/Azure/azure-quickstart-templates/tree/master/quickstarts/microsoft.network/front-door-waf-clientip).
262270

271+
---
272+
263273
## Next steps
264274

265275
Learn how to [create an Azure Front Door profile](../../frontdoor/quickstart-create-front-door.md).

0 commit comments

Comments
 (0)