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

The networkManagers/networkGroups resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

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

resource symbolicname 'Microsoft.Network/networkManagers/networkGroups@2021-02-01-preview' = {
  name: 'string'
  properties: {
    conditionalMembership: 'string'
    description: 'string'
    displayName: 'string'
    groupMembers: [
      {
        subnetId: 'string'
        vnetId: 'string'
      }
    ]
    memberType: 'string'
  }
}

Property values

networkManagers/networkGroups

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.Network/networkManagers/networkGroups'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2021-02-01-preview'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
string (required)
properties Properties of network group 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. 'Subnet'
'VirtualNetwork'

GroupMembersItem

Name Description Value
subnetId Subnet Id. string
vnetId Vnet Id. string