ServerSecurityAlertPolicy Class

Definition

A server security alert policy.

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

Constructors

ServerSecurityAlertPolicy()

Initializes a new instance of the ServerSecurityAlertPolicy class.

ServerSecurityAlertPolicy(ServerSecurityAlertPolicyState, String, String, String, IList<String>, IList<String>, Nullable<Boolean>, String, String, Nullable<Int32>)

Initializes a new instance of the ServerSecurityAlertPolicy class.

Properties

DisabledAlerts

Gets or sets specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly

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 fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from Resource)
Name

Gets the name of the resource

(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. 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.

Type

Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to