DatabaseSecurityAlertPolicy Class

Definition

Contains information about a database Threat Detection policy.

[Microsoft.Rest.Serialization.JsonTransformation]
public class DatabaseSecurityAlertPolicy : Microsoft.Azure.Management.Sql.Models.ProxyResource
type DatabaseSecurityAlertPolicy = class
    inherit ProxyResource
Public Class DatabaseSecurityAlertPolicy
Inherits ProxyResource
Inheritance
DatabaseSecurityAlertPolicy
Attributes

Constructors

DatabaseSecurityAlertPolicy()

Initializes a new instance of the DatabaseSecurityAlertPolicy class.

DatabaseSecurityAlertPolicy(SecurityAlertPolicyState, String, String, String, String, String, String, String, Nullable<SecurityAlertPolicyEmailAccountAdmins>, String, String, Nullable<Int32>, Nullable<SecurityAlertPolicyUseServerDefault>)

Initializes a new instance of the DatabaseSecurityAlertPolicy class.

Properties

DisabledAlerts

Gets or sets 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.

EmailAccountAdmins

Gets or sets specifies that the alert is sent to the account administrators. Possible values include: 'Enabled', 'Disabled'

EmailAddresses

Gets or sets specifies the semicolon-separated list of e-mail addresses to which the alert is sent.

Id

Gets resource ID.

(Inherited from Resource)
Kind

Gets resource kind.

Location

Gets or sets the geo-location where the resource lives

Name

Gets resource name.

(Inherited from Resource)
RetentionDays

Gets or sets specifies the number of days to keep in the Threat Detection audit logs.

State

Gets or sets specifies the state of the policy. If state is Enabled, storageEndpoint and storageAccountAccessKey are required. Possible values include: 'New', 'Enabled', 'Disabled'

StorageAccountAccessKey

Gets or sets specifies the identifier key of the Threat Detection audit storage account. If state is Enabled, storageAccountAccessKey is required.

StorageEndpoint

Gets or sets 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.

Type

Gets resource type.

(Inherited from Resource)
UseServerDefault

Gets or sets specifies whether to use the default server policy. Possible values include: 'Enabled', 'Disabled'

Methods

Validate()

Validate the object.

Applies to