azurerm_nat_gatewayNivis Nix constructor for the azurerm_nat_gateway resource (provider azurerm). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
location,
resource_group_name,
id ? null,
idle_timeout_in_minutes ? null,
cfg_name ? null,
sku_name ? null,
tags ? null,
zones ? null,
timeouts ? null,
overrides ? {}
}Required arguments
locationresource_group_name
Optional arguments
id(defaults tonull)idle_timeout_in_minutes(defaults tonull)cfg_name(defaults tonull)sku_name(defaults tonull)tags(defaults tonull)zones(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
resource_guid
Example
azurerm_nat_gateway {
name = "nat_gateway";
location = …; # required
resource_group_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.