azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

30 строки
2.2 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.sql.SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithRetentionDays"
fullName: "com.microsoft.azure.management.sql.SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithRetentionDays"
name: "SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithRetentionDays"
nameWithType: "SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithRetentionDays"
summary: "The SQL database threat detection policy definition to set the number of days to keep in the Threat Detection audit logs."
syntax: "public static interface **SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithRetentionDays**"
methods:
- uid: "com.microsoft.azure.management.sql.SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithRetentionDays.withRetentionDays(int)"
fullName: "com.microsoft.azure.management.sql.SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithRetentionDays.withRetentionDays(int retentionDays)"
name: "withRetentionDays(int retentionDays)"
nameWithType: "SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithRetentionDays.withRetentionDays(int retentionDays)"
summary: "Sets the security alert policy email addresses."
modifiers:
- "abstract"
parameters:
- description: "the number of days to keep in the Threat Detection audit logs"
name: "retentionDays"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithCreate withRetentionDays(int retentionDays)"
desc: "Sets the security alert policy email addresses.\n\nSpecifies the number of days to keep in the Threat Detection audit logs."
returns:
description: "the next stage of the definition"
type: "<xref href=\"com.microsoft.azure.management.sql.SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithCreate?alt=com.microsoft.azure.management.sql.SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithCreate&text=WithCreate\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
desc: "The SQL database threat detection policy definition to set the number of days to keep in the Threat Detection audit logs."
metadata: {}
package: "com.microsoft.azure.management.sql"
artifact: com.microsoft.azure:azure-mgmt-sql:1.41.4