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
Copy file name to clipboardExpand all lines: articles/virtual-network-manager/create-virtual-network-manager-bicep.md
+4-52Lines changed: 4 additions & 52 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -327,59 +327,11 @@ Use the **Network Manager** section for each virtual network to verify that you
327
327
328
328
## Clean up resources
329
329
330
-
If you no longer need Azure Virtual Network Manager, you can remove it after you remove all configurations, deployments, and network groups:
331
-
332
-
1. To remove all configurations from a region, start in Virtual Network Manager and select **Deploy configurations**. Select the following settings, and then select **Next**.
333
-
334
-
:::image type="content" source="./media/create-virtual-network-manager-portal/none-configuration.png" alt-text="Screenshot of the tab for configuring a goal state for network resources, with the option for removing existing connectivity configurations selected.":::
335
-
336
-
| Setting | Value |
337
-
| ------- | ----- |
338
-
|**Configurations**| Select **Include connectivity configurations in your goal state**. |
|**Target regions**| Select **East US** as the deployed region. |
341
-
342
-
1. Select **Deploy** to complete the deployment removal.
343
-
344
-
1. To delete a configuration, go to the left pane of Virtual Network Manager. Under **Settings**, select **Configurations**. Select the checkbox next to the configuration that you want to remove, and then select **Delete** at the top of the resource pane.
345
-
346
-
1. On the **Delete a configuration** pane, select the following options, and then select **Delete**.
347
-
348
-
:::image type="content" source="./media/create-virtual-network-manager-portal/configuration-delete-options.png" alt-text="Screenshot of the pane for deleting a configuration.":::
349
-
350
-
| Setting | Value |
351
-
| ------- | ----- |
352
-
|**Delete option**| Select **Force delete the resource and all dependent resources**. |
353
-
|**Confirm deletion**| Enter the name of the configuration. In this example, it's **cc-learn-prod-eastus-001**. |
354
-
355
-
1. To delete a network group, go to the left pane of Virtual Network Manager. Under **Settings**, select **Network groups**. Select the checkbox next to the network group that you want to remove, and then select **Delete** at the top of the resource pane.
356
-
357
-
1. On the **Delete a network group** pane, select the following options, and then select **Delete**.
358
-
359
-
:::image type="content" source="./media/create-virtual-network-manager-portal/network-group-delete-options.png" alt-text="Screenshot of Network group to be deleted option selection." lightbox="./media/create-virtual-network-manager-portal/network-group-delete-options.png":::
360
-
361
-
| Setting | Value |
362
-
| ------- | ----- |
363
-
|**Delete option**| Select **Force delete the resource and all dependent resources**. |
364
-
|**Confirm deletion**| Enter the name of the network group. In this example, it's **ng-learn-prod-eastus-001**. |
365
-
366
-
1. Select **Yes** to confirm the network group deletion.
367
-
368
-
1. After you remove all network groups, go to the left pane of Virtual Network Manager. Select **Overview**, and then select **Delete**.
369
-
370
-
1. On the **Delete a network manager** pane, select the following options, and then select **Delete**.
371
-
372
-
:::image type="content" source="./media/create-virtual-network-manager-portal/network-manager-delete.png" alt-text="Screenshot of the pane for deleting a network manager.":::
373
-
374
-
| Setting | Value |
375
-
| ------- | ----- |
376
-
|**Delete option**| Select **Force delete the resource and all dependent resources**. |
377
-
|**Confirm deletion**| Enter the name of the Virtual Network Manager instance. In this example, it's **vnm-learn-eastus-001**. |
378
-
379
-
1. Select **Yes** to confirm the deletion.
380
-
381
-
1. To delete the resource group and virtual networks, locate resource group you created during the deployment and select **Delete resource group**. Confirm that you want to delete by entering the name in the text box, and then select **Delete**.
330
+
If you no longer need Azure Virtual Network Manager and the associated virtual networks, you can remove it by deleting the resource group and its resources.
382
331
332
+
1. In the **Azure portal**, browse to your resource group - **resource-group**.
333
+
1. Select **resource-group** and select **Delete resource group**.
334
+
1. In the **Delete a resource group** window, confirm that you want to delete by entering **resource-group** in the text box, and then select **Delete**.
383
335
1. If you used **Dynamic Network Group Membership**, delete the deployed Azure Policy Definition and Assignment by navigating to the Subscription in the Portal and selecting the **Policies**. In Policies, find the **Assignment** named `AVNM quickstart dynamic group membership Policy` and delete it, then do the same for the **Definition** named `AVNM quickstart dynamic group membership Policy`.
0 commit comments