다음을 통해 공유


ManagedServerSecurityAlertPolicy Class

Definition

A managed server security alert policy.

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

Constructors

ManagedServerSecurityAlertPolicy()

Initializes a new instance of the ManagedServerSecurityAlertPolicy class.

ManagedServerSecurityAlertPolicy(SecurityAlertsPolicyState, String, String, String, SystemData, IList<String>, IList<String>, Nullable<Boolean>, String, String, Nullable<Int32>, Nullable<DateTime>)

Initializes a new instance of the ManagedServerSecurityAlertPolicy 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: '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.

SystemData

Gets systemData of SecurityAlertPolicyResource.

Type

Gets resource type.

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to