Share via


Microsoft.Network networkManagers 2022-01-01

Choose a deployment language

Bicep resource definition

The networkManagers resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Network/networkManagers resource, add the following Bicep to your template.

Bicep
resource symbolicname 'Microsoft.Network/networkManagers@2022-01-01' = {
  location: 'string'
  name: 'string'
  properties: {
    description: 'string'
    networkManagerScopeAccesses: [
      'string'
    ]
    networkManagerScopes: {
      managementGroups: [
        'string'
      ]
      subscriptions: [
        'string'
      ]
    }
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.Network/networkManagers

Name Description Value
location Resource location. string
name The resource name string (required)
properties The network manager properties NetworkManagerProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

NetworkManagerProperties

Name Description Value
description A description of the network manager. string
networkManagerScopeAccesses Scope Access. String array containing any of:
'Connectivity'
'SecurityAdmin' (required)
networkManagerScopes Scope of Network Manager. NetworkManagerPropertiesNetworkManagerScopes (required)

NetworkManagerPropertiesNetworkManagerScopes

Name Description Value
managementGroups List of management groups. string[]
subscriptions List of subscriptions. string[]

ResourceTags

Name Description Value

Usage Examples

Azure Verified Modules

The following Azure Verified Modules can be used to deploy this resource type.

Module Description
Network Manager AVM Resource Module for Network Manager

Azure Quickstart Samples

The following Azure Quickstart templates contain Bicep samples for deploying this resource type.

Bicep File Description
Create an Azure Virtual Network Manager and sample VNETs This template deploys an Azure Virtual Network Manager and sample virtual networks into the named resource group. It supports multiple connectivity topologies and network group membership types.

ARM template resource definition

The networkManagers resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Network/networkManagers resource, add the following JSON to your template.

JSON
{
  "type": "Microsoft.Network/networkManagers",
  "apiVersion": "2022-01-01",
  "name": "string",
  "location": "string",
  "properties": {
    "description": "string",
    "networkManagerScopeAccesses": [ "string" ],
    "networkManagerScopes": {
      "managementGroups": [ "string" ],
      "subscriptions": [ "string" ]
    }
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.Network/networkManagers

Name Description Value
apiVersion The api version '2022-01-01'
location Resource location. string
name The resource name string (required)
properties The network manager properties NetworkManagerProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.Network/networkManagers'

NetworkManagerProperties

Name Description Value
description A description of the network manager. string
networkManagerScopeAccesses Scope Access. String array containing any of:
'Connectivity'
'SecurityAdmin' (required)
networkManagerScopes Scope of Network Manager. NetworkManagerPropertiesNetworkManagerScopes (required)

NetworkManagerPropertiesNetworkManagerScopes

Name Description Value
managementGroups List of management groups. string[]
subscriptions List of subscriptions. string[]

ResourceTags

Name Description Value

Usage Examples

Azure Quickstart Templates

The following Azure Quickstart templates deploy this resource type.

Template Description
Create an Azure Virtual Network Manager and sample VNETs

Deploy to Azure
This template deploys an Azure Virtual Network Manager and sample virtual networks into the named resource group. It supports multiple connectivity topologies and network group membership types.

Terraform (AzAPI provider) resource definition

The networkManagers resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Network/networkManagers resource, add the following Terraform to your template.

Terraform
resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Network/networkManagers@2022-01-01"
  name = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = jsonencode({
    properties = {
      description = "string"
      networkManagerScopeAccesses = [
        "string"
      ]
      networkManagerScopes = {
        managementGroups = [
          "string"
        ]
        subscriptions = [
          "string"
        ]
      }
    }
  })
}

Property Values

Microsoft.Network/networkManagers

Name Description Value
location Resource location. string
name The resource name string (required)
properties The network manager properties NetworkManagerProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.Network/networkManagers@2022-01-01"

NetworkManagerProperties

Name Description Value
description A description of the network manager. string
networkManagerScopeAccesses Scope Access. String array containing any of:
'Connectivity'
'SecurityAdmin' (required)
networkManagerScopes Scope of Network Manager. NetworkManagerPropertiesNetworkManagerScopes (required)

NetworkManagerPropertiesNetworkManagerScopes

Name Description Value
managementGroups List of management groups. string[]
subscriptions List of subscriptions. string[]

ResourceTags

Name Description Value

Usage Examples

Azure Verified Modules

The following Azure Verified Modules can be used to deploy this resource type.

Module Description
Azure Virtual Network Manager AVM Resource Module for Azure Virtual Network Manager