Interface DatabaseBlobAuditingPoliciesClient


  • public interface DatabaseBlobAuditingPoliciesClient
    An instance of this class provides access to all the operations defined in DatabaseBlobAuditingPoliciesClient.
    • Method Detail

      • 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.
        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.
        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.
      • 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.
        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 - A 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.
      • 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 - A 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.
      • 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 - A 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.
      • 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 - A database blob auditing policy.
        context - The context to associate with this operation.
        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.
      • 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.
        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.
        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.
        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.