SecurityAlertPolicyProperties Class

Definition

Properties of a security alert policy.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.SecurityAlertPolicyPropertiesTypeConverter))]
public class SecurityAlertPolicyProperties : Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.ISecurityAlertPolicyProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.SecurityAlertPolicyPropertiesTypeConverter))>]
type SecurityAlertPolicyProperties = class
    interface ISecurityAlertPolicyProperties
    interface IJsonSerializable
Public Class SecurityAlertPolicyProperties
Implements ISecurityAlertPolicyProperties
Inheritance
SecurityAlertPolicyProperties
Attributes
Implements

Constructors

SecurityAlertPolicyProperties()

Creates an new SecurityAlertPolicyProperties 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.

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SecurityAlertPolicyProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SecurityAlertPolicyProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SecurityAlertPolicyProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to