NatGateway
A resource of the Azure provider, version 0.3.0, in its Networking group. Import it with:
import NatGateway from "azure/networking"Example
resource NatGateway example {
name = "example-value"
resourceGroup = "example-value"
location = "example-value"
idleTimeoutInMinutes = 4
publicIpAddressIds = "..."
publicIpPrefixIds = "..."
skuName = "Standard"
tags = "..."
}Properties
Set by your code in the resource block. A required one must be set; any other you leave out takes the value under Default, if it has one.
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
name | string | — | No | The name of the NAT gateway |
resourceGroup | string | — | No | The Azure resource group name |
location | string | — | No | The Azure region/location |
idleTimeoutInMinutes | number | 4 | No | The idle timeout in minutes. Range: 4-120 |
publicIpAddressIds | any[] | — | No | List of public IP address resource IDs to associate |
publicIpPrefixIds | any[] | — | No | List of public IP prefix resource IDs to associate |
skuName | string | "Standard" | No | The SKU name Allowed: "Standard" |
tags | object | — | No | Tags to apply to the NAT gateway |
Set by Azure after the resource is created: your code can read them but not set them. An importable one identifies an existing resource.
| Name | Type | Importable | Description |
|---|---|---|---|
id | string | Yes | The Azure resource ID of the NAT gateway |
provisioningState | string | No | The provisioning state of the NAT gateway |
resourceGuid | string | No | The resource GUID of the NAT gateway |
subnetIds | any[] | No | List of subnet IDs using this NAT gateway |