Created
April 12, 2022 17:09
-
-
Save krnese/02574c200237da32c87be3d65f7ada30 to your computer and use it in GitHub Desktop.
ANM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"managementGroupId": { | |
"type": "string", | |
"defaultValue": "/providers/Microsoft.Management/managementGroups/paris" | |
}, | |
"location": { | |
"type": "string", | |
"defaultValue": "westeurope" | |
} | |
}, | |
"variables": { | |
"avnmName": "[concat('avnm-', deployment().name)]" | |
}, | |
"resources": [ | |
{ | |
"type": "Microsoft.Network/networkManagers", | |
"name": "[variables('avnmName')]", | |
"apiVersion": "2021-05-01-preview", | |
"location": "[parameters('location')]", | |
"properties": { | |
"displayName": "AVNM", | |
"description": "test", | |
"networkManagerScopeAccesses": [ | |
"Connectivity", | |
"SecurityAdmin" | |
], | |
"networkManagerScopes": { | |
"managementGroups": [ | |
"[parameters('managementGroupId')]" | |
], | |
"subscriptions": [] | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment