Data Source: azurerm_vpn_gateway

Use this data source to access information about an existing VPN Gateway within a Virtual Hub.

Example Usage

data "azurerm_vpn_gateway" "example" {
  name                = "existing-local-vpn_gateway"
  resource_group_name = "existing-vpn_gateway"
}

output "azurerm_vpn_gateway_id" {
  value = data.azurerm_vpn_gateway.example.id
}

Argument Reference

Attributes Reference


A bgp_settings block exports the following:


A instance_bgp_peering_address block exports the following:


A bgp_settings block exports the following:


A instance_bgp_peering_address block exports the following:

Timeouts

The timeouts block allows you to specify timeouts for certain actions: