Class FiltersAsyncClient
java.lang.Object
com.azure.analytics.purview.scanning.FiltersAsyncClient
Initializes a new instance of the asynchronous PurviewScanningClient type.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdateWithResponse(String dataSourceName, String scanName, RequestOptions requestOptions) Creates or updates a filter.getWithResponse(String dataSourceName, String scanName, RequestOptions requestOptions) Get a filter.
-
Method Details
-
getWithResponse
public Mono<Response<BinaryData>> getWithResponse(String dataSourceName, String scanName, RequestOptions requestOptions) Get a filter.Query Parameters
Query Parameters Name Type Required Description apiVersion String Yes Api 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
Responseon successful completion ofMono. - 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 Name Type Required Description apiVersion String Yes Api 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
Responseon successful completion ofMono. - Throws:
HttpResponseException- thrown if the request is rejected by server.
-