DatabaseSecurityAlertPolicyInner Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DatabaseSecurityAlertPolicyInner() |
Initializes a new instance of the DatabaseSecurityAlertPolicyInner class. |
DatabaseSecurityAlertPolicyInner(SecurityAlertPolicyState, String, String, String, String, String, String, String, Nullable<SecurityAlertPolicyEmailAccountAdmins>, String, String, Nullable<Int32>, Nullable<SecurityAlertPolicyUseServerDefault>) |
Initializes a new instance of the DatabaseSecurityAlertPolicyInner class. |
DatabaseSecurityAlertPolicyInner()
Initializes a new instance of the DatabaseSecurityAlertPolicyInner class.
public DatabaseSecurityAlertPolicyInner ();
Public Sub New ()
Applies to
DatabaseSecurityAlertPolicyInner(SecurityAlertPolicyState, String, String, String, String, String, String, String, Nullable<SecurityAlertPolicyEmailAccountAdmins>, String, String, Nullable<Int32>, Nullable<SecurityAlertPolicyUseServerDefault>)
Initializes a new instance of the DatabaseSecurityAlertPolicyInner class.
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)
Parameters
- state
- SecurityAlertPolicyState
Specifies the state of the policy. If state is Enabled, storageEndpoint and storageAccountAccessKey are required. Possible values include: 'New', 'Enabled', 'Disabled'
- id
- String
- name
- String
- type
- String
- location
- String
The geo-location where the resource lives
- kind
- String
Resource kind.
- disabledAlerts
- String
Specifies the semicolon-separated list of alerts that are disabled, or empty string to disable no alerts. Possible values: Sql_Injection; Sql_Injection_Vulnerability; Access_Anomaly; Data_Exfiltration; Unsafe_Action.
- emailAddresses
- String
Specifies the semicolon-separated list of e-mail addresses to which the alert is sent.
- emailAccountAdmins
- Nullable<SecurityAlertPolicyEmailAccountAdmins>
Specifies that the alert is sent to the account administrators. Possible values include: 'Enabled', 'Disabled'
- 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. If state is Enabled, storageEndpoint is required.
- storageAccountAccessKey
- String
Specifies the identifier key of the Threat Detection audit storage account. If state is Enabled, storageAccountAccessKey is required.
Specifies the number of days to keep in the Threat Detection audit logs.
- useServerDefault
- Nullable<SecurityAlertPolicyUseServerDefault>
Specifies whether to use the default server policy. Possible values include: 'Enabled', 'Disabled'