SecurityAlertPolicyProperties Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Properties of a security alert policy.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.SecurityAlertPolicyPropertiesTypeConverter))]
public class SecurityAlertPolicyProperties : Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ISecurityAlertPolicyProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.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.MySql.Models.Api20171201.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. |