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". |
Method Details
withDefaultSecurityAlertPolicy
public abstract SqlDatabaseThreatDetectionPolicy.Update withDefaultSecurityAlertPolicy()
Updates the security alert policy state to "New".
Returns:
withPolicyDisabled
public abstract SqlDatabaseThreatDetectionPolicy.Update withPolicyDisabled()
Update the security alert policy state to "Disabled".
Returns:
withPolicyEnabled
public abstract SqlDatabaseThreatDetectionPolicy.Update withPolicyEnabled()
Updates the security alert policy state to "Enabled".
Returns:
Applies to
Azure SDK for Java