SqlServerSecurityAlertPolicy Interface

public interface SqlServerSecurityAlertPolicy extends HasId,HasInner,HasName,HasResourceGroup,Indexable,Refreshable,Updatable<SqlServerSecurityAlertPolicy.Update>

An immutable client-side representation of an Azure SQL Server Security Alert Policy.

Method Summary

Modifier and Type Method and Description
List<String> disabledAlerts()
boolean emailAccountAdmins()
List<String> emailAddresses()
String parentId()
int retentionDays()
String sqlServerName()
SecurityAlertPolicyState state()
String storageAccountAccessKey()
String storageEndpoint()

Inherited Members

Method Details

disabledAlerts

public List disabledAlerts()

Returns:

a list of alerts that are disabled

emailAccountAdmins

public boolean emailAccountAdmins()

Returns:

true if an alert will be sent to the account administrators

emailAddresses

public List emailAddresses()

Returns:

a list of e-mail addresses to which the alert is sent

parentId

public String parentId()

Returns:

the parent SQL server ID

retentionDays

public int retentionDays()

Returns:

the number of days to keep in the Threat Detection audit logs

sqlServerName

public String sqlServerName()

Returns:

name of the SQL Server to which this DNS alias belongs

state

public SecurityAlertPolicyState state()

Returns:

the state of the policy, whether it is enabled or disabled

storageAccountAccessKey

public String storageAccountAccessKey()

Returns:

the identifier key of the Threat Detection audit storage account

storageEndpoint

public String storageEndpoint()

Returns:

the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net); this blob storage will hold all Threat Detection audit logs

Applies to