Class FiltersClient

java.lang.Object
com.azure.analytics.purview.scanning.FiltersClient

public final class FiltersClient extends Object
Initializes a new instance of the synchronous PurviewScanningClient type.
  • Method Details

    • getWithResponse

      public Response<BinaryData> getWithResponse(String dataSourceName, String scanName, RequestOptions requestOptions)
      Get a filter.

      Query Parameters

      Query Parameters
      NameTypeRequiredDescription
      apiVersionStringYesApi Version

      Response Body Schema

      
       {
           id: String
           name: String
           properties: {
               excludeUriPrefixes: [
                   String
               ]
               includeUriPrefixes: [
                   String
               ]
           }
       }
       
      Parameters:
      dataSourceName - The dataSourceName parameter.
      scanName - The scanName parameter.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      a filter along with Response.
      Throws:
      HttpResponseException - thrown if the request is rejected by server.
    • createOrUpdateWithResponse

      public Response<BinaryData> createOrUpdateWithResponse(String dataSourceName, String scanName, RequestOptions requestOptions)
      Creates or updates a filter.

      Query Parameters

      Query Parameters
      NameTypeRequiredDescription
      apiVersionStringYesApi Version

      Request Body Schema

      
       {
           id: String
           name: String
           properties: {
               excludeUriPrefixes: [
                   String
               ]
               includeUriPrefixes: [
                   String
               ]
           }
       }
       

      Response Body Schema

      
       {
           id: String
           name: String
           properties: {
               excludeUriPrefixes: [
                   String
               ]
               includeUriPrefixes: [
                   String
               ]
           }
       }
       
      Parameters:
      dataSourceName - The dataSourceName parameter.
      scanName - The scanName parameter.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      the response body along with Response.
      Throws:
      HttpResponseException - thrown if the request is rejected by server.