Interface SqlPoolBlobAuditingPolicies


public interface SqlPoolBlobAuditingPolicies
Resource collection API of SqlPoolBlobAuditingPolicies.
  • Method Details

    • getWithResponse

      com.azure.core.http.rest.Response<SqlPoolBlobAuditingPolicy> getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
      Get a SQL pool's blob auditing policy

      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.
    • get

      SqlPoolBlobAuditingPolicy get(String resourceGroupName, String workspaceName, String sqlPoolName)
      Get a SQL pool's blob auditing policy

      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.
    • listBySqlPool

      com.azure.core.http.rest.PagedIterable<SqlPoolBlobAuditingPolicy> 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<SqlPoolBlobAuditingPolicy> 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.
    • getById

      Get a SQL pool's blob auditing policy

      Get a SQL pool's blob auditing policy.

      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<SqlPoolBlobAuditingPolicy> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Get a SQL pool's blob auditing policy

      Get a SQL pool's blob auditing policy.

      Parameters:
      id - the resource ID.
      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.
    • define

      Begins definition for a new SqlPoolBlobAuditingPolicy resource.
      Returns:
      the first stage of the new SqlPoolBlobAuditingPolicy definition.