Interface DatabaseBlobAuditingPoliciesClient
public interface DatabaseBlobAuditingPoliciesClient
An instance of this class provides access to all the operations defined in DatabaseBlobAuditingPoliciesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String resourceGroupName, String serverName, String databaseName, DatabaseBlobAuditingPolicyInner parameters) Creates or updates a database's blob auditing policy.createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, DatabaseBlobAuditingPolicyInner parameters) Creates or updates a database's blob auditing policy.com.azure.core.http.rest.Response<DatabaseBlobAuditingPolicyInner>createOrUpdateWithResponse(String resourceGroupName, String serverName, String databaseName, DatabaseBlobAuditingPolicyInner parameters, com.azure.core.util.Context context) Creates or updates a database's blob auditing policy.Mono<com.azure.core.http.rest.Response<DatabaseBlobAuditingPolicyInner>>createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, DatabaseBlobAuditingPolicyInner parameters) Creates or updates a database's blob auditing policy.Gets a database's blob auditing policy.Gets a database's blob auditing policy.com.azure.core.http.rest.Response<DatabaseBlobAuditingPolicyInner>getWithResponse(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context) Gets a database's blob auditing policy.Mono<com.azure.core.http.rest.Response<DatabaseBlobAuditingPolicyInner>>getWithResponseAsync(String resourceGroupName, String serverName, String databaseName) Gets a database's blob auditing policy.com.azure.core.http.rest.PagedIterable<DatabaseBlobAuditingPolicyInner>listByDatabase(String resourceGroupName, String serverName, String databaseName) Lists auditing settings of a database.com.azure.core.http.rest.PagedIterable<DatabaseBlobAuditingPolicyInner>listByDatabase(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context) Lists auditing settings of a database.com.azure.core.http.rest.PagedFlux<DatabaseBlobAuditingPolicyInner>listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName) Lists auditing settings of a database.
-
Method Details
-
listByDatabaseAsync
com.azure.core.http.rest.PagedFlux<DatabaseBlobAuditingPolicyInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName) Lists auditing settings of a database.- 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 auditing settings 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<DatabaseBlobAuditingPolicyInner> listByDatabase(String resourceGroupName, String serverName, String databaseName) Lists auditing settings of a database.- 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 auditing settings 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<DatabaseBlobAuditingPolicyInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context) Lists auditing settings of a database.- 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 auditing settings 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<DatabaseBlobAuditingPolicyInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName) Gets a database's blob auditing policy.- 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 database's blob auditing policy 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<DatabaseBlobAuditingPolicyInner> getAsync(String resourceGroupName, String serverName, String databaseName) Gets a database's blob auditing policy.- 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 database's blob auditing policy 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<DatabaseBlobAuditingPolicyInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context) Gets a database's blob auditing policy.- 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 database's blob auditing policy 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
DatabaseBlobAuditingPolicyInner get(String resourceGroupName, String serverName, String databaseName) Gets a database's blob auditing policy.- 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 database's blob auditing policy.
- 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<DatabaseBlobAuditingPolicyInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, DatabaseBlobAuditingPolicyInner parameters) Creates or updates a database's blob auditing policy.- 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.parameters- The database blob auditing policy.- Returns:
- a database blob auditing policy 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<DatabaseBlobAuditingPolicyInner> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, DatabaseBlobAuditingPolicyInner parameters) Creates or updates a database's blob auditing policy.- 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.parameters- The database blob auditing policy.- Returns:
- a database blob auditing policy 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<DatabaseBlobAuditingPolicyInner> createOrUpdateWithResponse(String resourceGroupName, String serverName, String databaseName, DatabaseBlobAuditingPolicyInner parameters, com.azure.core.util.Context context) Creates or updates a database's blob auditing policy.- 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.parameters- The database blob auditing policy.context- The context to associate with this operation.- Returns:
- a database blob auditing policy 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
DatabaseBlobAuditingPolicyInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, DatabaseBlobAuditingPolicyInner parameters) Creates or updates a database's blob auditing policy.- 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.parameters- The database blob auditing policy.- Returns:
- a database blob auditing policy.
- 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.
-