SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithRetentionDays Interface

public static interface SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithRetentionDays

The SQL Server Security Alert Policy definition to set the number of days to keep in the Threat Detection audit logs.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withRetentionDays(int days)

Specifies the number of days to keep in the Threat Detection audit logs.

Method Details

withRetentionDays

public abstract SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithCreate withRetentionDays(int days)

Specifies the number of days to keep in the Threat Detection audit logs.

Parameters:

days - the number of days to keep in the Threat Detection audit logs

Returns:

The next stage of the definition.

Applies to