SqlDatabaseThreatDetectionPolicy Interface

Implements

public interface SqlDatabaseThreatDetectionPolicy
extends ExternalChildResource<SqlDatabaseThreatDetectionPolicy,SqlDatabase>, HasParent<SqlDatabase>, HasInner<com.microsoft.azure.management.sql.implementation.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 SecurityAlertPolicyState currentState()
abstract java.lang.String disabledAlerts()
abstract boolean emailAccountAdmins()
abstract java.lang.String emailAddresses()
abstract boolean isDefaultSecurityAlertPolicy()
abstract java.lang.String kind()
abstract Region region()
abstract int retentionDays()
abstract java.lang.String storageAccountAccessKey()
abstract java.lang.String storageEndpoint()

Method Details

currentState

public abstract SecurityAlertPolicyState currentState()

Returns:

the state of the policy.

disabledAlerts

public abstract String disabledAlerts()

Returns:

the semicolon-separated list of alerts that are disabled

emailAccountAdmins

public abstract boolean emailAccountAdmins()

Returns:

true if the alert is sent to the account administrators

emailAddresses

public abstract String emailAddresses()

Returns:

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

isDefaultSecurityAlertPolicy

public abstract boolean isDefaultSecurityAlertPolicy()

Returns:

true if using default server policy

kind

public abstract String kind()

Returns:

the resource kind

region

public abstract Region region()

Returns:

the geo-location where the resource lives

retentionDays

public abstract int retentionDays()

Returns:

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

storageAccountAccessKey

public abstract String storageAccountAccessKey()

Returns:

the identifier key of the Threat Detection audit storage account

storageEndpoint

public abstract String storageEndpoint()

Returns:

the blob storage endpoint

Applies to