Microsoft.Network networkManagers/networkGroups 2021-02-01-preview

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@2021-02-01-preview' = {
  name: 'string'
  properties: {
    conditionalMembership: 'string'
    description: 'string'
    displayName: 'string'
    groupMembers: [
      {
        resourceId: 'string'
      }
    ]
    memberType: 'string'
  }
}

Property values

GroupMembersItem

Name Description Value
resourceId Resource Id. string

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
conditionalMembership Network group conditional filter. string
description A description of the network group. string
displayName A friendly name for the network group. string
groupMembers Group members of network group. GroupMembersItem[]
memberType Group member type. string

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": "2021-02-01-preview",
  "name": "string",
  "properties": {
    "conditionalMembership": "string",
    "description": "string",
    "displayName": "string",
    "groupMembers": [
      {
        "resourceId": "string"
      }
    ],
    "memberType": "string"
  }
}

Property values

GroupMembersItem

Name Description Value
resourceId Resource Id. string

Microsoft.Network/networkManagers/networkGroups

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

NetworkGroupProperties

Name Description Value
conditionalMembership Network group conditional filter. string
description A description of the network group. string
displayName A friendly name for the network group. string
groupMembers Group members of network group. GroupMembersItem[]
memberType Group member type. string

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@2021-02-01-preview"
  name = "string"
  body = jsonencode({
    properties = {
      conditionalMembership = "string"
      description = "string"
      displayName = "string"
      groupMembers = [
        {
          resourceId = "string"
        }
      ]
      memberType = "string"
    }
  })
}

Property values

GroupMembersItem

Name Description Value
resourceId Resource Id. string

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@2021-02-01-preview"

NetworkGroupProperties

Name Description Value
conditionalMembership Network group conditional filter. string
description A description of the network group. string
displayName A friendly name for the network group. string
groupMembers Group members of network group. GroupMembersItem[]
memberType Group member type. string