你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ServerSecurityAlertPolicy 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ServerSecurityAlertPolicy() |
初始化 ServerSecurityAlertPolicy 类的新实例。 |
ServerSecurityAlertPolicy(SecurityAlertPolicyState, String, String, String, IList<String>, IList<String>, Nullable<Boolean>, String, String, Nullable<Int32>, Nullable<DateTime>) |
初始化 ServerSecurityAlertPolicy 类的新实例。 |
ServerSecurityAlertPolicy()
初始化 ServerSecurityAlertPolicy 类的新实例。
public ServerSecurityAlertPolicy ();
Public Sub New ()
适用于
ServerSecurityAlertPolicy(SecurityAlertPolicyState, String, String, String, IList<String>, IList<String>, Nullable<Boolean>, String, String, Nullable<Int32>, Nullable<DateTime>)
初始化 ServerSecurityAlertPolicy 类的新实例。
public ServerSecurityAlertPolicy (Microsoft.Azure.Management.Synapse.Models.SecurityAlertPolicyState state, string id = default, string name = default, string type = default, System.Collections.Generic.IList<string> disabledAlerts = default, System.Collections.Generic.IList<string> emailAddresses = default, bool? emailAccountAdmins = default, string storageEndpoint = default, string storageAccountAccessKey = default, int? retentionDays = default, DateTime? creationTime = default);
new Microsoft.Azure.Management.Synapse.Models.ServerSecurityAlertPolicy : Microsoft.Azure.Management.Synapse.Models.SecurityAlertPolicyState * string * string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * Nullable<bool> * string * string * Nullable<int> * Nullable<DateTime> -> Microsoft.Azure.Management.Synapse.Models.ServerSecurityAlertPolicy
Public Sub New (state As SecurityAlertPolicyState, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional disabledAlerts As IList(Of String) = Nothing, Optional emailAddresses As IList(Of String) = Nothing, Optional emailAccountAdmins As Nullable(Of Boolean) = Nothing, Optional storageEndpoint As String = Nothing, Optional storageAccountAccessKey As String = Nothing, Optional retentionDays As Nullable(Of Integer) = Nothing, Optional creationTime As Nullable(Of DateTime) = Nothing)
参数
- state
- SecurityAlertPolicyState
指定策略的状态,无论是启用或禁用策略,还是尚未在特定服务器上应用策略。 可能的值包括:“New”、“Enabled”、“Disabled”
- id
- String
资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
资源的名称
- type
- String
资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”
指定禁用的警报数组。 允许的值为:Sql_Injection、Sql_Injection_Vulnerability、Access_Anomaly、Data_Exfiltration、Unsafe_Action
- storageEndpoint
- String
指定 blob 存储终结点 (例如 https://MyAccount.blob.core.windows.net) 。 此 Blob 存储将保存所有威胁检测审核日志。
- storageAccountAccessKey
- String
指定威胁检测审核存储帐户的标识符密钥。