public interface DatabaseThreatDetectionPoliciesClient
| Modifier and Type | Method and Description |
|---|---|
DatabaseSecurityAlertPolicyInner |
createOrUpdate(String resourceGroupName,
String serverName,
String databaseName,
SecurityAlertPolicyName securityAlertPolicyName,
DatabaseSecurityAlertPolicyInner parameters)
Creates or updates a database's threat detection policy.
|
Mono<DatabaseSecurityAlertPolicyInner> |
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> |
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>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String serverName,
String databaseName,
SecurityAlertPolicyName securityAlertPolicyName,
DatabaseSecurityAlertPolicyInner parameters)
Creates or updates a database's threat detection policy.
|
DatabaseSecurityAlertPolicyInner |
get(String resourceGroupName,
String serverName,
String databaseName,
SecurityAlertPolicyName securityAlertPolicyName)
Gets a database's threat detection policy.
|
Mono<DatabaseSecurityAlertPolicyInner> |
getAsync(String resourceGroupName,
String serverName,
String databaseName,
SecurityAlertPolicyName securityAlertPolicyName)
Gets a database's threat detection policy.
|
com.azure.core.http.rest.Response<DatabaseSecurityAlertPolicyInner> |
getWithResponse(String resourceGroupName,
String serverName,
String databaseName,
SecurityAlertPolicyName securityAlertPolicyName,
com.azure.core.util.Context context)
Gets a database's threat detection policy.
|
Mono<com.azure.core.http.rest.Response<DatabaseSecurityAlertPolicyInner>> |
getWithResponseAsync(String resourceGroupName,
String serverName,
String databaseName,
SecurityAlertPolicyName securityAlertPolicyName)
Gets a database's threat detection policy.
|
Mono<com.azure.core.http.rest.Response<DatabaseSecurityAlertPolicyInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database for which database Threat Detection policy is defined.securityAlertPolicyName - The name of the security alert policy.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<DatabaseSecurityAlertPolicyInner> getAsync(String resourceGroupName, String serverName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database for which database Threat Detection policy is defined.securityAlertPolicyName - The name of the security alert policy.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.DatabaseSecurityAlertPolicyInner get(String resourceGroupName, String serverName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database for which database Threat Detection policy is defined.securityAlertPolicyName - The name of the security alert policy.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<DatabaseSecurityAlertPolicyInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database for which database Threat Detection policy is defined.securityAlertPolicyName - The name of the security alert policy.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<DatabaseSecurityAlertPolicyInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName, DatabaseSecurityAlertPolicyInner parameters)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database for which database Threat Detection policy is defined.securityAlertPolicyName - The name of the security alert policy.parameters - Contains information about a database Threat Detection policy.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<DatabaseSecurityAlertPolicyInner> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName, DatabaseSecurityAlertPolicyInner parameters)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database for which database Threat Detection policy is defined.securityAlertPolicyName - The name of the security alert policy.parameters - Contains information about a database Threat Detection policy.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.DatabaseSecurityAlertPolicyInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName, DatabaseSecurityAlertPolicyInner parameters)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database for which database Threat Detection policy is defined.securityAlertPolicyName - The name of the security alert policy.parameters - Contains information about a database Threat Detection policy.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<DatabaseSecurityAlertPolicyInner> createOrUpdateWithResponse(String resourceGroupName, String serverName, String databaseName, SecurityAlertPolicyName securityAlertPolicyName, DatabaseSecurityAlertPolicyInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.databaseName - The name of the database for which database Threat Detection policy is defined.securityAlertPolicyName - The name of the security alert policy.parameters - Contains information about a database Threat Detection policy.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Copyright © 2020 Microsoft Corporation. All rights reserved.