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:
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:
withPolicyNew
public abstract SqlDatabaseThreatDetectionPolicy.Update withPolicyNew()
Updates the security alert policy state to "New".
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for