标签: azure-storage arm-template azure-diagnostics
从 ARMTemplate 部署的存储帐户正在创建禁用的诊断设置。
如何使用 ARMTemplate 或 Powershell 脚本启用诊断状态?
想要自动化部署诊断设置的过程。
答案 0 :(得分:0)
请按照以下 URL 启用使用 ARM 模板的 Azure 存储帐户的诊断设置:
https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/resource-manager-diagnostic-settings#diagnostic-setting-for-azure-storage
答案 1 :(得分:0)
部署到 Azure portal 后,您还可以在 Azure portal 中创建诊断设置:
Azure portal
https://docs.microsoft.com/en-us/azure/storage/blobs/monitor-blob-storage?tabs=azure-portal#creating-a-diagnostic-setting
例如:
为 blob 创建 diagnostic setting 后,它将启用:
diagnostic setting
也可以使用 diagnostic settings 中提到的 ARM Template 创建 Jagrati Modi-AIS。
diagnostic settings
ARM Template
Jagrati Modi-AIS