ServerSecurityAlertPolicy Class

Definition

A server security alert policy.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.ServerSecurityAlertPolicyTypeConverter))]
public class ServerSecurityAlertPolicy : Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IServerSecurityAlertPolicy, Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.ServerSecurityAlertPolicyTypeConverter))>]
type ServerSecurityAlertPolicy = class
    interface IServerSecurityAlertPolicy
    interface IJsonSerializable
    interface IProxyResource
    interface IValidates
Public Class ServerSecurityAlertPolicy
Implements IServerSecurityAlertPolicy, IValidates
Inheritance
ServerSecurityAlertPolicy
Attributes
Implements

Constructors

ServerSecurityAlertPolicy()

Creates an new ServerSecurityAlertPolicy instance.

Properties

DisabledAlert

Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly

EmailAccountAdmin

Specifies that the alert is sent to the account administrators.

EmailAddress

Specifies an array of e-mail addresses to which the alert is sent.

Id

Resource ID

Name

Resource name.

RetentionDay

Specifies the number of days to keep in the Threat Detection audit logs.

State

Specifies the state of the policy, whether it is enabled or disabled.

StorageAccountAccessKey

Specifies the identifier key of the Threat Detection audit storage account.

StorageEndpoint

Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.

Type

Resource type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ServerSecurityAlertPolicy.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ServerSecurityAlertPolicy.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IServerSecurityAlertPolicy.

FromJsonString(String)

Creates a new instance of ServerSecurityAlertPolicy, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ServerSecurityAlertPolicy into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to