Class FiltersAsyncClient

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

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

    • getWithResponse

      public Mono<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 on successful completion of Mono.
      Throws:
      HttpResponseException - thrown if the request is rejected by server.
    • createOrUpdateWithResponse

      public Mono<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 on successful completion of Mono.
      Throws:
      HttpResponseException - thrown if the request is rejected by server.