| Package | Description |
|---|---|
| com.azure.resourcemanager.sql.fluent |
Package containing the service clients for SqlManagementClient.
|
| com.azure.resourcemanager.sql.fluent.models |
Package containing the inner data models for SqlManagementClient.
|
| Modifier and Type | Method and Description |
|---|---|
DatabaseSecurityAlertPolicyInner |
DatabaseThreatDetectionPoliciesClient.createOrUpdate(String resourceGroupName,
String serverName,
String databaseName,
SecurityAlertPolicyName securityAlertPolicyName,
DatabaseSecurityAlertPolicyInner parameters)
Creates or updates a database's threat detection policy.
|
DatabaseSecurityAlertPolicyInner |
DatabaseThreatDetectionPoliciesClient.get(String resourceGroupName,
String serverName,
String databaseName,
SecurityAlertPolicyName securityAlertPolicyName)
Gets a database's threat detection policy.
|
| Modifier and Type | Method and Description |
|---|---|
DatabaseSecurityAlertPolicyInner |
DatabaseThreatDetectionPoliciesClient.createOrUpdate(String resourceGroupName,
String serverName,
String databaseName,
SecurityAlertPolicyName securityAlertPolicyName,
DatabaseSecurityAlertPolicyInner parameters)
Creates or updates a database's threat detection policy.
|
Mono<DatabaseSecurityAlertPolicyInner> |
DatabaseThreatDetectionPoliciesClient.createOrUpdateAsync(String resourceGroupName,
String serverName,
String databaseName,
SecurityAlertPolicyName securityAlertPolicyName,
DatabaseSecurityAlertPolicyInner parameters)
Creates or updates a database's threat detection policy.
|
com.azure.core.http.rest.Response<DatabaseSecurityAlertPolicyInner> |
DatabaseThreatDetectionPoliciesClient.createOrUpdateWithResponse(String resourceGroupName,
String serverName,
String databaseName,
SecurityAlertPolicyName securityAlertPolicyName,
DatabaseSecurityAlertPolicyInner parameters,
com.azure.core.util.Context context)
Creates or updates a database's threat detection policy.
|
Mono<com.azure.core.http.rest.Response<DatabaseSecurityAlertPolicyInner>> |
DatabaseThreatDetectionPoliciesClient.createOrUpdateWithResponseAsync(String resourceGroupName,
String serverName,
String databaseName,
SecurityAlertPolicyName securityAlertPolicyName,
DatabaseSecurityAlertPolicyInner parameters)
Creates or updates a database's threat detection policy.
|
| Modifier and Type | Method and Description |
|---|---|
DatabaseSecurityAlertPolicyInner |
DatabaseSecurityAlertPolicyInner.withDisabledAlerts(String disabledAlerts)
Set the disabledAlerts property: Specifies the semicolon-separated list of alerts that are disabled, or empty
string to disable no alerts.
|
DatabaseSecurityAlertPolicyInner |
DatabaseSecurityAlertPolicyInner.withEmailAccountAdmins(SecurityAlertPolicyEmailAccountAdmins emailAccountAdmins)
Set the emailAccountAdmins property: Specifies that the alert is sent to the account administrators.
|
DatabaseSecurityAlertPolicyInner |
DatabaseSecurityAlertPolicyInner.withEmailAddresses(String emailAddresses)
Set the emailAddresses property: Specifies the semicolon-separated list of e-mail addresses to which the alert is
sent.
|
DatabaseSecurityAlertPolicyInner |
DatabaseSecurityAlertPolicyInner.withLocation(String location)
Set the location property: The geo-location where the resource lives.
|
DatabaseSecurityAlertPolicyInner |
DatabaseSecurityAlertPolicyInner.withRetentionDays(Integer retentionDays)
Set the retentionDays property: Specifies the number of days to keep in the Threat Detection audit logs.
|
DatabaseSecurityAlertPolicyInner |
DatabaseSecurityAlertPolicyInner.withState(SecurityAlertPolicyState state)
Set the state property: Specifies the state of the policy.
|
DatabaseSecurityAlertPolicyInner |
DatabaseSecurityAlertPolicyInner.withStorageAccountAccessKey(String storageAccountAccessKey)
Set the storageAccountAccessKey property: Specifies the identifier key of the Threat Detection audit storage
account.
|
DatabaseSecurityAlertPolicyInner |
DatabaseSecurityAlertPolicyInner.withStorageEndpoint(String storageEndpoint)
Set the storageEndpoint property: Specifies the blob storage endpoint (e.g.
|
DatabaseSecurityAlertPolicyInner |
DatabaseSecurityAlertPolicyInner.withUseServerDefault(SecurityAlertPolicyUseServerDefault useServerDefault)
Set the useServerDefault property: Specifies whether to use the default server policy.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.