Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
- Latest
- 2026-03-01
- 2026-01-01
- 2025-09-01
- 2025-07-01
- 2025-05-01
- 2025-03-01
- 2025-01-01
- 2024-10-01
- 2024-07-01
- 2024-05-01
- 2024-03-01
- 2024-01-01
- 2023-11-01
- 2023-09-01
- 2023-06-01
- 2023-05-01
- 2023-04-01
- 2023-02-01
- 2022-11-01
- 2022-09-01
- 2022-07-01
- 2022-05-01
- 2022-04-01-preview
- 2022-02-01-preview
- 2022-01-01
- 2021-05-01-preview
Bicep resource definition
The networkManagers/scopeConnections resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Usage Examples
Bicep Samples
A basic example of deploying Network Manager Scope Connection.
param resourceName string = 'acctest0001'
param location string = 'westeurope'
resource networkManager 'Microsoft.Network/networkManagers@2022-09-01' = {
name: resourceName
location: location
properties: {
description: ''
networkManagerScopeAccesses: [
'SecurityAdmin'
]
networkManagerScopes: {
managementGroups: []
subscriptions: [
subscription().id
]
}
}
}
resource scopeConnection 'Microsoft.Network/networkManagers/scopeConnections@2022-09-01' = {
name: resourceName
parent: networkManager
properties: {
resourceId: subscription().id
tenantId: subscription().tenantId
}
}
Azure Verified Modules
The following Azure Verified Modules can be used to deploy this resource type.
| Module | Description |
|---|---|
| Network Manager - Scope Connection | AVM Child Module for Network Manager - Scope Connection |
Resource format
To create a Microsoft.Network/networkManagers/scopeConnections resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Network/networkManagers/scopeConnections@2026-01-01' = {
parent: resourceSymbolicName
name: 'string'
properties: {
description: 'string'
resourceId: 'string'
tenantId: 'string'
}
}
Property Values
Microsoft.Network/networkManagers/scopeConnections
| 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 scope connection properties | ScopeConnectionProperties |
ScopeConnectionProperties
| Name | Description | Value |
|---|---|---|
| description | A description of the scope connection. | string |
| resourceId | Resource ID. | string |
| tenantId | Tenant ID. | string |
ARM template resource definition
The networkManagers/scopeConnections resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands For a list of changed properties in each API version, see change log.
Usage Examples
Resource format
To create a Microsoft.Network/networkManagers/scopeConnections resource, add the following JSON to your template.
{
"type": "Microsoft.Network/networkManagers/scopeConnections",
"apiVersion": "2026-01-01",
"name": "string",
"properties": {
"description": "string",
"resourceId": "string",
"tenantId": "string"
}
}
Property Values
Microsoft.Network/networkManagers/scopeConnections
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2026-01-01' |
| name | The resource name | string (required) |
| properties | The scope connection properties | ScopeConnectionProperties |
| type | The resource type | 'Microsoft.Network/networkManagers/scopeConnections' |
ScopeConnectionProperties
| Name | Description | Value |
|---|---|---|
| description | A description of the scope connection. | string |
| resourceId | Resource ID. | string |
| tenantId | Tenant ID. | string |
Terraform (AzAPI provider) resource definition
The networkManagers/scopeConnections resource type can be deployed with operations that target:
- Resource groups For a list of changed properties in each API version, see change log.
Usage Examples
Terraform Samples
A basic example of deploying Network Manager Scope Connection.
terraform {
required_providers {
azapi = {
source = "Azure/azapi"
}
azurerm = {
source = "hashicorp/azurerm"
}
}
}
provider "azurerm" {
features {
}
}
provider "azapi" {
skip_provider_registration = false
}
variable "resource_name" {
type = string
default = "acctest0001"
}
variable "location" {
type = string
default = "westeurope"
}
data "azurerm_client_config" "current" {
}
data "azapi_resource" "subscription" {
type = "Microsoft.Resources/subscriptions@2021-01-01"
resource_id = "/subscriptions/${data.azurerm_client_config.current.subscription_id}"
response_export_values = ["*"]
}
resource "azapi_resource" "resourceGroup" {
type = "Microsoft.Resources/resourceGroups@2020-06-01"
name = var.resource_name
location = var.location
}
resource "azapi_resource" "networkManager" {
type = "Microsoft.Network/networkManagers@2022-09-01"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
location = var.location
body = {
properties = {
description = ""
networkManagerScopeAccesses = [
"SecurityAdmin",
]
networkManagerScopes = {
managementGroups = [
]
subscriptions = [
data.azapi_resource.subscription.id,
]
}
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
resource "azapi_resource" "scopeConnection" {
type = "Microsoft.Network/networkManagers/scopeConnections@2022-09-01"
parent_id = azapi_resource.networkManager.id
name = var.resource_name
body = {
properties = {
resourceId = data.azapi_resource.subscription.id
tenantId = data.azapi_resource.subscription.output.tenantId
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
Resource format
To create a Microsoft.Network/networkManagers/scopeConnections resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Network/networkManagers/scopeConnections@2026-01-01"
name = "string"
parent_id = "string"
body = {
properties = {
description = "string"
resourceId = "string"
tenantId = "string"
}
}
}
Property Values
Microsoft.Network/networkManagers/scopeConnections
| 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 scope connection properties | ScopeConnectionProperties |
| type | The resource type | "Microsoft.Network/networkManagers/scopeConnections@2026-01-01" |
ScopeConnectionProperties
| Name | Description | Value |
|---|---|---|
| description | A description of the scope connection. | string |
| resourceId | Resource ID. | string |
| tenantId | Tenant ID. | string |