-
Notifications
You must be signed in to change notification settings - Fork 753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable Azure Storage Analytics diagnostics with Bicep #10880
Comments
I'm not sure I understand the ask. Are you saying this is not possible via bicep today? If so, I'd recommend opening a support case (and we will move this issue to the |
Yes. It's not possible to turn off the diagnostic settings (classic) of a Storage Account via Bicep as of now. |
Only hourly metrics are enabled by default and classic storage metrics is going to be retired soon:
True. AFAIK Classic storage diagnostics are on storage account data layer only: https://learn.microsoft.com/en-us/rest/api/storageservices/enabling-and-configuring-storage-analytics. |
I've open another one Azure/bicep-types-az#2321 |
Is your feature request related to a problem? Please describe.
Diagnostics are enabled by default on new storage accounts created from the Azure portal, PowerShell and Azure Bicep. In the diagnostic settings (classic) blade, hour metrics are always enabled for blob, file, table & queue services.
Describe the solution you'd like
It would be better if we can turn diagnostics on or off by using Azure Bicep.
The text was updated successfully, but these errors were encountered: