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:

the next stage of the definition

withPolicyDisabled

public SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithCreate withPolicyDisabled()

Sets the security alert policy state to "Disabled".

Returns:

the next stage of the definition

withPolicyEnabled

public SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithStorageEndpoint withPolicyEnabled()

Sets the security alert policy state to "Enabled".

Returns:

the next stage of the definition

withPolicyNew

public SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithStorageEndpoint withPolicyNew()

Sets the security alert policy state to "New".

Returns:

the next stage of the definition.

Applies to