共用方式為


ManagedServerSecurityAlertPolicyInner Class

Definition

A managed server security alert policy.

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

Constructors

ManagedServerSecurityAlertPolicyInner()

Initializes a new instance of the ManagedServerSecurityAlertPolicyInner class.

ManagedServerSecurityAlertPolicyInner(SecurityAlertPolicyState, String, String, String, IList<String>, IList<String>, Nullable<Boolean>, String, String, Nullable<Int32>, Nullable<DateTime>)

Initializes a new instance of the ManagedServerSecurityAlertPolicyInner 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

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

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

(Inherited from ProxyResource)
Location

Resource location

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

Tags

Resource tags

(Inherited from Resource)
Type

Resource type

(Inherited from ProxyResource)

Methods

Validate()

Validate the object.

Applies to