azurerm_network_manager

Use this data source to access information about a Network Manager.

Example Usage

resource "azurerm_resource_group" "example" {
  name     = "example-resources"
  location = "West Europe"
}

data "azurerm_subscription" "current" {
}

resource "azurerm_network_manager" "example" {
  name                = "example-network-manager"
  location            = azurerm_resource_group.example.location
  resource_group_name = azurerm_resource_group.example.name
  scope {
    subscription_ids = [data.azurerm_subscription.current.id]
  }
  scope_accesses = ["Connectivity", "SecurityAdmin"]
  description    = "example network manager"
}

data "azurerm_network_manager" "example" {
  name                = azurerm_network_manager.example.name
  resource_group_name = azurerm_network_manager.example.resource_group_name
}

Arguments Reference

The following arguments are supported:

Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:


A scope block exports the following:


A cross_tenant_scopes block exports the following:

Timeouts

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