SqlServerSecurityAlertPolicy.UpdateStages.WithRetentionDays Interface
public static interface SqlServerSecurityAlertPolicy.UpdateStages.WithRetentionDays
The SQL Server Security Alert Policy update definition to set the number of days to keep in the Threat Detection audit logs.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
withRetentionDays(int days)
Specifies the number of days to keep in the Threat Detection audit logs. |
Method Details
withRetentionDays
public abstract SqlServerSecurityAlertPolicy.Update 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java