File tree Expand file tree Collapse file tree 1 file changed +16
-13
lines changed Expand file tree Collapse file tree 1 file changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ ms.service: ddos-protection
7
7
ms.topic : quickstart
8
8
ms.custom : ignite-2022, devx-track-azurecli
9
9
ms.workload : infrastructure-services
10
- ms.date : 10/12/2022
10
+ ms.date : 05/23/2023
11
11
ms.author : abell
12
12
---
13
13
# Quickstart: Create and configure Azure DDoS Network Protection using Azure CLI
@@ -89,6 +89,19 @@ az network vnet update \
89
89
--ddos-protection true
90
90
```
91
91
92
+ ### Disable DDoS protection for a virtual network
93
+
94
+ Update a given virtual network to disable DDoS protection:
95
+
96
+ ``` azurecli-interactive
97
+ az network vnet update \
98
+ --resource-group MyResourceGroup \
99
+ --name MyVnet \
100
+ --ddos-protection-plan MyDdosProtectionPlan \
101
+ --ddos-protection false
102
+
103
+ ```
104
+
92
105
## Validate and test
93
106
94
107
First, check the details of your DDoS protection plan:
@@ -112,18 +125,8 @@ az group delete \
112
125
--name MyResourceGroup
113
126
```
114
127
115
- Update a given virtual network to disable DDoS protection:
116
-
117
- ``` azurecli-interactive
118
- az network vnet update \
119
- --resource-group MyResourceGroup \
120
- --name MyVnet \
121
- --ddos-protection-plan MyDdosProtectionPlan \
122
- --ddos-protection false
123
-
124
- ```
125
-
126
- If you want to delete a DDoS protection plan, you must first dissociate all virtual networks from it.
128
+ > [ !NOTE]
129
+ > If you want to delete a DDoS protection plan, you must first dissociate all virtual networks from it.
127
130
128
131
## Next steps
129
132
You can’t perform that action at this time.
0 commit comments