【问题标题】:How to get Azure Storage account logging enablement status?如何获取 Azure 存储帐户日志记录启用状态?
【发布时间】:2020-11-07 04:28:46
【问题描述】:

根据 azure 文档,我已为我的存储帐户启用了日志记录。 https://docs.microsoft.com/en-us/azure/storage/common/storage-monitor-storage-account#configure-logging

是否有任何 REST API 来获取该日志记录启用信息?

预期响应: { “存储帐户名称”:“st1”, “日志”:“启用” }

我已经尝试过https://docs.microsoft.com/en-us/rest/api/monitor/diagnosticsettings/list API。 但是每次都返回空值响应。

【问题讨论】:

    标签: azure azure-storage-account


    【解决方案1】:

    检查这是否有帮助 Blob Service properties using REST API

    【讨论】:

    • 虽然此链接可能会回答问题,但最好在此处包含答案的基本部分并提供链接以供参考。如果链接页面发生更改,仅链接的答案可能会失效。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-05-01
    • 2023-03-06
    • 1970-01-01
    • 1970-01-01
    • 2019-02-02
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多