Skip to content

Commit 2cad7b5

Browse files
Merge pull request #226900 from AbdullahBell/vnett-delegation-freshness
Virtual Network: Freshness: Add or remove a subnet delegation
2 parents 8fc7f4e + 93599ec commit 2cad7b5

File tree

1 file changed

+39
-26
lines changed

1 file changed

+39
-26
lines changed

articles/virtual-network/manage-subnet-delegation.md

Lines changed: 39 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services: virtual-network
66
author: asudbring
77
ms.service: virtual-network
88
ms.topic: how-to
9-
ms.date: 12/15/2022
9+
ms.date: 02/09/2023
1010
ms.author: allensu
1111
ms.custom: devx-track-azurepowershell, devx-track-azurecli, FY23 content-maintenance
1212
---
@@ -40,11 +40,11 @@ In this section, you create a virtual network and the subnet that you'll later d
4040

4141
1. Sign-in to the [Azure portal](https://portal.azure.com).
4242

43-
2. In the search box at the top of the portal, enter **Virtual network**. Select **Virtual networks** in the search results.
43+
1. In the search box at the top of the portal, enter **Virtual network**. Select **Virtual networks** in the search results.
4444

45-
3. Select **+ Create**.
45+
1. Select **+ Create**.
4646

47-
4. Enter or select the following information in the **Basics** tab of **Create virtual network**:
47+
1. Enter or select the following information in the **Basics** tab of **Create virtual network**:
4848

4949
| Setting | Value |
5050
| ------- | ----- |
@@ -55,24 +55,27 @@ In this section, you create a virtual network and the subnet that you'll later d
5555
| Name | Enter **myVNet**. |
5656
| Region | Select **East US 2** |
5757

58-
5. Select **Next: IP Addresses**.
58+
1. Select **Next: Security**, then **Next: IP Addresses**.
5959

60-
6. In **IPv4 address space**, enter **10.1.0.0/16**.
60+
1. Select **Add an IP address space**, in the **Add an IP address space** pane, enter or select the following information, then select **Add**.
6161

62-
7. Select **+ Add subnet**.
62+
| Setting | Value |
63+
| ------- | ----- |
64+
| Address space type | Leave as default **IPV6**. |
65+
| Starting address | Enter **10.1.0.0**. |
66+
| Address space size | Select **/16**. |
67+
68+
1. Select **+ Add subnet** in the new IP address space.
6369

64-
8. Enter or select the following information in **Add subnet**:
70+
1. Enter or select the following information in **Add a subnet**. Then select **Add**.
6571

6672
| Setting | Value |
6773
| ------- | ----- |
6874
| Name | Enter **mySubnet**. |
69-
| Subnet address range | Enter **10.1.0.0/24**. |
70-
71-
9. Select **Add**.
72-
73-
10. Select **Review + create**.
75+
| Starting address | Enter **10.1.0.0**. |
76+
| Subnet size | Select **/16**. |
7477

75-
11. Select **Create**.
78+
1. Select **Review + create**, then select **Create**.
7679

7780
# [**PowerShell**](#tab/manage-subnet-delegation-powershell)
7881

@@ -148,22 +151,22 @@ In this section, you delegate the subnet that you created in the preceding secti
148151

149152
1. Sign-in to the [Azure portal](https://portal.azure.com).
150153

151-
2. In the search box at the top of the portal, enter **Virtual network**. Select **Virtual networks** in the search results.
154+
1. In the search box at the top of the portal, enter **Virtual network**. Select **Virtual networks** in the search results.
152155

153-
3. Select **myVNet**.
156+
1. Select **myVNet**.
154157

155-
4. Select **Subnets** in **Settings**.
158+
1. Select **Subnets** in **Settings**.
156159

157-
5. Select **mySubnet**.
160+
1. Select **mySubnet**.
158161

159-
6. Enter or select the following information:
162+
1. Enter or select the following information:
160163

161164
| Setting | Value |
162165
| ------- | ----- |
163166
| **SUBNET DELEGATION** | |
164167
| Delegate subnet to a service | Select the service that you want to delegate the subnet to. For example, **Microsoft.Sql/managedInstances**. |
165168

166-
7. Select **Save**.
169+
1. Select **Save**.
167170

168171
# [**PowerShell**](#tab/manage-subnet-delegation-powershell)
169172

@@ -266,22 +269,22 @@ In this section, you'll remove a subnet delegation for an Azure service.
266269

267270
1. Sign-in to the [Azure portal](https://portal.azure.com).
268271

269-
2. In the search box at the top of the portal, enter **Virtual network**. Select **Virtual networks** in the search results.
272+
1. In the search box at the top of the portal, enter **Virtual network**. Select **Virtual networks** in the search results.
270273

271-
3. Select **myVNet**.
274+
1. Select **myVNet**.
272275

273-
4. Select **Subnets** in **Settings**.
276+
1. Select **Subnets** in **Settings**.
274277

275-
5. Select **mySubnet**.
278+
1. Select **mySubnet**.
276279

277-
6. Enter or select the following information:
280+
1. Enter or select the following information:
278281

279282
| Setting | Value |
280283
| ------- | ----- |
281284
| **SUBNET DELEGATION** | |
282285
| Delegate subnet to a service | Select **None**. |
283286

284-
7. Select **Save**.
287+
1. Select **Save**.
285288

286289
# [**PowerShell**](#tab/manage-subnet-delegation-powershell)
287290

@@ -354,5 +357,15 @@ Output from command is a null bracket:
354357

355358
---
356359

360+
## Clean up resources
361+
362+
When no longer needed, delete the resource group and all resources it contains:
363+
364+
1. Enter *myResourceGroup* in the **Search** box at the top of the Azure portal. When you see **myResourceGroup** in the search results, select it.
365+
366+
1. Select **Delete resource group**.
367+
368+
1. Enter *myResourceGroup* for **TYPE THE RESOURCE GROUP NAME:** and select **Delete**.
369+
357370
## Next steps
358371
- Learn how to [manage subnets in Azure](virtual-network-manage-subnet.md).

0 commit comments

Comments
 (0)