SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithSecurityAlertPolicyState Interface
public static interface SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithSecurityAlertPolicyState
The SQL database threat detection policy definition to set the state.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withDefaultSecurityAlertPolicy()
Sets the security alert policy state to "New". |
abstract
With |
withPolicyDisabled()
Sets the security alert policy state to "Disabled". |
abstract
With |
withPolicyEnabled()
Sets the security alert policy state to "Enabled". |
Method Details
withDefaultSecurityAlertPolicy
public abstract SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithCreate withDefaultSecurityAlertPolicy()
Sets the security alert policy state to "New".
Returns:
withPolicyDisabled
public abstract SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithCreate withPolicyDisabled()
Sets the security alert policy state to "Disabled".
Returns:
withPolicyEnabled
public abstract SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithStorageEndpoint withPolicyEnabled()
Sets the security alert policy state to "Enabled".
Returns:
Applies to
Azure SDK for Java