SqlDatabaseThreatDetectionPolicy.UpdateStages.WithSecurityAlertPolicyState Interface

public interface WithSecurityAlertPolicyState

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

Method Summary

Modifier and Type Method and Description
SqlDatabaseThreatDetectionPolicy.Update withDefaultSecurityAlertPolicy()

Updates the security alert policy state to "New".

SqlDatabaseThreatDetectionPolicy.Update withPolicyDisabled()

Update the security alert policy state to "Disabled".

SqlDatabaseThreatDetectionPolicy.Update withPolicyEnabled()

Updates the security alert policy state to "Enabled".

SqlDatabaseThreatDetectionPolicy.Update withPolicyNew()

Updates the security alert policy state to "New".

Method Details

withDefaultSecurityAlertPolicy

public SqlDatabaseThreatDetectionPolicy.Update withDefaultSecurityAlertPolicy()

Updates the security alert policy state to "New".

Returns:

the next stage of the definition

withPolicyDisabled

public SqlDatabaseThreatDetectionPolicy.Update withPolicyDisabled()

Update the security alert policy state to "Disabled".

Returns:

the next stage of the definition

withPolicyEnabled

public SqlDatabaseThreatDetectionPolicy.Update withPolicyEnabled()

Updates the security alert policy state to "Enabled".

Returns:

the next stage of the definition

withPolicyNew

public SqlDatabaseThreatDetectionPolicy.Update withPolicyNew()

Updates the security alert policy state to "New".

Returns:

the next stage of the definition.

Applies to