Skip to content

Commit 3c2e9df

Browse files
authored
Merge pull request #97706 from senthilrepo20/patch-1
Update resource-manager-diagnostic-settings.md
2 parents 6b71798 + afb2a5c commit 3c2e9df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-monitor/essentials/resource-manager-diagnostic-settings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ param eventHubAuthorizationRuleId string
588588
@description('The name of the event hub.')
589589
param eventHubName string
590590
591-
resource vault 'Microsoft.KeyVault/managedHSMs@2021-11-01-preview' existing = {
591+
resource vault 'Microsoft.KeyVault/vaults@2021-11-01-preview' existing = {
592592
name: vaultName
593593
}
594594
@@ -664,7 +664,7 @@ resource setting 'Microsoft.Insights/diagnosticSettings@2021-05-01-preview' = {
664664
{
665665
"type": "Microsoft.Insights/diagnosticSettings",
666666
"apiVersion": "2021-05-01-preview",
667-
"scope": "[format('Microsoft.KeyVault/managedHSMs/{0}', parameters('vaultName'))]",
667+
"scope": "[format('Microsoft.KeyVault/vaults/{0}', parameters('vaultName'))]",
668668
"name": "[parameters('settingName')]",
669669
"properties": {
670670
"workspaceId": "[parameters('workspaceId')]",

0 commit comments

Comments
 (0)