SqlDatabaseThreatDetectionPolicy.UpdateStages.WithSecurityAlertPolicyState Interface

public static interface SqlDatabaseThreatDetectionPolicy.UpdateStages.WithSecurityAlertPolicyState

The SQL database threat detection policy update definition to set the state.

Method Summary

Modifier and Type Method and Description
abstract Update withDefaultSecurityAlertPolicy()

Updates the security alert policy state to "New".

abstract Update withPolicyDisabled()

Update the security alert policy state to "Disabled".

abstract Update withPolicyEnabled()

Updates the security alert policy state to "Enabled".

abstract Update withPolicyNew()

Updates the security alert policy state to "New".

Method Details

withDefaultSecurityAlertPolicy

public abstract SqlDatabaseThreatDetectionPolicy.Update withDefaultSecurityAlertPolicy()

Updates the security alert policy state to "New".

Returns:

the next stage of the definition

withPolicyDisabled

public abstract SqlDatabaseThreatDetectionPolicy.Update withPolicyDisabled()

Update the security alert policy state to "Disabled".

Returns:

the next stage of the definition

withPolicyEnabled

public abstract SqlDatabaseThreatDetectionPolicy.Update withPolicyEnabled()

Updates the security alert policy state to "Enabled".

Returns:

the next stage of the definition

withPolicyNew

public abstract SqlDatabaseThreatDetectionPolicy.Update withPolicyNew()

Updates the security alert policy state to "New".

Returns:

the next stage of the definition.

Applies to