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