Microsoft.ManagedNetwork managedNetworks/managedNetworkGroups 2019-06-01-preview

Bicep resource definition

The managedNetworks/managedNetworkGroups resource type can be deployed to:

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

Resource format

To create a Microsoft.ManagedNetwork/managedNetworks/managedNetworkGroups resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.ManagedNetwork/managedNetworks/managedNetworkGroups@2019-06-01-preview' = {
  name: 'string'
  location: 'string'
  kind: 'Connectivity'
  parent: resourceSymbolicName
  properties: {
    managementGroups: [
      {
        id: 'string'
      }
    ]
    subnets: [
      {
        id: 'string'
      }
    ]
    subscriptions: [
      {
        id: 'string'
      }
    ]
    virtualNetworks: [
      {
        id: 'string'
      }
    ]
  }
}

Property values

managedNetworks/managedNetworkGroups

Name Description Value
name The resource name

See how to set names and types for child resources in Bicep.
string (required)
location The geo-location where the resource lives string
kind Responsibility role under which this Managed Network Group will be created 'Connectivity'
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: managedNetworks
properties Gets or sets the properties of a network group ManagedNetworkGroupProperties

ManagedNetworkGroupProperties

Name Description Value
managementGroups The collection of management groups covered by the Managed Network ResourceId[]
subnets The collection of subnets covered by the Managed Network ResourceId[]
subscriptions The collection of subscriptions covered by the Managed Network ResourceId[]
virtualNetworks The collection of virtual nets covered by the Managed Network ResourceId[]

ResourceId

Name Description Value
id Resource Id string

ARM template resource definition

The managedNetworks/managedNetworkGroups resource type can be deployed to:

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

Resource format

To create a Microsoft.ManagedNetwork/managedNetworks/managedNetworkGroups resource, add the following JSON to your template.

{
  "type": "Microsoft.ManagedNetwork/managedNetworks/managedNetworkGroups",
  "apiVersion": "2019-06-01-preview",
  "name": "string",
  "location": "string",
  "kind": "Connectivity",
  "properties": {
    "managementGroups": [
      {
        "id": "string"
      }
    ],
    "subnets": [
      {
        "id": "string"
      }
    ],
    "subscriptions": [
      {
        "id": "string"
      }
    ],
    "virtualNetworks": [
      {
        "id": "string"
      }
    ]
  }
}

Property values

managedNetworks/managedNetworkGroups

Name Description Value
type The resource type 'Microsoft.ManagedNetwork/managedNetworks/managedNetworkGroups'
apiVersion The resource api version '2019-06-01-preview'
name The resource name

See how to set names and types for child resources in JSON ARM templates.
string (required)
location The geo-location where the resource lives string
kind Responsibility role under which this Managed Network Group will be created 'Connectivity'
properties Gets or sets the properties of a network group ManagedNetworkGroupProperties

ManagedNetworkGroupProperties

Name Description Value
managementGroups The collection of management groups covered by the Managed Network ResourceId[]
subnets The collection of subnets covered by the Managed Network ResourceId[]
subscriptions The collection of subscriptions covered by the Managed Network ResourceId[]
virtualNetworks The collection of virtual nets covered by the Managed Network ResourceId[]

ResourceId

Name Description Value
id Resource Id string

Terraform (AzAPI provider) resource definition

The managedNetworks/managedNetworkGroups resource type can be deployed to:

  • Resource groups

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

Resource format

To create a Microsoft.ManagedNetwork/managedNetworks/managedNetworkGroups resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.ManagedNetwork/managedNetworks/managedNetworkGroups@2019-06-01-preview"
  name = "string"
  location = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      managementGroups = [
        {
          id = "string"
        }
      ]
      subnets = [
        {
          id = "string"
        }
      ]
      subscriptions = [
        {
          id = "string"
        }
      ]
      virtualNetworks = [
        {
          id = "string"
        }
      ]
    }
    kind = "Connectivity"
  })
}

Property values

managedNetworks/managedNetworkGroups

Name Description Value
type The resource type "Microsoft.ManagedNetwork/managedNetworks/managedNetworkGroups@2019-06-01-preview"
name The resource name string (required)
location The geo-location where the resource lives string
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: managedNetworks
kind Responsibility role under which this Managed Network Group will be created "Connectivity"
properties Gets or sets the properties of a network group ManagedNetworkGroupProperties

ManagedNetworkGroupProperties

Name Description Value
managementGroups The collection of management groups covered by the Managed Network ResourceId[]
subnets The collection of subnets covered by the Managed Network ResourceId[]
subscriptions The collection of subscriptions covered by the Managed Network ResourceId[]
virtualNetworks The collection of virtual nets covered by the Managed Network ResourceId[]

ResourceId

Name Description Value
id Resource Id string