你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IServerSecurityAlertPolicy Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerSecurityAlertPolicyTypeConverter))]
public interface IServerSecurityAlertPolicy : Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IResource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerSecurityAlertPolicyTypeConverter))>]
type IServerSecurityAlertPolicy = interface
    interface IJsonSerializable
    interface IResource
Public Interface IServerSecurityAlertPolicy
Implements IResource
Derived
Attributes
Implements

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

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from IResource)
Name

The name of the resource

(Inherited from IResource)
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

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

(Inherited from IResource)

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to