Skip to content

Commit

Permalink
Typo fixed by adding items
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanzhang9 committed Aug 16, 2024
1 parent 56f8ce2 commit 798e305
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eslzArm/eslzArm.json
Original file line number Diff line number Diff line change
Expand Up @@ -2679,6 +2679,8 @@
// Deploying Diagnostic Settings to management groups if Log Analytics was deployed via a loop
// exclude Mooncake since Management Group Diagnostic Settings Rest API is NOT supported in Azure China. https://learn.microsoft.com/en-us/answers/questions/1640390/confirm-if-management-group-diagnostic-settings-re
"condition": "[and(empty(parameters('singlePlatformSubscriptionId')), not(empty(parameters('managementSubscriptionId'))), equals(parameters('enableLogAnalytics'), 'Yes'), not(equals(environment().resourceManager, 'https://management.chinacloudapi.cn')))]",
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-10-01",
"name": "[take(concat(variables('mgmtGroupsArray')[copyIndex()], variables('deploymentNames').diagnosticSettingsforMGsDeploymentName), 64)]",
"scope": "[concat('Microsoft.Management/managementGroups/', variables('mgmtGroupsArray')[copyIndex()])]",
"location": "[deployment().location]",
Expand Down

0 comments on commit 798e305

Please sign in to comment.