azurerm_virtual_network_gatewayNivis 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
locationresource_group_nameskutype
Optional arguments
active_active(defaults tonull)bgp_enabled(defaults tonull)bgp_route_translation_for_nat_enabled(defaults tonull)default_local_network_gateway_id(defaults tonull)dns_forwarding_enabled(defaults tonull)edge_zone(defaults tonull)generation(defaults tonull)id(defaults tonull)ip_sec_replay_protection_enabled(defaults tonull)maximum_scale_unit(defaults tonull)minimum_scale_unit(defaults tonull)cfg_name(defaults tonull)private_ip_address_enabled(defaults tonull)remote_vnet_traffic_enabled(defaults tonull)tags(defaults tonull)virtual_wan_traffic_enabled(defaults tonull)vpn_type(defaults tonull)bgp_settings(defaults tonull)custom_route(defaults tonull)ip_configuration(defaults tonull)policy_group(defaults tonull)timeouts(defaults tonull)vpn_client_configuration(defaults tonull)
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.