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()

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:

the state of the policy.

disabledAlertList

public abstract List disabledAlertList()

Gets a list of disabled alerts.

Returns:

a list of disabled alerts

disabledAlerts

@Deprecated
public abstract String disabledAlerts()

Deprecated

Gets the semicolon-separated list of alerts that are disabled.

Returns:

the semicolon-separated list of alerts that are disabled

emailAccountAdmins

public abstract boolean emailAccountAdmins()

Checks whether the alert is sent to the account administrators.

Returns:

true if the alert is sent to the account administrators

emailAddressList

public abstract List emailAddressList()

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

Returns:

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

emailAddresses

@Deprecated
public abstract String emailAddresses()

Deprecated

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

Returns:

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

isDefaultSecurityAlertPolicy

public abstract boolean isDefaultSecurityAlertPolicy()

Checks whether using default server policy.

Returns:

true if using default server policy

kind

public abstract String kind()

Gets the resource kind.

Returns:

the resource kind

region

public abstract Region region()

Gets the geo-location where the resource lives.

Returns:

the geo-location where the resource lives

retentionDays

public abstract int retentionDays()

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

Returns:

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

storageAccountAccessKey

public abstract String storageAccountAccessKey()

Gets the identifier key of the Threat Detection audit storage account.

Returns:

the identifier key of the Threat Detection audit storage account

storageEndpoint

public abstract String storageEndpoint()

Gets the blob storage endpoint.

Returns:

the blob storage endpoint

Applies to