Class ResourceSetRulesClient
java.lang.Object
com.azure.analytics.purview.administration.ResourceSetRulesClient
Initializes a new instance of the synchronous PurviewAccountClient type.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdateResourceSetRuleWithResponse
(BinaryData resourceSetRuleConfig, RequestOptions requestOptions) Creates or updates an resource set config.deleteResourceSetRuleWithResponse
(RequestOptions requestOptions) Deletes a ResourceSetRuleConfig resource.getResourceSetRuleWithResponse
(RequestOptions requestOptions) Get a resource set config service model.listResourceSetRules
(RequestOptions requestOptions) Get a resource set config service model.
-
Method Details
-
getResourceSetRuleWithResponse
Get a resource set config service model.Response Body Schema
{ advancedResourceSet: { modifiedAt: OffsetDateTime resourceSetProcessing: String(Default/Advanced) } name: String pathPatternConfig: { acceptedPatterns: [ { createdBy: String filterType: String(Pattern/Regex) lastUpdatedTimestamp: Long modifiedBy: String name: String path: String } ] complexReplacers: [ { createdBy: String description: String disabled: Boolean disableRecursiveReplacerApplication: Boolean lastUpdatedTimestamp: Long modifiedBy: String name: String typeName: String } ] createdBy: String enableDefaultPatterns: boolean lastUpdatedTimestamp: Long modifiedBy: String normalizationRules: [ { description: String disabled: Boolean dynamicReplacement: Boolean entityTypes: [ String ] lastUpdatedTimestamp: Long name: String regex: { maxDigits: Integer maxLetters: Integer minDashes: Integer minDigits: Integer minDigitsOrLetters: Integer minDots: Integer minHex: Integer minLetters: Integer minUnderscores: Integer options: Integer regexStr: String } replaceWith: String version: Double } ] regexReplacers: [ { condition: String createdBy: String description: String disabled: boolean disableRecursiveReplacerApplication: Boolean doNotReplaceRegex: (recursive schema, see doNotReplaceRegex above) lastUpdatedTimestamp: Long modifiedBy: String name: String regex: (recursive schema, see regex above) replaceWith: String } ] rejectedPatterns: [ (recursive schema, see above) ] scopedRules: [ { bindingUrl: String rules: [ { displayName: String isResourceSet: Boolean lastUpdatedTimestamp: Long name: String qualifiedName: String } ] storeType: String } ] version: Integer } }
- Parameters:
requestOptions
- The options to configure the HTTP request before HTTP client sends it.- Returns:
- a resource set config service model along with
Response
. - Throws:
HttpResponseException
- thrown if the request is rejected by server.ClientAuthenticationException
- thrown if the request is rejected by server on status code 401.ResourceNotFoundException
- thrown if the request is rejected by server on status code 404.ResourceModifiedException
- thrown if the request is rejected by server on status code 409.
-
createOrUpdateResourceSetRuleWithResponse
public Response<BinaryData> createOrUpdateResourceSetRuleWithResponse(BinaryData resourceSetRuleConfig, RequestOptions requestOptions) Creates or updates an resource set config.Request Body Schema
{ advancedResourceSet: { modifiedAt: OffsetDateTime resourceSetProcessing: String(Default/Advanced) } name: String pathPatternConfig: { acceptedPatterns: [ { createdBy: String filterType: String(Pattern/Regex) lastUpdatedTimestamp: Long modifiedBy: String name: String path: String } ] complexReplacers: [ { createdBy: String description: String disabled: Boolean disableRecursiveReplacerApplication: Boolean lastUpdatedTimestamp: Long modifiedBy: String name: String typeName: String } ] createdBy: String enableDefaultPatterns: boolean lastUpdatedTimestamp: Long modifiedBy: String normalizationRules: [ { description: String disabled: Boolean dynamicReplacement: Boolean entityTypes: [ String ] lastUpdatedTimestamp: Long name: String regex: { maxDigits: Integer maxLetters: Integer minDashes: Integer minDigits: Integer minDigitsOrLetters: Integer minDots: Integer minHex: Integer minLetters: Integer minUnderscores: Integer options: Integer regexStr: String } replaceWith: String version: Double } ] regexReplacers: [ { condition: String createdBy: String description: String disabled: boolean disableRecursiveReplacerApplication: Boolean doNotReplaceRegex: (recursive schema, see doNotReplaceRegex above) lastUpdatedTimestamp: Long modifiedBy: String name: String regex: (recursive schema, see regex above) replaceWith: String } ] rejectedPatterns: [ (recursive schema, see above) ] scopedRules: [ { bindingUrl: String rules: [ { displayName: String isResourceSet: Boolean lastUpdatedTimestamp: Long name: String qualifiedName: String } ] storeType: String } ] version: Integer } }
Response Body Schema
{ advancedResourceSet: { modifiedAt: OffsetDateTime resourceSetProcessing: String(Default/Advanced) } name: String pathPatternConfig: { acceptedPatterns: [ { createdBy: String filterType: String(Pattern/Regex) lastUpdatedTimestamp: Long modifiedBy: String name: String path: String } ] complexReplacers: [ { createdBy: String description: String disabled: Boolean disableRecursiveReplacerApplication: Boolean lastUpdatedTimestamp: Long modifiedBy: String name: String typeName: String } ] createdBy: String enableDefaultPatterns: boolean lastUpdatedTimestamp: Long modifiedBy: String normalizationRules: [ { description: String disabled: Boolean dynamicReplacement: Boolean entityTypes: [ String ] lastUpdatedTimestamp: Long name: String regex: { maxDigits: Integer maxLetters: Integer minDashes: Integer minDigits: Integer minDigitsOrLetters: Integer minDots: Integer minHex: Integer minLetters: Integer minUnderscores: Integer options: Integer regexStr: String } replaceWith: String version: Double } ] regexReplacers: [ { condition: String createdBy: String description: String disabled: boolean disableRecursiveReplacerApplication: Boolean doNotReplaceRegex: (recursive schema, see doNotReplaceRegex above) lastUpdatedTimestamp: Long modifiedBy: String name: String regex: (recursive schema, see regex above) replaceWith: String } ] rejectedPatterns: [ (recursive schema, see above) ] scopedRules: [ { bindingUrl: String rules: [ { displayName: String isResourceSet: Boolean lastUpdatedTimestamp: Long name: String qualifiedName: String } ] storeType: String } ] version: Integer } }
- Parameters:
resourceSetRuleConfig
- ResourceSetRuleConfig implementation class.requestOptions
- The options to configure the HTTP request before HTTP client sends it.- Returns:
- resourceSetRuleConfig implementation class along with
Response
. - Throws:
HttpResponseException
- thrown if the request is rejected by server.ClientAuthenticationException
- thrown if the request is rejected by server on status code 401.ResourceNotFoundException
- thrown if the request is rejected by server on status code 404.ResourceModifiedException
- thrown if the request is rejected by server on status code 409.
-
deleteResourceSetRuleWithResponse
Deletes a ResourceSetRuleConfig resource.- 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.ClientAuthenticationException
- thrown if the request is rejected by server on status code 401.ResourceNotFoundException
- thrown if the request is rejected by server on status code 404.ResourceModifiedException
- thrown if the request is rejected by server on status code 409.
-
listResourceSetRules
Get a resource set config service model.Query Parameters
Query Parameters Name Type Required Description $skipToken String No The skipToken parameter Response Body Schema
{ count: Long nextLink: String value: [ { advancedResourceSet: { modifiedAt: OffsetDateTime resourceSetProcessing: String(Default/Advanced) } name: String pathPatternConfig: { acceptedPatterns: [ { createdBy: String filterType: String(Pattern/Regex) lastUpdatedTimestamp: Long modifiedBy: String name: String path: String } ] complexReplacers: [ { createdBy: String description: String disabled: Boolean disableRecursiveReplacerApplication: Boolean lastUpdatedTimestamp: Long modifiedBy: String name: String typeName: String } ] createdBy: String enableDefaultPatterns: boolean lastUpdatedTimestamp: Long modifiedBy: String normalizationRules: [ { description: String disabled: Boolean dynamicReplacement: Boolean entityTypes: [ String ] lastUpdatedTimestamp: Long name: String regex: { maxDigits: Integer maxLetters: Integer minDashes: Integer minDigits: Integer minDigitsOrLetters: Integer minDots: Integer minHex: Integer minLetters: Integer minUnderscores: Integer options: Integer regexStr: String } replaceWith: String version: Double } ] regexReplacers: [ { condition: String createdBy: String description: String disabled: boolean disableRecursiveReplacerApplication: Boolean doNotReplaceRegex: (recursive schema, see doNotReplaceRegex above) lastUpdatedTimestamp: Long modifiedBy: String name: String regex: (recursive schema, see regex above) replaceWith: String } ] rejectedPatterns: [ (recursive schema, see above) ] scopedRules: [ { bindingUrl: String rules: [ { displayName: String isResourceSet: Boolean lastUpdatedTimestamp: Long name: String qualifiedName: String } ] storeType: String } ] version: Integer } } ] }
- Parameters:
requestOptions
- The options to configure the HTTP request before HTTP client sends it.- Returns:
- a resource set config service model as paginated response with
PagedIterable
. - Throws:
HttpResponseException
- thrown if the request is rejected by server.ClientAuthenticationException
- thrown if the request is rejected by server on status code 401.ResourceNotFoundException
- thrown if the request is rejected by server on status code 404.ResourceModifiedException
- thrown if the request is rejected by server on status code 409.
-