Documentation menu

resources

NAT Gateway

Overview

This example defines an App Service plan for function apps on windows.

{
  "nat_gateway": {
    "name": "natg-lp-test-{env}",
    "sku": "Standard",
    "public_ip_prefixes": [{ "@ip_prefix_name": "natg-lp-test-{env}-pia" }],
    "public_ip_addresses": [{ "@ip_address_name": "natg-lp-test-{env}-pip" }],

    "idle_timeout": 4,
    "location": "northeurope",
    "external": false,
    "resource_group_name": "my-rg-name",
    "tags": { "example": "S0" }
  }
}

NAT Gateway Reference

Key Type Description
name (required) string The name of the NAT Gateway (see how to name)
sku (required) object of sku The SKU of the Nat Gateway (defaults to Standard)
public_ip_prefixes (required) string[] These values are symbolic resource names of IP Prefix resources in your templates (either managed or external resource)
public_ip_addresses (required) string[] These values are symbolic resource names of IP Address resources in your templates (either managed or external resource)
idle_timeout int The idle timeout of the NAT Gateway in minutes
location string Resource Location (defaults to the resource group location)
external bool A reference to an existing NAT Gateway (defaults to false)
resource_group_name string The name of the resource group where the resource is located, only with external resources (defaults to the resource group of the deployment)
tags object Additional tags for the resource (defaults to no additional tags)