Class SystemScanRulesetsClient
java.lang.Object
com.azure.analytics.purview.scanning.SystemScanRulesetsClient
Initializes a new instance of the synchronous PurviewScanningClient type.
-
Method Summary
Modifier and TypeMethodDescriptiongetByVersionWithResponse
(int version, RequestOptions requestOptions) Get a scan ruleset by version.getLatestWithResponse
(RequestOptions requestOptions) Get the latest version of a system scan ruleset.getWithResponse
(String dataSourceType, RequestOptions requestOptions) Get a system scan ruleset for a data source.listAll
(RequestOptions requestOptions) List all system scan rulesets for an account.listVersionsByDataSource
(RequestOptions requestOptions) List system scan ruleset versions in Data catalog.
-
Method Details
-
listAll
List all system scan rulesets for an account.Query Parameters
Query Parameters Name Type Required Description apiVersion String Yes Api Version Response Body Schema
{ value: [ { id: String name: String scanRulesetType: String(Custom/System) status: String(Enabled/Disabled) version: Integer } ] nextLink: String count: Long }
- Parameters:
requestOptions
- The options to configure the HTTP request before HTTP client sends it.- Returns:
- the response.
- Throws:
HttpResponseException
- thrown if the request is rejected by server.
-
getWithResponse
Get a system scan ruleset for a data source.Query Parameters
Query Parameters Name Type Required Description apiVersion String Yes Api Version Response Body Schema
{ id: String name: String scanRulesetType: String(Custom/System) status: String(Enabled/Disabled) version: Integer }
- Parameters:
dataSourceType
- The dataSourceType parameter.requestOptions
- The options to configure the HTTP request before HTTP client sends it.- Returns:
- a system scan ruleset for a data source along with
Response
. - Throws:
HttpResponseException
- thrown if the request is rejected by server.
-
getByVersionWithResponse
Get a scan ruleset by version.Query Parameters
Query Parameters Name Type Required Description dataSourceType String No The dataSourceType parameter apiVersion String Yes Api Version Response Body Schema
{ id: String name: String scanRulesetType: String(Custom/System) status: String(Enabled/Disabled) version: Integer }
- Parameters:
version
- The version parameter.requestOptions
- The options to configure the HTTP request before HTTP client sends it.- Returns:
- a scan ruleset by version along with
Response
. - Throws:
HttpResponseException
- thrown if the request is rejected by server.
-
getLatestWithResponse
Get the latest version of a system scan ruleset.Query Parameters
Query Parameters Name Type Required Description dataSourceType String No The dataSourceType parameter apiVersion String Yes Api Version Response Body Schema
{ id: String name: String scanRulesetType: String(Custom/System) status: String(Enabled/Disabled) version: Integer }
- Parameters:
requestOptions
- The options to configure the HTTP request before HTTP client sends it.- Returns:
- the latest version of a system scan ruleset along with
Response
. - Throws:
HttpResponseException
- thrown if the request is rejected by server.
-
listVersionsByDataSource
List system scan ruleset versions in Data catalog.Query Parameters
Query Parameters Name Type Required Description dataSourceType String No The dataSourceType parameter apiVersion String Yes Api Version Response Body Schema
{ value: [ { id: String name: String scanRulesetType: String(Custom/System) status: String(Enabled/Disabled) version: Integer } ] nextLink: String count: Long }
- Parameters:
requestOptions
- The options to configure the HTTP request before HTTP client sends it.- Returns:
- the response.
- Throws:
HttpResponseException
- thrown if the request is rejected by server.
-