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

KeyTypeDescription
name (required)stringThe name of the NAT Gateway (see how to name)
sku (required)object of skuThe 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_timeoutintThe idle timeout of the NAT Gateway in minutes
locationstringResource Location (defaults to the resource group location)
externalboolA reference to an existing NAT Gateway (defaults to false)
resource_group_namestringThe name of the resource group where the resource is located, only with external resources (defaults to the resource group of the deployment)
tagsobjectAdditional tags for the resource (defaults to no additional tags)