Interface SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithSecurityAlertPolicyState
- All Known Subinterfaces:
SqlDatabaseThreatDetectionPolicy.DefinitionStages.Blank
,SqlDatabaseThreatDetectionPolicy.SqlDatabaseThreatDetectionPolicyDefinition
- Enclosing interface:
- SqlDatabaseThreatDetectionPolicy.DefinitionStages
public static interface SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithSecurityAlertPolicyState
The SQL database threat detection policy definition to set the state.
-
Method Summary
Modifier and TypeMethodDescriptionSets the security alert policy state to "New".Sets the security alert policy state to "Disabled".Sets the security alert policy state to "Enabled".Sets the security alert policy state to "New".
-
Method Details
-
withPolicyEnabled
SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithStorageEndpoint withPolicyEnabled()Sets the security alert policy state to "Enabled".- Returns:
- the next stage of the definition
-
withPolicyDisabled
SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithCreate withPolicyDisabled()Sets the security alert policy state to "Disabled".- Returns:
- the next stage of the definition
-
withPolicyNew
Sets the security alert policy state to "New".- Returns:
- the next stage of the definition.
-
withDefaultSecurityAlertPolicy
SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithCreate withDefaultSecurityAlertPolicy()Sets the security alert policy state to "New".- Returns:
- the next stage of the definition
-