다음을 통해 공유


DatabaseSecurityAlertPolicyInner Class

Definition

Contains information about a database Threat Detection policy.

[Microsoft.Rest.Serialization.JsonTransformation]
public class DatabaseSecurityAlertPolicyInner : Microsoft.Azure.Management.Sql.Fluent.Models.ProxyResourceInner
[<Microsoft.Rest.Serialization.JsonTransformation>]
type DatabaseSecurityAlertPolicyInner = class
    inherit ProxyResourceInner
Public Class DatabaseSecurityAlertPolicyInner
Inherits ProxyResourceInner
Inheritance
DatabaseSecurityAlertPolicyInner
Attributes

Constructors

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.

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

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
Kind

Gets resource kind.

Location

Gets or sets the geo-location where the resource lives

Name

Resource name

(Inherited from ProxyResource)
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.

Tags

Resource tags

(Inherited from Resource)
Type

Resource type

(Inherited from ProxyResource)
UseServerDefault

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

Methods

Validate()

Validate the object.

Applies to