ManagedDatabaseSecurityAlertPolicy Constructors

Definition

Overloads

ManagedDatabaseSecurityAlertPolicy()

Initializes a new instance of the ManagedDatabaseSecurityAlertPolicy class.

ManagedDatabaseSecurityAlertPolicy(SecurityAlertPolicyState, String, String, String, IList<String>, IList<String>, Nullable<Boolean>, String, String, Nullable<Int32>, Nullable<DateTime>)

Initializes a new instance of the ManagedDatabaseSecurityAlertPolicy class.

ManagedDatabaseSecurityAlertPolicy()

Initializes a new instance of the ManagedDatabaseSecurityAlertPolicy class.

public ManagedDatabaseSecurityAlertPolicy ();
Public Sub New ()

ManagedDatabaseSecurityAlertPolicy(SecurityAlertPolicyState, String, String, String, IList<String>, IList<String>, Nullable<Boolean>, String, String, Nullable<Int32>, Nullable<DateTime>)

Initializes a new instance of the ManagedDatabaseSecurityAlertPolicy class.

public ManagedDatabaseSecurityAlertPolicy (Microsoft.Azure.Management.Sql.Models.SecurityAlertPolicyState state, string id = null, string name = null, string type = null, System.Collections.Generic.IList<string> disabledAlerts = null, System.Collections.Generic.IList<string> emailAddresses = null, Nullable<bool> emailAccountAdmins = null, string storageEndpoint = null, string storageAccountAccessKey = null, Nullable<int> retentionDays = null, Nullable<DateTime> creationTime = null);
new Microsoft.Azure.Management.Sql.Models.ManagedDatabaseSecurityAlertPolicy : Microsoft.Azure.Management.Sql.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.Sql.Models.ManagedDatabaseSecurityAlertPolicy
Public Sub New (state As SecurityAlertPolicyState, Optional id As String = null, Optional name As String = null, Optional type As String = null, Optional disabledAlerts As IList(Of String) = null, Optional emailAddresses As IList(Of String) = null, Optional emailAccountAdmins As Nullable(Of Boolean) = null, Optional storageEndpoint As String = null, Optional storageAccountAccessKey As String = null, Optional retentionDays As Nullable(Of Integer) = null, Optional creationTime As Nullable(Of DateTime) = null)

Parameters

state
SecurityAlertPolicyState

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: 'New', 'Enabled', 'Disabled'

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

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

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