azurerm_virtual_hub_bgp_connection

Nivis Nix constructor for the azurerm_virtual_hub_bgp_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,
  peer_asn,
  peer_ip,
  virtual_hub_id,
  id ? null,
  cfg_name ? null,
  virtual_network_connection_id ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • peer_asn
  • peer_ip
  • virtual_hub_id
Optional arguments
  • id (defaults to null)
  • cfg_name (defaults to null)
  • virtual_network_connection_id (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
azurerm_virtual_hub_bgp_connection {
  name = "virtual_hub_bgp_connection";
  peer_asn = …;  # required
  peer_ip = …;  # required
  virtual_hub_id = …;  # required
}

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