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/nat-gateway/quickstart-create-nat-gateway-bicep.md
+17-4Lines changed: 17 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,11 @@
2
2
title: 'Create a NAT gateway - Bicep'
3
3
titleSuffix: Azure NAT Gateway
4
4
description: This quickstart shows how to create a NAT gateway using Bicep.
5
-
services: nat-gateway
6
5
author: asudbring
7
6
ms.service: virtual-network
8
7
ms.subservice: nat
9
8
ms.topic: how-to
10
-
ms.workload: infrastructure-services
11
-
ms.date: 04/08/2022
9
+
ms.date: 04/24/2023
12
10
ms.author: allensu
13
11
ms.custom: subject-armqs, devx-track-bicep
14
12
# Customer intent: I want to create a NAT gateway using Bicep so that I can provide outbound connectivity for my virtual machines.
@@ -31,7 +29,9 @@ The Bicep file used in this quickstart is from [Azure Quickstart Templates](http
31
29
This Bicep file is configured to create a:
32
30
33
31
* Virtual network
32
+
34
33
* NAT gateway resource
34
+
35
35
* Ubuntu virtual machine
36
36
37
37
The Ubuntu VM is deployed to a subnet that's associated with the NAT gateway resource.
@@ -41,18 +41,27 @@ The Ubuntu VM is deployed to a subnet that's associated with the NAT gateway res
41
41
Nine Azure resources are defined in the Bicep file:
42
42
43
43
***[Microsoft.Network/networkSecurityGroups](/azure/templates/microsoft.network/networksecuritygroups)**: Creates a network security group.
44
+
44
45
***[Microsoft.Network/networkSecurityGroups/securityRules](/azure/templates/microsoft.network/networksecuritygroups/securityrules)**: Creates a security rule.
46
+
45
47
***[Microsoft.Network/publicIPAddresses](/azure/templates/microsoft.network/publicipaddresses)**: Creates a public IP address.
48
+
46
49
***[Microsoft.Network/publicIPPrefixes](/azure/templates/microsoft.network/publicipprefixes)**: Creates a public IP prefix.
50
+
47
51
***[Microsoft.Compute/virtualMachines](/azure/templates/Microsoft.Compute/virtualMachines)**: Creates a virtual machine.
52
+
48
53
***[Microsoft.Network/virtualNetworks](/azure/templates/microsoft.network/virtualnetworks)**: Creates a virtual network.
54
+
49
55
***[Microsoft.Network/natGateways](/azure/templates/microsoft.network/natgateways)**: Creates a NAT gateway resource.
56
+
50
57
***[Microsoft.Network/virtualNetworks/subnets](/azure/templates/microsoft.network/virtualnetworks/subnets)**: Creates a virtual network subnet.
58
+
51
59
***[Microsoft.Network/networkinterfaces](/azure/templates/microsoft.network/networkinterfaces)**: Creates a network interface.
52
60
53
61
## Deploy the Bicep file
54
62
55
63
1. Save the Bicep file as **main.bicep** to your local computer.
64
+
56
65
1. Deploy the Bicep file using either Azure CLI or Azure PowerShell.
0 commit comments