» Data Source: azurerm_lb_backend_address_pool
Use this data source to access information about an existing Load Balancer Backend Address Pool.
» Example Usage
data "azurerm_lb" "test" {
name = "example-lb"
resource_group_name = "example-resources"
}
data "azurerm_lb_backend_address_pool" "test" {
name = "first"
loadbalancer_id = "${data.azurerm_lb.test.id}"
}
output "backend_address_pool_id" {
value = "${data.azurerm_lb_backend_address_pool.test.id}"
}
» Argument Reference
-
name
- (Required) Specifies the name of the Backend Address Pool. -
loadbalancer_id
- (Required) The ID of the Load Balancer in which the Backend Address Pool exists.
» Attributes Reference
The following attributes are exported:
-
id
- The ID of the Backend Address Pool.