Partager via


Microsoft.Network networkManagers/networkGroups 2024-05-01

Bicep resource definition

The networkManagers/networkGroups 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/networkGroups resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Network/networkManagers/networkGroups@2024-05-01' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    description: 'string'
    memberType: 'string'
  }
}

Property values

Microsoft.Network/networkManagers/networkGroups

Name Description Value
name The resource name string (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: networkManagers
properties The Network Group properties NetworkGroupProperties

NetworkGroupProperties

Name Description Value
description A description of the network group. string
memberType The type of the group member. 'Subnet'
'VirtualNetwork'

Quickstart samples

The following quickstart samples deploy 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/networkGroups 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/networkGroups resource, add the following JSON to your template.

{
  "type": "Microsoft.Network/networkManagers/networkGroups",
  "apiVersion": "2024-05-01",
  "name": "string",
  "properties": {
    "description": "string",
    "memberType": "string"
  }
}

Property values

Microsoft.Network/networkManagers/networkGroups

Name Description Value
apiVersion The api version '2024-05-01'
name The resource name string (required)
properties The Network Group properties NetworkGroupProperties
type The resource type 'Microsoft.Network/networkManagers/networkGroups'

NetworkGroupProperties

Name Description Value
description A description of the network group. string
memberType The type of the group member. 'Subnet'
'VirtualNetwork'

Quickstart templates

The following 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/networkGroups 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/networkGroups resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Network/networkManagers/networkGroups@2024-05-01"
  name = "string"
  body = jsonencode({
    properties = {
      description = "string"
      memberType = "string"
    }
  })
}

Property values

Microsoft.Network/networkManagers/networkGroups

Name Description Value
name The resource name string (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: networkManagers
properties The Network Group properties NetworkGroupProperties
type The resource type "Microsoft.Network/networkManagers/networkGroups@2024-05-01"

NetworkGroupProperties

Name Description Value
description A description of the network group. string
memberType The type of the group member. 'Subnet'
'VirtualNetwork'