SqlDatabaseThreatDetectionPolicy Interface

public interface SqlDatabaseThreatDetectionPolicy extends ExternalChildResource<SqlDatabaseThreatDetectionPolicy, SqlDatabase>,HasParent,HasInner,HasResourceGroup,Refreshable,Updatable<SqlDatabaseThreatDetectionPolicy.Update>

A representation of the Azure SQL Database threat detection policy.

Method Summary

Modifier and Type Method and Description
SecurityAlertPolicyState currentState()
String disabledAlerts()
boolean emailAccountAdmins()
String emailAddresses()
boolean isDefaultSecurityAlertPolicy()
String kind()
Region region()
int retentionDays()
String storageAccountAccessKey()
String storageEndpoint()

Inherited Members

Method Details

currentState

public SecurityAlertPolicyState currentState()

Returns:

the state of the policy.

disabledAlerts

public String disabledAlerts()

Returns:

the semicolon-separated list of alerts that are disabled

emailAccountAdmins

public boolean emailAccountAdmins()

Returns:

true if the alert is sent to the account administrators

emailAddresses

public String emailAddresses()

Returns:

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

isDefaultSecurityAlertPolicy

public boolean isDefaultSecurityAlertPolicy()

Returns:

true if using default server policy

kind

public String kind()

Returns:

the resource kind

region

public Region region()

Returns:

the geo-location where the resource lives

retentionDays

public int retentionDays()

Returns:

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

storageAccountAccessKey

public String storageAccountAccessKey()

Returns:

the identifier key of the Threat Detection audit storage account

storageEndpoint

public String storageEndpoint()

Returns:

the blob storage endpoint

Applies to