与 Get-AzureRmSqlServerThreatDetectionPolicy 等效的 C# 是什么?
What is the C# equivalent to Get-AzureRmSqlServerThreatDetectionPolicy?
所以 docs for this cmdlet 显示了一些非常有趣的信息,我想在 C# 中以编程方式阅读。 SqlManagementClient
似乎没有直接暴露服务器的威胁检测策略。我可以在 DatabaseThreatDetectionPolicies
中获取数据库威胁检测策略,但我想要服务器策略。
任何人都可以指出有关如何在 C# 中获取该信息的文档吗?
所以这似乎是一个糟糕的命名问题。 ServerSecurityAlertPolicies
似乎代表服务器级别的 ThreatDetectionPolicies
。这令人困惑,因为它在服务器和数据库级别对相同信息有不同的命名。
为了让以后搜索此内容的人清楚(如果我的假设有误,请纠正我),看起来是:
- 服务器级别的审核日志记录在
ServerBlobAuditingPolicies
中
- 服务器级别的威胁检测日志记录在
ServerSecurityAlertPolicies
中
- 数据库级别的审核日志记录在
DatabaseBlobAuditingPolicies
中
- 服务器级别的威胁检测日志记录在
DatabaseThreatDetectionPolicies
中
HTH 以后跟踪此线索的任何人。
所以 docs for this cmdlet 显示了一些非常有趣的信息,我想在 C# 中以编程方式阅读。 SqlManagementClient
似乎没有直接暴露服务器的威胁检测策略。我可以在 DatabaseThreatDetectionPolicies
中获取数据库威胁检测策略,但我想要服务器策略。
任何人都可以指出有关如何在 C# 中获取该信息的文档吗?
所以这似乎是一个糟糕的命名问题。 ServerSecurityAlertPolicies
似乎代表服务器级别的 ThreatDetectionPolicies
。这令人困惑,因为它在服务器和数据库级别对相同信息有不同的命名。
为了让以后搜索此内容的人清楚(如果我的假设有误,请纠正我),看起来是:
- 服务器级别的审核日志记录在
ServerBlobAuditingPolicies
中
- 服务器级别的威胁检测日志记录在
ServerSecurityAlertPolicies
中
- 数据库级别的审核日志记录在
DatabaseBlobAuditingPolicies
中
- 服务器级别的威胁检测日志记录在
DatabaseThreatDetectionPolicies
中
HTH 以后跟踪此线索的任何人。