condition for azfw when nva is set (#688)
This commit is contained in:
Родитель
6ce9749966
Коммит
deee462d0d
|
@ -2440,7 +2440,7 @@
|
|||
"value": "[variables('platformResourceIds').vNetHubResourceId]"
|
||||
},
|
||||
"azureFirewallResourceId": {
|
||||
"value": "[variables('platformResourceIds').azFirewallResourceId]"
|
||||
"value": "[if(equals(parameters('enableAzFwDnsProxy'), 'Yes'), variables('platformResourceIds').azFirewallResourceId, '')]"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
{
|
||||
// Create top level management group under tenant root
|
||||
"type": "Microsoft.Management/managementGroups",
|
||||
"scope": "/",
|
||||
"apiVersion": "2020-05-01",
|
||||
"name": "[parameters('topLevelManagementGroupPrefix')]",
|
||||
"properties": {}
|
||||
|
@ -50,6 +51,7 @@
|
|||
// Create management group for platform management groups
|
||||
"type": "Microsoft.Management/managementGroups",
|
||||
"apiVersion": "2020-05-01",
|
||||
"scope": "/",
|
||||
"name": "[variables('enterpriseScaleManagementGroups').platform]",
|
||||
"dependsOn": [
|
||||
"[tenantResourceId('Microsoft.Management/managementGroups/', parameters('topLevelManagementGroupPrefix'))]"
|
||||
|
@ -67,6 +69,7 @@
|
|||
// Create management group for landing zones
|
||||
"type": "Microsoft.Management/managementGroups",
|
||||
"apiVersion": "2020-05-01",
|
||||
"scope": "/",
|
||||
"name": "[variables('enterpriseScaleManagementGroups').landingZone]",
|
||||
"dependsOn": [
|
||||
"[tenantResourceId('Microsoft.Management/managementGroups/', parameters('topLevelManagementGroupPrefix'))]"
|
||||
|
@ -84,6 +87,7 @@
|
|||
// Create management group for sandbox subscriptions
|
||||
"type": "Microsoft.Management/managementGroups",
|
||||
"apiVersion": "2020-05-01",
|
||||
"scope": "/",
|
||||
"name": "[variables('enterpriseScaleManagementGroups').sandboxes]",
|
||||
"dependsOn": [
|
||||
"[tenantResourceId('Microsoft.Management/managementGroups/', parameters('topLevelManagementGroupPrefix'))]"
|
||||
|
@ -101,6 +105,7 @@
|
|||
// Create management group for decommissioned subscriptions
|
||||
"type": "Microsoft.Management/managementGroups",
|
||||
"apiVersion": "2020-05-01",
|
||||
"scope": "/",
|
||||
"name": "[variables('enterpriseScaleManagementGroups').decommissioned]",
|
||||
"dependsOn": [
|
||||
"[tenantResourceId('Microsoft.Management/managementGroups/', parameters('topLevelManagementGroupPrefix'))]"
|
||||
|
@ -119,6 +124,7 @@
|
|||
"condition": "[not(empty(parameters('platformMgs')))]",
|
||||
"type": "Microsoft.Management/managementGroups",
|
||||
"apiVersion": "2020-05-01",
|
||||
"scope": "/",
|
||||
"name": "[concat(parameters('topLevelManagementGroupPrefix'), '-', parameters('platformMgs')[copyIndex()])]",
|
||||
"dependsOn": [
|
||||
"[tenantResourceId('Microsoft.Management/managementGroups', variables('enterpriseScaleManagementGroups').platform)]"
|
||||
|
@ -141,6 +147,7 @@
|
|||
"condition": "[not(empty(parameters('landingZoneMgs')))]",
|
||||
"type": "Microsoft.Management/managementGroups",
|
||||
"apiVersion": "2020-05-01",
|
||||
"scope": "/",
|
||||
"name": "[concat(parameters('topLevelManagementGroupPrefix'), '-', parameters('landingZoneMgs')[copyIndex()])]",
|
||||
"dependsOn": [
|
||||
"[tenantResourceId('Microsoft.Management/managementGroups/', variables('enterpriseScaleManagementGroups').landingZone)]"
|
||||
|
|
Загрузка…
Ссылка в новой задаче