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