» Data Source: azurerm_network_watcher

Use this data source to access information about an existing Network Watcher.

» Example Usage

data "azurerm_network_watcher" "example" {
  name                = azurerm_network_watcher.example.name
  resource_group_name = azurerm_resource_group.example.name

output "network_watcher_id" {
  value = data.azurerm_network_watcher.example.id

» Argument Reference

  • name - Specifies the Name of the Network Watcher.
  • resource_group_name - Specifies the Name of the Resource Group within which the Network Watcher exists.

» Attributes Reference

  • id - The ID of the Network Watcher.

  • location - The supported Azure location where the resource exists.

  • tags - A mapping of tags assigned to the resource.

» Timeouts

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

  • read - (Defaults to 5 minutes) Used when retrieving the Network Watcher.