你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DatabaseSecurityAlertPolicyInner 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
DatabaseSecurityAlertPolicyInner() |
初始化 DatabaseSecurityAlertPolicyInner 类的新实例。 |
DatabaseSecurityAlertPolicyInner(SecurityAlertPolicyState, String, String, String, String, String, String, String, Nullable<SecurityAlertPolicyEmailAccountAdmins>, String, String, Nullable<Int32>, Nullable<SecurityAlertPolicyUseServerDefault>) |
初始化 DatabaseSecurityAlertPolicyInner 类的新实例。 |
DatabaseSecurityAlertPolicyInner()
初始化 DatabaseSecurityAlertPolicyInner 类的新实例。
public DatabaseSecurityAlertPolicyInner ();
Public Sub New ()
适用于
DatabaseSecurityAlertPolicyInner(SecurityAlertPolicyState, String, String, String, String, String, String, String, Nullable<SecurityAlertPolicyEmailAccountAdmins>, String, String, Nullable<Int32>, Nullable<SecurityAlertPolicyUseServerDefault>)
初始化 DatabaseSecurityAlertPolicyInner 类的新实例。
public DatabaseSecurityAlertPolicyInner (Microsoft.Azure.Management.Sql.Fluent.Models.SecurityAlertPolicyState state, string id = default, string name = default, string type = default, string location = default, string kind = default, string disabledAlerts = default, string emailAddresses = default, Microsoft.Azure.Management.Sql.Fluent.Models.SecurityAlertPolicyEmailAccountAdmins? emailAccountAdmins = default, string storageEndpoint = default, string storageAccountAccessKey = default, int? retentionDays = default, Microsoft.Azure.Management.Sql.Fluent.Models.SecurityAlertPolicyUseServerDefault? useServerDefault = default);
new Microsoft.Azure.Management.Sql.Fluent.Models.DatabaseSecurityAlertPolicyInner : Microsoft.Azure.Management.Sql.Fluent.Models.SecurityAlertPolicyState * string * string * string * string * string * string * string * Nullable<Microsoft.Azure.Management.Sql.Fluent.Models.SecurityAlertPolicyEmailAccountAdmins> * string * string * Nullable<int> * Nullable<Microsoft.Azure.Management.Sql.Fluent.Models.SecurityAlertPolicyUseServerDefault> -> Microsoft.Azure.Management.Sql.Fluent.Models.DatabaseSecurityAlertPolicyInner
Public Sub New (state As SecurityAlertPolicyState, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional kind As String = Nothing, Optional disabledAlerts As String = Nothing, Optional emailAddresses As String = Nothing, Optional emailAccountAdmins As Nullable(Of SecurityAlertPolicyEmailAccountAdmins) = Nothing, Optional storageEndpoint As String = Nothing, Optional storageAccountAccessKey As String = Nothing, Optional retentionDays As Nullable(Of Integer) = Nothing, Optional useServerDefault As Nullable(Of SecurityAlertPolicyUseServerDefault) = Nothing)
参数
- state
- SecurityAlertPolicyState
指定策略的状态。 如果状态为“已启用”,则需要 storageEndpoint 和 storageAccountAccessKey。 可能的值包括:“New”、“Enabled”、“Disabled”
- id
- String
- name
- String
- type
- String
- location
- String
资源所在的地理位置
- kind
- String
资源类型。
- disabledAlerts
- String
指定以分号分隔的已禁用警报列表,或指定用于禁用任何警报的空字符串。 可能的值:Sql_Injection;Sql_Injection_Vulnerability;Access_Anomaly;Data_Exfiltration;Unsafe_Action。
- emailAddresses
- String
指定将警报发送到的电子邮件地址列表(以分号分隔)。
- emailAccountAdmins
- Nullable<SecurityAlertPolicyEmailAccountAdmins>
指定将警报发送到帐户管理员。 可能的值包括:“Enabled”、“Disabled”
- storageEndpoint
- String
指定 blob 存储终结点 (例如 https://MyAccount.blob.core.windows.net) 。 此 Blob 存储将保存所有威胁检测审核日志。 如果状态为“已启用”,则需要 storageEndpoint。
- storageAccountAccessKey
- String
指定威胁检测审核存储帐户的标识符密钥。 如果状态为“已启用”,则需要 storageAccountAccessKey。
- useServerDefault
- Nullable<SecurityAlertPolicyUseServerDefault>
指定是否使用默认服务器策略。 可能的值包括:“Enabled”、“Disabled”