ManagedServerSecurityAlertPolicy Constructors

Definition

Overloads

ManagedServerSecurityAlertPolicy()

Initializes a new instance of the ManagedServerSecurityAlertPolicy class.

ManagedServerSecurityAlertPolicy(SecurityAlertsPolicyState, String, String, String, SystemData, IList<String>, IList<String>, Nullable<Boolean>, String, String, Nullable<Int32>, Nullable<DateTime>)

Initializes a new instance of the ManagedServerSecurityAlertPolicy class.

ManagedServerSecurityAlertPolicy()

Initializes a new instance of the ManagedServerSecurityAlertPolicy class.

public ManagedServerSecurityAlertPolicy ();
Public Sub New ()

Applies to

ManagedServerSecurityAlertPolicy(SecurityAlertsPolicyState, String, String, String, SystemData, IList<String>, IList<String>, Nullable<Boolean>, String, String, Nullable<Int32>, Nullable<DateTime>)

Initializes a new instance of the ManagedServerSecurityAlertPolicy class.

public ManagedServerSecurityAlertPolicy (Microsoft.Azure.Management.Sql.Models.SecurityAlertsPolicyState state, string id = default, string name = default, string type = default, Microsoft.Azure.Management.Sql.Models.SystemData systemData = 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.Sql.Models.ManagedServerSecurityAlertPolicy : Microsoft.Azure.Management.Sql.Models.SecurityAlertsPolicyState * string * string * string * Microsoft.Azure.Management.Sql.Models.SystemData * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * Nullable<bool> * string * string * Nullable<int> * Nullable<DateTime> -> Microsoft.Azure.Management.Sql.Models.ManagedServerSecurityAlertPolicy
Public Sub New (state As SecurityAlertsPolicyState, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = 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)

Parameters

state
SecurityAlertsPolicyState

Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database. Possible values include: 'Enabled', 'Disabled'

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

systemData
SystemData

SystemData of SecurityAlertPolicyResource.

disabledAlerts
IList<String>

Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force

emailAddresses
IList<String>

Specifies an array of e-mail addresses to which the alert is sent.

emailAccountAdmins
Nullable<Boolean>

Specifies that the alert is sent to the account administrators.

storageEndpoint
String

Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.

storageAccountAccessKey
String

Specifies the identifier key of the Threat Detection audit storage account.

retentionDays
Nullable<Int32>

Specifies the number of days to keep in the Threat Detection audit logs.

creationTime
Nullable<DateTime>

Specifies the UTC creation time of the policy.

Applies to