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
This article helps you delete a virtual network gateway. There are a couple of different approaches you can take when you want to delete a gateway for a VPN gateway configuration.
17
+
This article helps you delete a virtual network gateway. There are a couple of different approaches you can take when you want to delete a gateway.
19
18
20
-
* If you want to delete everything and start over, as in the case of a test environment, you can delete the resource group. When you delete a resource group, it deletes all the resources within the group. This method is only recommended if you don't want to keep any of the resources in the resource group. You can't selectively delete only a few resources using this approach.
19
+
* If you want to delete everything and start over, you can delete the resource group. When you delete a resource group, it deletes all the resources within the group. This method is only recommended if you don't want to keep any of the resources in the resource group. You can't selectively delete only a few resources using this approach.
21
20
22
21
* If you want to keep some of the resources in your resource group, deleting a virtual network gateway becomes slightly more complicated. Before you can delete the virtual network gateway, you must first delete any resources that are dependent on the gateway. The steps you follow depend on the type of connections that you created and the dependent resources for each connection.
23
22
24
-
> [!IMPORTANT]
25
-
> The steps in this article apply to the [Resource Manager deployment model](../azure-resource-manager/management/deployment-models.md). To delete a VPN gateway deployed using the classic deployment model, use the steps in the [Delete a gateway: classic](vpn-gateway-delete-vnet-gateway-classic-powershell.md) article.
26
-
27
23
## Delete a VPN gateway
28
24
29
25
To delete a virtual network gateway, you must first delete each resource that pertains to the virtual network gateway. Resources must be deleted in a certain order due to dependencies.
@@ -39,7 +35,7 @@ The following steps help you delete any resources that are no longer being used.
39
35
#### To delete the local network gateway
40
36
41
37
1. In **All resources**, locate local network gateways that were associated with each connection.
42
-
1. On the **Overview**blade for the local network gateway, click **Delete**.
38
+
1. On the **Overview**page for the local network gateway, click **Delete**.
43
39
44
40
#### To delete the Public IP address resource for the gateway
45
41
@@ -49,15 +45,15 @@ The following steps help you delete any resources that are no longer being used.
49
45
#### To delete the gateway subnet
50
46
51
47
1. In **All resources**, locate the virtual network.
52
-
1. On the **Subnets**blade, click the **GatewaySubnet**, then click **Delete**.
48
+
1. On the **Subnets**page, click the **GatewaySubnet**, then click **Delete**.
53
49
1. Click **Yes** to confirm that you want to delete the gateway subnet.
54
50
55
51
## <aname="deleterg"></a>Delete a VPN gateway by deleting the resource group
56
52
57
53
If you aren't concerned about keeping any of your resources in the resource group and you just want to start over, you can delete an entire resource group. This is a quick way to remove everything. The following steps apply only to the [Resource Manager deployment model](../azure-resource-manager/management/deployment-models.md).
58
54
59
-
1. In **All resources**, locate the resource group and click to open the blade.
60
-
1. Click **Delete**. On the Delete blade, view the affected resources. Make sure that you want to delete all of these resources. If not, use the steps in Delete a VPN gateway at the top of this article.
55
+
1. In **All resources**, locate the resource group and click to open the page.
56
+
1. Click **Delete**. On the Delete page, view the affected resources. Make sure that you want to delete all of these resources. If not, use the steps in Delete a VPN gateway at the top of this article.
61
57
1. To proceed, type the name of the resource group that you want to delete, then click **Delete**.
0 commit comments