Interface ExtendedDatabaseBlobAuditingPoliciesClient


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

      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<ExtendedDatabaseBlobAuditingPolicyInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                                              String serverName,
                                                                                                              String databaseName)
        Gets an extended 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:
        an extended 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<ExtendedDatabaseBlobAuditingPolicyInner> getAsync​(String resourceGroupName,
                                                               String serverName,
                                                               String databaseName)
        Gets an extended 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:
        an extended 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

        ExtendedDatabaseBlobAuditingPolicyInner get​(String resourceGroupName,
                                                    String serverName,
                                                    String databaseName)
        Gets an extended 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:
        an extended 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<ExtendedDatabaseBlobAuditingPolicyInner> getWithResponse​(String resourceGroupName,
                                                                                                   String serverName,
                                                                                                   String databaseName,
                                                                                                   com.azure.core.util.Context context)
        Gets an extended 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:
        an extended 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<ExtendedDatabaseBlobAuditingPolicyInner>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                                         String serverName,
                                                                                                                         String databaseName,
                                                                                                                         ExtendedDatabaseBlobAuditingPolicyInner parameters)
        Creates or updates an extended 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 - An extended database blob auditing policy.
        Returns:
        an extended 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<ExtendedDatabaseBlobAuditingPolicyInner> createOrUpdateAsync​(String resourceGroupName,
                                                                          String serverName,
                                                                          String databaseName,
                                                                          ExtendedDatabaseBlobAuditingPolicyInner parameters)
        Creates or updates an extended 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 - An extended database blob auditing policy.
        Returns:
        an extended 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

        ExtendedDatabaseBlobAuditingPolicyInner createOrUpdate​(String resourceGroupName,
                                                               String serverName,
                                                               String databaseName,
                                                               ExtendedDatabaseBlobAuditingPolicyInner parameters)
        Creates or updates an extended 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 - An extended database blob auditing policy.
        Returns:
        an extended 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<ExtendedDatabaseBlobAuditingPolicyInner> createOrUpdateWithResponse​(String resourceGroupName,
                                                                                                              String serverName,
                                                                                                              String databaseName,
                                                                                                              ExtendedDatabaseBlobAuditingPolicyInner parameters,
                                                                                                              com.azure.core.util.Context context)
        Creates or updates an extended 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 - An extended database blob auditing policy.
        context - The context to associate with this operation.
        Returns:
        an extended 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<ExtendedDatabaseBlobAuditingPolicyInner> listByDatabaseAsync​(String resourceGroupName,
                                                                                                        String serverName,
                                                                                                        String databaseName)
        Lists extended 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 extended 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<ExtendedDatabaseBlobAuditingPolicyInner> listByDatabase​(String resourceGroupName,
                                                                                                       String serverName,
                                                                                                       String databaseName)
        Lists extended 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 extended 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<ExtendedDatabaseBlobAuditingPolicyInner> listByDatabase​(String resourceGroupName,
                                                                                                       String serverName,
                                                                                                       String databaseName,
                                                                                                       com.azure.core.util.Context context)
        Lists extended 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 extended 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.