azurerm_virtual_network_gateway_connectionNivis Nix constructor for the azurerm_virtual_network_gateway_connection 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,
type,
virtual_network_gateway_id,
authorization_key ? null,
bgp_enabled ? null,
connection_mode ? null,
connection_protocol ? null,
dpd_timeout_seconds ? null,
egress_nat_rule_ids ? null,
express_route_circuit_id ? null,
express_route_gateway_bypass ? null,
id ? null,
ingress_nat_rule_ids ? null,
local_azure_ip_address_enabled ? null,
local_network_gateway_id ? null,
cfg_name ? null,
peer_virtual_network_gateway_id ? null,
private_link_fast_path_enabled ? null,
routing_weight ? null,
shared_key ? null,
tags ? null,
use_policy_based_traffic_selectors ? null,
custom_bgp_addresses ? null,
ipsec_policy ? null,
timeouts ? null,
traffic_selector_policy ? null,
overrides ? {}
}Required arguments
locationresource_group_nametypevirtual_network_gateway_id
Optional arguments
authorization_key(defaults tonull)bgp_enabled(defaults tonull)connection_mode(defaults tonull)connection_protocol(defaults tonull)dpd_timeout_seconds(defaults tonull)egress_nat_rule_ids(defaults tonull)express_route_circuit_id(defaults tonull)express_route_gateway_bypass(defaults tonull)id(defaults tonull)ingress_nat_rule_ids(defaults tonull)local_azure_ip_address_enabled(defaults tonull)local_network_gateway_id(defaults tonull)cfg_name(defaults tonull)peer_virtual_network_gateway_id(defaults tonull)private_link_fast_path_enabled(defaults tonull)routing_weight(defaults tonull)shared_key(defaults tonull)tags(defaults tonull)use_policy_based_traffic_selectors(defaults tonull)custom_bgp_addresses(defaults tonull)ipsec_policy(defaults tonull)timeouts(defaults tonull)traffic_selector_policy(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
azurerm_virtual_network_gateway_connection {
name = "virtual_network_gateway_connection";
location = …; # required
resource_group_name = …; # required
type = …; # required
virtual_network_gateway_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.