Interface SqlDatabaseThreatDetectionPolicy.UpdateStages.WithSecurityAlertPolicyState
- All Known Subinterfaces:
SqlDatabaseThreatDetectionPolicy.Update
- Enclosing interface:
- SqlDatabaseThreatDetectionPolicy.UpdateStages
public static interface SqlDatabaseThreatDetectionPolicy.UpdateStages.WithSecurityAlertPolicyState
The SQL database threat detection policy update definition to set the state.
-
Method Summary
Modifier and TypeMethodDescriptionUpdates the security alert policy state to "New".Update the security alert policy state to "Disabled".Updates the security alert policy state to "Enabled".Updates the security alert policy state to "New".
-
Method Details
-
withPolicyEnabled
SqlDatabaseThreatDetectionPolicy.Update withPolicyEnabled()Updates the security alert policy state to "Enabled".- Returns:
- the next stage of the definition
-
withPolicyDisabled
SqlDatabaseThreatDetectionPolicy.Update withPolicyDisabled()Update the security alert policy state to "Disabled".- Returns:
- the next stage of the definition
-
withPolicyNew
SqlDatabaseThreatDetectionPolicy.Update withPolicyNew()Updates the security alert policy state to "New".- Returns:
- the next stage of the definition.
-
withDefaultSecurityAlertPolicy
SqlDatabaseThreatDetectionPolicy.Update withDefaultSecurityAlertPolicy()Updates the security alert policy state to "New".- Returns:
- the next stage of the definition
-