azurerm_vpn_gateway

Nivis Nix constructor for the azurerm_vpn_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,
  virtual_hub_id,
  bgp_route_translation_for_nat_enabled ? null,
  id ? null,
  cfg_name ? null,
  routing_preference ? null,
  scale_unit ? null,
  tags ? null,
  bgp_settings ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • location
  • resource_group_name
  • virtual_hub_id
Optional arguments
  • bgp_route_translation_for_nat_enabled (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • routing_preference (defaults to null)
  • scale_unit (defaults to null)
  • tags (defaults to null)
  • bgp_settings (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • ip_configuration
Example
azurerm_vpn_gateway {
  name = "vpn_gateway";
  location = …;  # required
  resource_group_name = …;  # required
  virtual_hub_id = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.