You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a DDoS Protection plan with [New-AzDdosProtectionPlan](/powershell/module/az.network/new-azddosprotectionplan) to associate with the virtual network. This example creates a DDoS Protection plan named **myDDoSPlan** in the **EastUS** location:
38
+
39
+
```azurepowershell-interactive
40
+
$ddosplan = @{
41
+
Name = 'myDDoSPlan'
42
+
ResourceGroupName = 'CreatePrivateEndpointQS-rg'
43
+
Location = 'eastus2'
44
+
}
45
+
New-AzDdosProtectionPlan @ddosplan
46
+
```
47
+
35
48
## Create an internal load balancer
36
49
37
50
In this section, you'll create a virtual network and an internal Azure Load Balancer.
@@ -43,6 +56,9 @@ In this section, you create a virtual network and subnet to host the load balanc
43
56
* Create a virtual network with [New-AzVirtualNetwork](/powershell/module/az.network/new-azvirtualnetwork).
44
57
45
58
```azurepowershell-interactive
59
+
## Place DDoS plan created previously into a variable. ##
0 commit comments