| Modifier and Type | Interface and Description |
|---|---|
static interface |
SqlDatabaseThreatDetectionPolicy.SqlDatabaseThreatDetectionPolicyDefinition
Container interface for all the definitions that need to be implemented.
|
| Modifier and Type | Method and Description |
|---|---|
SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithCreate |
SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithAlertsFilter.withAlertsFilter(String alertsFilter)
Sets the security alert policy alerts to be disabled.
|
SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithCreate |
SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithSecurityAlertPolicyState.withDefaultSecurityAlertPolicy()
Sets the security alert policy state to "New".
|
SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithCreate |
SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithEmailAddresses.withEmailAddresses(String addresses)
Sets the security alert policy email addresses.
|
SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithCreate |
SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithEmailToAccountAdmins.withEmailToAccountAdmins()
Enables the alert to be sent to the account administrators.
|
SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithCreate |
SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithEmailToAccountAdmins.withoutEmailToAccountAdmins()
Disables the alert will be sent to the account administrators.
|
SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithCreate |
SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithSecurityAlertPolicyState.withPolicyDisabled()
Sets the security alert policy state to "Disabled".
|
SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithCreate |
SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithRetentionDays.withRetentionDays(int retentionDays)
Sets the security alert policy email addresses.
|
SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithCreate |
SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithStorageAccountAccessKey.withStorageAccountAccessKey(String storageAccountAccessKey)
Sets the security alert policy storage access key.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/