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 SecurityAlertPolicyState currentState()
abstract List<String> disabledAlertList()
abstract String disabledAlerts()

Deprecated

abstract boolean emailAccountAdmins()
abstract List<String> emailAddressList()
abstract String emailAddresses()

Deprecated

abstract boolean isDefaultSecurityAlertPolicy()
abstract String kind()
abstract Region region()
abstract int retentionDays()
abstract String storageAccountAccessKey()
abstract String storageEndpoint()

Method Details

currentState

public abstract SecurityAlertPolicyState currentState()

Returns:

the state of the policy.

disabledAlertList

public abstract List disabledAlertList()

Returns:

a list of disabled alerts

disabledAlerts

@Deprecated
public abstract String disabledAlerts()

Deprecated

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

emailAddressList

public abstract List emailAddressList()

Returns:

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

emailAddresses

@Deprecated
public abstract String emailAddresses()

Deprecated

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