你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DatabaseSecurityAlertPolicyInner 类

定义

包含有关数据库威胁检测策略的信息。

[Microsoft.Rest.Serialization.JsonTransformation]
public class DatabaseSecurityAlertPolicyInner : Microsoft.Azure.Management.Sql.Fluent.Models.ProxyResourceInner
[<Microsoft.Rest.Serialization.JsonTransformation>]
type DatabaseSecurityAlertPolicyInner = class
    inherit ProxyResourceInner
Public Class DatabaseSecurityAlertPolicyInner
Inherits ProxyResourceInner
继承
DatabaseSecurityAlertPolicyInner
属性

构造函数

DatabaseSecurityAlertPolicyInner()

初始化 DatabaseSecurityAlertPolicyInner 类的新实例。

DatabaseSecurityAlertPolicyInner(SecurityAlertPolicyState, String, String, String, String, String, String, String, Nullable<SecurityAlertPolicyEmailAccountAdmins>, String, String, Nullable<Int32>, Nullable<SecurityAlertPolicyUseServerDefault>)

初始化 DatabaseSecurityAlertPolicyInner 类的新实例。

属性

DisabledAlerts

获取或设置指定禁用的以分号分隔的警报列表,或指定用于禁用任何警报的空字符串。 可能的值:Sql_Injection;Sql_Injection_Vulnerability;Access_Anomaly;Data_Exfiltration;Unsafe_Action。

EmailAccountAdmins

获取或设置 指定将警报发送到帐户管理员。 可能的值包括:“Enabled”、“Disabled”

EmailAddresses

获取或设置指定以分号分隔的警报发送到的电子邮件地址列表。

Id

资源 ID。Setter 受保护,因为需要在网络资源中设置 ID。

(继承自 ProxyResource)
Kind

获取资源类型。

Location

获取或设置资源所在的地理位置

Name

资源名称

(继承自 ProxyResource)
RetentionDays

获取或设置指定要在威胁检测审核日志中保留的天数。

State

获取或设置指定策略的状态。 如果状态为“已启用”,则需要 storageEndpoint 和 storageAccountAccessKey。 可能的值包括:“New”、“Enabled”、“Disabled”

StorageAccountAccessKey

获取或设置指定威胁检测审核存储帐户的标识符密钥。 如果状态为“已启用”,则需要 storageAccountAccessKey。

StorageEndpoint

获取或设置指定 blob 存储终结点 (例如 https://MyAccount.blob.core.windows.net) 。 此 Blob 存储将保存所有威胁检测审核日志。 如果状态为“已启用”,则需要 storageEndpoint。

Tags

资源标记

(继承自 Resource)
Type

资源类型

(继承自 ProxyResource)
UseServerDefault

获取或设置指定是否使用默认服务器策略。 可能的值包括:“Enabled”、“Disabled”

方法

Validate()

验证 对象。

适用于