Interface SqlDatabaseThreatDetectionPolicy.UpdateStages.WithRetentionDays

All Known Subinterfaces:
SqlDatabaseThreatDetectionPolicy.Update
Enclosing interface:
SqlDatabaseThreatDetectionPolicy.UpdateStages

public static interface SqlDatabaseThreatDetectionPolicy.UpdateStages.WithRetentionDays
The SQL database threat detection policy update definition to set the number of days to keep in the Threat Detection audit logs.
  • Method Details

    • withRetentionDays

      SqlDatabaseThreatDetectionPolicy.Update withRetentionDays(int retentionDays)
      Updates the security alert policy email addresses.

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

      Parameters:
      retentionDays - the number of days to keep in the Threat Detection audit logs
      Returns:
      the next stage of the definition