SqlDatabaseThreatDetectionPolicy.SqlDatabaseThreatDetectionPolicyOperations Interface

Implements

public static interface SqlDatabaseThreatDetectionPolicy.SqlDatabaseThreatDetectionPolicyOperations
extends SupportsCreating<Blank>

Container interface for SQL database threat detection policy operations.

Method Summary

Modifier and Type Method and Description
abstract Blank defineThreatDetectionPolicy(String policyName)

Begins a definition for a security alert policy.

abstract SqlDatabaseThreatDetectionPolicy getThreatDetectionPolicy()

Gets a SQL database threat detection policy.

Method Details

defineThreatDetectionPolicy

public abstract SqlDatabaseThreatDetectionPolicy.DefinitionStages.Blank defineThreatDetectionPolicy(String policyName)

Begins a definition for a security alert policy.

Parameters:

policyName - the name of the security alert policy

Returns:

the first stage of the SqlDatabaseThreatDetectionPolicy definition

getThreatDetectionPolicy

public abstract SqlDatabaseThreatDetectionPolicy getThreatDetectionPolicy()

Gets a SQL database threat detection policy.

Returns:

the SQL database threat detection policy for the current database

Applies to