Class GlossaryAsyncClient

java.lang.Object
com.azure.analytics.purview.datamap.GlossaryAsyncClient

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

    • batchGetWithResponse

      public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> batchGetWithResponse(com.azure.core.http.rest.RequestOptions requestOptions)
      Get all glossaries. Recommend using limit/offset to get pagination result. Recommend using 'ignoreTermsAndCategories=true' and fetch terms/categories separately using 'GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms' and 'GET '/datamap/api/atlas/v2/glossary/{glossaryId}/categories'.

      Query Parameters

      Query Parameters
      NameTypeRequiredDescription
      limitIntegerNoThe page size - by default there is no paging.
      offsetIntegerNoThe offset for pagination purpose.
      sortStringNoThe sort order, ASC (default) or DESC.
      ignoreTermsAndCategoriesBooleanNoWhether ignore terms and categories
      You can add these to a request with RequestOptions.addQueryParam(java.lang.String, java.lang.String)

      Response Body Schema

       
       [
            (Required){
               guid: String (Optional)
               classifications (Optional): [
                    (Optional){
                       attributes (Optional): {
                           String: BinaryData (Required)
                       }
                       typeName: String (Optional)
                       lastModifiedTS: String (Optional)
                       entityGuid: String (Optional)
                       entityStatus: String(ACTIVE/DELETED) (Optional)
                       removePropagationsOnEntityDelete: Boolean (Optional)
                       validityPeriods (Optional): [
                            (Optional){
                               endTime: String (Optional)
                               startTime: String (Optional)
                               timeZone: String (Optional)
                           }
                       ]
                   }
               ]
               longDescription: String (Optional)
               name: String (Optional)
               qualifiedName: String (Optional)
               shortDescription: String (Optional)
               lastModifiedTS: String (Optional)
               createTime: Long (Optional)
               createdBy: String (Optional)
               updateTime: Long (Optional)
               updatedBy: String (Optional)
               categories (Optional): [
                    (Optional){
                       categoryGuid: String (Optional)
                       description: String (Optional)
                       displayText: String (Optional)
                       parentCategoryGuid: String (Optional)
                       relationGuid: String (Optional)
                   }
               ]
               language: String (Optional)
               terms (Optional): [
                    (Optional){
                       description: String (Optional)
                       displayText: String (Optional)
                       expression: String (Optional)
                       relationGuid: String (Optional)
                       status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                       steward: String (Optional)
                       termGuid: String (Optional)
                   }
               ]
               usage: String (Optional)
           }
       ]
       
       
      Parameters:
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      all glossaries along with Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • createWithResponse

      public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> createWithResponse(com.azure.core.util.BinaryData body, com.azure.core.http.rest.RequestOptions requestOptions)
      Create a glossary.

      Request Body Schema

       
       {
           guid: String (Optional)
           classifications (Optional): [
                (Optional){
                   attributes (Optional): {
                       String: BinaryData (Required)
                   }
                   typeName: String (Optional)
                   lastModifiedTS: String (Optional)
                   entityGuid: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   removePropagationsOnEntityDelete: Boolean (Optional)
                   validityPeriods (Optional): [
                        (Optional){
                           endTime: String (Optional)
                           startTime: String (Optional)
                           timeZone: String (Optional)
                       }
                   ]
               }
           ]
           longDescription: String (Optional)
           name: String (Optional)
           qualifiedName: String (Optional)
           shortDescription: String (Optional)
           lastModifiedTS: String (Optional)
           createTime: Long (Optional)
           createdBy: String (Optional)
           updateTime: Long (Optional)
           updatedBy: String (Optional)
           categories (Optional): [
                (Optional){
                   categoryGuid: String (Optional)
                   description: String (Optional)
                   displayText: String (Optional)
                   parentCategoryGuid: String (Optional)
                   relationGuid: String (Optional)
               }
           ]
           language: String (Optional)
           terms (Optional): [
                (Optional){
                   description: String (Optional)
                   displayText: String (Optional)
                   expression: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                   steward: String (Optional)
                   termGuid: String (Optional)
               }
           ]
           usage: String (Optional)
       }
       
       

      Response Body Schema

       
       {
           guid: String (Optional)
           classifications (Optional): [
                (Optional){
                   attributes (Optional): {
                       String: BinaryData (Required)
                   }
                   typeName: String (Optional)
                   lastModifiedTS: String (Optional)
                   entityGuid: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   removePropagationsOnEntityDelete: Boolean (Optional)
                   validityPeriods (Optional): [
                        (Optional){
                           endTime: String (Optional)
                           startTime: String (Optional)
                           timeZone: String (Optional)
                       }
                   ]
               }
           ]
           longDescription: String (Optional)
           name: String (Optional)
           qualifiedName: String (Optional)
           shortDescription: String (Optional)
           lastModifiedTS: String (Optional)
           createTime: Long (Optional)
           createdBy: String (Optional)
           updateTime: Long (Optional)
           updatedBy: String (Optional)
           categories (Optional): [
                (Optional){
                   categoryGuid: String (Optional)
                   description: String (Optional)
                   displayText: String (Optional)
                   parentCategoryGuid: String (Optional)
                   relationGuid: String (Optional)
               }
           ]
           language: String (Optional)
           terms (Optional): [
                (Optional){
                   description: String (Optional)
                   displayText: String (Optional)
                   expression: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                   steward: String (Optional)
                   termGuid: String (Optional)
               }
           ]
           usage: String (Optional)
       }
       
       
      Parameters:
      body - Body parameter.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      the glossary object along with Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • createCategoriesWithResponse

      public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> createCategoriesWithResponse(com.azure.core.util.BinaryData body, com.azure.core.http.rest.RequestOptions requestOptions)
      Create glossary category in bulk.

      Request Body Schema

       
       [
            (Required){
               guid: String (Optional)
               classifications (Optional): [
                    (Optional){
                       attributes (Optional): {
                           String: BinaryData (Required)
                       }
                       typeName: String (Optional)
                       lastModifiedTS: String (Optional)
                       entityGuid: String (Optional)
                       entityStatus: String(ACTIVE/DELETED) (Optional)
                       removePropagationsOnEntityDelete: Boolean (Optional)
                       validityPeriods (Optional): [
                            (Optional){
                               endTime: String (Optional)
                               startTime: String (Optional)
                               timeZone: String (Optional)
                           }
                       ]
                   }
               ]
               longDescription: String (Optional)
               name: String (Optional)
               qualifiedName: String (Optional)
               shortDescription: String (Optional)
               lastModifiedTS: String (Optional)
               createTime: Long (Optional)
               createdBy: String (Optional)
               updateTime: Long (Optional)
               updatedBy: String (Optional)
               anchor (Optional): {
                   displayText: String (Optional)
                   glossaryGuid: String (Optional)
                   relationGuid: String (Optional)
               }
               childrenCategories (Optional): [
                    (Optional){
                       categoryGuid: String (Optional)
                       description: String (Optional)
                       displayText: String (Optional)
                       parentCategoryGuid: String (Optional)
                       relationGuid: String (Optional)
                   }
               ]
               parentCategory (Optional): (recursive schema, see parentCategory above)
               terms (Optional): [
                    (Optional){
                       description: String (Optional)
                       displayText: String (Optional)
                       expression: String (Optional)
                       relationGuid: String (Optional)
                       status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                       steward: String (Optional)
                       termGuid: String (Optional)
                   }
               ]
           }
       ]
       
       

      Response Body Schema

       
       [
            (Required){
               guid: String (Optional)
               classifications (Optional): [
                    (Optional){
                       attributes (Optional): {
                           String: BinaryData (Required)
                       }
                       typeName: String (Optional)
                       lastModifiedTS: String (Optional)
                       entityGuid: String (Optional)
                       entityStatus: String(ACTIVE/DELETED) (Optional)
                       removePropagationsOnEntityDelete: Boolean (Optional)
                       validityPeriods (Optional): [
                            (Optional){
                               endTime: String (Optional)
                               startTime: String (Optional)
                               timeZone: String (Optional)
                           }
                       ]
                   }
               ]
               longDescription: String (Optional)
               name: String (Optional)
               qualifiedName: String (Optional)
               shortDescription: String (Optional)
               lastModifiedTS: String (Optional)
               createTime: Long (Optional)
               createdBy: String (Optional)
               updateTime: Long (Optional)
               updatedBy: String (Optional)
               anchor (Optional): {
                   displayText: String (Optional)
                   glossaryGuid: String (Optional)
                   relationGuid: String (Optional)
               }
               childrenCategories (Optional): [
                    (Optional){
                       categoryGuid: String (Optional)
                       description: String (Optional)
                       displayText: String (Optional)
                       parentCategoryGuid: String (Optional)
                       relationGuid: String (Optional)
                   }
               ]
               parentCategory (Optional): (recursive schema, see parentCategory above)
               terms (Optional): [
                    (Optional){
                       description: String (Optional)
                       displayText: String (Optional)
                       expression: String (Optional)
                       relationGuid: String (Optional)
                       status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                       steward: String (Optional)
                       termGuid: String (Optional)
                   }
               ]
           }
       ]
       
       
      Parameters:
      body - An array of glossary category definitions to be created.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      the response body along with Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • createCategoryWithResponse

      public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> createCategoryWithResponse(com.azure.core.util.BinaryData body, com.azure.core.http.rest.RequestOptions requestOptions)
      Create a glossary category.

      Request Body Schema

       
       {
           guid: String (Optional)
           classifications (Optional): [
                (Optional){
                   attributes (Optional): {
                       String: BinaryData (Required)
                   }
                   typeName: String (Optional)
                   lastModifiedTS: String (Optional)
                   entityGuid: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   removePropagationsOnEntityDelete: Boolean (Optional)
                   validityPeriods (Optional): [
                        (Optional){
                           endTime: String (Optional)
                           startTime: String (Optional)
                           timeZone: String (Optional)
                       }
                   ]
               }
           ]
           longDescription: String (Optional)
           name: String (Optional)
           qualifiedName: String (Optional)
           shortDescription: String (Optional)
           lastModifiedTS: String (Optional)
           createTime: Long (Optional)
           createdBy: String (Optional)
           updateTime: Long (Optional)
           updatedBy: String (Optional)
           anchor (Optional): {
               displayText: String (Optional)
               glossaryGuid: String (Optional)
               relationGuid: String (Optional)
           }
           childrenCategories (Optional): [
                (Optional){
                   categoryGuid: String (Optional)
                   description: String (Optional)
                   displayText: String (Optional)
                   parentCategoryGuid: String (Optional)
                   relationGuid: String (Optional)
               }
           ]
           parentCategory (Optional): (recursive schema, see parentCategory above)
           terms (Optional): [
                (Optional){
                   description: String (Optional)
                   displayText: String (Optional)
                   expression: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                   steward: String (Optional)
                   termGuid: String (Optional)
               }
           ]
       }
       
       

      Response Body Schema

       
       {
           guid: String (Optional)
           classifications (Optional): [
                (Optional){
                   attributes (Optional): {
                       String: BinaryData (Required)
                   }
                   typeName: String (Optional)
                   lastModifiedTS: String (Optional)
                   entityGuid: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   removePropagationsOnEntityDelete: Boolean (Optional)
                   validityPeriods (Optional): [
                        (Optional){
                           endTime: String (Optional)
                           startTime: String (Optional)
                           timeZone: String (Optional)
                       }
                   ]
               }
           ]
           longDescription: String (Optional)
           name: String (Optional)
           qualifiedName: String (Optional)
           shortDescription: String (Optional)
           lastModifiedTS: String (Optional)
           createTime: Long (Optional)
           createdBy: String (Optional)
           updateTime: Long (Optional)
           updatedBy: String (Optional)
           anchor (Optional): {
               displayText: String (Optional)
               glossaryGuid: String (Optional)
               relationGuid: String (Optional)
           }
           childrenCategories (Optional): [
                (Optional){
                   categoryGuid: String (Optional)
                   description: String (Optional)
                   displayText: String (Optional)
                   parentCategoryGuid: String (Optional)
                   relationGuid: String (Optional)
               }
           ]
           parentCategory (Optional): (recursive schema, see parentCategory above)
           terms (Optional): [
                (Optional){
                   description: String (Optional)
                   displayText: String (Optional)
                   expression: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                   steward: String (Optional)
                   termGuid: String (Optional)
               }
           ]
       }
       
       
      Parameters:
      body - Body parameter.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      the glossary category along with Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • getCategoryWithResponse

      public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> getCategoryWithResponse(String categoryId, com.azure.core.http.rest.RequestOptions requestOptions)
      Get specific glossary category by its GUID.

      Response Body Schema

       
       {
           guid: String (Optional)
           classifications (Optional): [
                (Optional){
                   attributes (Optional): {
                       String: BinaryData (Required)
                   }
                   typeName: String (Optional)
                   lastModifiedTS: String (Optional)
                   entityGuid: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   removePropagationsOnEntityDelete: Boolean (Optional)
                   validityPeriods (Optional): [
                        (Optional){
                           endTime: String (Optional)
                           startTime: String (Optional)
                           timeZone: String (Optional)
                       }
                   ]
               }
           ]
           longDescription: String (Optional)
           name: String (Optional)
           qualifiedName: String (Optional)
           shortDescription: String (Optional)
           lastModifiedTS: String (Optional)
           createTime: Long (Optional)
           createdBy: String (Optional)
           updateTime: Long (Optional)
           updatedBy: String (Optional)
           anchor (Optional): {
               displayText: String (Optional)
               glossaryGuid: String (Optional)
               relationGuid: String (Optional)
           }
           childrenCategories (Optional): [
                (Optional){
                   categoryGuid: String (Optional)
                   description: String (Optional)
                   displayText: String (Optional)
                   parentCategoryGuid: String (Optional)
                   relationGuid: String (Optional)
               }
           ]
           parentCategory (Optional): (recursive schema, see parentCategory above)
           terms (Optional): [
                (Optional){
                   description: String (Optional)
                   displayText: String (Optional)
                   expression: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                   steward: String (Optional)
                   termGuid: String (Optional)
               }
           ]
       }
       
       
      Parameters:
      categoryId - The globally unique identifier of the category.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      specific glossary category by its GUID along with Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • updateCategoryWithResponse

      public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> updateCategoryWithResponse(String categoryId, com.azure.core.util.BinaryData body, com.azure.core.http.rest.RequestOptions requestOptions)
      Update the given glossary category by its GUID.

      Request Body Schema

       
       {
           guid: String (Optional)
           classifications (Optional): [
                (Optional){
                   attributes (Optional): {
                       String: BinaryData (Required)
                   }
                   typeName: String (Optional)
                   lastModifiedTS: String (Optional)
                   entityGuid: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   removePropagationsOnEntityDelete: Boolean (Optional)
                   validityPeriods (Optional): [
                        (Optional){
                           endTime: String (Optional)
                           startTime: String (Optional)
                           timeZone: String (Optional)
                       }
                   ]
               }
           ]
           longDescription: String (Optional)
           name: String (Optional)
           qualifiedName: String (Optional)
           shortDescription: String (Optional)
           lastModifiedTS: String (Optional)
           createTime: Long (Optional)
           createdBy: String (Optional)
           updateTime: Long (Optional)
           updatedBy: String (Optional)
           anchor (Optional): {
               displayText: String (Optional)
               glossaryGuid: String (Optional)
               relationGuid: String (Optional)
           }
           childrenCategories (Optional): [
                (Optional){
                   categoryGuid: String (Optional)
                   description: String (Optional)
                   displayText: String (Optional)
                   parentCategoryGuid: String (Optional)
                   relationGuid: String (Optional)
               }
           ]
           parentCategory (Optional): (recursive schema, see parentCategory above)
           terms (Optional): [
                (Optional){
                   description: String (Optional)
                   displayText: String (Optional)
                   expression: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                   steward: String (Optional)
                   termGuid: String (Optional)
               }
           ]
       }
       
       

      Response Body Schema

       
       {
           guid: String (Optional)
           classifications (Optional): [
                (Optional){
                   attributes (Optional): {
                       String: BinaryData (Required)
                   }
                   typeName: String (Optional)
                   lastModifiedTS: String (Optional)
                   entityGuid: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   removePropagationsOnEntityDelete: Boolean (Optional)
                   validityPeriods (Optional): [
                        (Optional){
                           endTime: String (Optional)
                           startTime: String (Optional)
                           timeZone: String (Optional)
                       }
                   ]
               }
           ]
           longDescription: String (Optional)
           name: String (Optional)
           qualifiedName: String (Optional)
           shortDescription: String (Optional)
           lastModifiedTS: String (Optional)
           createTime: Long (Optional)
           createdBy: String (Optional)
           updateTime: Long (Optional)
           updatedBy: String (Optional)
           anchor (Optional): {
               displayText: String (Optional)
               glossaryGuid: String (Optional)
               relationGuid: String (Optional)
           }
           childrenCategories (Optional): [
                (Optional){
                   categoryGuid: String (Optional)
                   description: String (Optional)
                   displayText: String (Optional)
                   parentCategoryGuid: String (Optional)
                   relationGuid: String (Optional)
               }
           ]
           parentCategory (Optional): (recursive schema, see parentCategory above)
           terms (Optional): [
                (Optional){
                   description: String (Optional)
                   displayText: String (Optional)
                   expression: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                   steward: String (Optional)
                   termGuid: String (Optional)
               }
           ]
       }
       
       
      Parameters:
      categoryId - The globally unique identifier of the category.
      body - Body parameter.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      the glossary category along with Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • deleteCategoryWithResponse

      public Mono<com.azure.core.http.rest.Response<Void>> deleteCategoryWithResponse(String categoryId, com.azure.core.http.rest.RequestOptions requestOptions)
      Delete a glossary category.
      Parameters:
      categoryId - The globally unique identifier of the category.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • partialUpdateCategoryWithResponse

      public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> partialUpdateCategoryWithResponse(String categoryId, com.azure.core.util.BinaryData body, com.azure.core.http.rest.RequestOptions requestOptions)
      Update the glossary category partially. So far we only supports partial updating shortDescription and longDescription for category.

      Request Body Schema

       
       {
           String: String (Required)
       }
       
       

      Response Body Schema

       
       {
           guid: String (Optional)
           classifications (Optional): [
                (Optional){
                   attributes (Optional): {
                       String: BinaryData (Required)
                   }
                   typeName: String (Optional)
                   lastModifiedTS: String (Optional)
                   entityGuid: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   removePropagationsOnEntityDelete: Boolean (Optional)
                   validityPeriods (Optional): [
                        (Optional){
                           endTime: String (Optional)
                           startTime: String (Optional)
                           timeZone: String (Optional)
                       }
                   ]
               }
           ]
           longDescription: String (Optional)
           name: String (Optional)
           qualifiedName: String (Optional)
           shortDescription: String (Optional)
           lastModifiedTS: String (Optional)
           createTime: Long (Optional)
           createdBy: String (Optional)
           updateTime: Long (Optional)
           updatedBy: String (Optional)
           anchor (Optional): {
               displayText: String (Optional)
               glossaryGuid: String (Optional)
               relationGuid: String (Optional)
           }
           childrenCategories (Optional): [
                (Optional){
                   categoryGuid: String (Optional)
                   description: String (Optional)
                   displayText: String (Optional)
                   parentCategoryGuid: String (Optional)
                   relationGuid: String (Optional)
               }
           ]
           parentCategory (Optional): (recursive schema, see parentCategory above)
           terms (Optional): [
                (Optional){
                   description: String (Optional)
                   displayText: String (Optional)
                   expression: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                   steward: String (Optional)
                   termGuid: String (Optional)
               }
           ]
       }
       
       
      Parameters:
      categoryId - The globally unique identifier of the category.
      body - A map containing keys as attribute names and values as corresponding attribute values for partial update.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      the glossary category along with Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • getRelatedCategoriesWithResponse

      public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> getRelatedCategoriesWithResponse(String categoryId, com.azure.core.http.rest.RequestOptions requestOptions)
      Get all related categories (parent and children). Limit, offset, and sort parameters are currently not being enabled and won't work even they are passed.

      Query Parameters

      Query Parameters
      NameTypeRequiredDescription
      limitIntegerNoThe page size - by default there is no paging.
      offsetIntegerNoThe offset for pagination purpose.
      sortStringNoThe sort order, ASC (default) or DESC.
      You can add these to a request with RequestOptions.addQueryParam(java.lang.String, java.lang.String)

      Response Body Schema

       
       {
           String (Required): [
                (Required){
                   categoryGuid: String (Optional)
                   description: String (Optional)
                   displayText: String (Optional)
                   parentCategoryGuid: String (Optional)
                   relationGuid: String (Optional)
               }
           ]
       }
       
       
      Parameters:
      categoryId - The globally unique identifier of the category.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      all related categories (parent and children) along with Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • getCategoryTermsWithResponse

      public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> getCategoryTermsWithResponse(String categoryId, com.azure.core.http.rest.RequestOptions requestOptions)
      Get all terms associated with the specific category.

      Query Parameters

      Query Parameters
      NameTypeRequiredDescription
      limitIntegerNoThe page size - by default there is no paging.
      offsetIntegerNoThe offset for pagination purpose.
      sortStringNoThe sort order, ASC (default) or DESC.
      You can add these to a request with RequestOptions.addQueryParam(java.lang.String, java.lang.String)

      Response Body Schema

       
       [
            (Required){
               description: String (Optional)
               displayText: String (Optional)
               expression: String (Optional)
               relationGuid: String (Optional)
               status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
               steward: String (Optional)
               termGuid: String (Optional)
           }
       ]
       
       
      Parameters:
      categoryId - The globally unique identifier of the category.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      all terms associated with the specific category along with Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • createTermWithResponse

      public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> createTermWithResponse(com.azure.core.util.BinaryData body, com.azure.core.http.rest.RequestOptions requestOptions)
      Create a glossary term.

      Query Parameters

      Query Parameters
      NameTypeRequiredDescription
      includeTermHierarchyBooleanNoWhether include term hierarchy
      You can add these to a request with RequestOptions.addQueryParam(java.lang.String, java.lang.String)

      Request Body Schema

       
       {
           guid: String (Optional)
           classifications (Optional): [
                (Optional){
                   attributes (Optional): {
                       String: BinaryData (Required)
                   }
                   typeName: String (Optional)
                   lastModifiedTS: String (Optional)
                   entityGuid: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   removePropagationsOnEntityDelete: Boolean (Optional)
                   validityPeriods (Optional): [
                        (Optional){
                           endTime: String (Optional)
                           startTime: String (Optional)
                           timeZone: String (Optional)
                       }
                   ]
               }
           ]
           longDescription: String (Optional)
           name: String (Optional)
           qualifiedName: String (Optional)
           shortDescription: String (Optional)
           lastModifiedTS: String (Optional)
           createTime: Long (Optional)
           createdBy: String (Optional)
           updateTime: Long (Optional)
           updatedBy: String (Optional)
           abbreviation: String (Optional)
           templateName (Optional): [
               BinaryData (Optional)
           ]
           anchor (Optional): {
               displayText: String (Optional)
               glossaryGuid: String (Optional)
               relationGuid: String (Optional)
           }
           antonyms (Optional): [
                (Optional){
                   description: String (Optional)
                   displayText: String (Optional)
                   expression: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                   steward: String (Optional)
                   termGuid: String (Optional)
               }
           ]
           status: String(Draft/Approved/Alert/Expired) (Optional)
           nickName: String (Optional)
           hierarchyInfo (Optional): [
                (Optional){
                   guid: String (Optional)
                   typeName: String (Optional)
                   uniqueAttributes (Optional): {
                       String: BinaryData (Required)
                   }
                   name: String (Optional)
                   displayText: String (Optional)
                   itemPath: String (Optional)
                   resourceId: String (Optional)
                   properties (Optional): {
                       String: BinaryData (Required)
                   }
               }
           ]
           resources (Optional): [
                (Optional){
                   displayName: String (Optional)
                   url: String (Optional)
               }
           ]
           contacts (Optional): {
               String (Required): [
                    (Required){
                       id: String (Optional)
                       info: String (Optional)
                   }
               ]
           }
           attributes (Optional): {
               String (Required): {
                   String: BinaryData (Required)
               }
           }
           assignedEntities (Optional): [
                (Optional){
                   guid: String (Optional)
                   typeName: String (Optional)
                   uniqueAttributes (Optional): {
                       String: BinaryData (Required)
                   }
                   displayText: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   relationshipType: String (Optional)
                   relationshipAttributes (Optional): {
                       attributes (Optional): {
                           String: BinaryData (Required)
                       }
                       typeName: String (Optional)
                       lastModifiedTS: String (Optional)
                   }
                   relationshipGuid: String (Optional)
                   relationshipStatus: String(ACTIVE/DELETED) (Optional)
               }
           ]
           categories (Optional): [
                (Optional){
                   categoryGuid: String (Optional)
                   description: String (Optional)
                   displayText: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
               }
           ]
           classifies (Optional): [
               (recursive schema, see above)
           ]
           examples (Optional): [
               String (Optional)
           ]
           isA (Optional): [
               (recursive schema, see above)
           ]
           preferredTerms (Optional): [
               (recursive schema, see above)
           ]
           preferredToTerms (Optional): [
               (recursive schema, see above)
           ]
           replacedBy (Optional): [
               (recursive schema, see above)
           ]
           replacementTerms (Optional): [
               (recursive schema, see above)
           ]
           seeAlso (Optional): [
               (recursive schema, see above)
           ]
           synonyms (Optional): [
               (recursive schema, see above)
           ]
           translatedTerms (Optional): [
               (recursive schema, see above)
           ]
           translationTerms (Optional): [
               (recursive schema, see above)
           ]
           usage: String (Optional)
           validValues (Optional): [
               (recursive schema, see above)
           ]
           validValuesFor (Optional): [
               (recursive schema, see above)
           ]
       }
       
       

      Response Body Schema

       
       {
           guid: String (Optional)
           classifications (Optional): [
                (Optional){
                   attributes (Optional): {
                       String: BinaryData (Required)
                   }
                   typeName: String (Optional)
                   lastModifiedTS: String (Optional)
                   entityGuid: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   removePropagationsOnEntityDelete: Boolean (Optional)
                   validityPeriods (Optional): [
                        (Optional){
                           endTime: String (Optional)
                           startTime: String (Optional)
                           timeZone: String (Optional)
                       }
                   ]
               }
           ]
           longDescription: String (Optional)
           name: String (Optional)
           qualifiedName: String (Optional)
           shortDescription: String (Optional)
           lastModifiedTS: String (Optional)
           createTime: Long (Optional)
           createdBy: String (Optional)
           updateTime: Long (Optional)
           updatedBy: String (Optional)
           abbreviation: String (Optional)
           templateName (Optional): [
               BinaryData (Optional)
           ]
           anchor (Optional): {
               displayText: String (Optional)
               glossaryGuid: String (Optional)
               relationGuid: String (Optional)
           }
           antonyms (Optional): [
                (Optional){
                   description: String (Optional)
                   displayText: String (Optional)
                   expression: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                   steward: String (Optional)
                   termGuid: String (Optional)
               }
           ]
           status: String(Draft/Approved/Alert/Expired) (Optional)
           nickName: String (Optional)
           hierarchyInfo (Optional): [
                (Optional){
                   guid: String (Optional)
                   typeName: String (Optional)
                   uniqueAttributes (Optional): {
                       String: BinaryData (Required)
                   }
                   name: String (Optional)
                   displayText: String (Optional)
                   itemPath: String (Optional)
                   resourceId: String (Optional)
                   properties (Optional): {
                       String: BinaryData (Required)
                   }
               }
           ]
           resources (Optional): [
                (Optional){
                   displayName: String (Optional)
                   url: String (Optional)
               }
           ]
           contacts (Optional): {
               String (Required): [
                    (Required){
                       id: String (Optional)
                       info: String (Optional)
                   }
               ]
           }
           attributes (Optional): {
               String (Required): {
                   String: BinaryData (Required)
               }
           }
           assignedEntities (Optional): [
                (Optional){
                   guid: String (Optional)
                   typeName: String (Optional)
                   uniqueAttributes (Optional): {
                       String: BinaryData (Required)
                   }
                   displayText: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   relationshipType: String (Optional)
                   relationshipAttributes (Optional): {
                       attributes (Optional): {
                           String: BinaryData (Required)
                       }
                       typeName: String (Optional)
                       lastModifiedTS: String (Optional)
                   }
                   relationshipGuid: String (Optional)
                   relationshipStatus: String(ACTIVE/DELETED) (Optional)
               }
           ]
           categories (Optional): [
                (Optional){
                   categoryGuid: String (Optional)
                   description: String (Optional)
                   displayText: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
               }
           ]
           classifies (Optional): [
               (recursive schema, see above)
           ]
           examples (Optional): [
               String (Optional)
           ]
           isA (Optional): [
               (recursive schema, see above)
           ]
           preferredTerms (Optional): [
               (recursive schema, see above)
           ]
           preferredToTerms (Optional): [
               (recursive schema, see above)
           ]
           replacedBy (Optional): [
               (recursive schema, see above)
           ]
           replacementTerms (Optional): [
               (recursive schema, see above)
           ]
           seeAlso (Optional): [
               (recursive schema, see above)
           ]
           synonyms (Optional): [
               (recursive schema, see above)
           ]
           translatedTerms (Optional): [
               (recursive schema, see above)
           ]
           translationTerms (Optional): [
               (recursive schema, see above)
           ]
           usage: String (Optional)
           validValues (Optional): [
               (recursive schema, see above)
           ]
           validValuesFor (Optional): [
               (recursive schema, see above)
           ]
       }
       
       
      Parameters:
      body - Body parameter.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      the glossary term along with Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • getTermWithResponse

      public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> getTermWithResponse(String termId, com.azure.core.http.rest.RequestOptions requestOptions)
      Get a specific glossary term by its GUID.

      Response Body Schema

       
       {
           guid: String (Optional)
           classifications (Optional): [
                (Optional){
                   attributes (Optional): {
                       String: BinaryData (Required)
                   }
                   typeName: String (Optional)
                   lastModifiedTS: String (Optional)
                   entityGuid: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   removePropagationsOnEntityDelete: Boolean (Optional)
                   validityPeriods (Optional): [
                        (Optional){
                           endTime: String (Optional)
                           startTime: String (Optional)
                           timeZone: String (Optional)
                       }
                   ]
               }
           ]
           longDescription: String (Optional)
           name: String (Optional)
           qualifiedName: String (Optional)
           shortDescription: String (Optional)
           lastModifiedTS: String (Optional)
           createTime: Long (Optional)
           createdBy: String (Optional)
           updateTime: Long (Optional)
           updatedBy: String (Optional)
           abbreviation: String (Optional)
           templateName (Optional): [
               BinaryData (Optional)
           ]
           anchor (Optional): {
               displayText: String (Optional)
               glossaryGuid: String (Optional)
               relationGuid: String (Optional)
           }
           antonyms (Optional): [
                (Optional){
                   description: String (Optional)
                   displayText: String (Optional)
                   expression: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                   steward: String (Optional)
                   termGuid: String (Optional)
               }
           ]
           status: String(Draft/Approved/Alert/Expired) (Optional)
           nickName: String (Optional)
           hierarchyInfo (Optional): [
                (Optional){
                   guid: String (Optional)
                   typeName: String (Optional)
                   uniqueAttributes (Optional): {
                       String: BinaryData (Required)
                   }
                   name: String (Optional)
                   displayText: String (Optional)
                   itemPath: String (Optional)
                   resourceId: String (Optional)
                   properties (Optional): {
                       String: BinaryData (Required)
                   }
               }
           ]
           resources (Optional): [
                (Optional){
                   displayName: String (Optional)
                   url: String (Optional)
               }
           ]
           contacts (Optional): {
               String (Required): [
                    (Required){
                       id: String (Optional)
                       info: String (Optional)
                   }
               ]
           }
           attributes (Optional): {
               String (Required): {
                   String: BinaryData (Required)
               }
           }
           assignedEntities (Optional): [
                (Optional){
                   guid: String (Optional)
                   typeName: String (Optional)
                   uniqueAttributes (Optional): {
                       String: BinaryData (Required)
                   }
                   displayText: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   relationshipType: String (Optional)
                   relationshipAttributes (Optional): {
                       attributes (Optional): {
                           String: BinaryData (Required)
                       }
                       typeName: String (Optional)
                       lastModifiedTS: String (Optional)
                   }
                   relationshipGuid: String (Optional)
                   relationshipStatus: String(ACTIVE/DELETED) (Optional)
               }
           ]
           categories (Optional): [
                (Optional){
                   categoryGuid: String (Optional)
                   description: String (Optional)
                   displayText: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
               }
           ]
           classifies (Optional): [
               (recursive schema, see above)
           ]
           examples (Optional): [
               String (Optional)
           ]
           isA (Optional): [
               (recursive schema, see above)
           ]
           preferredTerms (Optional): [
               (recursive schema, see above)
           ]
           preferredToTerms (Optional): [
               (recursive schema, see above)
           ]
           replacedBy (Optional): [
               (recursive schema, see above)
           ]
           replacementTerms (Optional): [
               (recursive schema, see above)
           ]
           seeAlso (Optional): [
               (recursive schema, see above)
           ]
           synonyms (Optional): [
               (recursive schema, see above)
           ]
           translatedTerms (Optional): [
               (recursive schema, see above)
           ]
           translationTerms (Optional): [
               (recursive schema, see above)
           ]
           usage: String (Optional)
           validValues (Optional): [
               (recursive schema, see above)
           ]
           validValuesFor (Optional): [
               (recursive schema, see above)
           ]
       }
       
       
      Parameters:
      termId - The globally unique identifier for glossary term.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      a specific glossary term by its GUID along with Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • updateTermWithResponse

      public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> updateTermWithResponse(String termId, com.azure.core.util.BinaryData body, com.azure.core.http.rest.RequestOptions requestOptions)
      Update the given glossary term by its GUID.

      Query Parameters

      Query Parameters
      NameTypeRequiredDescription
      includeTermHierarchyBooleanNoWhether include term hierarchy
      You can add these to a request with RequestOptions.addQueryParam(java.lang.String, java.lang.String)

      Request Body Schema

       
       {
           guid: String (Optional)
           classifications (Optional): [
                (Optional){
                   attributes (Optional): {
                       String: BinaryData (Required)
                   }
                   typeName: String (Optional)
                   lastModifiedTS: String (Optional)
                   entityGuid: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   removePropagationsOnEntityDelete: Boolean (Optional)
                   validityPeriods (Optional): [
                        (Optional){
                           endTime: String (Optional)
                           startTime: String (Optional)
                           timeZone: String (Optional)
                       }
                   ]
               }
           ]
           longDescription: String (Optional)
           name: String (Optional)
           qualifiedName: String (Optional)
           shortDescription: String (Optional)
           lastModifiedTS: String (Optional)
           createTime: Long (Optional)
           createdBy: String (Optional)
           updateTime: Long (Optional)
           updatedBy: String (Optional)
           abbreviation: String (Optional)
           templateName (Optional): [
               BinaryData (Optional)
           ]
           anchor (Optional): {
               displayText: String (Optional)
               glossaryGuid: String (Optional)
               relationGuid: String (Optional)
           }
           antonyms (Optional): [
                (Optional){
                   description: String (Optional)
                   displayText: String (Optional)
                   expression: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                   steward: String (Optional)
                   termGuid: String (Optional)
               }
           ]
           status: String(Draft/Approved/Alert/Expired) (Optional)
           nickName: String (Optional)
           hierarchyInfo (Optional): [
                (Optional){
                   guid: String (Optional)
                   typeName: String (Optional)
                   uniqueAttributes (Optional): {
                       String: BinaryData (Required)
                   }
                   name: String (Optional)
                   displayText: String (Optional)
                   itemPath: String (Optional)
                   resourceId: String (Optional)
                   properties (Optional): {
                       String: BinaryData (Required)
                   }
               }
           ]
           resources (Optional): [
                (Optional){
                   displayName: String (Optional)
                   url: String (Optional)
               }
           ]
           contacts (Optional): {
               String (Required): [
                    (Required){
                       id: String (Optional)
                       info: String (Optional)
                   }
               ]
           }
           attributes (Optional): {
               String (Required): {
                   String: BinaryData (Required)
               }
           }
           assignedEntities (Optional): [
                (Optional){
                   guid: String (Optional)
                   typeName: String (Optional)
                   uniqueAttributes (Optional): {
                       String: BinaryData (Required)
                   }
                   displayText: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   relationshipType: String (Optional)
                   relationshipAttributes (Optional): {
                       attributes (Optional): {
                           String: BinaryData (Required)
                       }
                       typeName: String (Optional)
                       lastModifiedTS: String (Optional)
                   }
                   relationshipGuid: String (Optional)
                   relationshipStatus: String(ACTIVE/DELETED) (Optional)
               }
           ]
           categories (Optional): [
                (Optional){
                   categoryGuid: String (Optional)
                   description: String (Optional)
                   displayText: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
               }
           ]
           classifies (Optional): [
               (recursive schema, see above)
           ]
           examples (Optional): [
               String (Optional)
           ]
           isA (Optional): [
               (recursive schema, see above)
           ]
           preferredTerms (Optional): [
               (recursive schema, see above)
           ]
           preferredToTerms (Optional): [
               (recursive schema, see above)
           ]
           replacedBy (Optional): [
               (recursive schema, see above)
           ]
           replacementTerms (Optional): [
               (recursive schema, see above)
           ]
           seeAlso (Optional): [
               (recursive schema, see above)
           ]
           synonyms (Optional): [
               (recursive schema, see above)
           ]
           translatedTerms (Optional): [
               (recursive schema, see above)
           ]
           translationTerms (Optional): [
               (recursive schema, see above)
           ]
           usage: String (Optional)
           validValues (Optional): [
               (recursive schema, see above)
           ]
           validValuesFor (Optional): [
               (recursive schema, see above)
           ]
       }
       
       

      Response Body Schema

       
       {
           guid: String (Optional)
           classifications (Optional): [
                (Optional){
                   attributes (Optional): {
                       String: BinaryData (Required)
                   }
                   typeName: String (Optional)
                   lastModifiedTS: String (Optional)
                   entityGuid: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   removePropagationsOnEntityDelete: Boolean (Optional)
                   validityPeriods (Optional): [
                        (Optional){
                           endTime: String (Optional)
                           startTime: String (Optional)
                           timeZone: String (Optional)
                       }
                   ]
               }
           ]
           longDescription: String (Optional)
           name: String (Optional)
           qualifiedName: String (Optional)
           shortDescription: String (Optional)
           lastModifiedTS: String (Optional)
           createTime: Long (Optional)
           createdBy: String (Optional)
           updateTime: Long (Optional)
           updatedBy: String (Optional)
           abbreviation: String (Optional)
           templateName (Optional): [
               BinaryData (Optional)
           ]
           anchor (Optional): {
               displayText: String (Optional)
               glossaryGuid: String (Optional)
               relationGuid: String (Optional)
           }
           antonyms (Optional): [
                (Optional){
                   description: String (Optional)
                   displayText: String (Optional)
                   expression: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                   steward: String (Optional)
                   termGuid: String (Optional)
               }
           ]
           status: String(Draft/Approved/Alert/Expired) (Optional)
           nickName: String (Optional)
           hierarchyInfo (Optional): [
                (Optional){
                   guid: String (Optional)
                   typeName: String (Optional)
                   uniqueAttributes (Optional): {
                       String: BinaryData (Required)
                   }
                   name: String (Optional)
                   displayText: String (Optional)
                   itemPath: String (Optional)
                   resourceId: String (Optional)
                   properties (Optional): {
                       String: BinaryData (Required)
                   }
               }
           ]
           resources (Optional): [
                (Optional){
                   displayName: String (Optional)
                   url: String (Optional)
               }
           ]
           contacts (Optional): {
               String (Required): [
                    (Required){
                       id: String (Optional)
                       info: String (Optional)
                   }
               ]
           }
           attributes (Optional): {
               String (Required): {
                   String: BinaryData (Required)
               }
           }
           assignedEntities (Optional): [
                (Optional){
                   guid: String (Optional)
                   typeName: String (Optional)
                   uniqueAttributes (Optional): {
                       String: BinaryData (Required)
                   }
                   displayText: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   relationshipType: String (Optional)
                   relationshipAttributes (Optional): {
                       attributes (Optional): {
                           String: BinaryData (Required)
                       }
                       typeName: String (Optional)
                       lastModifiedTS: String (Optional)
                   }
                   relationshipGuid: String (Optional)
                   relationshipStatus: String(ACTIVE/DELETED) (Optional)
               }
           ]
           categories (Optional): [
                (Optional){
                   categoryGuid: String (Optional)
                   description: String (Optional)
                   displayText: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
               }
           ]
           classifies (Optional): [
               (recursive schema, see above)
           ]
           examples (Optional): [
               String (Optional)
           ]
           isA (Optional): [
               (recursive schema, see above)
           ]
           preferredTerms (Optional): [
               (recursive schema, see above)
           ]
           preferredToTerms (Optional): [
               (recursive schema, see above)
           ]
           replacedBy (Optional): [
               (recursive schema, see above)
           ]
           replacementTerms (Optional): [
               (recursive schema, see above)
           ]
           seeAlso (Optional): [
               (recursive schema, see above)
           ]
           synonyms (Optional): [
               (recursive schema, see above)
           ]
           translatedTerms (Optional): [
               (recursive schema, see above)
           ]
           translationTerms (Optional): [
               (recursive schema, see above)
           ]
           usage: String (Optional)
           validValues (Optional): [
               (recursive schema, see above)
           ]
           validValuesFor (Optional): [
               (recursive schema, see above)
           ]
       }
       
       
      Parameters:
      termId - The globally unique identifier for glossary term.
      body - Body parameter.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      the glossary term along with Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • deleteTermWithResponse

      public Mono<com.azure.core.http.rest.Response<Void>> deleteTermWithResponse(String termId, com.azure.core.http.rest.RequestOptions requestOptions)
      Delete a glossary term.
      Parameters:
      termId - The globally unique identifier for glossary term.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • partialUpdateTermWithResponse

      public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> partialUpdateTermWithResponse(String termId, com.azure.core.util.BinaryData body, com.azure.core.http.rest.RequestOptions requestOptions)
      Update the glossary term partially. So far we only supports partial updating shortDescription, longDescription, abbreviation, usage and status for term.

      Query Parameters

      Query Parameters
      NameTypeRequiredDescription
      includeTermHierarchyBooleanNoWhether include term hierarchy
      You can add these to a request with RequestOptions.addQueryParam(java.lang.String, java.lang.String)

      Request Body Schema

       
       {
           String: String (Required)
       }
       
       

      Response Body Schema

       
       {
           guid: String (Optional)
           classifications (Optional): [
                (Optional){
                   attributes (Optional): {
                       String: BinaryData (Required)
                   }
                   typeName: String (Optional)
                   lastModifiedTS: String (Optional)
                   entityGuid: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   removePropagationsOnEntityDelete: Boolean (Optional)
                   validityPeriods (Optional): [
                        (Optional){
                           endTime: String (Optional)
                           startTime: String (Optional)
                           timeZone: String (Optional)
                       }
                   ]
               }
           ]
           longDescription: String (Optional)
           name: String (Optional)
           qualifiedName: String (Optional)
           shortDescription: String (Optional)
           lastModifiedTS: String (Optional)
           createTime: Long (Optional)
           createdBy: String (Optional)
           updateTime: Long (Optional)
           updatedBy: String (Optional)
           abbreviation: String (Optional)
           templateName (Optional): [
               BinaryData (Optional)
           ]
           anchor (Optional): {
               displayText: String (Optional)
               glossaryGuid: String (Optional)
               relationGuid: String (Optional)
           }
           antonyms (Optional): [
                (Optional){
                   description: String (Optional)
                   displayText: String (Optional)
                   expression: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                   steward: String (Optional)
                   termGuid: String (Optional)
               }
           ]
           status: String(Draft/Approved/Alert/Expired) (Optional)
           nickName: String (Optional)
           hierarchyInfo (Optional): [
                (Optional){
                   guid: String (Optional)
                   typeName: String (Optional)
                   uniqueAttributes (Optional): {
                       String: BinaryData (Required)
                   }
                   name: String (Optional)
                   displayText: String (Optional)
                   itemPath: String (Optional)
                   resourceId: String (Optional)
                   properties (Optional): {
                       String: BinaryData (Required)
                   }
               }
           ]
           resources (Optional): [
                (Optional){
                   displayName: String (Optional)
                   url: String (Optional)
               }
           ]
           contacts (Optional): {
               String (Required): [
                    (Required){
                       id: String (Optional)
                       info: String (Optional)
                   }
               ]
           }
           attributes (Optional): {
               String (Required): {
                   String: BinaryData (Required)
               }
           }
           assignedEntities (Optional): [
                (Optional){
                   guid: String (Optional)
                   typeName: String (Optional)
                   uniqueAttributes (Optional): {
                       String: BinaryData (Required)
                   }
                   displayText: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   relationshipType: String (Optional)
                   relationshipAttributes (Optional): {
                       attributes (Optional): {
                           String: BinaryData (Required)
                       }
                       typeName: String (Optional)
                       lastModifiedTS: String (Optional)
                   }
                   relationshipGuid: String (Optional)
                   relationshipStatus: String(ACTIVE/DELETED) (Optional)
               }
           ]
           categories (Optional): [
                (Optional){
                   categoryGuid: String (Optional)
                   description: String (Optional)
                   displayText: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
               }
           ]
           classifies (Optional): [
               (recursive schema, see above)
           ]
           examples (Optional): [
               String (Optional)
           ]
           isA (Optional): [
               (recursive schema, see above)
           ]
           preferredTerms (Optional): [
               (recursive schema, see above)
           ]
           preferredToTerms (Optional): [
               (recursive schema, see above)
           ]
           replacedBy (Optional): [
               (recursive schema, see above)
           ]
           replacementTerms (Optional): [
               (recursive schema, see above)
           ]
           seeAlso (Optional): [
               (recursive schema, see above)
           ]
           synonyms (Optional): [
               (recursive schema, see above)
           ]
           translatedTerms (Optional): [
               (recursive schema, see above)
           ]
           translationTerms (Optional): [
               (recursive schema, see above)
           ]
           usage: String (Optional)
           validValues (Optional): [
               (recursive schema, see above)
           ]
           validValuesFor (Optional): [
               (recursive schema, see above)
           ]
       }
       
       
      Parameters:
      termId - The globally unique identifier for glossary term.
      body - A map containing keys as attribute names and values as corresponding attribute values to be updated.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      the glossary term along with Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • createTermsWithResponse

      public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> createTermsWithResponse(com.azure.core.util.BinaryData body, com.azure.core.http.rest.RequestOptions requestOptions)
      Create glossary terms in bulk.

      Query Parameters

      Query Parameters
      NameTypeRequiredDescription
      includeTermHierarchyBooleanNoWhether include term hierarchy
      You can add these to a request with RequestOptions.addQueryParam(java.lang.String, java.lang.String)

      Request Body Schema

       
       [
            (Required){
               guid: String (Optional)
               classifications (Optional): [
                    (Optional){
                       attributes (Optional): {
                           String: BinaryData (Required)
                       }
                       typeName: String (Optional)
                       lastModifiedTS: String (Optional)
                       entityGuid: String (Optional)
                       entityStatus: String(ACTIVE/DELETED) (Optional)
                       removePropagationsOnEntityDelete: Boolean (Optional)
                       validityPeriods (Optional): [
                            (Optional){
                               endTime: String (Optional)
                               startTime: String (Optional)
                               timeZone: String (Optional)
                           }
                       ]
                   }
               ]
               longDescription: String (Optional)
               name: String (Optional)
               qualifiedName: String (Optional)
               shortDescription: String (Optional)
               lastModifiedTS: String (Optional)
               createTime: Long (Optional)
               createdBy: String (Optional)
               updateTime: Long (Optional)
               updatedBy: String (Optional)
               abbreviation: String (Optional)
               templateName (Optional): [
                   BinaryData (Optional)
               ]
               anchor (Optional): {
                   displayText: String (Optional)
                   glossaryGuid: String (Optional)
                   relationGuid: String (Optional)
               }
               antonyms (Optional): [
                    (Optional){
                       description: String (Optional)
                       displayText: String (Optional)
                       expression: String (Optional)
                       relationGuid: String (Optional)
                       status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                       steward: String (Optional)
                       termGuid: String (Optional)
                   }
               ]
               status: String(Draft/Approved/Alert/Expired) (Optional)
               nickName: String (Optional)
               hierarchyInfo (Optional): [
                    (Optional){
                       guid: String (Optional)
                       typeName: String (Optional)
                       uniqueAttributes (Optional): {
                           String: BinaryData (Required)
                       }
                       name: String (Optional)
                       displayText: String (Optional)
                       itemPath: String (Optional)
                       resourceId: String (Optional)
                       properties (Optional): {
                           String: BinaryData (Required)
                       }
                   }
               ]
               resources (Optional): [
                    (Optional){
                       displayName: String (Optional)
                       url: String (Optional)
                   }
               ]
               contacts (Optional): {
                   String (Required): [
                        (Required){
                           id: String (Optional)
                           info: String (Optional)
                       }
                   ]
               }
               attributes (Optional): {
                   String (Required): {
                       String: BinaryData (Required)
                   }
               }
               assignedEntities (Optional): [
                    (Optional){
                       guid: String (Optional)
                       typeName: String (Optional)
                       uniqueAttributes (Optional): {
                           String: BinaryData (Required)
                       }
                       displayText: String (Optional)
                       entityStatus: String(ACTIVE/DELETED) (Optional)
                       relationshipType: String (Optional)
                       relationshipAttributes (Optional): {
                           attributes (Optional): {
                               String: BinaryData (Required)
                           }
                           typeName: String (Optional)
                           lastModifiedTS: String (Optional)
                       }
                       relationshipGuid: String (Optional)
                       relationshipStatus: String(ACTIVE/DELETED) (Optional)
                   }
               ]
               categories (Optional): [
                    (Optional){
                       categoryGuid: String (Optional)
                       description: String (Optional)
                       displayText: String (Optional)
                       relationGuid: String (Optional)
                       status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                   }
               ]
               classifies (Optional): [
                   (recursive schema, see above)
               ]
               examples (Optional): [
                   String (Optional)
               ]
               isA (Optional): [
                   (recursive schema, see above)
               ]
               preferredTerms (Optional): [
                   (recursive schema, see above)
               ]
               preferredToTerms (Optional): [
                   (recursive schema, see above)
               ]
               replacedBy (Optional): [
                   (recursive schema, see above)
               ]
               replacementTerms (Optional): [
                   (recursive schema, see above)
               ]
               seeAlso (Optional): [
                   (recursive schema, see above)
               ]
               synonyms (Optional): [
                   (recursive schema, see above)
               ]
               translatedTerms (Optional): [
                   (recursive schema, see above)
               ]
               translationTerms (Optional): [
                   (recursive schema, see above)
               ]
               usage: String (Optional)
               validValues (Optional): [
                   (recursive schema, see above)
               ]
               validValuesFor (Optional): [
                   (recursive schema, see above)
               ]
           }
       ]
       
       

      Response Body Schema

       
       [
            (Required){
               guid: String (Optional)
               classifications (Optional): [
                    (Optional){
                       attributes (Optional): {
                           String: BinaryData (Required)
                       }
                       typeName: String (Optional)
                       lastModifiedTS: String (Optional)
                       entityGuid: String (Optional)
                       entityStatus: String(ACTIVE/DELETED) (Optional)
                       removePropagationsOnEntityDelete: Boolean (Optional)
                       validityPeriods (Optional): [
                            (Optional){
                               endTime: String (Optional)
                               startTime: String (Optional)
                               timeZone: String (Optional)
                           }
                       ]
                   }
               ]
               longDescription: String (Optional)
               name: String (Optional)
               qualifiedName: String (Optional)
               shortDescription: String (Optional)
               lastModifiedTS: String (Optional)
               createTime: Long (Optional)
               createdBy: String (Optional)
               updateTime: Long (Optional)
               updatedBy: String (Optional)
               abbreviation: String (Optional)
               templateName (Optional): [
                   BinaryData (Optional)
               ]
               anchor (Optional): {
                   displayText: String (Optional)
                   glossaryGuid: String (Optional)
                   relationGuid: String (Optional)
               }
               antonyms (Optional): [
                    (Optional){
                       description: String (Optional)
                       displayText: String (Optional)
                       expression: String (Optional)
                       relationGuid: String (Optional)
                       status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                       steward: String (Optional)
                       termGuid: String (Optional)
                   }
               ]
               status: String(Draft/Approved/Alert/Expired) (Optional)
               nickName: String (Optional)
               hierarchyInfo (Optional): [
                    (Optional){
                       guid: String (Optional)
                       typeName: String (Optional)
                       uniqueAttributes (Optional): {
                           String: BinaryData (Required)
                       }
                       name: String (Optional)
                       displayText: String (Optional)
                       itemPath: String (Optional)
                       resourceId: String (Optional)
                       properties (Optional): {
                           String: BinaryData (Required)
                       }
                   }
               ]
               resources (Optional): [
                    (Optional){
                       displayName: String (Optional)
                       url: String (Optional)
                   }
               ]
               contacts (Optional): {
                   String (Required): [
                        (Required){
                           id: String (Optional)
                           info: String (Optional)
                       }
                   ]
               }
               attributes (Optional): {
                   String (Required): {
                       String: BinaryData (Required)
                   }
               }
               assignedEntities (Optional): [
                    (Optional){
                       guid: String (Optional)
                       typeName: String (Optional)
                       uniqueAttributes (Optional): {
                           String: BinaryData (Required)
                       }
                       displayText: String (Optional)
                       entityStatus: String(ACTIVE/DELETED) (Optional)
                       relationshipType: String (Optional)
                       relationshipAttributes (Optional): {
                           attributes (Optional): {
                               String: BinaryData (Required)
                           }
                           typeName: String (Optional)
                           lastModifiedTS: String (Optional)
                       }
                       relationshipGuid: String (Optional)
                       relationshipStatus: String(ACTIVE/DELETED) (Optional)
                   }
               ]
               categories (Optional): [
                    (Optional){
                       categoryGuid: String (Optional)
                       description: String (Optional)
                       displayText: String (Optional)
                       relationGuid: String (Optional)
                       status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                   }
               ]
               classifies (Optional): [
                   (recursive schema, see above)
               ]
               examples (Optional): [
                   String (Optional)
               ]
               isA (Optional): [
                   (recursive schema, see above)
               ]
               preferredTerms (Optional): [
                   (recursive schema, see above)
               ]
               preferredToTerms (Optional): [
                   (recursive schema, see above)
               ]
               replacedBy (Optional): [
                   (recursive schema, see above)
               ]
               replacementTerms (Optional): [
                   (recursive schema, see above)
               ]
               seeAlso (Optional): [
                   (recursive schema, see above)
               ]
               synonyms (Optional): [
                   (recursive schema, see above)
               ]
               translatedTerms (Optional): [
                   (recursive schema, see above)
               ]
               translationTerms (Optional): [
                   (recursive schema, see above)
               ]
               usage: String (Optional)
               validValues (Optional): [
                   (recursive schema, see above)
               ]
               validValuesFor (Optional): [
                   (recursive schema, see above)
               ]
           }
       ]
       
       
      Parameters:
      body - An array of glossary term definitions to be created in bulk.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      the response body along with Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • getEntitiesAssignedWithTermWithResponse

      public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> getEntitiesAssignedWithTermWithResponse(String termId, com.azure.core.http.rest.RequestOptions requestOptions)
      List all related objects assigned with the specified term. Recommend using limit/offset to get pagination result.

      Query Parameters

      Query Parameters
      NameTypeRequiredDescription
      limitIntegerNoThe page size - by default there is no paging.
      offsetIntegerNoThe offset for pagination purpose.
      sortStringNoThe sort order, ASC (default) or DESC.
      You can add these to a request with RequestOptions.addQueryParam(java.lang.String, java.lang.String)

      Response Body Schema

       
       [
            (Required){
               guid: String (Optional)
               typeName: String (Optional)
               uniqueAttributes (Optional): {
                   String: BinaryData (Required)
               }
               displayText: String (Optional)
               entityStatus: String(ACTIVE/DELETED) (Optional)
               relationshipType: String (Optional)
               relationshipAttributes (Optional): {
                   attributes (Optional): {
                       String: BinaryData (Required)
                   }
                   typeName: String (Optional)
                   lastModifiedTS: String (Optional)
               }
               relationshipGuid: String (Optional)
               relationshipStatus: String(ACTIVE/DELETED) (Optional)
           }
       ]
       
       
      Parameters:
      termId - The globally unique identifier for glossary term.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      the response body along with Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • assignTermToEntitiesWithResponse

      public Mono<com.azure.core.http.rest.Response<Void>> assignTermToEntitiesWithResponse(String termId, com.azure.core.util.BinaryData body, com.azure.core.http.rest.RequestOptions requestOptions)
      Assign the given term to the provided list of related objects. Recommend using small batches with multiple API calls. [Entities Create Or Update operation](https://learn.microsoft.com/en-us/rest/api/purview/datamapdataplane/entity/bulk-create-or-update?tabs=HTTP) is an alternative to assign a term to multiple entities.

      Request Body Schema

       
       [
            (Required){
               guid: String (Optional)
               typeName: String (Optional)
               uniqueAttributes (Optional): {
                   String: BinaryData (Required)
               }
               displayText: String (Optional)
               entityStatus: String(ACTIVE/DELETED) (Optional)
               relationshipType: String (Optional)
               relationshipAttributes (Optional): {
                   attributes (Optional): {
                       String: BinaryData (Required)
                   }
                   typeName: String (Optional)
                   lastModifiedTS: String (Optional)
               }
               relationshipGuid: String (Optional)
               relationshipStatus: String(ACTIVE/DELETED) (Optional)
           }
       ]
       
       
      Parameters:
      termId - The globally unique identifier for glossary term.
      body - An array of related object IDs to which the term has to be associated.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • deleteTermAssignmentFromEntitiesWithResponse

      public Mono<com.azure.core.http.rest.Response<Void>> deleteTermAssignmentFromEntitiesWithResponse(String termId, com.azure.core.util.BinaryData body, com.azure.core.http.rest.RequestOptions requestOptions)
      Delete the term assignment for the given list of related objects.

      Request Body Schema

       
       [
            (Required){
               guid: String (Optional)
               typeName: String (Optional)
               uniqueAttributes (Optional): {
                   String: BinaryData (Required)
               }
               displayText: String (Optional)
               entityStatus: String(ACTIVE/DELETED) (Optional)
               relationshipType: String (Optional)
               relationshipAttributes (Optional): {
                   attributes (Optional): {
                       String: BinaryData (Required)
                   }
                   typeName: String (Optional)
                   lastModifiedTS: String (Optional)
               }
               relationshipGuid: String (Optional)
               relationshipStatus: String(ACTIVE/DELETED) (Optional)
           }
       ]
       
       
      Parameters:
      termId - The globally unique identifier for glossary term.
      body - An array of related object IDs from which the term has to be dissociated.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • getRelatedTermsWithResponse

      public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> getRelatedTermsWithResponse(String termId, com.azure.core.http.rest.RequestOptions requestOptions)
      Get all related terms for a specific term by its GUID. Limit, offset, and sort parameters are currently not being enabled and won't work even they are passed.

      Query Parameters

      Query Parameters
      NameTypeRequiredDescription
      limitIntegerNoThe page size - by default there is no paging.
      offsetIntegerNoThe offset for pagination purpose.
      sortStringNoThe sort order, ASC (default) or DESC.
      You can add these to a request with RequestOptions.addQueryParam(java.lang.String, java.lang.String)

      Response Body Schema

       
       {
           String (Required): [
                (Required){
                   description: String (Optional)
                   displayText: String (Optional)
                   expression: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                   steward: String (Optional)
                   termGuid: String (Optional)
               }
           ]
       }
       
       
      Parameters:
      termId - The globally unique identifier for glossary term.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      all related terms for a specific term by its GUID along with Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • getWithResponse

      public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> getWithResponse(String glossaryId, com.azure.core.http.rest.RequestOptions requestOptions)
      Get a specific Glossary by its GUID.

      Response Body Schema

       
       {
           guid: String (Optional)
           classifications (Optional): [
                (Optional){
                   attributes (Optional): {
                       String: BinaryData (Required)
                   }
                   typeName: String (Optional)
                   lastModifiedTS: String (Optional)
                   entityGuid: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   removePropagationsOnEntityDelete: Boolean (Optional)
                   validityPeriods (Optional): [
                        (Optional){
                           endTime: String (Optional)
                           startTime: String (Optional)
                           timeZone: String (Optional)
                       }
                   ]
               }
           ]
           longDescription: String (Optional)
           name: String (Optional)
           qualifiedName: String (Optional)
           shortDescription: String (Optional)
           lastModifiedTS: String (Optional)
           createTime: Long (Optional)
           createdBy: String (Optional)
           updateTime: Long (Optional)
           updatedBy: String (Optional)
           categories (Optional): [
                (Optional){
                   categoryGuid: String (Optional)
                   description: String (Optional)
                   displayText: String (Optional)
                   parentCategoryGuid: String (Optional)
                   relationGuid: String (Optional)
               }
           ]
           language: String (Optional)
           terms (Optional): [
                (Optional){
                   description: String (Optional)
                   displayText: String (Optional)
                   expression: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                   steward: String (Optional)
                   termGuid: String (Optional)
               }
           ]
           usage: String (Optional)
       }
       
       
      Parameters:
      glossaryId - The globally unique identifier for glossary.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      a specific Glossary by its GUID along with Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • updateWithResponse

      public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> updateWithResponse(String glossaryId, com.azure.core.util.BinaryData body, com.azure.core.http.rest.RequestOptions requestOptions)
      Update the given glossary.

      Query Parameters

      Query Parameters
      NameTypeRequiredDescription
      ignoreTermsAndCategoriesBooleanNoWhether ignore terms and categories
      You can add these to a request with RequestOptions.addQueryParam(java.lang.String, java.lang.String)

      Request Body Schema

       
       {
           guid: String (Optional)
           classifications (Optional): [
                (Optional){
                   attributes (Optional): {
                       String: BinaryData (Required)
                   }
                   typeName: String (Optional)
                   lastModifiedTS: String (Optional)
                   entityGuid: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   removePropagationsOnEntityDelete: Boolean (Optional)
                   validityPeriods (Optional): [
                        (Optional){
                           endTime: String (Optional)
                           startTime: String (Optional)
                           timeZone: String (Optional)
                       }
                   ]
               }
           ]
           longDescription: String (Optional)
           name: String (Optional)
           qualifiedName: String (Optional)
           shortDescription: String (Optional)
           lastModifiedTS: String (Optional)
           createTime: Long (Optional)
           createdBy: String (Optional)
           updateTime: Long (Optional)
           updatedBy: String (Optional)
           categories (Optional): [
                (Optional){
                   categoryGuid: String (Optional)
                   description: String (Optional)
                   displayText: String (Optional)
                   parentCategoryGuid: String (Optional)
                   relationGuid: String (Optional)
               }
           ]
           language: String (Optional)
           terms (Optional): [
                (Optional){
                   description: String (Optional)
                   displayText: String (Optional)
                   expression: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                   steward: String (Optional)
                   termGuid: String (Optional)
               }
           ]
           usage: String (Optional)
       }
       
       

      Response Body Schema

       
       {
           guid: String (Optional)
           classifications (Optional): [
                (Optional){
                   attributes (Optional): {
                       String: BinaryData (Required)
                   }
                   typeName: String (Optional)
                   lastModifiedTS: String (Optional)
                   entityGuid: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   removePropagationsOnEntityDelete: Boolean (Optional)
                   validityPeriods (Optional): [
                        (Optional){
                           endTime: String (Optional)
                           startTime: String (Optional)
                           timeZone: String (Optional)
                       }
                   ]
               }
           ]
           longDescription: String (Optional)
           name: String (Optional)
           qualifiedName: String (Optional)
           shortDescription: String (Optional)
           lastModifiedTS: String (Optional)
           createTime: Long (Optional)
           createdBy: String (Optional)
           updateTime: Long (Optional)
           updatedBy: String (Optional)
           categories (Optional): [
                (Optional){
                   categoryGuid: String (Optional)
                   description: String (Optional)
                   displayText: String (Optional)
                   parentCategoryGuid: String (Optional)
                   relationGuid: String (Optional)
               }
           ]
           language: String (Optional)
           terms (Optional): [
                (Optional){
                   description: String (Optional)
                   displayText: String (Optional)
                   expression: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                   steward: String (Optional)
                   termGuid: String (Optional)
               }
           ]
           usage: String (Optional)
       }
       
       
      Parameters:
      glossaryId - The globally unique identifier for glossary.
      body - Body parameter.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      the glossary object along with Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • deleteWithResponse

      public Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponse(String glossaryId, com.azure.core.http.rest.RequestOptions requestOptions)
      Delete a glossary. Will delete underlying terms/categories together. Recommend separate delete terms and categories.
      Parameters:
      glossaryId - The globally unique identifier for glossary.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • getCategoriesWithResponse

      public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> getCategoriesWithResponse(String glossaryId, com.azure.core.http.rest.RequestOptions requestOptions)
      Get the categories belonging to a specific glossary. Recommend using limit/offset to get pagination result.

      Query Parameters

      Query Parameters
      NameTypeRequiredDescription
      limitIntegerNoThe page size - by default there is no paging.
      offsetIntegerNoThe offset for pagination purpose.
      sortStringNoThe sort order, ASC (default) or DESC.
      You can add these to a request with RequestOptions.addQueryParam(java.lang.String, java.lang.String)

      Response Body Schema

       
       [
            (Required){
               guid: String (Optional)
               classifications (Optional): [
                    (Optional){
                       attributes (Optional): {
                           String: BinaryData (Required)
                       }
                       typeName: String (Optional)
                       lastModifiedTS: String (Optional)
                       entityGuid: String (Optional)
                       entityStatus: String(ACTIVE/DELETED) (Optional)
                       removePropagationsOnEntityDelete: Boolean (Optional)
                       validityPeriods (Optional): [
                            (Optional){
                               endTime: String (Optional)
                               startTime: String (Optional)
                               timeZone: String (Optional)
                           }
                       ]
                   }
               ]
               longDescription: String (Optional)
               name: String (Optional)
               qualifiedName: String (Optional)
               shortDescription: String (Optional)
               lastModifiedTS: String (Optional)
               createTime: Long (Optional)
               createdBy: String (Optional)
               updateTime: Long (Optional)
               updatedBy: String (Optional)
               anchor (Optional): {
                   displayText: String (Optional)
                   glossaryGuid: String (Optional)
                   relationGuid: String (Optional)
               }
               childrenCategories (Optional): [
                    (Optional){
                       categoryGuid: String (Optional)
                       description: String (Optional)
                       displayText: String (Optional)
                       parentCategoryGuid: String (Optional)
                       relationGuid: String (Optional)
                   }
               ]
               parentCategory (Optional): (recursive schema, see parentCategory above)
               terms (Optional): [
                    (Optional){
                       description: String (Optional)
                       displayText: String (Optional)
                       expression: String (Optional)
                       relationGuid: String (Optional)
                       status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                       steward: String (Optional)
                       termGuid: String (Optional)
                   }
               ]
           }
       ]
       
       
      Parameters:
      glossaryId - The globally unique identifier for glossary.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      the categories belonging to a specific glossary along with Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • getCategoriesHeadersWithResponse

      public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> getCategoriesHeadersWithResponse(String glossaryId, com.azure.core.http.rest.RequestOptions requestOptions)
      Get the category headers belonging to a specific glossary. Recommend using limit/offset to get pagination result.

      Query Parameters

      Query Parameters
      NameTypeRequiredDescription
      limitIntegerNoThe page size - by default there is no paging.
      offsetIntegerNoThe offset for pagination purpose.
      sortStringNoThe sort order, ASC (default) or DESC.
      You can add these to a request with RequestOptions.addQueryParam(java.lang.String, java.lang.String)

      Response Body Schema

       
       [
            (Required){
               categoryGuid: String (Optional)
               description: String (Optional)
               displayText: String (Optional)
               parentCategoryGuid: String (Optional)
               relationGuid: String (Optional)
           }
       ]
       
       
      Parameters:
      glossaryId - The globally unique identifier for glossary.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      the category headers belonging to a specific glossary along with Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • getDetailedWithResponse

      public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> getDetailedWithResponse(String glossaryId, com.azure.core.http.rest.RequestOptions requestOptions)
      Get a specific glossary with detailed information. This API is not recommend. Recommend to fetch terms/categories details separately using GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms and GET /datamap/api/atlas/v2/glossary/{glossaryId}/categories.

      Response Body Schema

       
       {
           guid: String (Optional)
           classifications (Optional): [
                (Optional){
                   attributes (Optional): {
                       String: BinaryData (Required)
                   }
                   typeName: String (Optional)
                   lastModifiedTS: String (Optional)
                   entityGuid: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   removePropagationsOnEntityDelete: Boolean (Optional)
                   validityPeriods (Optional): [
                        (Optional){
                           endTime: String (Optional)
                           startTime: String (Optional)
                           timeZone: String (Optional)
                       }
                   ]
               }
           ]
           longDescription: String (Optional)
           name: String (Optional)
           qualifiedName: String (Optional)
           shortDescription: String (Optional)
           lastModifiedTS: String (Optional)
           createTime: Long (Optional)
           createdBy: String (Optional)
           updateTime: Long (Optional)
           updatedBy: String (Optional)
           categories (Optional): [
                (Optional){
                   categoryGuid: String (Optional)
                   description: String (Optional)
                   displayText: String (Optional)
                   parentCategoryGuid: String (Optional)
                   relationGuid: String (Optional)
               }
           ]
           language: String (Optional)
           terms (Optional): [
                (Optional){
                   description: String (Optional)
                   displayText: String (Optional)
                   expression: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                   steward: String (Optional)
                   termGuid: String (Optional)
               }
           ]
           usage: String (Optional)
           categoryInfo (Optional): {
               String (Required): {
                   guid: String (Optional)
                   classifications (Optional): [
                       (recursive schema, see above)
                   ]
                   longDescription: String (Optional)
                   name: String (Optional)
                   qualifiedName: String (Optional)
                   shortDescription: String (Optional)
                   lastModifiedTS: String (Optional)
                   createTime: Long (Optional)
                   createdBy: String (Optional)
                   updateTime: Long (Optional)
                   updatedBy: String (Optional)
                   anchor (Optional): {
                       displayText: String (Optional)
                       glossaryGuid: String (Optional)
                       relationGuid: String (Optional)
                   }
                   childrenCategories (Optional): [
                       (recursive schema, see above)
                   ]
                   parentCategory (Optional): (recursive schema, see parentCategory above)
                   terms (Optional): [
                       (recursive schema, see above)
                   ]
               }
           }
           termInfo (Optional): {
               String (Required): {
                   guid: String (Optional)
                   classifications (Optional): [
                       (recursive schema, see above)
                   ]
                   longDescription: String (Optional)
                   name: String (Optional)
                   qualifiedName: String (Optional)
                   shortDescription: String (Optional)
                   lastModifiedTS: String (Optional)
                   createTime: Long (Optional)
                   createdBy: String (Optional)
                   updateTime: Long (Optional)
                   updatedBy: String (Optional)
                   abbreviation: String (Optional)
                   templateName (Optional): [
                       BinaryData (Optional)
                   ]
                   anchor (Optional): (recursive schema, see anchor above)
                   antonyms (Optional): [
                       (recursive schema, see above)
                   ]
                   status: String(Draft/Approved/Alert/Expired) (Optional)
                   nickName: String (Optional)
                   hierarchyInfo (Optional): [
                        (Optional){
                           guid: String (Optional)
                           typeName: String (Optional)
                           uniqueAttributes (Optional): {
                               String: BinaryData (Required)
                           }
                           name: String (Optional)
                           displayText: String (Optional)
                           itemPath: String (Optional)
                           resourceId: String (Optional)
                           properties (Optional): {
                               String: BinaryData (Required)
                           }
                       }
                   ]
                   resources (Optional): [
                        (Optional){
                           displayName: String (Optional)
                           url: String (Optional)
                       }
                   ]
                   contacts (Optional): {
                       String (Required): [
                            (Required){
                               id: String (Optional)
                               info: String (Optional)
                           }
                       ]
                   }
                   attributes (Optional): {
                       String (Required): {
                           String: BinaryData (Required)
                       }
                   }
                   assignedEntities (Optional): [
                        (Optional){
                           guid: String (Optional)
                           typeName: String (Optional)
                           uniqueAttributes (Optional): {
                               String: BinaryData (Required)
                           }
                           displayText: String (Optional)
                           entityStatus: String(ACTIVE/DELETED) (Optional)
                           relationshipType: String (Optional)
                           relationshipAttributes (Optional): {
                               attributes (Optional): {
                                   String: BinaryData (Required)
                               }
                               typeName: String (Optional)
                               lastModifiedTS: String (Optional)
                           }
                           relationshipGuid: String (Optional)
                           relationshipStatus: String(ACTIVE/DELETED) (Optional)
                       }
                   ]
                   categories (Optional): [
                        (Optional){
                           categoryGuid: String (Optional)
                           description: String (Optional)
                           displayText: String (Optional)
                           relationGuid: String (Optional)
                           status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                       }
                   ]
                   classifies (Optional): [
                       (recursive schema, see above)
                   ]
                   examples (Optional): [
                       String (Optional)
                   ]
                   isA (Optional): [
                       (recursive schema, see above)
                   ]
                   preferredTerms (Optional): [
                       (recursive schema, see above)
                   ]
                   preferredToTerms (Optional): [
                       (recursive schema, see above)
                   ]
                   replacedBy (Optional): [
                       (recursive schema, see above)
                   ]
                   replacementTerms (Optional): [
                       (recursive schema, see above)
                   ]
                   seeAlso (Optional): [
                       (recursive schema, see above)
                   ]
                   synonyms (Optional): [
                       (recursive schema, see above)
                   ]
                   translatedTerms (Optional): [
                       (recursive schema, see above)
                   ]
                   translationTerms (Optional): [
                       (recursive schema, see above)
                   ]
                   usage: String (Optional)
                   validValues (Optional): [
                       (recursive schema, see above)
                   ]
                   validValuesFor (Optional): [
                       (recursive schema, see above)
                   ]
               }
           }
       }
       
       
      Parameters:
      glossaryId - The globally unique identifier for glossary.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      a specific glossary with detailed information along with Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • partialUpdateWithResponse

      public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> partialUpdateWithResponse(String glossaryId, com.azure.core.util.BinaryData body, com.azure.core.http.rest.RequestOptions requestOptions)
      Update the glossary partially. Some properties such as qualifiedName are not allowed to be updated. So far we only supports partial updating shortDescription, longDescription, language and usage for glossary. Recommend using 'ignoreTermsAndCategories=true' to reduce response body size.

      Query Parameters

      Query Parameters
      NameTypeRequiredDescription
      ignoreTermsAndCategoriesBooleanNoWhether ignore terms and categories
      You can add these to a request with RequestOptions.addQueryParam(java.lang.String, java.lang.String)

      Request Body Schema

       
       {
           String: String (Required)
       }
       
       

      Response Body Schema

       
       {
           guid: String (Optional)
           classifications (Optional): [
                (Optional){
                   attributes (Optional): {
                       String: BinaryData (Required)
                   }
                   typeName: String (Optional)
                   lastModifiedTS: String (Optional)
                   entityGuid: String (Optional)
                   entityStatus: String(ACTIVE/DELETED) (Optional)
                   removePropagationsOnEntityDelete: Boolean (Optional)
                   validityPeriods (Optional): [
                        (Optional){
                           endTime: String (Optional)
                           startTime: String (Optional)
                           timeZone: String (Optional)
                       }
                   ]
               }
           ]
           longDescription: String (Optional)
           name: String (Optional)
           qualifiedName: String (Optional)
           shortDescription: String (Optional)
           lastModifiedTS: String (Optional)
           createTime: Long (Optional)
           createdBy: String (Optional)
           updateTime: Long (Optional)
           updatedBy: String (Optional)
           categories (Optional): [
                (Optional){
                   categoryGuid: String (Optional)
                   description: String (Optional)
                   displayText: String (Optional)
                   parentCategoryGuid: String (Optional)
                   relationGuid: String (Optional)
               }
           ]
           language: String (Optional)
           terms (Optional): [
                (Optional){
                   description: String (Optional)
                   displayText: String (Optional)
                   expression: String (Optional)
                   relationGuid: String (Optional)
                   status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                   steward: String (Optional)
                   termGuid: String (Optional)
               }
           ]
           usage: String (Optional)
       }
       
       
      Parameters:
      glossaryId - The globally unique identifier for glossary.
      body - A map containing keys as attribute names and values as corresponding attribute values.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      the glossary object along with Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • getTermsWithResponse

      public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> getTermsWithResponse(String glossaryId, com.azure.core.http.rest.RequestOptions requestOptions)
      Get terms belonging to a specific glossary. Recommend using limit/offset to get pagination result.

      Query Parameters

      Query Parameters
      NameTypeRequiredDescription
      limitIntegerNoThe page size - by default there is no paging.
      offsetIntegerNoThe offset for pagination purpose.
      sortStringNoThe sort order, ASC (default) or DESC.
      You can add these to a request with RequestOptions.addQueryParam(java.lang.String, java.lang.String)

      Response Body Schema

       
       [
            (Required){
               guid: String (Optional)
               classifications (Optional): [
                    (Optional){
                       attributes (Optional): {
                           String: BinaryData (Required)
                       }
                       typeName: String (Optional)
                       lastModifiedTS: String (Optional)
                       entityGuid: String (Optional)
                       entityStatus: String(ACTIVE/DELETED) (Optional)
                       removePropagationsOnEntityDelete: Boolean (Optional)
                       validityPeriods (Optional): [
                            (Optional){
                               endTime: String (Optional)
                               startTime: String (Optional)
                               timeZone: String (Optional)
                           }
                       ]
                   }
               ]
               longDescription: String (Optional)
               name: String (Optional)
               qualifiedName: String (Optional)
               shortDescription: String (Optional)
               lastModifiedTS: String (Optional)
               createTime: Long (Optional)
               createdBy: String (Optional)
               updateTime: Long (Optional)
               updatedBy: String (Optional)
               abbreviation: String (Optional)
               templateName (Optional): [
                   BinaryData (Optional)
               ]
               anchor (Optional): {
                   displayText: String (Optional)
                   glossaryGuid: String (Optional)
                   relationGuid: String (Optional)
               }
               antonyms (Optional): [
                    (Optional){
                       description: String (Optional)
                       displayText: String (Optional)
                       expression: String (Optional)
                       relationGuid: String (Optional)
                       status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                       steward: String (Optional)
                       termGuid: String (Optional)
                   }
               ]
               status: String(Draft/Approved/Alert/Expired) (Optional)
               nickName: String (Optional)
               hierarchyInfo (Optional): [
                    (Optional){
                       guid: String (Optional)
                       typeName: String (Optional)
                       uniqueAttributes (Optional): {
                           String: BinaryData (Required)
                       }
                       name: String (Optional)
                       displayText: String (Optional)
                       itemPath: String (Optional)
                       resourceId: String (Optional)
                       properties (Optional): {
                           String: BinaryData (Required)
                       }
                   }
               ]
               resources (Optional): [
                    (Optional){
                       displayName: String (Optional)
                       url: String (Optional)
                   }
               ]
               contacts (Optional): {
                   String (Required): [
                        (Required){
                           id: String (Optional)
                           info: String (Optional)
                       }
                   ]
               }
               attributes (Optional): {
                   String (Required): {
                       String: BinaryData (Required)
                   }
               }
               assignedEntities (Optional): [
                    (Optional){
                       guid: String (Optional)
                       typeName: String (Optional)
                       uniqueAttributes (Optional): {
                           String: BinaryData (Required)
                       }
                       displayText: String (Optional)
                       entityStatus: String(ACTIVE/DELETED) (Optional)
                       relationshipType: String (Optional)
                       relationshipAttributes (Optional): {
                           attributes (Optional): {
                               String: BinaryData (Required)
                           }
                           typeName: String (Optional)
                           lastModifiedTS: String (Optional)
                       }
                       relationshipGuid: String (Optional)
                       relationshipStatus: String(ACTIVE/DELETED) (Optional)
                   }
               ]
               categories (Optional): [
                    (Optional){
                       categoryGuid: String (Optional)
                       description: String (Optional)
                       displayText: String (Optional)
                       relationGuid: String (Optional)
                       status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
                   }
               ]
               classifies (Optional): [
                   (recursive schema, see above)
               ]
               examples (Optional): [
                   String (Optional)
               ]
               isA (Optional): [
                   (recursive schema, see above)
               ]
               preferredTerms (Optional): [
                   (recursive schema, see above)
               ]
               preferredToTerms (Optional): [
                   (recursive schema, see above)
               ]
               replacedBy (Optional): [
                   (recursive schema, see above)
               ]
               replacementTerms (Optional): [
                   (recursive schema, see above)
               ]
               seeAlso (Optional): [
                   (recursive schema, see above)
               ]
               synonyms (Optional): [
                   (recursive schema, see above)
               ]
               translatedTerms (Optional): [
                   (recursive schema, see above)
               ]
               translationTerms (Optional): [
                   (recursive schema, see above)
               ]
               usage: String (Optional)
               validValues (Optional): [
                   (recursive schema, see above)
               ]
               validValuesFor (Optional): [
                   (recursive schema, see above)
               ]
           }
       ]
       
       
      Parameters:
      glossaryId - The globally unique identifier for glossary.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      terms belonging to a specific glossary along with Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • getTermHeadersWithResponse

      public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> getTermHeadersWithResponse(String glossaryId, com.azure.core.http.rest.RequestOptions requestOptions)
      Get term headers belonging to a specific glossary. Recommend using limit/offset to get pagination result.

      Query Parameters

      Query Parameters
      NameTypeRequiredDescription
      limitIntegerNoThe page size - by default there is no paging.
      offsetIntegerNoThe offset for pagination purpose.
      sortStringNoThe sort order, ASC (default) or DESC.
      You can add these to a request with RequestOptions.addQueryParam(java.lang.String, java.lang.String)

      Response Body Schema

       
       [
            (Required){
               description: String (Optional)
               displayText: String (Optional)
               expression: String (Optional)
               relationGuid: String (Optional)
               status: String(DRAFT/ACTIVE/DEPRECATED/OBSOLETE/OTHER) (Optional)
               steward: String (Optional)
               termGuid: String (Optional)
           }
       ]
       
       
      Parameters:
      glossaryId - The globally unique identifier for glossary.
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      term headers belonging to a specific glossary along with Response on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
    • batchGet

      public Mono<List<AtlasGlossary>> batchGet(Integer limit, Integer offset, String sort, Boolean ignoreTermsAndCategories)
      Get all glossaries. Recommend using limit/offset to get pagination result. Recommend using 'ignoreTermsAndCategories=true' and fetch terms/categories separately using 'GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms' and 'GET '/datamap/api/atlas/v2/glossary/{glossaryId}/categories'.
      Parameters:
      limit - The page size - by default there is no paging.
      offset - The offset for pagination purpose.
      sort - The sort order, ASC (default) or DESC.
      ignoreTermsAndCategories - Whether ignore terms and categories.
      Returns:
      all glossaries on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • batchGet

      public Mono<List<AtlasGlossary>> batchGet()
      Get all glossaries. Recommend using limit/offset to get pagination result. Recommend using 'ignoreTermsAndCategories=true' and fetch terms/categories separately using 'GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms' and 'GET '/datamap/api/atlas/v2/glossary/{glossaryId}/categories'.
      Returns:
      all glossaries on successful completion of Mono.
      Throws:
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • create

      public Mono<AtlasGlossary> create(AtlasGlossary body)
      Create a glossary.
      Parameters:
      body - Body parameter.
      Returns:
      the glossary object on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createCategories

      public Mono<List<AtlasGlossaryCategory>> createCategories(List<AtlasGlossaryCategory> body)
      Create glossary category in bulk.
      Parameters:
      body - An array of glossary category definitions to be created.
      Returns:
      the response body on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createCategory

      public Mono<AtlasGlossaryCategory> createCategory(AtlasGlossaryCategory body)
      Create a glossary category.
      Parameters:
      body - Body parameter.
      Returns:
      the glossary category on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getCategory

      public Mono<AtlasGlossaryCategory> getCategory(String categoryId)
      Get specific glossary category by its GUID.
      Parameters:
      categoryId - The globally unique identifier of the category.
      Returns:
      specific glossary category by its GUID on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateCategory

      public Mono<AtlasGlossaryCategory> updateCategory(String categoryId, AtlasGlossaryCategory body)
      Update the given glossary category by its GUID.
      Parameters:
      categoryId - The globally unique identifier of the category.
      body - Body parameter.
      Returns:
      the glossary category on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteCategory

      public Mono<Void> deleteCategory(String categoryId)
      Delete a glossary category.
      Parameters:
      categoryId - The globally unique identifier of the category.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • partialUpdateCategory

      public Mono<AtlasGlossaryCategory> partialUpdateCategory(String categoryId, Map<String,String> body)
      Update the glossary category partially. So far we only supports partial updating shortDescription and longDescription for category.
      Parameters:
      categoryId - The globally unique identifier of the category.
      body - A map containing keys as attribute names and values as corresponding attribute values for partial update.
      Returns:
      the glossary category on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getRelatedCategories

      public Mono<Map<String,List<AtlasRelatedCategoryHeader>>> getRelatedCategories(String categoryId, Integer limit, Integer offset, String sort)
      Get all related categories (parent and children). Limit, offset, and sort parameters are currently not being enabled and won't work even they are passed.
      Parameters:
      categoryId - The globally unique identifier of the category.
      limit - The page size - by default there is no paging.
      offset - The offset for pagination purpose.
      sort - The sort order, ASC (default) or DESC.
      Returns:
      all related categories (parent and children) on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getRelatedCategories

      public Mono<Map<String,List<AtlasRelatedCategoryHeader>>> getRelatedCategories(String categoryId)
      Get all related categories (parent and children). Limit, offset, and sort parameters are currently not being enabled and won't work even they are passed.
      Parameters:
      categoryId - The globally unique identifier of the category.
      Returns:
      all related categories (parent and children) on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getCategoryTerms

      public Mono<List<AtlasRelatedTermHeader>> getCategoryTerms(String categoryId, Integer limit, Integer offset, String sort)
      Get all terms associated with the specific category.
      Parameters:
      categoryId - The globally unique identifier of the category.
      limit - The page size - by default there is no paging.
      offset - The offset for pagination purpose.
      sort - The sort order, ASC (default) or DESC.
      Returns:
      all terms associated with the specific category on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getCategoryTerms

      public Mono<List<AtlasRelatedTermHeader>> getCategoryTerms(String categoryId)
      Get all terms associated with the specific category.
      Parameters:
      categoryId - The globally unique identifier of the category.
      Returns:
      all terms associated with the specific category on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createTerm

      public Mono<AtlasGlossaryTerm> createTerm(AtlasGlossaryTerm body, Boolean includeTermHierarchy)
      Create a glossary term.
      Parameters:
      body - Body parameter.
      includeTermHierarchy - Whether include term hierarchy.
      Returns:
      the glossary term on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createTerm

      public Mono<AtlasGlossaryTerm> createTerm(AtlasGlossaryTerm body)
      Create a glossary term.
      Parameters:
      body - Body parameter.
      Returns:
      the glossary term on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getTerm

      public Mono<AtlasGlossaryTerm> getTerm(String termId)
      Get a specific glossary term by its GUID.
      Parameters:
      termId - The globally unique identifier for glossary term.
      Returns:
      a specific glossary term by its GUID on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateTerm

      public Mono<AtlasGlossaryTerm> updateTerm(String termId, AtlasGlossaryTerm body, Boolean includeTermHierarchy)
      Update the given glossary term by its GUID.
      Parameters:
      termId - The globally unique identifier for glossary term.
      body - Body parameter.
      includeTermHierarchy - Whether include term hierarchy.
      Returns:
      the glossary term on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateTerm

      public Mono<AtlasGlossaryTerm> updateTerm(String termId, AtlasGlossaryTerm body)
      Update the given glossary term by its GUID.
      Parameters:
      termId - The globally unique identifier for glossary term.
      body - Body parameter.
      Returns:
      the glossary term on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteTerm

      public Mono<Void> deleteTerm(String termId)
      Delete a glossary term.
      Parameters:
      termId - The globally unique identifier for glossary term.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • partialUpdateTerm

      public Mono<AtlasGlossaryTerm> partialUpdateTerm(String termId, Map<String,String> body, Boolean includeTermHierarchy)
      Update the glossary term partially. So far we only supports partial updating shortDescription, longDescription, abbreviation, usage and status for term.
      Parameters:
      termId - The globally unique identifier for glossary term.
      body - A map containing keys as attribute names and values as corresponding attribute values to be updated.
      includeTermHierarchy - Whether include term hierarchy.
      Returns:
      the glossary term on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • partialUpdateTerm

      public Mono<AtlasGlossaryTerm> partialUpdateTerm(String termId, Map<String,String> body)
      Update the glossary term partially. So far we only supports partial updating shortDescription, longDescription, abbreviation, usage and status for term.
      Parameters:
      termId - The globally unique identifier for glossary term.
      body - A map containing keys as attribute names and values as corresponding attribute values to be updated.
      Returns:
      the glossary term on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createTerms

      public Mono<List<AtlasGlossaryTerm>> createTerms(List<AtlasGlossaryTerm> body, Boolean includeTermHierarchy)
      Create glossary terms in bulk.
      Parameters:
      body - An array of glossary term definitions to be created in bulk.
      includeTermHierarchy - Whether include term hierarchy.
      Returns:
      the response body on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createTerms

      public Mono<List<AtlasGlossaryTerm>> createTerms(List<AtlasGlossaryTerm> body)
      Create glossary terms in bulk.
      Parameters:
      body - An array of glossary term definitions to be created in bulk.
      Returns:
      the response body on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getEntitiesAssignedWithTerm

      public Mono<List<AtlasRelatedObjectId>> getEntitiesAssignedWithTerm(String termId, Integer limit, Integer offset, String sort)
      List all related objects assigned with the specified term. Recommend using limit/offset to get pagination result.
      Parameters:
      termId - The globally unique identifier for glossary term.
      limit - The page size - by default there is no paging.
      offset - The offset for pagination purpose.
      sort - The sort order, ASC (default) or DESC.
      Returns:
      the response body on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getEntitiesAssignedWithTerm

      public Mono<List<AtlasRelatedObjectId>> getEntitiesAssignedWithTerm(String termId)
      List all related objects assigned with the specified term. Recommend using limit/offset to get pagination result.
      Parameters:
      termId - The globally unique identifier for glossary term.
      Returns:
      the response body on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • assignTermToEntities

      public Mono<Void> assignTermToEntities(String termId, List<AtlasRelatedObjectId> body)
      Assign the given term to the provided list of related objects. Recommend using small batches with multiple API calls. [Entities Create Or Update operation](https://learn.microsoft.com/en-us/rest/api/purview/datamapdataplane/entity/bulk-create-or-update?tabs=HTTP) is an alternative to assign a term to multiple entities.
      Parameters:
      termId - The globally unique identifier for glossary term.
      body - An array of related object IDs to which the term has to be associated.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteTermAssignmentFromEntities

      public Mono<Void> deleteTermAssignmentFromEntities(String termId, List<AtlasRelatedObjectId> body)
      Delete the term assignment for the given list of related objects.
      Parameters:
      termId - The globally unique identifier for glossary term.
      body - An array of related object IDs from which the term has to be dissociated.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getRelatedTerms

      public Mono<Map<String,List<AtlasRelatedTermHeader>>> getRelatedTerms(String termId, Integer limit, Integer offset, String sort)
      Get all related terms for a specific term by its GUID. Limit, offset, and sort parameters are currently not being enabled and won't work even they are passed.
      Parameters:
      termId - The globally unique identifier for glossary term.
      limit - The page size - by default there is no paging.
      offset - The offset for pagination purpose.
      sort - The sort order, ASC (default) or DESC.
      Returns:
      all related terms for a specific term by its GUID on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getRelatedTerms

      public Mono<Map<String,List<AtlasRelatedTermHeader>>> getRelatedTerms(String termId)
      Get all related terms for a specific term by its GUID. Limit, offset, and sort parameters are currently not being enabled and won't work even they are passed.
      Parameters:
      termId - The globally unique identifier for glossary term.
      Returns:
      all related terms for a specific term by its GUID on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • get

      public Mono<AtlasGlossary> get(String glossaryId)
      Get a specific Glossary by its GUID.
      Parameters:
      glossaryId - The globally unique identifier for glossary.
      Returns:
      a specific Glossary by its GUID on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      public Mono<AtlasGlossary> update(String glossaryId, AtlasGlossary body, Boolean ignoreTermsAndCategories)
      Update the given glossary.
      Parameters:
      glossaryId - The globally unique identifier for glossary.
      body - Body parameter.
      ignoreTermsAndCategories - Whether ignore terms and categories.
      Returns:
      the glossary object on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      public Mono<AtlasGlossary> update(String glossaryId, AtlasGlossary body)
      Update the given glossary.
      Parameters:
      glossaryId - The globally unique identifier for glossary.
      body - Body parameter.
      Returns:
      the glossary object on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      public Mono<Void> delete(String glossaryId)
      Delete a glossary. Will delete underlying terms/categories together. Recommend separate delete terms and categories.
      Parameters:
      glossaryId - The globally unique identifier for glossary.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getCategories

      public Mono<List<AtlasGlossaryCategory>> getCategories(String glossaryId, Integer limit, Integer offset, String sort)
      Get the categories belonging to a specific glossary. Recommend using limit/offset to get pagination result.
      Parameters:
      glossaryId - The globally unique identifier for glossary.
      limit - The page size - by default there is no paging.
      offset - The offset for pagination purpose.
      sort - The sort order, ASC (default) or DESC.
      Returns:
      the categories belonging to a specific glossary on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getCategories

      public Mono<List<AtlasGlossaryCategory>> getCategories(String glossaryId)
      Get the categories belonging to a specific glossary. Recommend using limit/offset to get pagination result.
      Parameters:
      glossaryId - The globally unique identifier for glossary.
      Returns:
      the categories belonging to a specific glossary on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getCategoriesHeaders

      public Mono<List<AtlasRelatedCategoryHeader>> getCategoriesHeaders(String glossaryId, Integer limit, Integer offset, String sort)
      Get the category headers belonging to a specific glossary. Recommend using limit/offset to get pagination result.
      Parameters:
      glossaryId - The globally unique identifier for glossary.
      limit - The page size - by default there is no paging.
      offset - The offset for pagination purpose.
      sort - The sort order, ASC (default) or DESC.
      Returns:
      the category headers belonging to a specific glossary on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getCategoriesHeaders

      public Mono<List<AtlasRelatedCategoryHeader>> getCategoriesHeaders(String glossaryId)
      Get the category headers belonging to a specific glossary. Recommend using limit/offset to get pagination result.
      Parameters:
      glossaryId - The globally unique identifier for glossary.
      Returns:
      the category headers belonging to a specific glossary on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getDetailed

      public Mono<AtlasGlossaryExtInfo> getDetailed(String glossaryId)
      Get a specific glossary with detailed information. This API is not recommend. Recommend to fetch terms/categories details separately using GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms and GET /datamap/api/atlas/v2/glossary/{glossaryId}/categories.
      Parameters:
      glossaryId - The globally unique identifier for glossary.
      Returns:
      a specific glossary with detailed information on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • partialUpdate

      public Mono<AtlasGlossary> partialUpdate(String glossaryId, Map<String,String> body, Boolean ignoreTermsAndCategories)
      Update the glossary partially. Some properties such as qualifiedName are not allowed to be updated. So far we only supports partial updating shortDescription, longDescription, language and usage for glossary. Recommend using 'ignoreTermsAndCategories=true' to reduce response body size.
      Parameters:
      glossaryId - The globally unique identifier for glossary.
      body - A map containing keys as attribute names and values as corresponding attribute values.
      ignoreTermsAndCategories - Whether ignore terms and categories.
      Returns:
      the glossary object on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • partialUpdate

      public Mono<AtlasGlossary> partialUpdate(String glossaryId, Map<String,String> body)
      Update the glossary partially. Some properties such as qualifiedName are not allowed to be updated. So far we only supports partial updating shortDescription, longDescription, language and usage for glossary. Recommend using 'ignoreTermsAndCategories=true' to reduce response body size.
      Parameters:
      glossaryId - The globally unique identifier for glossary.
      body - A map containing keys as attribute names and values as corresponding attribute values.
      Returns:
      the glossary object on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getTerms

      public Mono<List<AtlasGlossaryTerm>> getTerms(String glossaryId, Integer limit, Integer offset, String sort)
      Get terms belonging to a specific glossary. Recommend using limit/offset to get pagination result.
      Parameters:
      glossaryId - The globally unique identifier for glossary.
      limit - The page size - by default there is no paging.
      offset - The offset for pagination purpose.
      sort - The sort order, ASC (default) or DESC.
      Returns:
      terms belonging to a specific glossary on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getTerms

      public Mono<List<AtlasGlossaryTerm>> getTerms(String glossaryId)
      Get terms belonging to a specific glossary. Recommend using limit/offset to get pagination result.
      Parameters:
      glossaryId - The globally unique identifier for glossary.
      Returns:
      terms belonging to a specific glossary on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getTermHeaders

      public Mono<List<AtlasRelatedTermHeader>> getTermHeaders(String glossaryId, Integer limit, Integer offset, String sort)
      Get term headers belonging to a specific glossary. Recommend using limit/offset to get pagination result.
      Parameters:
      glossaryId - The globally unique identifier for glossary.
      limit - The page size - by default there is no paging.
      offset - The offset for pagination purpose.
      sort - The sort order, ASC (default) or DESC.
      Returns:
      term headers belonging to a specific glossary on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getTermHeaders

      public Mono<List<AtlasRelatedTermHeader>> getTermHeaders(String glossaryId)
      Get term headers belonging to a specific glossary. Recommend using limit/offset to get pagination result.
      Parameters:
      glossaryId - The globally unique identifier for glossary.
      Returns:
      term headers belonging to a specific glossary on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.exception.HttpResponseException - thrown if the request is rejected by server.
      com.azure.core.exception.ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      com.azure.core.exception.ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      com.azure.core.exception.ResourceModifiedException - thrown if the request is rejected by server on status code 409.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.