Class ResourceSetRulesAsyncClient

java.lang.Object
com.azure.analytics.purview.administration.ResourceSetRulesAsyncClient

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

    • getResourceSetRuleWithResponse

      public Mono<Response<BinaryData>> getResourceSetRuleWithResponse(RequestOptions requestOptions)
      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 on successful completion of Mono.
      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 Mono<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 on successful completion of Mono.
      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

      public Mono<Response<Void>> deleteResourceSetRuleWithResponse(RequestOptions requestOptions)
      Deletes a ResourceSetRuleConfig resource.
      Parameters:
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      the Response on successful completion of Mono.
      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

      public PagedFlux<BinaryData> listResourceSetRules(RequestOptions requestOptions)
      Get a resource set config service model.

      Query Parameters

      Query Parameters
      NameTypeRequiredDescription
      $skipTokenStringNoThe 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 PagedFlux.
      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.