Interface DatabaseAdvancedThreatProtectionSettingsClient
public interface DatabaseAdvancedThreatProtectionSettingsClient
An instance of this class provides access to all the operations defined in
DatabaseAdvancedThreatProtectionSettingsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName, DatabaseAdvancedThreatProtectionInner parameters) Creates or updates a database's Advanced Threat Protection state.createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName, DatabaseAdvancedThreatProtectionInner parameters) Creates or updates a database's Advanced Threat Protection state.com.azure.core.http.rest.Response<DatabaseAdvancedThreatProtectionInner> createOrUpdateWithResponse(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName, DatabaseAdvancedThreatProtectionInner parameters, com.azure.core.util.Context context) Creates or updates a database's Advanced Threat Protection state.Mono<com.azure.core.http.rest.Response<DatabaseAdvancedThreatProtectionInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName, DatabaseAdvancedThreatProtectionInner parameters) Creates or updates a database's Advanced Threat Protection state.get(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName) Gets a database's Advanced Threat Protection state.getAsync(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName) Gets a database's Advanced Threat Protection state.com.azure.core.http.rest.Response<DatabaseAdvancedThreatProtectionInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName, com.azure.core.util.Context context) Gets a database's Advanced Threat Protection state.Mono<com.azure.core.http.rest.Response<DatabaseAdvancedThreatProtectionInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName) Gets a database's Advanced Threat Protection state.com.azure.core.http.rest.PagedIterable<DatabaseAdvancedThreatProtectionInner> listByDatabase(String resourceGroupName, String serverName, String databaseName) Gets a list of database's Advanced Threat Protection states.com.azure.core.http.rest.PagedIterable<DatabaseAdvancedThreatProtectionInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context) Gets a list of database's Advanced Threat Protection states.com.azure.core.http.rest.PagedFlux<DatabaseAdvancedThreatProtectionInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName) Gets a list of database's Advanced Threat Protection states.
-
Method Details
-
listByDatabaseAsync
com.azure.core.http.rest.PagedFlux<DatabaseAdvancedThreatProtectionInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName) Gets a list of database's Advanced Threat Protection states.- 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.- Returns:
- a list of database's Advanced Threat Protection states as paginated response with
PagedFlux. - Throws:
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.
-
listByDatabase
com.azure.core.http.rest.PagedIterable<DatabaseAdvancedThreatProtectionInner> listByDatabase(String resourceGroupName, String serverName, String databaseName) Gets a list of database's Advanced Threat Protection states.- 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.- Returns:
- a list of database's Advanced Threat Protection states as paginated response with
PagedIterable. - Throws:
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.
-
listByDatabase
com.azure.core.http.rest.PagedIterable<DatabaseAdvancedThreatProtectionInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context) Gets a list of database's Advanced Threat Protection states.- 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.context- The context to associate with this operation.- Returns:
- a list of database's Advanced Threat Protection states as paginated response with
PagedIterable. - Throws:
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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<DatabaseAdvancedThreatProtectionInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName) Gets a database's Advanced Threat Protection state.- 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.advancedThreatProtectionName- The name of the Advanced Threat Protection state.- Returns:
- a database's Advanced Threat Protection state along with
Responseon successful completion ofMono. - Throws:
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.
-
getAsync
Mono<DatabaseAdvancedThreatProtectionInner> getAsync(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName) Gets a database's Advanced Threat Protection state.- 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.advancedThreatProtectionName- The name of the Advanced Threat Protection state.- Returns:
- a database's Advanced Threat Protection state on successful completion of
Mono. - Throws:
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.
-
getWithResponse
com.azure.core.http.rest.Response<DatabaseAdvancedThreatProtectionInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName, com.azure.core.util.Context context) Gets a database's Advanced Threat Protection state.- 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.advancedThreatProtectionName- The name of the Advanced Threat Protection state.context- The context to associate with this operation.- Returns:
- a database's Advanced Threat Protection state along with
Response. - Throws:
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.
-
get
DatabaseAdvancedThreatProtectionInner get(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName) Gets a database's Advanced Threat Protection state.- 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.advancedThreatProtectionName- The name of the Advanced Threat Protection state.- Returns:
- a database's Advanced Threat Protection state.
- Throws:
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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<DatabaseAdvancedThreatProtectionInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName, DatabaseAdvancedThreatProtectionInner parameters) Creates or updates a database's Advanced Threat Protection state.- 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.advancedThreatProtectionName- The name of the Advanced Threat Protection state.parameters- The database Advanced Threat Protection state.- Returns:
- a database Advanced Threat Protection along with
Responseon successful completion ofMono. - Throws:
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.
-
createOrUpdateAsync
Mono<DatabaseAdvancedThreatProtectionInner> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName, DatabaseAdvancedThreatProtectionInner parameters) Creates or updates a database's Advanced Threat Protection state.- 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.advancedThreatProtectionName- The name of the Advanced Threat Protection state.parameters- The database Advanced Threat Protection state.- Returns:
- a database Advanced Threat Protection on successful completion of
Mono. - Throws:
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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<DatabaseAdvancedThreatProtectionInner> createOrUpdateWithResponse(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName, DatabaseAdvancedThreatProtectionInner parameters, com.azure.core.util.Context context) Creates or updates a database's Advanced Threat Protection state.- 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.advancedThreatProtectionName- The name of the Advanced Threat Protection state.parameters- The database Advanced Threat Protection state.context- The context to associate with this operation.- Returns:
- a database Advanced Threat Protection along with
Response. - Throws:
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.
-
createOrUpdate
DatabaseAdvancedThreatProtectionInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, AdvancedThreatProtectionName advancedThreatProtectionName, DatabaseAdvancedThreatProtectionInner parameters) Creates or updates a database's Advanced Threat Protection state.- 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.advancedThreatProtectionName- The name of the Advanced Threat Protection state.parameters- The database Advanced Threat Protection state.- Returns:
- a database Advanced Threat Protection.
- Throws:
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.
-