Class FiltersClient
java.lang.Object
com.azure.analytics.purview.scanning.FiltersClient
Initializes a new instance of the synchronous 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 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
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 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
Response
. - Throws:
HttpResponseException
- thrown if the request is rejected by server.
-