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/quickstart-create-virtual-network.md
+56-9Lines changed: 56 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -618,8 +618,6 @@ The script creates the following resources:
618
618
619
619
- Two subnets: Segments of a virtual network's IP address range where you can place groups of isolated resources.
620
620
621
-
:::image type="content" source="./media/quick-create-bicep/virtual-network-bicep-resources.png" alt-text="Diagram of resources created in the virtual network quickstart." lightbox="./media/quick-create-bicep/virtual-network-bicep-resources.png":::
@@ -681,6 +679,10 @@ The script creates the following resources:
681
679
--name $virtual_network_name
682
680
```
683
681
682
+
## Troubleshoot Terraform on Azure
683
+
684
+
For information about troubleshooting Terraform, see [Troubleshoot common problems when using Terraform on Azure](/azure/developer/terraform/troubleshoot).
685
+
684
686
---
685
687
686
688
## Connect to a virtual machine
@@ -733,16 +735,61 @@ The script creates the following resources:
When you finish with the virtual network and the VMs, use [Remove-AzResourceGroup](/powershell/module/az.resources/remove-azresourcegroup) to remove the resource group and all its resources:
745
+
746
+
```azurepowershell-interactive
747
+
$rgParams = @{
748
+
Name = 'test-rg'
749
+
Force = $true
750
+
}
751
+
Remove-AzResourceGroup @rgParams
752
+
```
753
+
754
+
### [CLI](#tab/cli)
736
755
756
+
When you finish with the virtual network and the VMs, use [az group delete](/cli/azure/group#az-group-delete) to remove the resource group and all its resources:
757
+
758
+
```azurecli-interactive
759
+
az group delete \
760
+
--name test-rg \
761
+
--yes
762
+
```
737
763
738
-
## Next step -or- Related content
764
+
### [ARM](#tab/arm)
765
+
766
+
When you no longer need the resources that you created with the virtual network, delete the resource group. This action removes the virtual network and all the related resources.
767
+
768
+
To delete the resource group, call the `Remove-AzResourceGroup` cmdlet:
769
+
770
+
```azurepowershell-interactive
771
+
Remove-AzResourceGroup -Name <your resource group name>
772
+
```
773
+
774
+
### [Bicep](#tab/bicep)
775
+
776
+
1. In the Azure portal, on the **Resource groups** page, select the **TestRG** resource group.
777
+
778
+
1. At the top of the **TestRG** page, select **Delete resource group**.
779
+
780
+
1. On the **Delete a resource group** page, under **Enter resource group name to confirm deletion**, enter **TestRG**, and then select **Delete**.
0 commit comments