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/nat-gateway/manage-nat-gateway.md
+120-4Lines changed: 120 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,20 @@ This article explains how to manage the following aspects of NAT gateway:
24
24
25
25
## Prerequisites
26
26
27
+
# [**Azure portal**](#tab/manage-nat-portal)
28
+
29
+
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
30
+
31
+
- An existing Azure Virtual Network with a subnet. For more information, see [Quickstart: Create a virtual network using the Azure portal](../virtual-network/quick-create-portal.md).
32
+
33
+
- The example virtual network that is used in this article is named *myVNet*.
34
+
35
+
- The example subnet is named *mySubnet*.
36
+
37
+
- The example NAT gateway is named *myNATgateway*.
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
28
42
29
43
- An existing Azure Virtual Network with a subnet. For more information, see [Quickstart: Create a virtual network using the Azure portal](../virtual-network/quick-create-portal.md).
@@ -46,15 +60,41 @@ To use Azure PowerShell for this article, you need:
46
60
47
61
- Sign in to Azure PowerShell and select the subscription that you want to use. For more information, see [Sign in with Azure PowerShell](/powershell/azure/authenticate-azureps).
48
62
63
+
# [**Azure CLI**](#tab/manage-nat-cli)
64
+
65
+
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
66
+
67
+
- An existing Azure Virtual Network with a subnet. For more information, see [Quickstart: Create a virtual network using the Azure portal](../virtual-network/quick-create-portal.md).
68
+
69
+
- The example virtual network that is used in this article is named *myVNet*.
70
+
71
+
- The example subnet is named *mySubnet*.
72
+
73
+
- The example NAT gateway is named *myNATgateway*.
74
+
49
75
To use Azure CLI for this article, you need:
50
76
51
77
- Azure CLI version 2.31.0 or later. Azure Cloud Shell uses the latest version.
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
84
+
85
+
- An existing Azure Virtual Network with a subnet. For more information, see [Quickstart: Create a virtual network using the Azure portal](../virtual-network/quick-create-portal.md).
86
+
87
+
- The example virtual network that is used in this article is named *myVNet*.
88
+
89
+
- The example subnet is named *mySubnet*.
90
+
91
+
- The example NAT gateway is named *myNATgateway*.
92
+
93
+
---
94
+
55
95
## Create a NAT gateway and associate it with an existing subnet
56
96
57
-
You can create a NAT gateway resource and add it to an existing subnet by using the Azure portal, Azure PowerShell, or the Azure CLI.
97
+
You can create a NAT gateway resource and add it to an existing subnet by using the Azure portal, Azure PowerShell, Azure CLI, or Bicep.
58
98
59
99
# [**Azure portal**](#tab/manage-nat-portal)
60
100
@@ -91,7 +131,7 @@ You can create a NAT gateway resource and add it to an existing subnet by using
0 commit comments