Skip to content

Commit 3b2a7c2

Browse files
committed
Merge branch 'preview' of https://github.com/Azure/azure-powershell into preview
2 parents aef2edd + e35fdf3 commit 3b2a7c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ResourceManager/Sql/Commands.Sql/ThreatDetection/Services/SqlThreatDetectionAdapter.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ private static BaseThreatDetectionPolicyModel ModelizeThreatDetectionPolicy(Base
122122
model.EmailAdmins = ModelizeThreatDetectionEmailAdmins(threatDetectionProperties.EmailAccountAdmins);
123123
ModelizeStorageAccount(model, threatDetectionProperties.StorageEndpoint);
124124
ModelizeDisabledAlerts(model, threatDetectionProperties.DisabledAlerts);
125+
model.RetentionInDays = (uint)threatDetectionProperties.RetentionDays;
125126
return model;
126127
}
127128

0 commit comments

Comments
 (0)