SqlDatabaseThreatDetectionPolicy Interface
Implements
public interface SqlDatabaseThreatDetectionPolicy
extends ExternalChildResource<SqlDatabaseThreatDetectionPolicy,SqlDatabase>, HasParent<SqlDatabase>, HasInnerModel<DatabaseSecurityAlertPolicyInner>, HasResourceGroup, Refreshable<SqlDatabaseThreatDetectionPolicy>, Updatable<Update>
A representation of the Azure SQL Database threat detection policy.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Security |
currentState()
Gets the state of the policy. |
abstract List<String> |
disabledAlertList()
Gets a list of disabled alerts. |
abstract String |
disabledAlerts()
Deprecated Gets the semicolon-separated list of alerts that are disabled. |
abstract boolean |
emailAccountAdmins()
Checks whether the alert is sent to the account administrators. |
abstract List<String> |
emailAddressList()
Gets a list of e-mail addresses to which the alert is sent. |
abstract String |
emailAddresses()
Deprecated Gets the semicolon-separated list of e-mail addresses to which the alert is sent. |
abstract boolean |
isDefaultSecurityAlertPolicy()
Checks whether using default server policy. |
abstract String |
kind()
Gets the resource kind. |
abstract Region |
region()
Gets the geo-location where the resource lives. |
abstract int |
retentionDays()
Gets the number of days to keep in the Threat Detection audit logs. |
abstract String |
storageAccountAccessKey()
Gets the identifier key of the Threat Detection audit storage account. |
abstract String |
storageEndpoint()
Gets the blob storage endpoint. |
Method Details
currentState
public abstract SecurityAlertPolicyState currentState()
Gets the state of the policy.
Returns:
disabledAlertList
public abstract List
Gets a list of disabled alerts.
Returns:
disabledAlerts
@Deprecated
public abstract String disabledAlerts()
Deprecated
Gets the semicolon-separated list of alerts that are disabled.
Returns:
emailAccountAdmins
public abstract boolean emailAccountAdmins()
Checks whether the alert is sent to the account administrators.
Returns:
emailAddressList
public abstract List
Gets a list of e-mail addresses to which the alert is sent.
Returns:
emailAddresses
@Deprecated
public abstract String emailAddresses()
Deprecated
Gets the semicolon-separated list of e-mail addresses to which the alert is sent.
Returns:
isDefaultSecurityAlertPolicy
public abstract boolean isDefaultSecurityAlertPolicy()
Checks whether using default server policy.
Returns:
kind
public abstract String kind()
Gets the resource kind.
Returns:
region
public abstract Region region()
Gets the geo-location where the resource lives.
Returns:
retentionDays
public abstract int retentionDays()
Gets the number of days to keep in the Threat Detection audit logs.
Returns:
storageAccountAccessKey
public abstract String storageAccountAccessKey()
Gets the identifier key of the Threat Detection audit storage account.
Returns:
storageEndpoint
public abstract String storageEndpoint()
Gets the blob storage endpoint.
Returns:
Applies to
Azure SDK for Java