alicloud_vpc_bgp_networks

This data source provides the Vpc Bgp Networks of the current Alibaba Cloud user.

Example Usage

Basic Usage

data "alicloud_vpc_bgp_networks" "ids" {
  ids = ["example_value"]
}
output "vpc_bgp_network_id_1" {
  value = data.alicloud_vpc_bgp_networks.ids.networks.0.id
}

data "alicloud_vpc_bgp_networks" "routerId" {
  router_id = "example_value"
}
output "vpc_bgp_network_id_2" {
  value = data.alicloud_vpc_bgp_networks.routerId.networks.0.id
}

data "alicloud_vpc_bgp_networks" "status" {
  status = "Available"
}
output "vpc_bgp_network_id_3" {
  value = data.alicloud_vpc_bgp_networks.status.networks.0.id
}

Argument Reference

The following arguments are supported:

Argument Reference

The following attributes are exported in addition to the arguments listed above: