You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We have several Azure resources that have diagnostics deployed typically in the form below, but I can't find a way to reference these using bicep. i.e
// "type": "Microsoft.KeyVault/vaults/providers/diagnosticsettings"
// "type": "Microsoft.Network/loadBalancers/providers/diagnosticSettings",
Not sure if this is a bug or if these resources should be referenced using a different provider (i.e microsoft.insights/diagnosticSettings).
To Reproduce
Try adding it.
The text was updated successfully, but these errors were encountered:
This should also be covered by #870. As you mentioned, the true type of the resources you're trying to deploy is "Microsoft.Insights/diagnosticSettings" which does technically have types available - there's just no syntax to declare that resource as an extension of another resource in Bicep today.
Bicep version
0.2.59
Describe the bug
We have several Azure resources that have diagnostics deployed typically in the form below, but I can't find a way to reference these using bicep. i.e
// "type": "Microsoft.KeyVault/vaults/providers/diagnosticsettings"
// "type": "Microsoft.Network/loadBalancers/providers/diagnosticSettings",
Not sure if this is a bug or if these resources should be referenced using a different provider (i.e microsoft.insights/diagnosticSettings).
To Reproduce
Try adding it.
The text was updated successfully, but these errors were encountered: