Interface SqlPoolBlobAuditingPoliciesClient


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

      • get

        SqlPoolBlobAuditingPolicyInner get​(String resourceGroupName,
                                           String workspaceName,
                                           String sqlPoolName)
        Get a SQL pool's blob auditing policy.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        Returns:
        a SQL pool'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<SqlPoolBlobAuditingPolicyInner> getWithResponse​(String resourceGroupName,
                                                                                          String workspaceName,
                                                                                          String sqlPoolName,
                                                                                          com.azure.core.util.Context context)
        Get a SQL pool's blob auditing policy.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        context - The context to associate with this operation.
        Returns:
        a SQL pool'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.
      • createOrUpdate

        SqlPoolBlobAuditingPolicyInner createOrUpdate​(String resourceGroupName,
                                                      String workspaceName,
                                                      String sqlPoolName,
                                                      SqlPoolBlobAuditingPolicyInner parameters)
        Creates or updates a SQL pool's blob auditing policy.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        parameters - The database blob auditing policy.
        Returns:
        a Sql pool 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<SqlPoolBlobAuditingPolicyInner> createOrUpdateWithResponse​(String resourceGroupName,
                                                                                                     String workspaceName,
                                                                                                     String sqlPoolName,
                                                                                                     SqlPoolBlobAuditingPolicyInner parameters,
                                                                                                     com.azure.core.util.Context context)
        Creates or updates a SQL pool's blob auditing policy.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        parameters - The database blob auditing policy.
        context - The context to associate with this operation.
        Returns:
        a Sql pool 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.
      • listBySqlPool

        com.azure.core.http.rest.PagedIterable<SqlPoolBlobAuditingPolicyInner> listBySqlPool​(String resourceGroupName,
                                                                                             String workspaceName,
                                                                                             String sqlPoolName)
        Lists auditing settings of a Sql pool.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        Returns:
        a list of Sql pool 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.
      • listBySqlPool

        com.azure.core.http.rest.PagedIterable<SqlPoolBlobAuditingPolicyInner> listBySqlPool​(String resourceGroupName,
                                                                                             String workspaceName,
                                                                                             String sqlPoolName,
                                                                                             com.azure.core.util.Context context)
        Lists auditing settings of a Sql pool.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        context - The context to associate with this operation.
        Returns:
        a list of Sql pool 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.