ServerSecurityAlertPolicy interface   
A server security alert policy.
- Extends
Properties
| disabled | Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly | 
| email | Specifies that the alert is sent to the account administrators. | 
| email | Specifies an array of e-mail addresses to which the alert is sent. | 
| retention | 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. | 
| storage | Specifies the identifier key of the Threat Detection audit storage account. | 
| storage | Specifies the blob storage endpoint (e.g.  | 
Inherited Properties
| id | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} NOTE: This property will not be serialized. It can only be populated by the server. | 
| name | The name of the resource NOTE: This property will not be serialized. It can only be populated by the server. | 
| type | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server. | 
Property Details
		disabledAlerts
	 
	Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly
disabledAlerts?: string[]Property Value
string[]
		emailAccountAdmins
	  
	Specifies that the alert is sent to the account administrators.
emailAccountAdmins?: booleanProperty Value
boolean
		emailAddresses
	 
	Specifies an array of e-mail addresses to which the alert is sent.
emailAddresses?: string[]Property Value
string[]
		retentionDays
	 
	Specifies the number of days to keep in the Threat Detection audit logs.
retentionDays?: numberProperty Value
number
state
Specifies the state of the policy, whether it is enabled or disabled.
state?: ServerSecurityAlertPolicyStateProperty Value
		storageAccountAccessKey
	   
	Specifies the identifier key of the Threat Detection audit storage account.
storageAccountAccessKey?: stringProperty Value
string
		storageEndpoint
	 
	Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.
storageEndpoint?: stringProperty Value
string
Inherited Property Details
id
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} NOTE: This property will not be serialized. It can only be populated by the server.
id?: stringProperty Value
string
Inherited From ProxyResource.id
name
The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.
name?: stringProperty Value
string
Inherited From ProxyResource.name
type
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.
type?: stringProperty Value
string
Inherited From ProxyResource.type