» Data Source: azurerm_network_watcher
Use this data source to access information about an existing Network Watcher.
» Example Usage
data "azurerm_network_watcher" "test" {
name = "${azurerm_network_watcher.test.name}"
resource_group_name = "${azurerm_resource_group.test.name}"
}
output "network_watcher_id" {
value = "${data.azurerm_network_watcher.test.id}"
}
» Argument Reference
-
name
- (Required) Specifies the Name of the Network Watcher. -
resource_group_name
- (Required) Specifies the Name of the Resource Group within which the Network Watcher exists.