azurerm_network_manager

Manages a Network Managers.

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"
  tags = {
    foo = "bar"
  }
}

Arguments Reference

The following arguments are supported:


A scope block supports the following:

Attributes Reference

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


A cross_tenant_scopes block exports the following:

Timeouts

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

Import

Network Managers can be imported using the resource id, e.g.

terraform import azurerm_network_manager.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Network/networkManagers/networkManager1