Partilhar via


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 WithCreate withDefaultSecurityAlertPolicy()

Sets the security alert policy state to "New".

abstract WithCreate withPolicyDisabled()

Sets the security alert policy state to "Disabled".

abstract WithStorageEndpoint 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:

the next stage of the definition

withPolicyDisabled

public abstract SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithCreate withPolicyDisabled()

Sets the security alert policy state to "Disabled".

Returns:

the next stage of the definition

withPolicyEnabled

public abstract SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithStorageEndpoint withPolicyEnabled()

Sets the security alert policy state to "Enabled".

Returns:

the next stage of the definition

Applies to