Data Source: azurerm_dev_test_virtual_network

Use this data source to access information about an existing Dev Test Lab Virtual Network.

Example Usage

data "azurerm_dev_test_virtual_network" "example" {
  name                = "example-network"
  lab_name            = "examplelab"
  resource_group_name = "example-resource"
}

output "lab_subnet_name" {
  value = data.azurerm_dev_test_virtual_network.example.allowed_subnets[0].lab_subnet_name
}

Argument Reference

Attributes Reference


An allowed_subnets block supports the following:


An subnets_override block supports the following:

Timeouts

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