Aracılığıyla paylaş


ManagedDatabaseSecurityAlertPolicy Class

Definition

A managed database security alert policy.

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

Constructors

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.

Properties

CreationTime

Gets specifies the UTC creation time of the policy.

DisabledAlerts

Gets or sets specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force

EmailAccountAdmins

Gets or sets specifies that the alert is sent to the account administrators.

EmailAddresses

Gets or sets specifies an array of e-mail addresses to which the alert is sent.

Id

Gets resource ID.

(Inherited from Resource)
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, whether it is enabled or disabled or a policy has not been applied yet on the specific database. Possible values include: 'New', 'Enabled', 'Disabled'

StorageAccountAccessKey

Gets or sets specifies the identifier key of the Threat Detection audit storage account.

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.

Type

Gets resource type.

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to