SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithEmailAddresses Interface

public static interface SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithEmailAddresses

The SQL database threat detection policy definition to set the security alert policy email addresses.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withEmailAddresses(List<String> addresses)

Sets the security alert policy email addresses.

abstract WithCreate withEmailAddresses(String addresses)

Deprecated

use WithEmailAddresses#withEmailAddresses(List)

Sets the security alert policy email addresses.

Method Details

withEmailAddresses

public abstract SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithCreate withEmailAddresses(List addresses)

Sets the security alert policy email addresses.

Parameters:

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

Returns:

the next stage of the definition

withEmailAddresses

@Deprecated
public abstract SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithCreate withEmailAddresses(String addresses)

Deprecated

use WithEmailAddresses#withEmailAddresses(List)

Sets the security alert policy email addresses.

Parameters:

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

Returns:

the next stage of the definition

Applies to