azurerm_virtual_network_gateway

Nivis Nix constructor for the azurerm_virtual_network_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,
  sku,
  type,
  active_active ? null,
  bgp_enabled ? null,
  bgp_route_translation_for_nat_enabled ? null,
  default_local_network_gateway_id ? null,
  dns_forwarding_enabled ? null,
  edge_zone ? null,
  generation ? null,
  id ? null,
  ip_sec_replay_protection_enabled ? null,
  maximum_scale_unit ? null,
  minimum_scale_unit ? null,
  cfg_name ? null,
  private_ip_address_enabled ? null,
  remote_vnet_traffic_enabled ? null,
  tags ? null,
  virtual_wan_traffic_enabled ? null,
  vpn_type ? null,
  bgp_settings ? null,
  custom_route ? null,
  ip_configuration ? null,
  policy_group ? null,
  timeouts ? null,
  vpn_client_configuration ? null,
  overrides ? {}
}
Required arguments
  • location
  • resource_group_name
  • sku
  • type
Optional arguments
  • active_active (defaults to null)
  • bgp_enabled (defaults to null)
  • bgp_route_translation_for_nat_enabled (defaults to null)
  • default_local_network_gateway_id (defaults to null)
  • dns_forwarding_enabled (defaults to null)
  • edge_zone (defaults to null)
  • generation (defaults to null)
  • id (defaults to null)
  • ip_sec_replay_protection_enabled (defaults to null)
  • maximum_scale_unit (defaults to null)
  • minimum_scale_unit (defaults to null)
  • cfg_name (defaults to null)
  • private_ip_address_enabled (defaults to null)
  • remote_vnet_traffic_enabled (defaults to null)
  • tags (defaults to null)
  • virtual_wan_traffic_enabled (defaults to null)
  • vpn_type (defaults to null)
  • bgp_settings (defaults to null)
  • custom_route (defaults to null)
  • ip_configuration (defaults to null)
  • policy_group (defaults to null)
  • timeouts (defaults to null)
  • vpn_client_configuration (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
azurerm_virtual_network_gateway {
  name = "virtual_network_gateway";
  location = …;  # required
  resource_group_name = …;  # required
  sku = …;  # required
  type = …;  # required
}

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