From 51ee587b1f69c2862ad897369c49a224e81ecca1 Mon Sep 17 00:00:00 2001 From: Isaiah Dickerson Date: Thu, 12 Mar 2026 13:44:23 -0700 Subject: [PATCH] initial commit --- .../search/documents/SearchAsyncClient.java | 225 +- .../azure/search/documents/SearchClient.java | 221 +- .../documents/SearchServiceVersion.java | 6 +- .../KnowledgeBaseRetrievalClientImpl.java | 58 +- .../implementation/SearchClientImpl.java | 490 ++-- .../implementation/SearchIndexClientImpl.java | 2121 ++++++++++++----- .../SearchIndexerClientImpl.java | 1044 +++----- .../models/CountRequestAccept1.java | 51 + .../models/CountRequestAccept4.java | 51 + .../models/CountRequestAccept6.java | 51 + .../models/CountRequestAccept7.java | 51 + .../models/CreateOrUpdateRequestAccept.java | 51 + .../models/CreateOrUpdateRequestAccept13.java | 51 + .../models/CreateOrUpdateRequestAccept18.java | 51 + .../models/CreateOrUpdateRequestAccept23.java | 51 + .../models/CreateOrUpdateRequestAccept3.java | 51 + .../models/CreateOrUpdateRequestAccept30.java | 51 + .../models/CreateOrUpdateRequestAccept33.java | 51 + .../models/CreateOrUpdateRequestAccept37.java | 51 + .../models/CreateOrUpdateRequestAccept40.java | 51 + .../models/CreateOrUpdateRequestAccept43.java | 51 + .../models/CreateOrUpdateRequestAccept46.java | 51 + .../models/CreateOrUpdateRequestAccept5.java | 51 + .../models/SearchPostRequest.java | 174 -- .../indexes/SearchIndexAsyncClient.java | 1064 +++++++-- .../documents/indexes/SearchIndexClient.java | 1004 ++++++-- .../indexes/SearchIndexerAsyncClient.java | 961 ++++---- .../indexes/SearchIndexerClient.java | 935 ++++---- .../models/AIFoundryModelCatalogName.java | 28 +- .../models/AIServicesAccountIdentity.java | 4 +- .../indexes/models/AIServicesAccountKey.java | 4 +- ...ChatCompletionExtraParametersBehavior.java | 2 +- .../indexes/models/ChatCompletionSkill.java | 212 -- .../indexes/models/EntityCategory.java | 87 + .../EntityRecognitionSkillLanguage.java | 183 ++ .../models/EntityRecognitionSkillV3.java | 48 +- .../models/IndexStatisticsSummary.java | 143 -- .../IndexedSharePointContainerName.java | 63 - .../IndexedSharePointKnowledgeSource.java | 157 -- ...edSharePointKnowledgeSourceParameters.java | 199 -- .../models/IndexerPermissionOption.java | 63 - .../indexes/models/IndexerRuntime.java | 157 -- .../indexes/models/KnowledgeBase.java | 134 -- .../indexes/models/KnowledgeSource.java | 4 - .../indexes/models/KnowledgeSourceKind.java | 12 - .../RemoteSharePointKnowledgeSource.java | 168 -- ...teSharePointKnowledgeSourceParameters.java | 178 -- .../documents/indexes/models/SearchIndex.java | 69 - .../SearchIndexPermissionFilterOption.java | 4 +- .../indexes/models/SearchIndexResponse.java | 441 ++++ .../indexes/models/SearchIndexer.java | 36 - .../indexes/models/SearchIndexerCache.java | 194 -- .../SearchIndexerDataSourceConnection.java | 59 - ...SearchIndexerDataUserAssignedIdentity.java | 40 +- .../models/SearchIndexerKnowledgeStore.java | 36 - ...SearchIndexerKnowledgeStoreParameters.java | 139 -- .../indexes/models/SearchIndexerStatus.java | 19 - .../models/SearchServiceStatistics.java | 49 +- .../indexes/models/SemanticConfiguration.java | 35 - .../models/SentimentSkillLanguage.java | 135 ++ .../indexes/models/SentimentSkillV3.java | 35 +- .../models/ServiceIndexersRuntime.java | 159 -- .../KnowledgeBaseRetrievalAsyncClient.java | 76 +- .../KnowledgeBaseRetrievalClient.java | 74 +- .../AzureBlobKnowledgeSourceParams.java | 15 - .../IndexedOneLakeKnowledgeSourceParams.java | 15 - ...ndexedSharePointKnowledgeSourceParams.java | 151 -- .../models/KnowledgeBaseActivityRecord.java | 6 +- .../KnowledgeBaseActivityRecordType.java | 24 - ...owledgeBaseIndexedSharePointReference.java | 126 - ...aseModelAnswerSynthesisActivityRecord.java | 141 -- ...eBaseModelQueryPlanningActivityRecord.java | 141 -- .../models/KnowledgeBaseReference.java | 4 - .../models/KnowledgeBaseReferenceType.java | 12 - ...nowledgeBaseRemoteSharePointReference.java | 148 -- .../models/KnowledgeBaseRetrievalRequest.java | 128 +- .../KnowledgeRetrievalLowReasoningEffort.java | 80 - ...owledgeRetrievalMediumReasoningEffort.java | 80 - ...wledgeRetrievalMinimalReasoningEffort.java | 2 +- .../models/KnowledgeRetrievalOutputMode.java | 57 - .../KnowledgeRetrievalReasoningEffort.java | 6 +- ...KnowledgeRetrievalReasoningEffortKind.java | 12 - .../models/KnowledgeSourceParams.java | 39 - .../models/KnowledgeSourceStatus.java | 34 + .../KnowledgeSourceSynchronizationError.java | 252 ++ ...RemoteSharePointKnowledgeSourceParams.java | 189 -- .../SearchIndexKnowledgeSourceParams.java | 15 - .../SharePointSensitivityLabelInfo.java | 174 -- .../models/SynchronizationState.java | 45 +- .../models/WebKnowledgeSourceParams.java | 15 - .../documents/models/CountRequestAccept.java | 51 + .../documents/models/CountRequestAccept2.java | 51 + .../documents/models/CountRequestAccept3.java | 51 + .../documents/models/CountRequestAccept5.java | 51 + .../documents/models/CountRequestAccept8.java | 51 + .../models/CreateOrUpdateRequestAccept1.java | 51 + .../models/CreateOrUpdateRequestAccept10.java | 51 + .../models/CreateOrUpdateRequestAccept11.java | 51 + .../models/CreateOrUpdateRequestAccept12.java | 51 + .../models/CreateOrUpdateRequestAccept14.java | 51 + .../models/CreateOrUpdateRequestAccept15.java | 51 + .../models/CreateOrUpdateRequestAccept16.java | 51 + .../models/CreateOrUpdateRequestAccept17.java | 51 + .../models/CreateOrUpdateRequestAccept19.java | 51 + .../models/CreateOrUpdateRequestAccept2.java | 51 + .../models/CreateOrUpdateRequestAccept20.java | 51 + .../models/CreateOrUpdateRequestAccept21.java | 51 + .../models/CreateOrUpdateRequestAccept22.java | 51 + .../models/CreateOrUpdateRequestAccept24.java | 51 + .../models/CreateOrUpdateRequestAccept25.java | 51 + .../models/CreateOrUpdateRequestAccept26.java | 51 + .../models/CreateOrUpdateRequestAccept27.java | 51 + .../models/CreateOrUpdateRequestAccept28.java | 51 + .../models/CreateOrUpdateRequestAccept29.java | 51 + .../models/CreateOrUpdateRequestAccept31.java | 51 + .../models/CreateOrUpdateRequestAccept32.java | 51 + .../models/CreateOrUpdateRequestAccept34.java | 51 + .../models/CreateOrUpdateRequestAccept35.java | 51 + .../models/CreateOrUpdateRequestAccept36.java | 51 + .../models/CreateOrUpdateRequestAccept38.java | 51 + .../models/CreateOrUpdateRequestAccept39.java | 51 + .../models/CreateOrUpdateRequestAccept4.java | 51 + .../models/CreateOrUpdateRequestAccept41.java | 51 + .../models/CreateOrUpdateRequestAccept42.java | 51 + .../models/CreateOrUpdateRequestAccept44.java | 51 + .../models/CreateOrUpdateRequestAccept45.java | 51 + .../models/CreateOrUpdateRequestAccept47.java | 51 + .../models/CreateOrUpdateRequestAccept48.java | 51 + .../models/CreateOrUpdateRequestAccept6.java | 51 + .../models/CreateOrUpdateRequestAccept7.java | 51 + .../models/CreateOrUpdateRequestAccept8.java | 51 + .../models/CreateOrUpdateRequestAccept9.java | 51 + .../search/documents/models/DebugInfo.java | 22 +- .../documents/models/DocumentDebugInfo.java | 20 +- .../models/HybridCountAndFacetMode.java | 60 - .../search/documents/models/HybridSearch.java | 137 -- .../documents/models/QueryLanguage.java | 477 ---- .../QueryResultDocumentRerankerInput.java | 116 - .../QueryResultDocumentSemanticField.java | 98 - .../models/QueryRewritesDebugInfo.java | 98 - .../documents/models/QueryRewritesType.java | 60 - .../models/QueryRewritesValuesDebugInfo.java | 99 - .../documents/models/QuerySpellerType.java | 58 - .../models/SearchDocumentsResult.java | 19 - .../documents/models/SearchOptions.java | 205 -- .../documents/models/SearchRequest.java | 170 -- .../documents/models/SemanticDebugInfo.java | 139 -- .../documents/models/SemanticFieldState.java | 63 - .../SemanticQueryRewritesResultType.java | 52 - .../models/VectorizableTextQuery.java | 35 - .../azure-search-documents_metadata.json | 2 +- .../azure-search-documents/tsp-location.yaml | 2 +- 152 files changed, 9182 insertions(+), 9368 deletions(-) create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CountRequestAccept1.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CountRequestAccept4.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CountRequestAccept6.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CountRequestAccept7.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept13.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept18.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept23.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept3.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept30.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept33.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept37.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept40.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept43.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept46.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept5.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/EntityCategory.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/EntityRecognitionSkillLanguage.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/IndexStatisticsSummary.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/IndexedSharePointContainerName.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/IndexedSharePointKnowledgeSource.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/IndexedSharePointKnowledgeSourceParameters.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/IndexerPermissionOption.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/IndexerRuntime.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/RemoteSharePointKnowledgeSource.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/RemoteSharePointKnowledgeSourceParameters.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexResponse.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexerCache.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexerKnowledgeStoreParameters.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SentimentSkillLanguage.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/ServiceIndexersRuntime.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/IndexedSharePointKnowledgeSourceParams.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseIndexedSharePointReference.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseModelAnswerSynthesisActivityRecord.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseModelQueryPlanningActivityRecord.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseRemoteSharePointReference.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalLowReasoningEffort.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalMediumReasoningEffort.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalOutputMode.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeSourceSynchronizationError.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/RemoteSharePointKnowledgeSourceParams.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/SharePointSensitivityLabelInfo.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CountRequestAccept.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CountRequestAccept2.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CountRequestAccept3.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CountRequestAccept5.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CountRequestAccept8.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept1.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept10.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept11.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept12.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept14.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept15.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept16.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept17.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept19.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept2.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept20.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept21.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept22.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept24.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept25.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept26.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept27.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept28.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept29.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept31.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept32.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept34.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept35.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept36.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept38.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept39.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept4.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept41.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept42.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept44.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept45.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept47.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept48.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept6.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept7.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept8.java create mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept9.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/HybridCountAndFacetMode.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/HybridSearch.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QueryLanguage.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QueryResultDocumentRerankerInput.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QueryResultDocumentSemanticField.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QueryRewritesDebugInfo.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QueryRewritesType.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QueryRewritesValuesDebugInfo.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QuerySpellerType.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/SemanticDebugInfo.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/SemanticFieldState.java delete mode 100644 sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/SemanticQueryRewritesResultType.java diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/SearchAsyncClient.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/SearchAsyncClient.java index 49c621fde869..e466641958ae 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/SearchAsyncClient.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/SearchAsyncClient.java @@ -23,9 +23,12 @@ import com.azure.search.documents.implementation.SearchClientImpl; import com.azure.search.documents.implementation.SearchUtils; import com.azure.search.documents.implementation.models.AutocompletePostRequest; +import com.azure.search.documents.implementation.models.CountRequestAccept6; import com.azure.search.documents.implementation.models.SuggestPostRequest; import com.azure.search.documents.models.AutocompleteOptions; import com.azure.search.documents.models.AutocompleteResult; +import com.azure.search.documents.models.CountRequestAccept; +import com.azure.search.documents.models.CountRequestAccept3; import com.azure.search.documents.models.IndexBatchException; import com.azure.search.documents.models.IndexDocumentsBatch; import com.azure.search.documents.models.IndexDocumentsOptions; @@ -99,6 +102,14 @@ public SearchServiceVersion getServiceVersion() { /** * Sends a batch of document write actions to the index. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -164,7 +175,7 @@ public Mono getDocumentCount() {
         // Generated convenience method for hiddenGeneratedGetDocumentCountWithResponse
         RequestOptions requestOptions = new RequestOptions();
         return hiddenGeneratedGetDocumentCountWithResponse(requestOptions).flatMap(FluxUtil::toMono)
-            .map(protocolMethodData -> protocolMethodData.toObject(Long.class));
+            .map(protocolMethodData -> Long.parseLong(protocolMethodData.toString()));
     }
 
     /**
@@ -237,49 +248,6 @@ public SearchPagedFlux search(SearchOptions options, RequestOptions requestOptio
         });
     }
 
-    /**
-     * Retrieves a document from the index.
-     *
-     * @param key The key of the document to retrieve.
-     * @param querySourceAuthorization Token identifying the user for which the query is being executed. This token is
-     * used to enforce security restrictions on documents.
-     * @param enableElevatedRead A value that enables elevated read that bypass document level permission checks for the
-     * query operation.
-     * @param selectedFields List of field names to retrieve for the document; Any field not retrieved will be missing
-     * from the returned document.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return a document retrieved via a document lookup operation on successful completion of {@link Mono}.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public Mono getDocument(String key, String querySourceAuthorization, Boolean enableElevatedRead,
-        List selectedFields) {
-        // Generated convenience method for hiddenGeneratedGetDocumentWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        if (querySourceAuthorization != null) {
-            requestOptions.setHeader(HttpHeaderName.fromString("x-ms-query-source-authorization"),
-                querySourceAuthorization);
-        }
-        if (enableElevatedRead != null) {
-            requestOptions.setHeader(HttpHeaderName.fromString("x-ms-enable-elevated-read"),
-                String.valueOf(enableElevatedRead));
-        }
-        if (selectedFields != null) {
-            requestOptions.addQueryParam("$select",
-                selectedFields.stream()
-                    .map(paramItemValue -> Objects.toString(paramItemValue, ""))
-                    .collect(Collectors.joining(",")),
-                false);
-        }
-        return hiddenGeneratedGetDocumentWithResponse(key, requestOptions).flatMap(FluxUtil::toMono)
-            .map(protocolMethodData -> protocolMethodData.toObject(LookupDocument.class));
-    }
-
     /**
      * Retrieves a document from the index.
      *
@@ -384,10 +352,8 @@ public Mono> indexDocumentsWithResponse(IndexDocu
      * 
      * 
      * 
-     * 
-     * 
+     * 
      * 
Header Parameters
NameTypeRequiredDescription
x-ms-query-source-authorizationStringNoToken identifying the user for which - * the query is being executed. This token is used to enforce security restrictions on documents.
x-ms-enable-elevated-readBooleanNoA value that enables elevated read that - * bypass document level permission checks for the query operation.
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -422,8 +388,6 @@ public Mono> indexDocumentsWithResponse(IndexDocu * String (Optional) * ] * searchMode: String(any/all) (Optional) - * queryLanguage: String(none/en-us/en-gb/en-in/en-ca/en-au/fr-fr/fr-ca/de-de/es-es/es-mx/zh-cn/zh-tw/pt-br/pt-pt/it-it/ja-jp/ko-kr/ru-ru/cs-cz/nl-be/nl-nl/hu-hu/pl-pl/sv-se/tr-tr/hi-in/ar-sa/ar-eg/ar-ma/ar-kw/ar-jo/da-dk/no-no/bg-bg/hr-hr/hr-ba/ms-my/ms-bn/sl-sl/ta-in/vi-vn/el-gr/ro-ro/is-is/id-id/th-th/lt-lt/uk-ua/lv-lv/et-ee/ca-es/fi-fi/sr-ba/sr-me/sr-rs/sk-sk/nb-no/hy-am/bn-in/eu-es/gl-es/gu-in/he-il/ga-ie/kn-in/ml-in/mr-in/fa-ae/pa-in/te-in/ur-pk) (Optional) - * speller: String(none/lexicon) (Optional) * select (Optional): [ * String (Optional) * ] @@ -435,10 +399,6 @@ public Mono> indexDocumentsWithResponse(IndexDocu * semanticQuery: String (Optional) * answers: String(none/extractive) (Optional) * captions: String(none/extractive) (Optional) - * queryRewrites: String(none/generative) (Optional) - * semanticFields (Optional): [ - * String (Optional) - * ] * vectorQueries (Optional): [ * (Optional){ * kind: String(vector/text/imageUrl/imageBinary) (Required) @@ -455,10 +415,6 @@ public Mono> indexDocumentsWithResponse(IndexDocu * } * ] * vectorFilterMode: String(postFilter/preFilter/strictPostFilter) (Optional) - * hybridSearch (Optional): { - * maxTextRecallSize: Integer (Optional) - * countAndFacetMode: String(countRetrievableResults/countAllResults) (Optional) - * } * } * } *
@@ -502,17 +458,6 @@ public Mono> indexDocumentsWithResponse(IndexDocu * } * ] * @search.debug (Optional): { - * queryRewrites (Optional): { - * text (Optional): { - * inputQuery: String (Optional) - * rewrites (Optional): [ - * String (Optional) - * ] - * } - * vectors (Optional): [ - * (recursive schema, see above) - * ] - * } * } * @search.nextPageParameters (Optional): { * count: Boolean (Optional) @@ -542,8 +487,6 @@ public Mono> indexDocumentsWithResponse(IndexDocu * String (Optional) * ] * searchMode: String(any/all) (Optional) - * queryLanguage: String(none/en-us/en-gb/en-in/en-ca/en-au/fr-fr/fr-ca/de-de/es-es/es-mx/zh-cn/zh-tw/pt-br/pt-pt/it-it/ja-jp/ko-kr/ru-ru/cs-cz/nl-be/nl-nl/hu-hu/pl-pl/sv-se/tr-tr/hi-in/ar-sa/ar-eg/ar-ma/ar-kw/ar-jo/da-dk/no-no/bg-bg/hr-hr/hr-ba/ms-my/ms-bn/sl-sl/ta-in/vi-vn/el-gr/ro-ro/is-is/id-id/th-th/lt-lt/uk-ua/lv-lv/et-ee/ca-es/fi-fi/sr-ba/sr-me/sr-rs/sk-sk/nb-no/hy-am/bn-in/eu-es/gl-es/gu-in/he-il/ga-ie/kn-in/ml-in/mr-in/fa-ae/pa-in/te-in/ur-pk) (Optional) - * speller: String(none/lexicon) (Optional) * select (Optional): [ * String (Optional) * ] @@ -555,10 +498,6 @@ public Mono> indexDocumentsWithResponse(IndexDocu * semanticQuery: String (Optional) * answers: String(none/extractive) (Optional) * captions: String(none/extractive) (Optional) - * queryRewrites: String(none/generative) (Optional) - * semanticFields (Optional): [ - * String (Optional) - * ] * vectorQueries (Optional): [ * (Optional){ * kind: String(vector/text/imageUrl/imageBinary) (Required) @@ -575,10 +514,6 @@ public Mono> indexDocumentsWithResponse(IndexDocu * } * ] * vectorFilterMode: String(postFilter/preFilter/strictPostFilter) (Optional) - * hybridSearch (Optional): { - * maxTextRecallSize: Integer (Optional) - * countAndFacetMode: String(countRetrievableResults/countAllResults) (Optional) - * } * } * value (Required): [ * (Required){ @@ -600,23 +535,6 @@ public Mono> indexDocumentsWithResponse(IndexDocu * } * ] * @search.documentDebugInfo (Optional): { - * semantic (Optional): { - * titleField (Optional): { - * name: String (Optional) - * state: String(used/unused/partial) (Optional) - * } - * contentFields (Optional): [ - * (recursive schema, see above) - * ] - * keywordFields (Optional): [ - * (recursive schema, see above) - * ] - * rerankerInput (Optional): { - * title: String (Optional) - * content: String (Optional) - * keywords: String (Optional) - * } - * } * vectors (Optional): { * subscores (Optional): { * text (Optional): { @@ -654,7 +572,6 @@ public Mono> indexDocumentsWithResponse(IndexDocu * @odata.nextLink: String (Optional) * @search.semanticPartialResponseReason: String(maxWaitExceeded/capacityOverloaded/transient) (Optional) * @search.semanticPartialResponseType: String(baseResults/rerankedResults) (Optional) - * @search.semanticQueryRewritesResultType: String(originalQueryOnly) (Optional) * } * } * @@ -676,6 +593,14 @@ Mono> searchWithResponse(BinaryData searchPostRequest, Requ /** * Suggests documents in the index that match the given partial query text. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -737,6 +662,14 @@ Mono> suggestWithResponse(BinaryData suggestPostRequest, Re
 
     /**
      * Autocompletes incomplete query terms based on input text and matching terms in the index.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -968,6 +901,14 @@ public Mono> getDocumentWithResponse(String key, Reques
 
     /**
      * Queries the number of documents in the index.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -1004,10 +945,8 @@ Mono> hiddenGeneratedGetDocumentCountWithResponse(RequestOp
      * 
      * 
      * 
-     * 
-     * 
+     * 
      * 
Header Parameters
NameTypeRequiredDescription
x-ms-query-source-authorizationStringNoToken identifying the user for which - * the query is being executed. This token is used to enforce security restrictions on documents.
x-ms-enable-elevated-readBooleanNoA value that enables elevated read that - * bypass document level permission checks for the query operation.
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
* You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -1036,4 +975,88 @@ Mono> hiddenGeneratedGetDocumentCountWithResponse(RequestOp Mono> hiddenGeneratedGetDocumentWithResponse(String key, RequestOptions requestOptions) { return this.serviceClient.getDocumentWithResponseAsync(key, requestOptions); } + + /** + * Queries the number of documents in the index. + * + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a 64-bit integer on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getDocumentCount(CountRequestAccept accept) { + // Generated convenience method for hiddenGeneratedGetDocumentCountWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetDocumentCountWithResponse(requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> Long.parseLong(protocolMethodData.toString())); + } + + /** + * Retrieves a document from the index. + * + * @param key The key of the document to retrieve. + * @param accept The Accept header. + * @param selectedFields List of field names to retrieve for the document; Any field not retrieved will be missing + * from the returned document. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a document retrieved via a document lookup operation on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getDocument(String key, CountRequestAccept3 accept, List selectedFields) { + // Generated convenience method for hiddenGeneratedGetDocumentWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + if (selectedFields != null) { + requestOptions.addQueryParam("$select", + selectedFields.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + return hiddenGeneratedGetDocumentWithResponse(key, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(LookupDocument.class)); + } + + /** + * Sends a batch of document write actions to the index. + * + * @param batch The batch of index actions. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response containing the status of operations for all documents in the indexing request on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + Mono index(IndexDocumentsBatch batch, CountRequestAccept6 accept) { + // Generated convenience method for indexWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return indexWithResponse(BinaryData.fromObject(batch), requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(IndexDocumentsResult.class)); + } } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/SearchClient.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/SearchClient.java index d9577f9f6faa..5ce375e19007 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/SearchClient.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/SearchClient.java @@ -23,9 +23,12 @@ import com.azure.search.documents.implementation.SearchClientImpl; import com.azure.search.documents.implementation.SearchUtils; import com.azure.search.documents.implementation.models.AutocompletePostRequest; +import com.azure.search.documents.implementation.models.CountRequestAccept6; import com.azure.search.documents.implementation.models.SuggestPostRequest; import com.azure.search.documents.models.AutocompleteOptions; import com.azure.search.documents.models.AutocompleteResult; +import com.azure.search.documents.models.CountRequestAccept; +import com.azure.search.documents.models.CountRequestAccept3; import com.azure.search.documents.models.IndexBatchException; import com.azure.search.documents.models.IndexDocumentsBatch; import com.azure.search.documents.models.IndexDocumentsOptions; @@ -99,6 +102,14 @@ public SearchServiceVersion getServiceVersion() { /** * Sends a batch of document write actions to the index. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -163,7 +174,7 @@ Response indexWithResponse(BinaryData batch, RequestOptions requestO
     public long getDocumentCount() {
         // Generated convenience method for hiddenGeneratedGetDocumentCountWithResponse
         RequestOptions requestOptions = new RequestOptions();
-        return hiddenGeneratedGetDocumentCountWithResponse(requestOptions).getValue().toObject(Long.class);
+        return Long.parseLong(hiddenGeneratedGetDocumentCountWithResponse(requestOptions).getValue().toString());
     }
 
     /**
@@ -241,48 +252,6 @@ public SearchPagedIterable search(SearchOptions options, RequestOptions requestO
         });
     }
 
-    /**
-     * Retrieves a document from the index.
-     *
-     * @param key The key of the document to retrieve.
-     * @param querySourceAuthorization Token identifying the user for which the query is being executed. This token is
-     * used to enforce security restrictions on documents.
-     * @param enableElevatedRead A value that enables elevated read that bypass document level permission checks for the
-     * query operation.
-     * @param selectedFields List of field names to retrieve for the document; Any field not retrieved will be missing
-     * from the returned document.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return a document retrieved via a document lookup operation.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public LookupDocument getDocument(String key, String querySourceAuthorization, Boolean enableElevatedRead,
-        List selectedFields) {
-        // Generated convenience method for hiddenGeneratedGetDocumentWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        if (querySourceAuthorization != null) {
-            requestOptions.setHeader(HttpHeaderName.fromString("x-ms-query-source-authorization"),
-                querySourceAuthorization);
-        }
-        if (enableElevatedRead != null) {
-            requestOptions.setHeader(HttpHeaderName.fromString("x-ms-enable-elevated-read"),
-                String.valueOf(enableElevatedRead));
-        }
-        if (selectedFields != null) {
-            requestOptions.addQueryParam("$select",
-                selectedFields.stream()
-                    .map(paramItemValue -> Objects.toString(paramItemValue, ""))
-                    .collect(Collectors.joining(",")),
-                false);
-        }
-        return hiddenGeneratedGetDocumentWithResponse(key, requestOptions).getValue().toObject(LookupDocument.class);
-    }
-
     /**
      * Retrieves a document from the index.
      *
@@ -384,10 +353,8 @@ public Response indexDocumentsWithResponse(IndexDocumentsB
      * 
      * 
      * 
-     * 
-     * 
+     * 
      * 
Header Parameters
NameTypeRequiredDescription
x-ms-query-source-authorizationStringNoToken identifying the user for which - * the query is being executed. This token is used to enforce security restrictions on documents.
x-ms-enable-elevated-readBooleanNoA value that enables elevated read that - * bypass document level permission checks for the query operation.
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -422,8 +389,6 @@ public Response indexDocumentsWithResponse(IndexDocumentsB * String (Optional) * ] * searchMode: String(any/all) (Optional) - * queryLanguage: String(none/en-us/en-gb/en-in/en-ca/en-au/fr-fr/fr-ca/de-de/es-es/es-mx/zh-cn/zh-tw/pt-br/pt-pt/it-it/ja-jp/ko-kr/ru-ru/cs-cz/nl-be/nl-nl/hu-hu/pl-pl/sv-se/tr-tr/hi-in/ar-sa/ar-eg/ar-ma/ar-kw/ar-jo/da-dk/no-no/bg-bg/hr-hr/hr-ba/ms-my/ms-bn/sl-sl/ta-in/vi-vn/el-gr/ro-ro/is-is/id-id/th-th/lt-lt/uk-ua/lv-lv/et-ee/ca-es/fi-fi/sr-ba/sr-me/sr-rs/sk-sk/nb-no/hy-am/bn-in/eu-es/gl-es/gu-in/he-il/ga-ie/kn-in/ml-in/mr-in/fa-ae/pa-in/te-in/ur-pk) (Optional) - * speller: String(none/lexicon) (Optional) * select (Optional): [ * String (Optional) * ] @@ -435,10 +400,6 @@ public Response indexDocumentsWithResponse(IndexDocumentsB * semanticQuery: String (Optional) * answers: String(none/extractive) (Optional) * captions: String(none/extractive) (Optional) - * queryRewrites: String(none/generative) (Optional) - * semanticFields (Optional): [ - * String (Optional) - * ] * vectorQueries (Optional): [ * (Optional){ * kind: String(vector/text/imageUrl/imageBinary) (Required) @@ -455,10 +416,6 @@ public Response indexDocumentsWithResponse(IndexDocumentsB * } * ] * vectorFilterMode: String(postFilter/preFilter/strictPostFilter) (Optional) - * hybridSearch (Optional): { - * maxTextRecallSize: Integer (Optional) - * countAndFacetMode: String(countRetrievableResults/countAllResults) (Optional) - * } * } * } *
@@ -502,17 +459,6 @@ public Response indexDocumentsWithResponse(IndexDocumentsB * } * ] * @search.debug (Optional): { - * queryRewrites (Optional): { - * text (Optional): { - * inputQuery: String (Optional) - * rewrites (Optional): [ - * String (Optional) - * ] - * } - * vectors (Optional): [ - * (recursive schema, see above) - * ] - * } * } * @search.nextPageParameters (Optional): { * count: Boolean (Optional) @@ -542,8 +488,6 @@ public Response indexDocumentsWithResponse(IndexDocumentsB * String (Optional) * ] * searchMode: String(any/all) (Optional) - * queryLanguage: String(none/en-us/en-gb/en-in/en-ca/en-au/fr-fr/fr-ca/de-de/es-es/es-mx/zh-cn/zh-tw/pt-br/pt-pt/it-it/ja-jp/ko-kr/ru-ru/cs-cz/nl-be/nl-nl/hu-hu/pl-pl/sv-se/tr-tr/hi-in/ar-sa/ar-eg/ar-ma/ar-kw/ar-jo/da-dk/no-no/bg-bg/hr-hr/hr-ba/ms-my/ms-bn/sl-sl/ta-in/vi-vn/el-gr/ro-ro/is-is/id-id/th-th/lt-lt/uk-ua/lv-lv/et-ee/ca-es/fi-fi/sr-ba/sr-me/sr-rs/sk-sk/nb-no/hy-am/bn-in/eu-es/gl-es/gu-in/he-il/ga-ie/kn-in/ml-in/mr-in/fa-ae/pa-in/te-in/ur-pk) (Optional) - * speller: String(none/lexicon) (Optional) * select (Optional): [ * String (Optional) * ] @@ -555,10 +499,6 @@ public Response indexDocumentsWithResponse(IndexDocumentsB * semanticQuery: String (Optional) * answers: String(none/extractive) (Optional) * captions: String(none/extractive) (Optional) - * queryRewrites: String(none/generative) (Optional) - * semanticFields (Optional): [ - * String (Optional) - * ] * vectorQueries (Optional): [ * (Optional){ * kind: String(vector/text/imageUrl/imageBinary) (Required) @@ -575,10 +515,6 @@ public Response indexDocumentsWithResponse(IndexDocumentsB * } * ] * vectorFilterMode: String(postFilter/preFilter/strictPostFilter) (Optional) - * hybridSearch (Optional): { - * maxTextRecallSize: Integer (Optional) - * countAndFacetMode: String(countRetrievableResults/countAllResults) (Optional) - * } * } * value (Required): [ * (Required){ @@ -600,23 +536,6 @@ public Response indexDocumentsWithResponse(IndexDocumentsB * } * ] * @search.documentDebugInfo (Optional): { - * semantic (Optional): { - * titleField (Optional): { - * name: String (Optional) - * state: String(used/unused/partial) (Optional) - * } - * contentFields (Optional): [ - * (recursive schema, see above) - * ] - * keywordFields (Optional): [ - * (recursive schema, see above) - * ] - * rerankerInput (Optional): { - * title: String (Optional) - * content: String (Optional) - * keywords: String (Optional) - * } - * } * vectors (Optional): { * subscores (Optional): { * text (Optional): { @@ -654,7 +573,6 @@ public Response indexDocumentsWithResponse(IndexDocumentsB * @odata.nextLink: String (Optional) * @search.semanticPartialResponseReason: String(maxWaitExceeded/capacityOverloaded/transient) (Optional) * @search.semanticPartialResponseType: String(baseResults/rerankedResults) (Optional) - * @search.semanticQueryRewritesResultType: String(originalQueryOnly) (Optional) * } * } *
@@ -675,6 +593,14 @@ Response searchWithResponse(BinaryData searchPostRequest, RequestOpt /** * Suggests documents in the index that match the given partial query text. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -735,6 +661,14 @@ Response suggestWithResponse(BinaryData suggestPostRequest, RequestO
 
     /**
      * Autocompletes incomplete query terms based on input text and matching terms in the index.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -963,6 +897,14 @@ public Response getDocumentWithResponse(String key, RequestOptio
 
     /**
      * Queries the number of documents in the index.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -999,10 +941,8 @@ Response hiddenGeneratedGetDocumentCountWithResponse(RequestOptions
      * 
      * 
      * 
-     * 
-     * 
+     * 
      * 
Header Parameters
NameTypeRequiredDescription
x-ms-query-source-authorizationStringNoToken identifying the user for which - * the query is being executed. This token is used to enforce security restrictions on documents.
x-ms-enable-elevated-readBooleanNoA value that enables elevated read that - * bypass document level permission checks for the query operation.
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
* You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -1030,4 +970,85 @@ Response hiddenGeneratedGetDocumentCountWithResponse(RequestOptions Response hiddenGeneratedGetDocumentWithResponse(String key, RequestOptions requestOptions) { return this.serviceClient.getDocumentWithResponse(key, requestOptions); } + + /** + * Queries the number of documents in the index. + * + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a 64-bit integer. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public long getDocumentCount(CountRequestAccept accept) { + // Generated convenience method for hiddenGeneratedGetDocumentCountWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return Long.parseLong(hiddenGeneratedGetDocumentCountWithResponse(requestOptions).getValue().toString()); + } + + /** + * Retrieves a document from the index. + * + * @param key The key of the document to retrieve. + * @param accept The Accept header. + * @param selectedFields List of field names to retrieve for the document; Any field not retrieved will be missing + * from the returned document. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a document retrieved via a document lookup operation. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public LookupDocument getDocument(String key, CountRequestAccept3 accept, List selectedFields) { + // Generated convenience method for hiddenGeneratedGetDocumentWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + if (selectedFields != null) { + requestOptions.addQueryParam("$select", + selectedFields.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + return hiddenGeneratedGetDocumentWithResponse(key, requestOptions).getValue().toObject(LookupDocument.class); + } + + /** + * Sends a batch of document write actions to the index. + * + * @param batch The batch of index actions. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response containing the status of operations for all documents in the indexing request. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + IndexDocumentsResult index(IndexDocumentsBatch batch, CountRequestAccept6 accept) { + // Generated convenience method for indexWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return indexWithResponse(BinaryData.fromObject(batch), requestOptions).getValue() + .toObject(IndexDocumentsResult.class); + } } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/SearchServiceVersion.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/SearchServiceVersion.java index a01158060d8a..43c3a91565e7 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/SearchServiceVersion.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/SearchServiceVersion.java @@ -27,9 +27,9 @@ public enum SearchServiceVersion implements ServiceVersion { */ V2025_09_01("2025-09-01"), /** - * Enum value 2025-11-01-preview. + * Enum value 2026-04-01. */ - V2025_11_01_PREVIEW("2025-11-01-preview"); + V2026_04_01("2026-04-01"); private final String version; @@ -51,6 +51,6 @@ public String getVersion() { * @return The latest {@link SearchServiceVersion}. */ public static SearchServiceVersion getLatest() { - return V2025_11_01_PREVIEW; + return V2026_04_01; } } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/KnowledgeBaseRetrievalClientImpl.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/KnowledgeBaseRetrievalClientImpl.java index d19ff13c588d..d292ed969226 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/KnowledgeBaseRetrievalClientImpl.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/KnowledgeBaseRetrievalClientImpl.java @@ -148,27 +148,27 @@ public KnowledgeBaseRetrievalClientImpl(HttpPipeline httpPipeline, SerializerAda @Host("{endpoint}") @ServiceInterface(name = "KnowledgeBaseRetrievalClient") public interface KnowledgeBaseRetrievalClientService { - @Post("/retrieve/{knowledgeBaseName}") + @Post("/knowledgebases('{knowledgeBaseName}')/retrieve") @ExpectedResponses({ 200, 206 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> retrieve(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("knowledgeBaseName") String knowledgeBaseName, @HeaderParam("Content-Type") String contentType, - @BodyParam("application/json") BinaryData retrievalRequest, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("knowledgeBaseName") String knowledgeBaseName, + @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData retrievalRequest, + RequestOptions requestOptions, Context context); - @Post("/retrieve/{knowledgeBaseName}") + @Post("/knowledgebases('{knowledgeBaseName}')/retrieve") @ExpectedResponses({ 200, 206 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response retrieveSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("knowledgeBaseName") String knowledgeBaseName, @HeaderParam("Content-Type") String contentType, - @BodyParam("application/json") BinaryData retrievalRequest, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("knowledgeBaseName") String knowledgeBaseName, + @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData retrievalRequest, + RequestOptions requestOptions, Context context); } /** @@ -177,8 +177,8 @@ Response retrieveSync(@HostParam("endpoint") String endpoint, * * * - * + * *
Header Parameters
NameTypeRequiredDescription
x-ms-query-source-authorizationStringNoToken identifying the user for which - * the query is being executed. This token is used to enforce security restrictions on documents.
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -202,19 +202,14 @@ Response retrieveSync(@HostParam("endpoint") String endpoint, * } * ] * maxRuntimeInSeconds: Integer (Optional) - * maxOutputSize: Integer (Optional) - * retrievalReasoningEffort (Optional): { - * kind: String(minimal/low/medium) (Required) - * } + * maxOutputSizeInTokens: Integer (Optional) * includeActivity: Boolean (Optional) - * outputMode: String(extractiveData/answerSynthesis) (Optional) * knowledgeSourceParams (Optional): [ * (Optional){ - * kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required) + * kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required) * knowledgeSourceName: String (Required) * includeReferences: Boolean (Optional) * includeReferenceSourceData: Boolean (Optional) - * alwaysQuerySource: Boolean (Optional) * rerankerThreshold: Float (Optional) * } * ] @@ -239,7 +234,7 @@ Response retrieveSync(@HostParam("endpoint") String endpoint, * ] * activity (Optional): [ * (Optional){ - * type: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint/modelQueryPlanning/modelAnswerSynthesis/agenticReasoning) (Required) + * type: String(searchIndex/azureBlob/indexedOneLake/web/agenticReasoning) (Required) * id: int (Required) * elapsedMs: Integer (Optional) * error (Optional): { @@ -262,7 +257,7 @@ Response retrieveSync(@HostParam("endpoint") String endpoint, * ] * references (Optional): [ * (Optional){ - * type: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required) + * type: String(searchIndex/azureBlob/indexedOneLake/web) (Required) * id: String (Required) * activitySource: int (Required) * sourceData (Optional): { @@ -288,10 +283,9 @@ Response retrieveSync(@HostParam("endpoint") String endpoint, @ServiceMethod(returns = ReturnType.SINGLE) public Mono> retrieveWithResponseAsync(String knowledgeBaseName, BinaryData retrievalRequest, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; final String contentType = "application/json"; return FluxUtil - .withContext(context -> service.retrieve(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, + .withContext(context -> service.retrieve(this.getEndpoint(), this.getServiceVersion().getVersion(), knowledgeBaseName, contentType, retrievalRequest, requestOptions, context)); } @@ -301,8 +295,8 @@ public Mono> retrieveWithResponseAsync(String knowledgeBase * * * - * + * *
Header Parameters
NameTypeRequiredDescription
x-ms-query-source-authorizationStringNoToken identifying the user for which - * the query is being executed. This token is used to enforce security restrictions on documents.
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -326,19 +320,14 @@ public Mono> retrieveWithResponseAsync(String knowledgeBase * } * ] * maxRuntimeInSeconds: Integer (Optional) - * maxOutputSize: Integer (Optional) - * retrievalReasoningEffort (Optional): { - * kind: String(minimal/low/medium) (Required) - * } + * maxOutputSizeInTokens: Integer (Optional) * includeActivity: Boolean (Optional) - * outputMode: String(extractiveData/answerSynthesis) (Optional) * knowledgeSourceParams (Optional): [ * (Optional){ - * kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required) + * kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required) * knowledgeSourceName: String (Required) * includeReferences: Boolean (Optional) * includeReferenceSourceData: Boolean (Optional) - * alwaysQuerySource: Boolean (Optional) * rerankerThreshold: Float (Optional) * } * ] @@ -363,7 +352,7 @@ public Mono> retrieveWithResponseAsync(String knowledgeBase * ] * activity (Optional): [ * (Optional){ - * type: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint/modelQueryPlanning/modelAnswerSynthesis/agenticReasoning) (Required) + * type: String(searchIndex/azureBlob/indexedOneLake/web/agenticReasoning) (Required) * id: int (Required) * elapsedMs: Integer (Optional) * error (Optional): { @@ -386,7 +375,7 @@ public Mono> retrieveWithResponseAsync(String knowledgeBase * ] * references (Optional): [ * (Optional){ - * type: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required) + * type: String(searchIndex/azureBlob/indexedOneLake/web) (Required) * id: String (Required) * activitySource: int (Required) * sourceData (Optional): { @@ -411,9 +400,8 @@ public Mono> retrieveWithResponseAsync(String knowledgeBase @ServiceMethod(returns = ReturnType.SINGLE) public Response retrieveWithResponse(String knowledgeBaseName, BinaryData retrievalRequest, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; final String contentType = "application/json"; - return service.retrieveSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, - knowledgeBaseName, contentType, retrievalRequest, requestOptions, Context.NONE); + return service.retrieveSync(this.getEndpoint(), this.getServiceVersion().getVersion(), knowledgeBaseName, + contentType, retrievalRequest, requestOptions, Context.NONE); } } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/SearchClientImpl.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/SearchClientImpl.java index 6638ba3600e5..bbe94cb851d9 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/SearchClientImpl.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/SearchClientImpl.java @@ -172,8 +172,8 @@ public interface SearchClientService { @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> getDocumentCount(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexName") String indexName, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("indexName") String indexName, + RequestOptions requestOptions, Context context); @Get("/indexes('{indexName}')/docs/$count") @ExpectedResponses({ 200 }) @@ -182,8 +182,8 @@ Mono> getDocumentCount(@HostParam("endpoint") String endpoi @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response getDocumentCountSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexName") String indexName, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("indexName") String indexName, + RequestOptions requestOptions, Context context); @Get("/indexes('{indexName}')/docs") @ExpectedResponses({ 200, 206 }) @@ -192,8 +192,8 @@ Response getDocumentCountSync(@HostParam("endpoint") String endpoint @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> searchGet(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexName") String indexName, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("indexName") String indexName, + RequestOptions requestOptions, Context context); @Get("/indexes('{indexName}')/docs") @ExpectedResponses({ 200, 206 }) @@ -202,8 +202,8 @@ Mono> searchGet(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response searchGetSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexName") String indexName, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("indexName") String indexName, + RequestOptions requestOptions, Context context); @Post("/indexes('{indexName}')/docs/search.post.search") @ExpectedResponses({ 200, 206 }) @@ -212,8 +212,8 @@ Response searchGetSync(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> search(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexName") String indexName, @HeaderParam("Content-Type") String contentType, + @QueryParam("api-version") String apiVersion, @PathParam("indexName") String indexName, + @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData searchPostRequest, RequestOptions requestOptions, Context context); @@ -224,8 +224,8 @@ Mono> search(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response searchSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexName") String indexName, @HeaderParam("Content-Type") String contentType, + @QueryParam("api-version") String apiVersion, @PathParam("indexName") String indexName, + @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData searchPostRequest, RequestOptions requestOptions, Context context); @@ -236,9 +236,8 @@ Response searchSync(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> getDocument(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("key") String key, @PathParam("indexName") String indexName, RequestOptions requestOptions, - Context context); + @QueryParam("api-version") String apiVersion, @PathParam("key") String key, + @PathParam("indexName") String indexName, RequestOptions requestOptions, Context context); @Get("/indexes('{indexName}')/docs('{key}')") @ExpectedResponses({ 200 }) @@ -247,9 +246,8 @@ Mono> getDocument(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response getDocumentSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("key") String key, @PathParam("indexName") String indexName, RequestOptions requestOptions, - Context context); + @QueryParam("api-version") String apiVersion, @PathParam("key") String key, + @PathParam("indexName") String indexName, RequestOptions requestOptions, Context context); @Get("/indexes('{indexName}')/docs/search.suggest") @ExpectedResponses({ 200 }) @@ -258,9 +256,9 @@ Response getDocumentSync(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> suggestGet(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @QueryParam("search") String searchText, @QueryParam("suggesterName") String suggesterName, - @PathParam("indexName") String indexName, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @QueryParam("search") String searchText, + @QueryParam("suggesterName") String suggesterName, @PathParam("indexName") String indexName, + RequestOptions requestOptions, Context context); @Get("/indexes('{indexName}')/docs/search.suggest") @ExpectedResponses({ 200 }) @@ -269,9 +267,9 @@ Mono> suggestGet(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response suggestGetSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @QueryParam("search") String searchText, @QueryParam("suggesterName") String suggesterName, - @PathParam("indexName") String indexName, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @QueryParam("search") String searchText, + @QueryParam("suggesterName") String suggesterName, @PathParam("indexName") String indexName, + RequestOptions requestOptions, Context context); @Post("/indexes('{indexName}')/docs/search.post.suggest") @ExpectedResponses({ 200 }) @@ -280,8 +278,8 @@ Response suggestGetSync(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> suggest(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexName") String indexName, @HeaderParam("Content-Type") String contentType, + @QueryParam("api-version") String apiVersion, @PathParam("indexName") String indexName, + @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData suggestPostRequest, RequestOptions requestOptions, Context context); @@ -292,8 +290,8 @@ Mono> suggest(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response suggestSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexName") String indexName, @HeaderParam("Content-Type") String contentType, + @QueryParam("api-version") String apiVersion, @PathParam("indexName") String indexName, + @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData suggestPostRequest, RequestOptions requestOptions, Context context); @@ -304,9 +302,9 @@ Response suggestSync(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> index(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexName") String indexName, @HeaderParam("Content-Type") String contentType, - @BodyParam("application/json") BinaryData batch, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("indexName") String indexName, + @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData batch, + RequestOptions requestOptions, Context context); @Post("/indexes('{indexName}')/docs/search.index") @ExpectedResponses({ 200, 207 }) @@ -315,9 +313,9 @@ Mono> index(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response indexSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexName") String indexName, @HeaderParam("Content-Type") String contentType, - @BodyParam("application/json") BinaryData batch, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("indexName") String indexName, + @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData batch, + RequestOptions requestOptions, Context context); @Get("/indexes('{indexName}')/docs/search.autocomplete") @ExpectedResponses({ 200 }) @@ -326,9 +324,9 @@ Response indexSync(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> autocompleteGet(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @QueryParam("search") String searchText, @QueryParam("suggesterName") String suggesterName, - @PathParam("indexName") String indexName, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @QueryParam("search") String searchText, + @QueryParam("suggesterName") String suggesterName, @PathParam("indexName") String indexName, + RequestOptions requestOptions, Context context); @Get("/indexes('{indexName}')/docs/search.autocomplete") @ExpectedResponses({ 200 }) @@ -337,9 +335,9 @@ Mono> autocompleteGet(@HostParam("endpoint") String endpoin @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response autocompleteGetSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @QueryParam("search") String searchText, @QueryParam("suggesterName") String suggesterName, - @PathParam("indexName") String indexName, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @QueryParam("search") String searchText, + @QueryParam("suggesterName") String suggesterName, @PathParam("indexName") String indexName, + RequestOptions requestOptions, Context context); @Post("/indexes('{indexName}')/docs/search.post.autocomplete") @ExpectedResponses({ 200 }) @@ -348,8 +346,8 @@ Response autocompleteGetSync(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> autocomplete(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexName") String indexName, @HeaderParam("Content-Type") String contentType, + @QueryParam("api-version") String apiVersion, @PathParam("indexName") String indexName, + @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData autocompletePostRequest, RequestOptions requestOptions, Context context); @@ -360,14 +358,22 @@ Mono> autocomplete(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response autocompleteSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexName") String indexName, @HeaderParam("Content-Type") String contentType, + @QueryParam("api-version") String apiVersion, @PathParam("indexName") String indexName, + @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData autocompletePostRequest, RequestOptions requestOptions, Context context); } /** * Queries the number of documents in the index. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -385,13 +391,20 @@ Response autocompleteSync(@HostParam("endpoint") String endpoint,
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> getDocumentCountWithResponseAsync(RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=none";
         return FluxUtil.withContext(context -> service.getDocumentCount(this.getEndpoint(),
-            this.getServiceVersion().getVersion(), accept, this.getIndexName(), requestOptions, context));
+            this.getServiceVersion().getVersion(), this.getIndexName(), requestOptions, context));
     }
 
     /**
      * Queries the number of documents in the index.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -409,8 +422,7 @@ public Mono> getDocumentCountWithResponseAsync(RequestOptio
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response getDocumentCountWithResponse(RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=none";
-        return service.getDocumentCountSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept,
+        return service.getDocumentCountSync(this.getEndpoint(), this.getServiceVersion().getVersion(),
             this.getIndexName(), requestOptions, Context.NONE);
     }
 
@@ -506,34 +518,16 @@ public Response getDocumentCountWithResponse(RequestOptions requestO
      * solely used for semantic reranking, semantic captions and semantic answers. Is useful for scenarios where there
      * is a need to use different queries between the base retrieval and ranking phase, and the L2 semantic
      * phase.
-     * queryRewritesStringNoWhen QueryRewrites is set to `generative`, the query
-     * terms are sent to a generate model which will produce 10 (default) rewrites to help increase the recall of the
-     * request. The requested count can be configured by appending the pipe character `|` followed by the
-     * `count-<number of rewrites>` option, such as `generative|count-3`. Defaults to `None`. This parameter is
-     * only valid if the query type is `semantic`. Allowed values: "none", "generative".
      * debugStringNoEnables a debugging tool that can be used to further explore your
      * search results. Allowed values: "disabled", "semantic", "vector", "queryRewrites", "innerHits", "all".
-     * queryLanguageStringNoThe language of the query. Allowed values: "none",
-     * "en-us", "en-gb", "en-in", "en-ca", "en-au", "fr-fr", "fr-ca", "de-de", "es-es", "es-mx", "zh-cn", "zh-tw",
-     * "pt-br", "pt-pt", "it-it", "ja-jp", "ko-kr", "ru-ru", "cs-cz", "nl-be", "nl-nl", "hu-hu", "pl-pl", "sv-se",
-     * "tr-tr", "hi-in", "ar-sa", "ar-eg", "ar-ma", "ar-kw", "ar-jo", "da-dk", "no-no", "bg-bg", "hr-hr", "hr-ba",
-     * "ms-my", "ms-bn", "sl-sl", "ta-in", "vi-vn", "el-gr", "ro-ro", "is-is", "id-id", "th-th", "lt-lt", "uk-ua",
-     * "lv-lv", "et-ee", "ca-es", "fi-fi", "sr-ba", "sr-me", "sr-rs", "sk-sk", "nb-no", "hy-am", "bn-in", "eu-es",
-     * "gl-es", "gu-in", "he-il", "ga-ie", "kn-in", "ml-in", "mr-in", "fa-ae", "pa-in", "te-in", "ur-pk".
-     * spellerStringNoImprove search recall by spell-correcting individual search
-     * query terms. Allowed values: "none", "lexicon".
-     * semanticFieldsList<String>NoThe list of field names used for semantic
-     * ranking. In the form of "," separated string.
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Header Parameters

* * * - * - * + * *
Header Parameters
NameTypeRequiredDescription
x-ms-query-source-authorizationStringNoToken identifying the user for which - * the query is being executed. This token is used to enforce security restrictions on documents.
x-ms-enable-elevated-readBooleanNoA value that enables elevated read that - * bypass document level permission checks for the query operation.
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
* You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -575,17 +569,6 @@ public Response getDocumentCountWithResponse(RequestOptions requestO * } * ] * @search.debug (Optional): { - * queryRewrites (Optional): { - * text (Optional): { - * inputQuery: String (Optional) - * rewrites (Optional): [ - * String (Optional) - * ] - * } - * vectors (Optional): [ - * (recursive schema, see above) - * ] - * } * } * @search.nextPageParameters (Optional): { * count: Boolean (Optional) @@ -615,8 +598,6 @@ public Response getDocumentCountWithResponse(RequestOptions requestO * String (Optional) * ] * searchMode: String(any/all) (Optional) - * queryLanguage: String(none/en-us/en-gb/en-in/en-ca/en-au/fr-fr/fr-ca/de-de/es-es/es-mx/zh-cn/zh-tw/pt-br/pt-pt/it-it/ja-jp/ko-kr/ru-ru/cs-cz/nl-be/nl-nl/hu-hu/pl-pl/sv-se/tr-tr/hi-in/ar-sa/ar-eg/ar-ma/ar-kw/ar-jo/da-dk/no-no/bg-bg/hr-hr/hr-ba/ms-my/ms-bn/sl-sl/ta-in/vi-vn/el-gr/ro-ro/is-is/id-id/th-th/lt-lt/uk-ua/lv-lv/et-ee/ca-es/fi-fi/sr-ba/sr-me/sr-rs/sk-sk/nb-no/hy-am/bn-in/eu-es/gl-es/gu-in/he-il/ga-ie/kn-in/ml-in/mr-in/fa-ae/pa-in/te-in/ur-pk) (Optional) - * speller: String(none/lexicon) (Optional) * select (Optional): [ * String (Optional) * ] @@ -628,10 +609,6 @@ public Response getDocumentCountWithResponse(RequestOptions requestO * semanticQuery: String (Optional) * answers: String(none/extractive) (Optional) * captions: String(none/extractive) (Optional) - * queryRewrites: String(none/generative) (Optional) - * semanticFields (Optional): [ - * String (Optional) - * ] * vectorQueries (Optional): [ * (Optional){ * kind: String(vector/text/imageUrl/imageBinary) (Required) @@ -648,10 +625,6 @@ public Response getDocumentCountWithResponse(RequestOptions requestO * } * ] * vectorFilterMode: String(postFilter/preFilter/strictPostFilter) (Optional) - * hybridSearch (Optional): { - * maxTextRecallSize: Integer (Optional) - * countAndFacetMode: String(countRetrievableResults/countAllResults) (Optional) - * } * } * value (Required): [ * (Required){ @@ -673,23 +646,6 @@ public Response getDocumentCountWithResponse(RequestOptions requestO * } * ] * @search.documentDebugInfo (Optional): { - * semantic (Optional): { - * titleField (Optional): { - * name: String (Optional) - * state: String(used/unused/partial) (Optional) - * } - * contentFields (Optional): [ - * (recursive schema, see above) - * ] - * keywordFields (Optional): [ - * (recursive schema, see above) - * ] - * rerankerInput (Optional): { - * title: String (Optional) - * content: String (Optional) - * keywords: String (Optional) - * } - * } * vectors (Optional): { * subscores (Optional): { * text (Optional): { @@ -727,7 +683,6 @@ public Response getDocumentCountWithResponse(RequestOptions requestO * @odata.nextLink: String (Optional) * @search.semanticPartialResponseReason: String(maxWaitExceeded/capacityOverloaded/transient) (Optional) * @search.semanticPartialResponseType: String(baseResults/rerankedResults) (Optional) - * @search.semanticQueryRewritesResultType: String(originalQueryOnly) (Optional) * } * } *
@@ -742,9 +697,8 @@ public Response getDocumentCountWithResponse(RequestOptions requestO */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> searchGetWithResponseAsync(RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=none"; return FluxUtil.withContext(context -> service.searchGet(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, this.getIndexName(), requestOptions, context)); + this.getServiceVersion().getVersion(), this.getIndexName(), requestOptions, context)); } /** @@ -839,34 +793,16 @@ public Mono> searchGetWithResponseAsync(RequestOptions requ * solely used for semantic reranking, semantic captions and semantic answers. Is useful for scenarios where there * is a need to use different queries between the base retrieval and ranking phase, and the L2 semantic * phase. - * queryRewritesStringNoWhen QueryRewrites is set to `generative`, the query - * terms are sent to a generate model which will produce 10 (default) rewrites to help increase the recall of the - * request. The requested count can be configured by appending the pipe character `|` followed by the - * `count-<number of rewrites>` option, such as `generative|count-3`. Defaults to `None`. This parameter is - * only valid if the query type is `semantic`. Allowed values: "none", "generative". * debugStringNoEnables a debugging tool that can be used to further explore your * search results. Allowed values: "disabled", "semantic", "vector", "queryRewrites", "innerHits", "all". - * queryLanguageStringNoThe language of the query. Allowed values: "none", - * "en-us", "en-gb", "en-in", "en-ca", "en-au", "fr-fr", "fr-ca", "de-de", "es-es", "es-mx", "zh-cn", "zh-tw", - * "pt-br", "pt-pt", "it-it", "ja-jp", "ko-kr", "ru-ru", "cs-cz", "nl-be", "nl-nl", "hu-hu", "pl-pl", "sv-se", - * "tr-tr", "hi-in", "ar-sa", "ar-eg", "ar-ma", "ar-kw", "ar-jo", "da-dk", "no-no", "bg-bg", "hr-hr", "hr-ba", - * "ms-my", "ms-bn", "sl-sl", "ta-in", "vi-vn", "el-gr", "ro-ro", "is-is", "id-id", "th-th", "lt-lt", "uk-ua", - * "lv-lv", "et-ee", "ca-es", "fi-fi", "sr-ba", "sr-me", "sr-rs", "sk-sk", "nb-no", "hy-am", "bn-in", "eu-es", - * "gl-es", "gu-in", "he-il", "ga-ie", "kn-in", "ml-in", "mr-in", "fa-ae", "pa-in", "te-in", "ur-pk". - * spellerStringNoImprove search recall by spell-correcting individual search - * query terms. Allowed values: "none", "lexicon". - * semanticFieldsList<String>NoThe list of field names used for semantic - * ranking. In the form of "," separated string. * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * - * - * + * *
Header Parameters
NameTypeRequiredDescription
x-ms-query-source-authorizationStringNoToken identifying the user for which - * the query is being executed. This token is used to enforce security restrictions on documents.
x-ms-enable-elevated-readBooleanNoA value that enables elevated read that - * bypass document level permission checks for the query operation.
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
* You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -908,17 +844,6 @@ public Mono> searchGetWithResponseAsync(RequestOptions requ * } * ] * @search.debug (Optional): { - * queryRewrites (Optional): { - * text (Optional): { - * inputQuery: String (Optional) - * rewrites (Optional): [ - * String (Optional) - * ] - * } - * vectors (Optional): [ - * (recursive schema, see above) - * ] - * } * } * @search.nextPageParameters (Optional): { * count: Boolean (Optional) @@ -948,8 +873,6 @@ public Mono> searchGetWithResponseAsync(RequestOptions requ * String (Optional) * ] * searchMode: String(any/all) (Optional) - * queryLanguage: String(none/en-us/en-gb/en-in/en-ca/en-au/fr-fr/fr-ca/de-de/es-es/es-mx/zh-cn/zh-tw/pt-br/pt-pt/it-it/ja-jp/ko-kr/ru-ru/cs-cz/nl-be/nl-nl/hu-hu/pl-pl/sv-se/tr-tr/hi-in/ar-sa/ar-eg/ar-ma/ar-kw/ar-jo/da-dk/no-no/bg-bg/hr-hr/hr-ba/ms-my/ms-bn/sl-sl/ta-in/vi-vn/el-gr/ro-ro/is-is/id-id/th-th/lt-lt/uk-ua/lv-lv/et-ee/ca-es/fi-fi/sr-ba/sr-me/sr-rs/sk-sk/nb-no/hy-am/bn-in/eu-es/gl-es/gu-in/he-il/ga-ie/kn-in/ml-in/mr-in/fa-ae/pa-in/te-in/ur-pk) (Optional) - * speller: String(none/lexicon) (Optional) * select (Optional): [ * String (Optional) * ] @@ -961,10 +884,6 @@ public Mono> searchGetWithResponseAsync(RequestOptions requ * semanticQuery: String (Optional) * answers: String(none/extractive) (Optional) * captions: String(none/extractive) (Optional) - * queryRewrites: String(none/generative) (Optional) - * semanticFields (Optional): [ - * String (Optional) - * ] * vectorQueries (Optional): [ * (Optional){ * kind: String(vector/text/imageUrl/imageBinary) (Required) @@ -981,10 +900,6 @@ public Mono> searchGetWithResponseAsync(RequestOptions requ * } * ] * vectorFilterMode: String(postFilter/preFilter/strictPostFilter) (Optional) - * hybridSearch (Optional): { - * maxTextRecallSize: Integer (Optional) - * countAndFacetMode: String(countRetrievableResults/countAllResults) (Optional) - * } * } * value (Required): [ * (Required){ @@ -1006,23 +921,6 @@ public Mono> searchGetWithResponseAsync(RequestOptions requ * } * ] * @search.documentDebugInfo (Optional): { - * semantic (Optional): { - * titleField (Optional): { - * name: String (Optional) - * state: String(used/unused/partial) (Optional) - * } - * contentFields (Optional): [ - * (recursive schema, see above) - * ] - * keywordFields (Optional): [ - * (recursive schema, see above) - * ] - * rerankerInput (Optional): { - * title: String (Optional) - * content: String (Optional) - * keywords: String (Optional) - * } - * } * vectors (Optional): { * subscores (Optional): { * text (Optional): { @@ -1060,7 +958,6 @@ public Mono> searchGetWithResponseAsync(RequestOptions requ * @odata.nextLink: String (Optional) * @search.semanticPartialResponseReason: String(maxWaitExceeded/capacityOverloaded/transient) (Optional) * @search.semanticPartialResponseType: String(baseResults/rerankedResults) (Optional) - * @search.semanticQueryRewritesResultType: String(originalQueryOnly) (Optional) * } * } *
@@ -1074,9 +971,8 @@ public Mono> searchGetWithResponseAsync(RequestOptions requ */ @ServiceMethod(returns = ReturnType.SINGLE) public Response searchGetWithResponse(RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=none"; - return service.searchGetSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, - this.getIndexName(), requestOptions, Context.NONE); + return service.searchGetSync(this.getEndpoint(), this.getServiceVersion().getVersion(), this.getIndexName(), + requestOptions, Context.NONE); } /** @@ -1085,10 +981,8 @@ public Response searchGetWithResponse(RequestOptions requestOptions) * * * - * - * + * *
Header Parameters
NameTypeRequiredDescription
x-ms-query-source-authorizationStringNoToken identifying the user for which - * the query is being executed. This token is used to enforce security restrictions on documents.
x-ms-enable-elevated-readBooleanNoA value that enables elevated read that - * bypass document level permission checks for the query operation.
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -1123,8 +1017,6 @@ public Response searchGetWithResponse(RequestOptions requestOptions) * String (Optional) * ] * searchMode: String(any/all) (Optional) - * queryLanguage: String(none/en-us/en-gb/en-in/en-ca/en-au/fr-fr/fr-ca/de-de/es-es/es-mx/zh-cn/zh-tw/pt-br/pt-pt/it-it/ja-jp/ko-kr/ru-ru/cs-cz/nl-be/nl-nl/hu-hu/pl-pl/sv-se/tr-tr/hi-in/ar-sa/ar-eg/ar-ma/ar-kw/ar-jo/da-dk/no-no/bg-bg/hr-hr/hr-ba/ms-my/ms-bn/sl-sl/ta-in/vi-vn/el-gr/ro-ro/is-is/id-id/th-th/lt-lt/uk-ua/lv-lv/et-ee/ca-es/fi-fi/sr-ba/sr-me/sr-rs/sk-sk/nb-no/hy-am/bn-in/eu-es/gl-es/gu-in/he-il/ga-ie/kn-in/ml-in/mr-in/fa-ae/pa-in/te-in/ur-pk) (Optional) - * speller: String(none/lexicon) (Optional) * select (Optional): [ * String (Optional) * ] @@ -1136,10 +1028,6 @@ public Response searchGetWithResponse(RequestOptions requestOptions) * semanticQuery: String (Optional) * answers: String(none/extractive) (Optional) * captions: String(none/extractive) (Optional) - * queryRewrites: String(none/generative) (Optional) - * semanticFields (Optional): [ - * String (Optional) - * ] * vectorQueries (Optional): [ * (Optional){ * kind: String(vector/text/imageUrl/imageBinary) (Required) @@ -1156,10 +1044,6 @@ public Response searchGetWithResponse(RequestOptions requestOptions) * } * ] * vectorFilterMode: String(postFilter/preFilter/strictPostFilter) (Optional) - * hybridSearch (Optional): { - * maxTextRecallSize: Integer (Optional) - * countAndFacetMode: String(countRetrievableResults/countAllResults) (Optional) - * } * } * } *
@@ -1203,17 +1087,6 @@ public Response searchGetWithResponse(RequestOptions requestOptions) * } * ] * @search.debug (Optional): { - * queryRewrites (Optional): { - * text (Optional): { - * inputQuery: String (Optional) - * rewrites (Optional): [ - * String (Optional) - * ] - * } - * vectors (Optional): [ - * (recursive schema, see above) - * ] - * } * } * @search.nextPageParameters (Optional): { * count: Boolean (Optional) @@ -1243,8 +1116,6 @@ public Response searchGetWithResponse(RequestOptions requestOptions) * String (Optional) * ] * searchMode: String(any/all) (Optional) - * queryLanguage: String(none/en-us/en-gb/en-in/en-ca/en-au/fr-fr/fr-ca/de-de/es-es/es-mx/zh-cn/zh-tw/pt-br/pt-pt/it-it/ja-jp/ko-kr/ru-ru/cs-cz/nl-be/nl-nl/hu-hu/pl-pl/sv-se/tr-tr/hi-in/ar-sa/ar-eg/ar-ma/ar-kw/ar-jo/da-dk/no-no/bg-bg/hr-hr/hr-ba/ms-my/ms-bn/sl-sl/ta-in/vi-vn/el-gr/ro-ro/is-is/id-id/th-th/lt-lt/uk-ua/lv-lv/et-ee/ca-es/fi-fi/sr-ba/sr-me/sr-rs/sk-sk/nb-no/hy-am/bn-in/eu-es/gl-es/gu-in/he-il/ga-ie/kn-in/ml-in/mr-in/fa-ae/pa-in/te-in/ur-pk) (Optional) - * speller: String(none/lexicon) (Optional) * select (Optional): [ * String (Optional) * ] @@ -1256,10 +1127,6 @@ public Response searchGetWithResponse(RequestOptions requestOptions) * semanticQuery: String (Optional) * answers: String(none/extractive) (Optional) * captions: String(none/extractive) (Optional) - * queryRewrites: String(none/generative) (Optional) - * semanticFields (Optional): [ - * String (Optional) - * ] * vectorQueries (Optional): [ * (Optional){ * kind: String(vector/text/imageUrl/imageBinary) (Required) @@ -1276,10 +1143,6 @@ public Response searchGetWithResponse(RequestOptions requestOptions) * } * ] * vectorFilterMode: String(postFilter/preFilter/strictPostFilter) (Optional) - * hybridSearch (Optional): { - * maxTextRecallSize: Integer (Optional) - * countAndFacetMode: String(countRetrievableResults/countAllResults) (Optional) - * } * } * value (Required): [ * (Required){ @@ -1301,23 +1164,6 @@ public Response searchGetWithResponse(RequestOptions requestOptions) * } * ] * @search.documentDebugInfo (Optional): { - * semantic (Optional): { - * titleField (Optional): { - * name: String (Optional) - * state: String(used/unused/partial) (Optional) - * } - * contentFields (Optional): [ - * (recursive schema, see above) - * ] - * keywordFields (Optional): [ - * (recursive schema, see above) - * ] - * rerankerInput (Optional): { - * title: String (Optional) - * content: String (Optional) - * keywords: String (Optional) - * } - * } * vectors (Optional): { * subscores (Optional): { * text (Optional): { @@ -1355,7 +1201,6 @@ public Response searchGetWithResponse(RequestOptions requestOptions) * @odata.nextLink: String (Optional) * @search.semanticPartialResponseReason: String(maxWaitExceeded/capacityOverloaded/transient) (Optional) * @search.semanticPartialResponseType: String(baseResults/rerankedResults) (Optional) - * @search.semanticQueryRewritesResultType: String(originalQueryOnly) (Optional) * } * } *
@@ -1372,10 +1217,9 @@ public Response searchGetWithResponse(RequestOptions requestOptions) @ServiceMethod(returns = ReturnType.SINGLE) public Mono> searchWithResponseAsync(BinaryData searchPostRequest, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=none"; final String contentType = "application/json"; return FluxUtil.withContext(context -> service.search(this.getEndpoint(), this.getServiceVersion().getVersion(), - accept, this.getIndexName(), contentType, searchPostRequest, requestOptions, context)); + this.getIndexName(), contentType, searchPostRequest, requestOptions, context)); } /** @@ -1384,10 +1228,8 @@ public Mono> searchWithResponseAsync(BinaryData searchPostR * * * - * - * + * *
Header Parameters
NameTypeRequiredDescription
x-ms-query-source-authorizationStringNoToken identifying the user for which - * the query is being executed. This token is used to enforce security restrictions on documents.
x-ms-enable-elevated-readBooleanNoA value that enables elevated read that - * bypass document level permission checks for the query operation.
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -1422,8 +1264,6 @@ public Mono> searchWithResponseAsync(BinaryData searchPostR * String (Optional) * ] * searchMode: String(any/all) (Optional) - * queryLanguage: String(none/en-us/en-gb/en-in/en-ca/en-au/fr-fr/fr-ca/de-de/es-es/es-mx/zh-cn/zh-tw/pt-br/pt-pt/it-it/ja-jp/ko-kr/ru-ru/cs-cz/nl-be/nl-nl/hu-hu/pl-pl/sv-se/tr-tr/hi-in/ar-sa/ar-eg/ar-ma/ar-kw/ar-jo/da-dk/no-no/bg-bg/hr-hr/hr-ba/ms-my/ms-bn/sl-sl/ta-in/vi-vn/el-gr/ro-ro/is-is/id-id/th-th/lt-lt/uk-ua/lv-lv/et-ee/ca-es/fi-fi/sr-ba/sr-me/sr-rs/sk-sk/nb-no/hy-am/bn-in/eu-es/gl-es/gu-in/he-il/ga-ie/kn-in/ml-in/mr-in/fa-ae/pa-in/te-in/ur-pk) (Optional) - * speller: String(none/lexicon) (Optional) * select (Optional): [ * String (Optional) * ] @@ -1435,10 +1275,6 @@ public Mono> searchWithResponseAsync(BinaryData searchPostR * semanticQuery: String (Optional) * answers: String(none/extractive) (Optional) * captions: String(none/extractive) (Optional) - * queryRewrites: String(none/generative) (Optional) - * semanticFields (Optional): [ - * String (Optional) - * ] * vectorQueries (Optional): [ * (Optional){ * kind: String(vector/text/imageUrl/imageBinary) (Required) @@ -1455,10 +1291,6 @@ public Mono> searchWithResponseAsync(BinaryData searchPostR * } * ] * vectorFilterMode: String(postFilter/preFilter/strictPostFilter) (Optional) - * hybridSearch (Optional): { - * maxTextRecallSize: Integer (Optional) - * countAndFacetMode: String(countRetrievableResults/countAllResults) (Optional) - * } * } * } *
@@ -1502,17 +1334,6 @@ public Mono> searchWithResponseAsync(BinaryData searchPostR * } * ] * @search.debug (Optional): { - * queryRewrites (Optional): { - * text (Optional): { - * inputQuery: String (Optional) - * rewrites (Optional): [ - * String (Optional) - * ] - * } - * vectors (Optional): [ - * (recursive schema, see above) - * ] - * } * } * @search.nextPageParameters (Optional): { * count: Boolean (Optional) @@ -1542,8 +1363,6 @@ public Mono> searchWithResponseAsync(BinaryData searchPostR * String (Optional) * ] * searchMode: String(any/all) (Optional) - * queryLanguage: String(none/en-us/en-gb/en-in/en-ca/en-au/fr-fr/fr-ca/de-de/es-es/es-mx/zh-cn/zh-tw/pt-br/pt-pt/it-it/ja-jp/ko-kr/ru-ru/cs-cz/nl-be/nl-nl/hu-hu/pl-pl/sv-se/tr-tr/hi-in/ar-sa/ar-eg/ar-ma/ar-kw/ar-jo/da-dk/no-no/bg-bg/hr-hr/hr-ba/ms-my/ms-bn/sl-sl/ta-in/vi-vn/el-gr/ro-ro/is-is/id-id/th-th/lt-lt/uk-ua/lv-lv/et-ee/ca-es/fi-fi/sr-ba/sr-me/sr-rs/sk-sk/nb-no/hy-am/bn-in/eu-es/gl-es/gu-in/he-il/ga-ie/kn-in/ml-in/mr-in/fa-ae/pa-in/te-in/ur-pk) (Optional) - * speller: String(none/lexicon) (Optional) * select (Optional): [ * String (Optional) * ] @@ -1555,10 +1374,6 @@ public Mono> searchWithResponseAsync(BinaryData searchPostR * semanticQuery: String (Optional) * answers: String(none/extractive) (Optional) * captions: String(none/extractive) (Optional) - * queryRewrites: String(none/generative) (Optional) - * semanticFields (Optional): [ - * String (Optional) - * ] * vectorQueries (Optional): [ * (Optional){ * kind: String(vector/text/imageUrl/imageBinary) (Required) @@ -1575,10 +1390,6 @@ public Mono> searchWithResponseAsync(BinaryData searchPostR * } * ] * vectorFilterMode: String(postFilter/preFilter/strictPostFilter) (Optional) - * hybridSearch (Optional): { - * maxTextRecallSize: Integer (Optional) - * countAndFacetMode: String(countRetrievableResults/countAllResults) (Optional) - * } * } * value (Required): [ * (Required){ @@ -1600,23 +1411,6 @@ public Mono> searchWithResponseAsync(BinaryData searchPostR * } * ] * @search.documentDebugInfo (Optional): { - * semantic (Optional): { - * titleField (Optional): { - * name: String (Optional) - * state: String(used/unused/partial) (Optional) - * } - * contentFields (Optional): [ - * (recursive schema, see above) - * ] - * keywordFields (Optional): [ - * (recursive schema, see above) - * ] - * rerankerInput (Optional): { - * title: String (Optional) - * content: String (Optional) - * keywords: String (Optional) - * } - * } * vectors (Optional): { * subscores (Optional): { * text (Optional): { @@ -1654,7 +1448,6 @@ public Mono> searchWithResponseAsync(BinaryData searchPostR * @odata.nextLink: String (Optional) * @search.semanticPartialResponseReason: String(maxWaitExceeded/capacityOverloaded/transient) (Optional) * @search.semanticPartialResponseType: String(baseResults/rerankedResults) (Optional) - * @search.semanticQueryRewritesResultType: String(originalQueryOnly) (Optional) * } * } *
@@ -1669,10 +1462,9 @@ public Mono> searchWithResponseAsync(BinaryData searchPostR */ @ServiceMethod(returns = ReturnType.SINGLE) public Response searchWithResponse(BinaryData searchPostRequest, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=none"; final String contentType = "application/json"; - return service.searchSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, - this.getIndexName(), contentType, searchPostRequest, requestOptions, Context.NONE); + return service.searchSync(this.getEndpoint(), this.getServiceVersion().getVersion(), this.getIndexName(), + contentType, searchPostRequest, requestOptions, Context.NONE); } /** @@ -1690,10 +1482,8 @@ public Response searchWithResponse(BinaryData searchPostRequest, Req * * * - * - * + * *
Header Parameters
NameTypeRequiredDescription
x-ms-query-source-authorizationStringNoToken identifying the user for which - * the query is being executed. This token is used to enforce security restrictions on documents.
x-ms-enable-elevated-readBooleanNoA value that enables elevated read that - * bypass document level permission checks for the query operation.
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
* You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -1719,9 +1509,8 @@ public Response searchWithResponse(BinaryData searchPostRequest, Req */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getDocumentWithResponseAsync(String key, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=none"; return FluxUtil.withContext(context -> service.getDocument(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, key, this.getIndexName(), requestOptions, context)); + this.getServiceVersion().getVersion(), key, this.getIndexName(), requestOptions, context)); } /** @@ -1739,10 +1528,8 @@ public Mono> getDocumentWithResponseAsync(String key, Reque * * * - * - * + * *
Header Parameters
NameTypeRequiredDescription
x-ms-query-source-authorizationStringNoToken identifying the user for which - * the query is being executed. This token is used to enforce security restrictions on documents.
x-ms-enable-elevated-readBooleanNoA value that enables elevated read that - * bypass document level permission checks for the query operation.
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
* You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

@@ -1767,8 +1554,7 @@ public Mono> getDocumentWithResponseAsync(String key, Reque */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getDocumentWithResponse(String key, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=none"; - return service.getDocumentSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, key, + return service.getDocumentSync(this.getEndpoint(), this.getServiceVersion().getVersion(), key, this.getIndexName(), requestOptions, Context.NONE); } @@ -1807,6 +1593,14 @@ public Response getDocumentWithResponse(String key, RequestOptions r * between 1 and 100. The default is 5. * * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -1840,10 +1634,9 @@ public Response getDocumentWithResponse(String key, RequestOptions r
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> suggestGetWithResponseAsync(String searchText, String suggesterName,
         RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=none";
         return FluxUtil
             .withContext(context -> service.suggestGet(this.getEndpoint(), this.getServiceVersion().getVersion(),
-                accept, searchText, suggesterName, this.getIndexName(), requestOptions, context));
+                searchText, suggesterName, this.getIndexName(), requestOptions, context));
     }
 
     /**
@@ -1881,6 +1674,14 @@ public Mono> suggestGetWithResponseAsync(String searchText,
      * between 1 and 100. The default is 5.
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -1913,13 +1714,20 @@ public Mono> suggestGetWithResponseAsync(String searchText,
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response suggestGetWithResponse(String searchText, String suggesterName,
         RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=none";
-        return service.suggestGetSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, searchText,
+        return service.suggestGetSync(this.getEndpoint(), this.getServiceVersion().getVersion(), searchText,
             suggesterName, this.getIndexName(), requestOptions, Context.NONE);
     }
 
     /**
      * Suggests documents in the index that match the given partial query text.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -1976,15 +1784,22 @@ public Response suggestGetWithResponse(String searchText, String sug
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> suggestWithResponseAsync(BinaryData suggestPostRequest,
         RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=none";
         final String contentType = "application/json";
         return FluxUtil
-            .withContext(context -> service.suggest(this.getEndpoint(), this.getServiceVersion().getVersion(), accept,
+            .withContext(context -> service.suggest(this.getEndpoint(), this.getServiceVersion().getVersion(),
                 this.getIndexName(), contentType, suggestPostRequest, requestOptions, context));
     }
 
     /**
      * Suggests documents in the index that match the given partial query text.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -2039,14 +1854,21 @@ public Mono> suggestWithResponseAsync(BinaryData suggestPos
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response suggestWithResponse(BinaryData suggestPostRequest, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=none";
         final String contentType = "application/json";
-        return service.suggestSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept,
-            this.getIndexName(), contentType, suggestPostRequest, requestOptions, Context.NONE);
+        return service.suggestSync(this.getEndpoint(), this.getServiceVersion().getVersion(), this.getIndexName(),
+            contentType, suggestPostRequest, requestOptions, Context.NONE);
     }
 
     /**
      * Sends a batch of document write actions to the index.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -2092,14 +1914,21 @@ public Response suggestWithResponse(BinaryData suggestPostRequest, R
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> indexWithResponseAsync(BinaryData batch, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=none";
         final String contentType = "application/json";
         return FluxUtil.withContext(context -> service.index(this.getEndpoint(), this.getServiceVersion().getVersion(),
-            accept, this.getIndexName(), contentType, batch, requestOptions, context));
+            this.getIndexName(), contentType, batch, requestOptions, context));
     }
 
     /**
      * Sends a batch of document write actions to the index.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -2145,9 +1974,8 @@ public Mono> indexWithResponseAsync(BinaryData batch, Reque
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response indexWithResponse(BinaryData batch, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=none";
         final String contentType = "application/json";
-        return service.indexSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, this.getIndexName(),
+        return service.indexSync(this.getEndpoint(), this.getServiceVersion().getVersion(), this.getIndexName(),
             contentType, batch, requestOptions, Context.NONE);
     }
 
@@ -2181,6 +2009,14 @@ public Response indexWithResponse(BinaryData batch, RequestOptions r
      * value between 1 and 100. The default is 5.
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -2210,10 +2046,9 @@ public Response indexWithResponse(BinaryData batch, RequestOptions r
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> autocompleteGetWithResponseAsync(String searchText, String suggesterName,
         RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=none";
         return FluxUtil
             .withContext(context -> service.autocompleteGet(this.getEndpoint(), this.getServiceVersion().getVersion(),
-                accept, searchText, suggesterName, this.getIndexName(), requestOptions, context));
+                searchText, suggesterName, this.getIndexName(), requestOptions, context));
     }
 
     /**
@@ -2246,6 +2081,14 @@ public Mono> autocompleteGetWithResponseAsync(String search
      * value between 1 and 100. The default is 5.
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -2275,13 +2118,20 @@ public Mono> autocompleteGetWithResponseAsync(String search
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response autocompleteGetWithResponse(String searchText, String suggesterName,
         RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=none";
-        return service.autocompleteGetSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept,
-            searchText, suggesterName, this.getIndexName(), requestOptions, Context.NONE);
+        return service.autocompleteGetSync(this.getEndpoint(), this.getServiceVersion().getVersion(), searchText,
+            suggesterName, this.getIndexName(), requestOptions, Context.NONE);
     }
 
     /**
      * Autocompletes incomplete query terms based on input text and matching terms in the index.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -2330,15 +2180,22 @@ public Response autocompleteGetWithResponse(String searchText, Strin
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> autocompleteWithResponseAsync(BinaryData autocompletePostRequest,
         RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=none";
         final String contentType = "application/json";
         return FluxUtil
             .withContext(context -> service.autocomplete(this.getEndpoint(), this.getServiceVersion().getVersion(),
-                accept, this.getIndexName(), contentType, autocompletePostRequest, requestOptions, context));
+                this.getIndexName(), contentType, autocompletePostRequest, requestOptions, context));
     }
 
     /**
      * Autocompletes incomplete query terms based on input text and matching terms in the index.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=none".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -2387,9 +2244,8 @@ public Mono> autocompleteWithResponseAsync(BinaryData autoc
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response autocompleteWithResponse(BinaryData autocompletePostRequest,
         RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=none";
         final String contentType = "application/json";
-        return service.autocompleteSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept,
-            this.getIndexName(), contentType, autocompletePostRequest, requestOptions, Context.NONE);
+        return service.autocompleteSync(this.getEndpoint(), this.getServiceVersion().getVersion(), this.getIndexName(),
+            contentType, autocompletePostRequest, requestOptions, Context.NONE);
     }
 }
diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/SearchIndexClientImpl.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/SearchIndexClientImpl.java
index 349f769c51cd..305388ee34a7 100644
--- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/SearchIndexClientImpl.java
+++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/SearchIndexClientImpl.java
@@ -163,10 +163,9 @@ public interface SearchIndexClientService {
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> createOrUpdateSynonymMap(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @HeaderParam("Prefer") String prefer, @PathParam("synonymMapName") String name,
-            @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData synonymMap,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Prefer") String prefer,
+            @PathParam("synonymMapName") String name, @HeaderParam("Content-Type") String contentType,
+            @BodyParam("application/json") BinaryData synonymMap, RequestOptions requestOptions, Context context);
 
         @Put("/synonymmaps('{synonymMapName}')")
         @ExpectedResponses({ 200, 201 })
@@ -175,10 +174,9 @@ Mono> createOrUpdateSynonymMap(@HostParam("endpoint") Strin
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response createOrUpdateSynonymMapSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @HeaderParam("Prefer") String prefer, @PathParam("synonymMapName") String name,
-            @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData synonymMap,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Prefer") String prefer,
+            @PathParam("synonymMapName") String name, @HeaderParam("Content-Type") String contentType,
+            @BodyParam("application/json") BinaryData synonymMap, RequestOptions requestOptions, Context context);
 
         @Delete("/synonymmaps('{synonymMapName}')")
         @ExpectedResponses({ 204, 404 })
@@ -186,8 +184,8 @@ Response createOrUpdateSynonymMapSync(@HostParam("endpoint") String
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> deleteSynonymMap(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("synonymMapName") String name, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("synonymMapName") String name,
+            RequestOptions requestOptions, Context context);
 
         @Delete("/synonymmaps('{synonymMapName}')")
         @ExpectedResponses({ 204, 404 })
@@ -195,8 +193,8 @@ Mono> deleteSynonymMap(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response deleteSynonymMapSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("synonymMapName") String name, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("synonymMapName") String name,
+            RequestOptions requestOptions, Context context);
 
         @Get("/synonymmaps('{synonymMapName}')")
         @ExpectedResponses({ 200 })
@@ -205,8 +203,8 @@ Response deleteSynonymMapSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> getSynonymMap(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("synonymMapName") String name, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("synonymMapName") String name,
+            RequestOptions requestOptions, Context context);
 
         @Get("/synonymmaps('{synonymMapName}')")
         @ExpectedResponses({ 200 })
@@ -215,8 +213,8 @@ Mono> getSynonymMap(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response getSynonymMapSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("synonymMapName") String name, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("synonymMapName") String name,
+            RequestOptions requestOptions, Context context);
 
         @Get("/synonymmaps")
         @ExpectedResponses({ 200 })
@@ -225,8 +223,7 @@ Response getSynonymMapSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> getSynonymMaps(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context);
 
         @Get("/synonymmaps")
         @ExpectedResponses({ 200 })
@@ -235,8 +232,7 @@ Mono> getSynonymMaps(@HostParam("endpoint") String endpoint
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response getSynonymMapsSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context);
 
         @Post("/synonymmaps")
         @ExpectedResponses({ 201 })
@@ -245,9 +241,8 @@ Response getSynonymMapsSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> createSynonymMap(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData synonymMap,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType,
+            @BodyParam("application/json") BinaryData synonymMap, RequestOptions requestOptions, Context context);
 
         @Post("/synonymmaps")
         @ExpectedResponses({ 201 })
@@ -256,9 +251,8 @@ Mono> createSynonymMap(@HostParam("endpoint") String endpoi
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response createSynonymMapSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData synonymMap,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType,
+            @BodyParam("application/json") BinaryData synonymMap, RequestOptions requestOptions, Context context);
 
         @Put("/indexes('{indexName}')")
         @ExpectedResponses({ 200, 201 })
@@ -267,10 +261,9 @@ Response createSynonymMapSync(@HostParam("endpoint") String endpoint
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> createOrUpdateIndex(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @HeaderParam("Prefer") String prefer, @PathParam("indexName") String name,
-            @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData index,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Prefer") String prefer,
+            @PathParam("indexName") String name, @HeaderParam("Content-Type") String contentType,
+            @BodyParam("application/json") BinaryData index, RequestOptions requestOptions, Context context);
 
         @Put("/indexes('{indexName}')")
         @ExpectedResponses({ 200, 201 })
@@ -279,10 +272,9 @@ Mono> createOrUpdateIndex(@HostParam("endpoint") String end
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response createOrUpdateIndexSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @HeaderParam("Prefer") String prefer, @PathParam("indexName") String name,
-            @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData index,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Prefer") String prefer,
+            @PathParam("indexName") String name, @HeaderParam("Content-Type") String contentType,
+            @BodyParam("application/json") BinaryData index, RequestOptions requestOptions, Context context);
 
         @Delete("/indexes('{indexName}')")
         @ExpectedResponses({ 204, 404 })
@@ -290,8 +282,8 @@ Response createOrUpdateIndexSync(@HostParam("endpoint") String endpo
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> deleteIndex(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("indexName") String name, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("indexName") String name,
+            RequestOptions requestOptions, Context context);
 
         @Delete("/indexes('{indexName}')")
         @ExpectedResponses({ 204, 404 })
@@ -299,8 +291,8 @@ Mono> deleteIndex(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response deleteIndexSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("indexName") String name, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("indexName") String name,
+            RequestOptions requestOptions, Context context);
 
         @Get("/indexes('{indexName}')")
         @ExpectedResponses({ 200 })
@@ -309,8 +301,8 @@ Response deleteIndexSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> getIndex(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("indexName") String name, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("indexName") String name,
+            RequestOptions requestOptions, Context context);
 
         @Get("/indexes('{indexName}')")
         @ExpectedResponses({ 200 })
@@ -319,8 +311,8 @@ Mono> getIndex(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response getIndexSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("indexName") String name, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("indexName") String name,
+            RequestOptions requestOptions, Context context);
 
         @Get("/indexes")
         @ExpectedResponses({ 200 })
@@ -329,8 +321,7 @@ Response getIndexSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> listIndexes(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context);
 
         @Get("/indexes")
         @ExpectedResponses({ 200 })
@@ -339,8 +330,25 @@ Mono> listIndexes(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response listIndexesSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context);
+
+        @Get("/indexes")
+        @ExpectedResponses({ 200 })
+        @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 })
+        @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 })
+        @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
+        @UnexpectedResponseExceptionType(HttpResponseException.class)
+        Mono> listIndexesWithSelectedProperties(@HostParam("endpoint") String endpoint,
+            @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context);
+
+        @Get("/indexes")
+        @ExpectedResponses({ 200 })
+        @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 })
+        @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 })
+        @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
+        @UnexpectedResponseExceptionType(HttpResponseException.class)
+        Response listIndexesWithSelectedPropertiesSync(@HostParam("endpoint") String endpoint,
+            @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context);
 
         @Post("/indexes")
         @ExpectedResponses({ 201 })
@@ -349,9 +357,8 @@ Response listIndexesSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> createIndex(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData index,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType,
+            @BodyParam("application/json") BinaryData index, RequestOptions requestOptions, Context context);
 
         @Post("/indexes")
         @ExpectedResponses({ 201 })
@@ -360,9 +367,8 @@ Mono> createIndex(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response createIndexSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData index,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType,
+            @BodyParam("application/json") BinaryData index, RequestOptions requestOptions, Context context);
 
         @Get("/indexes('{indexName}')/search.stats")
         @ExpectedResponses({ 200 })
@@ -371,8 +377,8 @@ Response createIndexSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> getIndexStatistics(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("indexName") String name, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("indexName") String name,
+            RequestOptions requestOptions, Context context);
 
         @Get("/indexes('{indexName}')/search.stats")
         @ExpectedResponses({ 200 })
@@ -381,8 +387,8 @@ Mono> getIndexStatistics(@HostParam("endpoint") String endp
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response getIndexStatisticsSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("indexName") String name, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("indexName") String name,
+            RequestOptions requestOptions, Context context);
 
         @Post("/indexes('{indexName}')/search.analyze")
         @ExpectedResponses({ 200 })
@@ -391,9 +397,9 @@ Response getIndexStatisticsSync(@HostParam("endpoint") String endpoi
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> analyzeText(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("indexName") String name, @HeaderParam("Content-Type") String contentType,
-            @BodyParam("application/json") BinaryData request, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("indexName") String name,
+            @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData request,
+            RequestOptions requestOptions, Context context);
 
         @Post("/indexes('{indexName}')/search.analyze")
         @ExpectedResponses({ 200 })
@@ -402,9 +408,9 @@ Mono> analyzeText(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response analyzeTextSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("indexName") String name, @HeaderParam("Content-Type") String contentType,
-            @BodyParam("application/json") BinaryData request, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("indexName") String name,
+            @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData request,
+            RequestOptions requestOptions, Context context);
 
         @Put("/aliases('{aliasName}')")
         @ExpectedResponses({ 200, 201 })
@@ -413,10 +419,9 @@ Response analyzeTextSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> createOrUpdateAlias(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @HeaderParam("Prefer") String prefer, @PathParam("aliasName") String name,
-            @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData alias,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Prefer") String prefer,
+            @PathParam("aliasName") String name, @HeaderParam("Content-Type") String contentType,
+            @BodyParam("application/json") BinaryData alias, RequestOptions requestOptions, Context context);
 
         @Put("/aliases('{aliasName}')")
         @ExpectedResponses({ 200, 201 })
@@ -425,10 +430,9 @@ Mono> createOrUpdateAlias(@HostParam("endpoint") String end
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response createOrUpdateAliasSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @HeaderParam("Prefer") String prefer, @PathParam("aliasName") String name,
-            @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData alias,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Prefer") String prefer,
+            @PathParam("aliasName") String name, @HeaderParam("Content-Type") String contentType,
+            @BodyParam("application/json") BinaryData alias, RequestOptions requestOptions, Context context);
 
         @Delete("/aliases('{aliasName}')")
         @ExpectedResponses({ 204, 404 })
@@ -436,8 +440,8 @@ Response createOrUpdateAliasSync(@HostParam("endpoint") String endpo
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> deleteAlias(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("aliasName") String name, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("aliasName") String name,
+            RequestOptions requestOptions, Context context);
 
         @Delete("/aliases('{aliasName}')")
         @ExpectedResponses({ 204, 404 })
@@ -445,8 +449,8 @@ Mono> deleteAlias(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response deleteAliasSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("aliasName") String name, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("aliasName") String name,
+            RequestOptions requestOptions, Context context);
 
         @Get("/aliases('{aliasName}')")
         @ExpectedResponses({ 200 })
@@ -455,8 +459,8 @@ Response deleteAliasSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> getAlias(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("aliasName") String name, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("aliasName") String name,
+            RequestOptions requestOptions, Context context);
 
         @Get("/aliases('{aliasName}')")
         @ExpectedResponses({ 200 })
@@ -465,8 +469,8 @@ Mono> getAlias(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response getAliasSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("aliasName") String name, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("aliasName") String name,
+            RequestOptions requestOptions, Context context);
 
         @Get("/aliases")
         @ExpectedResponses({ 200 })
@@ -475,8 +479,7 @@ Response getAliasSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> listAliases(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context);
 
         @Get("/aliases")
         @ExpectedResponses({ 200 })
@@ -485,8 +488,7 @@ Mono> listAliases(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response listAliasesSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context);
 
         @Post("/aliases")
         @ExpectedResponses({ 201 })
@@ -495,9 +497,8 @@ Response listAliasesSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> createAlias(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData alias,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType,
+            @BodyParam("application/json") BinaryData alias, RequestOptions requestOptions, Context context);
 
         @Post("/aliases")
         @ExpectedResponses({ 201 })
@@ -506,9 +507,8 @@ Mono> createAlias(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response createAliasSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData alias,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType,
+            @BodyParam("application/json") BinaryData alias, RequestOptions requestOptions, Context context);
 
         @Put("/knowledgebases('{knowledgeBaseName}')")
         @ExpectedResponses({ 200, 201 })
@@ -517,10 +517,9 @@ Response createAliasSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> createOrUpdateKnowledgeBase(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @HeaderParam("Prefer") String prefer, @PathParam("knowledgeBaseName") String name,
-            @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData knowledgeBase,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Prefer") String prefer,
+            @PathParam("knowledgeBaseName") String name, @HeaderParam("Content-Type") String contentType,
+            @BodyParam("application/json") BinaryData knowledgeBase, RequestOptions requestOptions, Context context);
 
         @Put("/knowledgebases('{knowledgeBaseName}')")
         @ExpectedResponses({ 200, 201 })
@@ -529,10 +528,9 @@ Mono> createOrUpdateKnowledgeBase(@HostParam("endpoint") St
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response createOrUpdateKnowledgeBaseSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @HeaderParam("Prefer") String prefer, @PathParam("knowledgeBaseName") String name,
-            @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData knowledgeBase,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Prefer") String prefer,
+            @PathParam("knowledgeBaseName") String name, @HeaderParam("Content-Type") String contentType,
+            @BodyParam("application/json") BinaryData knowledgeBase, RequestOptions requestOptions, Context context);
 
         @Delete("/knowledgebases('{knowledgeBaseName}')")
         @ExpectedResponses({ 204, 404 })
@@ -540,8 +538,8 @@ Response createOrUpdateKnowledgeBaseSync(@HostParam("endpoint") Stri
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> deleteKnowledgeBase(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("knowledgeBaseName") String name, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("knowledgeBaseName") String name,
+            RequestOptions requestOptions, Context context);
 
         @Delete("/knowledgebases('{knowledgeBaseName}')")
         @ExpectedResponses({ 204, 404 })
@@ -549,8 +547,8 @@ Mono> deleteKnowledgeBase(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response deleteKnowledgeBaseSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("knowledgeBaseName") String name, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("knowledgeBaseName") String name,
+            RequestOptions requestOptions, Context context);
 
         @Get("/knowledgebases('{knowledgeBaseName}')")
         @ExpectedResponses({ 200 })
@@ -559,8 +557,8 @@ Response deleteKnowledgeBaseSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> getKnowledgeBase(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("knowledgeBaseName") String name, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("knowledgeBaseName") String name,
+            RequestOptions requestOptions, Context context);
 
         @Get("/knowledgebases('{knowledgeBaseName}')")
         @ExpectedResponses({ 200 })
@@ -569,8 +567,8 @@ Mono> getKnowledgeBase(@HostParam("endpoint") String endpoi
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response getKnowledgeBaseSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("knowledgeBaseName") String name, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("knowledgeBaseName") String name,
+            RequestOptions requestOptions, Context context);
 
         @Get("/knowledgebases")
         @ExpectedResponses({ 200 })
@@ -579,8 +577,7 @@ Response getKnowledgeBaseSync(@HostParam("endpoint") String endpoint
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> listKnowledgeBases(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context);
 
         @Get("/knowledgebases")
         @ExpectedResponses({ 200 })
@@ -589,8 +586,7 @@ Mono> listKnowledgeBases(@HostParam("endpoint") String endp
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response listKnowledgeBasesSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context);
 
         @Post("/knowledgebases")
         @ExpectedResponses({ 201 })
@@ -599,9 +595,8 @@ Response listKnowledgeBasesSync(@HostParam("endpoint") String endpoi
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> createKnowledgeBase(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData knowledgeBase,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType,
+            @BodyParam("application/json") BinaryData knowledgeBase, RequestOptions requestOptions, Context context);
 
         @Post("/knowledgebases")
         @ExpectedResponses({ 201 })
@@ -610,9 +605,8 @@ Mono> createKnowledgeBase(@HostParam("endpoint") String end
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response createKnowledgeBaseSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData knowledgeBase,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType,
+            @BodyParam("application/json") BinaryData knowledgeBase, RequestOptions requestOptions, Context context);
 
         @Put("/knowledgesources('{sourceName}')")
         @ExpectedResponses({ 200, 201 })
@@ -621,10 +615,9 @@ Response createKnowledgeBaseSync(@HostParam("endpoint") String endpo
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> createOrUpdateKnowledgeSource(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @HeaderParam("Prefer") String prefer, @PathParam("sourceName") String name,
-            @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData knowledgeSource,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Prefer") String prefer,
+            @PathParam("sourceName") String name, @HeaderParam("Content-Type") String contentType,
+            @BodyParam("application/json") BinaryData knowledgeSource, RequestOptions requestOptions, Context context);
 
         @Put("/knowledgesources('{sourceName}')")
         @ExpectedResponses({ 200, 201 })
@@ -633,10 +626,9 @@ Mono> createOrUpdateKnowledgeSource(@HostParam("endpoint")
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response createOrUpdateKnowledgeSourceSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @HeaderParam("Prefer") String prefer, @PathParam("sourceName") String name,
-            @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData knowledgeSource,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Prefer") String prefer,
+            @PathParam("sourceName") String name, @HeaderParam("Content-Type") String contentType,
+            @BodyParam("application/json") BinaryData knowledgeSource, RequestOptions requestOptions, Context context);
 
         @Delete("/knowledgesources('{sourceName}')")
         @ExpectedResponses({ 204, 404 })
@@ -644,8 +636,8 @@ Response createOrUpdateKnowledgeSourceSync(@HostParam("endpoint") St
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> deleteKnowledgeSource(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("sourceName") String name, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("sourceName") String name,
+            RequestOptions requestOptions, Context context);
 
         @Delete("/knowledgesources('{sourceName}')")
         @ExpectedResponses({ 204, 404 })
@@ -653,8 +645,8 @@ Mono> deleteKnowledgeSource(@HostParam("endpoint") String endpoin
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response deleteKnowledgeSourceSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("sourceName") String name, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("sourceName") String name,
+            RequestOptions requestOptions, Context context);
 
         @Get("/knowledgesources('{sourceName}')")
         @ExpectedResponses({ 200 })
@@ -663,8 +655,8 @@ Response deleteKnowledgeSourceSync(@HostParam("endpoint") String endpoint,
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> getKnowledgeSource(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("sourceName") String name, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("sourceName") String name,
+            RequestOptions requestOptions, Context context);
 
         @Get("/knowledgesources('{sourceName}')")
         @ExpectedResponses({ 200 })
@@ -673,8 +665,8 @@ Mono> getKnowledgeSource(@HostParam("endpoint") String endp
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response getKnowledgeSourceSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("sourceName") String name, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("sourceName") String name,
+            RequestOptions requestOptions, Context context);
 
         @Get("/knowledgesources")
         @ExpectedResponses({ 200 })
@@ -683,8 +675,7 @@ Response getKnowledgeSourceSync(@HostParam("endpoint") String endpoi
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> listKnowledgeSources(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context);
 
         @Get("/knowledgesources")
         @ExpectedResponses({ 200 })
@@ -693,8 +684,7 @@ Mono> listKnowledgeSources(@HostParam("endpoint") String en
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response listKnowledgeSourcesSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context);
 
         @Post("/knowledgesources")
         @ExpectedResponses({ 201 })
@@ -703,9 +693,8 @@ Response listKnowledgeSourcesSync(@HostParam("endpoint") String endp
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> createKnowledgeSource(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData knowledgeSource,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType,
+            @BodyParam("application/json") BinaryData knowledgeSource, RequestOptions requestOptions, Context context);
 
         @Post("/knowledgesources")
         @ExpectedResponses({ 201 })
@@ -714,9 +703,8 @@ Mono> createKnowledgeSource(@HostParam("endpoint") String e
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response createKnowledgeSourceSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData knowledgeSource,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType,
+            @BodyParam("application/json") BinaryData knowledgeSource, RequestOptions requestOptions, Context context);
 
         @Get("/knowledgesources('{sourceName}')/status")
         @ExpectedResponses({ 200 })
@@ -725,8 +713,8 @@ Response createKnowledgeSourceSync(@HostParam("endpoint") String end
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> getKnowledgeSourceStatus(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("sourceName") String name, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("sourceName") String name,
+            RequestOptions requestOptions, Context context);
 
         @Get("/knowledgesources('{sourceName}')/status")
         @ExpectedResponses({ 200 })
@@ -735,8 +723,8 @@ Mono> getKnowledgeSourceStatus(@HostParam("endpoint") Strin
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response getKnowledgeSourceStatusSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            @PathParam("sourceName") String name, RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, @PathParam("sourceName") String name,
+            RequestOptions requestOptions, Context context);
 
         @Get("/servicestats")
         @ExpectedResponses({ 200 })
@@ -745,8 +733,7 @@ Response getKnowledgeSourceStatusSync(@HostParam("endpoint") String
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Mono> getServiceStatistics(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context);
 
         @Get("/servicestats")
         @ExpectedResponses({ 200 })
@@ -755,28 +742,7 @@ Mono> getServiceStatistics(@HostParam("endpoint") String en
         @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
         @UnexpectedResponseExceptionType(HttpResponseException.class)
         Response getServiceStatisticsSync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
-
-        @Get("/indexstats")
-        @ExpectedResponses({ 200 })
-        @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 })
-        @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 })
-        @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
-        @UnexpectedResponseExceptionType(HttpResponseException.class)
-        Mono> listIndexStatsSummary(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
-
-        @Get("/indexstats")
-        @ExpectedResponses({ 200 })
-        @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 })
-        @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 })
-        @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 })
-        @UnexpectedResponseExceptionType(HttpResponseException.class)
-        Response listIndexStatsSummarySync(@HostParam("endpoint") String endpoint,
-            @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept,
-            RequestOptions requestOptions, Context context);
+            @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context);
     }
 
     /**
@@ -785,6 +751,8 @@ Response listIndexStatsSummarySync(@HostParam("endpoint") String end
      * 
      * 
      * 
+     * 
      * 
      * 
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -857,12 +825,10 @@ Response listIndexStatsSummarySync(@HostParam("endpoint") String end @ServiceMethod(returns = ReturnType.SINGLE) public Mono> createOrUpdateSynonymMapWithResponseAsync(String name, BinaryData synonymMap, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; final String prefer = "return=representation"; final String contentType = "application/json"; - return FluxUtil.withContext( - context -> service.createOrUpdateSynonymMap(this.getEndpoint(), this.getServiceVersion().getVersion(), - accept, prefer, name, contentType, synonymMap, requestOptions, context)); + return FluxUtil.withContext(context -> service.createOrUpdateSynonymMap(this.getEndpoint(), + this.getServiceVersion().getVersion(), prefer, name, contentType, synonymMap, requestOptions, context)); } /** @@ -871,6 +837,8 @@ public Mono> createOrUpdateSynonymMapWithResponseAsync(Stri * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -943,11 +911,10 @@ public Mono> createOrUpdateSynonymMapWithResponseAsync(Stri @ServiceMethod(returns = ReturnType.SINGLE) public Response createOrUpdateSynonymMapWithResponse(String name, BinaryData synonymMap, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; final String prefer = "return=representation"; final String contentType = "application/json"; - return service.createOrUpdateSynonymMapSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, - prefer, name, contentType, synonymMap, requestOptions, Context.NONE); + return service.createOrUpdateSynonymMapSync(this.getEndpoint(), this.getServiceVersion().getVersion(), prefer, + name, contentType, synonymMap, requestOptions, Context.NONE); } /** @@ -956,6 +923,8 @@ public Response createOrUpdateSynonymMapWithResponse(String name, Bi * * * + * * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -972,9 +941,8 @@ public Response createOrUpdateSynonymMapWithResponse(String name, Bi */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteSynonymMapWithResponseAsync(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; return FluxUtil.withContext(context -> service.deleteSynonymMap(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, name, requestOptions, context)); + this.getServiceVersion().getVersion(), name, requestOptions, context)); } /** @@ -983,6 +951,8 @@ public Mono> deleteSynonymMapWithResponseAsync(String name, Reque * * * + * * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -999,13 +969,20 @@ public Mono> deleteSynonymMapWithResponseAsync(String name, Reque */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteSynonymMapWithResponse(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; - return service.deleteSynonymMapSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, name, + return service.deleteSynonymMapSync(this.getEndpoint(), this.getServiceVersion().getVersion(), name, requestOptions, Context.NONE); } /** * Retrieves a synonym map definition. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -1043,13 +1020,20 @@ public Response deleteSynonymMapWithResponse(String name, RequestOptions r
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> getSynonymMapWithResponseAsync(String name, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         return FluxUtil.withContext(context -> service.getSynonymMap(this.getEndpoint(),
-            this.getServiceVersion().getVersion(), accept, name, requestOptions, context));
+            this.getServiceVersion().getVersion(), name, requestOptions, context));
     }
 
     /**
      * Retrieves a synonym map definition.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -1087,8 +1071,7 @@ public Mono> getSynonymMapWithResponseAsync(String name, Re
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response getSynonymMapWithResponse(String name, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
-        return service.getSynonymMapSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, name,
+        return service.getSynonymMapSync(this.getEndpoint(), this.getServiceVersion().getVersion(), name,
             requestOptions, Context.NONE);
     }
 
@@ -1103,6 +1086,14 @@ public Response getSynonymMapWithResponse(String name, RequestOption
      * properties. In the form of "," separated string.
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -1144,9 +1135,8 @@ public Response getSynonymMapWithResponse(String name, RequestOption
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> getSynonymMapsWithResponseAsync(RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         return FluxUtil.withContext(context -> service.getSynonymMaps(this.getEndpoint(),
-            this.getServiceVersion().getVersion(), accept, requestOptions, context));
+            this.getServiceVersion().getVersion(), requestOptions, context));
     }
 
     /**
@@ -1160,6 +1150,14 @@ public Mono> getSynonymMapsWithResponseAsync(RequestOptions
      * properties. In the form of "," separated string.
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -1200,13 +1198,20 @@ public Mono> getSynonymMapsWithResponseAsync(RequestOptions
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response getSynonymMapsWithResponse(RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
-        return service.getSynonymMapsSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept,
-            requestOptions, Context.NONE);
+        return service.getSynonymMapsSync(this.getEndpoint(), this.getServiceVersion().getVersion(), requestOptions,
+            Context.NONE);
     }
 
     /**
      * Creates a new synonym map.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -1272,14 +1277,21 @@ public Response getSynonymMapsWithResponse(RequestOptions requestOpt
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> createSynonymMapWithResponseAsync(BinaryData synonymMap,
         RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         final String contentType = "application/json";
         return FluxUtil.withContext(context -> service.createSynonymMap(this.getEndpoint(),
-            this.getServiceVersion().getVersion(), accept, contentType, synonymMap, requestOptions, context));
+            this.getServiceVersion().getVersion(), contentType, synonymMap, requestOptions, context));
     }
 
     /**
      * Creates a new synonym map.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -1344,10 +1356,9 @@ public Mono> createSynonymMapWithResponseAsync(BinaryData s
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response createSynonymMapWithResponse(BinaryData synonymMap, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         final String contentType = "application/json";
-        return service.createSynonymMapSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept,
-            contentType, synonymMap, requestOptions, Context.NONE);
+        return service.createSynonymMapSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType,
+            synonymMap, requestOptions, Context.NONE);
     }
 
     /**
@@ -1366,6 +1377,8 @@ public Response createSynonymMapWithResponse(BinaryData synonymMap,
      * 
      * 
      * 
+     * 
      * 
      * 
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -1504,7 +1517,6 @@ public Response createSynonymMapWithResponse(BinaryData synonymMap, * ] * } * rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional) - * flightingOptIn: Boolean (Optional) * } * ] * } @@ -1542,8 +1554,6 @@ public Response createSynonymMapWithResponse(BinaryData synonymMap, * } * ] * } - * permissionFilterOption: String(enabled/disabled) (Optional) - * purviewEnabled: Boolean (Optional) * @odata.etag: String (Optional) * } * } @@ -1681,7 +1691,6 @@ public Response createSynonymMapWithResponse(BinaryData synonymMap, * ] * } * rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional) - * flightingOptIn: Boolean (Optional) * } * ] * } @@ -1719,8 +1728,6 @@ public Response createSynonymMapWithResponse(BinaryData synonymMap, * } * ] * } - * permissionFilterOption: String(enabled/disabled) (Optional) - * purviewEnabled: Boolean (Optional) * @odata.etag: String (Optional) * } * } @@ -1739,11 +1746,10 @@ public Response createSynonymMapWithResponse(BinaryData synonymMap, @ServiceMethod(returns = ReturnType.SINGLE) public Mono> createOrUpdateIndexWithResponseAsync(String name, BinaryData index, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; final String prefer = "return=representation"; final String contentType = "application/json"; return FluxUtil.withContext(context -> service.createOrUpdateIndex(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, prefer, name, contentType, index, requestOptions, context)); + this.getServiceVersion().getVersion(), prefer, name, contentType, index, requestOptions, context)); } /** @@ -1762,6 +1768,8 @@ public Mono> createOrUpdateIndexWithResponseAsync(String na * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -1900,7 +1908,6 @@ public Mono> createOrUpdateIndexWithResponseAsync(String na * ] * } * rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional) - * flightingOptIn: Boolean (Optional) * } * ] * } @@ -1938,8 +1945,6 @@ public Mono> createOrUpdateIndexWithResponseAsync(String na * } * ] * } - * permissionFilterOption: String(enabled/disabled) (Optional) - * purviewEnabled: Boolean (Optional) * @odata.etag: String (Optional) * } * } @@ -2077,7 +2082,6 @@ public Mono> createOrUpdateIndexWithResponseAsync(String na * ] * } * rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional) - * flightingOptIn: Boolean (Optional) * } * ] * } @@ -2115,8 +2119,6 @@ public Mono> createOrUpdateIndexWithResponseAsync(String na * } * ] * } - * permissionFilterOption: String(enabled/disabled) (Optional) - * purviewEnabled: Boolean (Optional) * @odata.etag: String (Optional) * } * } @@ -2135,11 +2137,10 @@ public Mono> createOrUpdateIndexWithResponseAsync(String na @ServiceMethod(returns = ReturnType.SINGLE) public Response createOrUpdateIndexWithResponse(String name, BinaryData index, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; final String prefer = "return=representation"; final String contentType = "application/json"; - return service.createOrUpdateIndexSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, - prefer, name, contentType, index, requestOptions, Context.NONE); + return service.createOrUpdateIndexSync(this.getEndpoint(), this.getServiceVersion().getVersion(), prefer, name, + contentType, index, requestOptions, Context.NONE); } /** @@ -2150,6 +2151,8 @@ public Response createOrUpdateIndexWithResponse(String name, BinaryD * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -2166,9 +2169,8 @@ public Response createOrUpdateIndexWithResponse(String name, BinaryD */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteIndexWithResponseAsync(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; return FluxUtil.withContext(context -> service.deleteIndex(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, name, requestOptions, context)); + this.getServiceVersion().getVersion(), name, requestOptions, context)); } /** @@ -2179,6 +2181,8 @@ public Mono> deleteIndexWithResponseAsync(String name, RequestOpt * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -2195,13 +2199,20 @@ public Mono> deleteIndexWithResponseAsync(String name, RequestOpt */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteIndexWithResponse(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; - return service.deleteIndexSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, name, - requestOptions, Context.NONE); + return service.deleteIndexSync(this.getEndpoint(), this.getServiceVersion().getVersion(), name, requestOptions, + Context.NONE); } /** * Retrieves an index definition. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -2334,7 +2345,6 @@ public Response deleteIndexWithResponse(String name, RequestOptions reques
      *                     ]
      *                 }
      *                 rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional)
-     *                 flightingOptIn: Boolean (Optional)
      *             }
      *         ]
      *     }
@@ -2372,8 +2382,6 @@ public Response deleteIndexWithResponse(String name, RequestOptions reques
      *             }
      *         ]
      *     }
-     *     permissionFilterOption: String(enabled/disabled) (Optional)
-     *     purviewEnabled: Boolean (Optional)
      *     @odata.etag: String (Optional)
      * }
      * }
@@ -2390,13 +2398,20 @@ public Response deleteIndexWithResponse(String name, RequestOptions reques
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> getIndexWithResponseAsync(String name, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         return FluxUtil.withContext(context -> service.getIndex(this.getEndpoint(),
-            this.getServiceVersion().getVersion(), accept, name, requestOptions, context));
+            this.getServiceVersion().getVersion(), name, requestOptions, context));
     }
 
     /**
      * Retrieves an index definition.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -2529,7 +2544,6 @@ public Mono> getIndexWithResponseAsync(String name, Request
      *                     ]
      *                 }
      *                 rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional)
-     *                 flightingOptIn: Boolean (Optional)
      *             }
      *         ]
      *     }
@@ -2567,8 +2581,6 @@ public Mono> getIndexWithResponseAsync(String name, Request
      *             }
      *         ]
      *     }
-     *     permissionFilterOption: String(enabled/disabled) (Optional)
-     *     purviewEnabled: Boolean (Optional)
      *     @odata.etag: String (Optional)
      * }
      * }
@@ -2585,22 +2597,20 @@ public Mono> getIndexWithResponseAsync(String name, Request
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response getIndexWithResponse(String name, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
-        return service.getIndexSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, name,
-            requestOptions, Context.NONE);
+        return service.getIndexSync(this.getEndpoint(), this.getServiceVersion().getVersion(), name, requestOptions,
+            Context.NONE);
     }
 
     /**
      * Lists all indexes available for a search service.
-     * 

Query Parameters

+ *

Header Parameters

* - * + * * - * + * *
Query ParametersHeader Parameters
NameTypeRequiredDescription
$selectList<String>NoSelects which top-level properties to retrieve. - * Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all - * properties. In the form of "," separated string.
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
- * You can add these to a request with {@link RequestOptions#addQueryParam} + * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -2733,7 +2743,6 @@ public Response getIndexWithResponse(String name, RequestOptions req
      *                     ]
      *                 }
      *                 rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional)
-     *                 flightingOptIn: Boolean (Optional)
      *             }
      *         ]
      *     }
@@ -2771,8 +2780,6 @@ public Response getIndexWithResponse(String name, RequestOptions req
      *             }
      *         ]
      *     }
-     *     permissionFilterOption: String(enabled/disabled) (Optional)
-     *     purviewEnabled: Boolean (Optional)
      *     @odata.etag: String (Optional)
      * }
      * }
@@ -2788,25 +2795,23 @@ public Response getIndexWithResponse(String name, RequestOptions req
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     private Mono> listIndexesSinglePageAsync(RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         return FluxUtil
             .withContext(context -> service.listIndexes(this.getEndpoint(), this.getServiceVersion().getVersion(),
-                accept, requestOptions, context))
+                requestOptions, context))
             .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
                 getValues(res.getValue(), "value"), null, null));
     }
 
     /**
      * Lists all indexes available for a search service.
-     * 

Query Parameters

+ *

Header Parameters

* - * + * * - * + * *
Query ParametersHeader Parameters
NameTypeRequiredDescription
$selectList<String>NoSelects which top-level properties to retrieve. - * Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all - * properties. In the form of "," separated string.
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
- * You can add these to a request with {@link RequestOptions#addQueryParam} + * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -2939,7 +2944,6 @@ private Mono> listIndexesSinglePageAsync(RequestOption
      *                     ]
      *                 }
      *                 rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional)
-     *                 flightingOptIn: Boolean (Optional)
      *             }
      *         ]
      *     }
@@ -2977,8 +2981,6 @@ private Mono> listIndexesSinglePageAsync(RequestOption
      *             }
      *         ]
      *     }
-     *     permissionFilterOption: String(enabled/disabled) (Optional)
-     *     purviewEnabled: Boolean (Optional)
      *     @odata.etag: String (Optional)
      * }
      * }
@@ -2998,15 +3000,14 @@ public PagedFlux listIndexesAsync(RequestOptions requestOptions) {
 
     /**
      * Lists all indexes available for a search service.
-     * 

Query Parameters

+ *

Header Parameters

* - * + * * - * + * *
Query ParametersHeader Parameters
NameTypeRequiredDescription
$selectList<String>NoSelects which top-level properties to retrieve. - * Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all - * properties. In the form of "," separated string.
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
- * You can add these to a request with {@link RequestOptions#addQueryParam} + * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -3139,7 +3140,6 @@ public PagedFlux listIndexesAsync(RequestOptions requestOptions) {
      *                     ]
      *                 }
      *                 rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional)
-     *                 flightingOptIn: Boolean (Optional)
      *             }
      *         ]
      *     }
@@ -3177,8 +3177,6 @@ public PagedFlux listIndexesAsync(RequestOptions requestOptions) {
      *             }
      *         ]
      *     }
-     *     permissionFilterOption: String(enabled/disabled) (Optional)
-     *     purviewEnabled: Boolean (Optional)
      *     @odata.etag: String (Optional)
      * }
      * }
@@ -3193,24 +3191,22 @@ public PagedFlux listIndexesAsync(RequestOptions requestOptions) {
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     private PagedResponse listIndexesSinglePage(RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         Response res = service.listIndexesSync(this.getEndpoint(), this.getServiceVersion().getVersion(),
-            accept, requestOptions, Context.NONE);
+            requestOptions, Context.NONE);
         return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
             getValues(res.getValue(), "value"), null, null);
     }
 
     /**
      * Lists all indexes available for a search service.
-     * 

Query Parameters

+ *

Header Parameters

* - * + * * - * + * *
Query ParametersHeader Parameters
NameTypeRequiredDescription
$selectList<String>NoSelects which top-level properties to retrieve. - * Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all - * properties. In the form of "," separated string.
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
- * You can add these to a request with {@link RequestOptions#addQueryParam} + * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -3343,7 +3339,6 @@ private PagedResponse listIndexesSinglePage(RequestOptions requestOp
      *                     ]
      *                 }
      *                 rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional)
-     *                 flightingOptIn: Boolean (Optional)
      *             }
      *         ]
      *     }
@@ -3381,8 +3376,6 @@ private PagedResponse listIndexesSinglePage(RequestOptions requestOp
      *             }
      *         ]
      *     }
-     *     permissionFilterOption: String(enabled/disabled) (Optional)
-     *     purviewEnabled: Boolean (Optional)
      *     @odata.etag: String (Optional)
      * }
      * }
@@ -3401,16 +3394,33 @@ public PagedIterable listIndexes(RequestOptions requestOptions) {
     }
 
     /**
-     * Creates a new search index.
-     * 

Request Body Schema

+ * Lists all indexes available for a search service. + *

Query Parameters

+ * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
$selectList<String>NoSelects which top-level properties to retrieve. + * Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all + * properties. In the form of "," separated string.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

* *
      * {@code
      * {
      *     name: String (Required)
      *     description: String (Optional)
-     *     fields (Required): [
-     *          (Required){
+     *     fields (Optional): [
+     *          (Optional){
      *             name: String (Required)
      *             type: String(Edm.String/Edm.Int32/Edm.Int64/Edm.Double/Edm.Boolean/Edm.DateTimeOffset/Edm.GeographyPoint/Edm.ComplexType/Edm.Single/Edm.Half/Edm.Int16/Edm.SByte/Edm.Byte) (Required)
      *             key: Boolean (Optional)
@@ -3534,7 +3544,6 @@ public PagedIterable listIndexes(RequestOptions requestOptions) {
      *                     ]
      *                 }
      *                 rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional)
-     *                 flightingOptIn: Boolean (Optional)
      *             }
      *         ]
      *     }
@@ -3572,13 +3581,48 @@ public PagedIterable listIndexes(RequestOptions requestOptions) {
      *             }
      *         ]
      *     }
-     *     permissionFilterOption: String(enabled/disabled) (Optional)
-     *     purviewEnabled: Boolean (Optional)
      *     @odata.etag: String (Optional)
      * }
      * }
      * 
* + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response from a List Indexes request along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listIndexesWithSelectedPropertiesSinglePageAsync(RequestOptions requestOptions) { + return FluxUtil + .withContext(context -> service.listIndexesWithSelectedProperties(this.getEndpoint(), + this.getServiceVersion().getVersion(), requestOptions, context)) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "value"), null, null)); + } + + /** + * Lists all indexes available for a search service. + *

Query Parameters

+ * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
$selectList<String>NoSelects which top-level properties to retrieve. + * Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all + * properties. In the form of "," separated string.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -3586,8 +3630,8 @@ public PagedIterable listIndexes(RequestOptions requestOptions) {
      * {
      *     name: String (Required)
      *     description: String (Optional)
-     *     fields (Required): [
-     *          (Required){
+     *     fields (Optional): [
+     *          (Optional){
      *             name: String (Required)
      *             type: String(Edm.String/Edm.Int32/Edm.Int64/Edm.Double/Edm.Boolean/Edm.DateTimeOffset/Edm.GeographyPoint/Edm.ComplexType/Edm.Single/Edm.Half/Edm.Int16/Edm.SByte/Edm.Byte) (Required)
      *             key: Boolean (Optional)
@@ -3711,7 +3755,6 @@ public PagedIterable listIndexes(RequestOptions requestOptions) {
      *                     ]
      *                 }
      *                 rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional)
-     *                 flightingOptIn: Boolean (Optional)
      *             }
      *         ]
      *     }
@@ -3749,43 +3792,831 @@ public PagedIterable listIndexes(RequestOptions requestOptions) {
      *             }
      *         ]
      *     }
-     *     permissionFilterOption: String(enabled/disabled) (Optional)
-     *     purviewEnabled: Boolean (Optional)
      *     @odata.etag: String (Optional)
      * }
      * }
      * 
* - * @param index The definition of the index to create. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return represents a search index definition, which describes the fields and search behavior of an index along - * with {@link Response} on successful completion of {@link Mono}. + * @return response from a List Indexes request as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createIndexWithResponseAsync(BinaryData index, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; - final String contentType = "application/json"; - return FluxUtil.withContext(context -> service.createIndex(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, contentType, index, requestOptions, context)); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listIndexesWithSelectedPropertiesAsync(RequestOptions requestOptions) { + return new PagedFlux<>(() -> listIndexesWithSelectedPropertiesSinglePageAsync(requestOptions)); } /** - * Creates a new search index. - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     name: String (Required)
-     *     description: String (Optional)
-     *     fields (Required): [
-     *          (Required){
-     *             name: String (Required)
-     *             type: String(Edm.String/Edm.Int32/Edm.Int64/Edm.Double/Edm.Boolean/Edm.DateTimeOffset/Edm.GeographyPoint/Edm.ComplexType/Edm.Single/Edm.Half/Edm.Int16/Edm.SByte/Edm.Byte) (Required)
+     * Lists all indexes available for a search service.
+     * 

Query Parameters

+ * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
$selectList<String>NoSelects which top-level properties to retrieve. + * Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all + * properties. In the form of "," separated string.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     fields (Optional): [
+     *          (Optional){
+     *             name: String (Required)
+     *             type: String(Edm.String/Edm.Int32/Edm.Int64/Edm.Double/Edm.Boolean/Edm.DateTimeOffset/Edm.GeographyPoint/Edm.ComplexType/Edm.Single/Edm.Half/Edm.Int16/Edm.SByte/Edm.Byte) (Required)
+     *             key: Boolean (Optional)
+     *             retrievable: Boolean (Optional)
+     *             stored: Boolean (Optional)
+     *             searchable: Boolean (Optional)
+     *             filterable: Boolean (Optional)
+     *             sortable: Boolean (Optional)
+     *             facetable: Boolean (Optional)
+     *             permissionFilter: String(userIds/groupIds/rbacScope) (Optional)
+     *             sensitivityLabel: Boolean (Optional)
+     *             analyzer: String(ar.microsoft/ar.lucene/hy.lucene/bn.microsoft/eu.lucene/bg.microsoft/bg.lucene/ca.microsoft/ca.lucene/zh-Hans.microsoft/zh-Hans.lucene/zh-Hant.microsoft/zh-Hant.lucene/hr.microsoft/cs.microsoft/cs.lucene/da.microsoft/da.lucene/nl.microsoft/nl.lucene/en.microsoft/en.lucene/et.microsoft/fi.microsoft/fi.lucene/fr.microsoft/fr.lucene/gl.lucene/de.microsoft/de.lucene/el.microsoft/el.lucene/gu.microsoft/he.microsoft/hi.microsoft/hi.lucene/hu.microsoft/hu.lucene/is.microsoft/id.microsoft/id.lucene/ga.lucene/it.microsoft/it.lucene/ja.microsoft/ja.lucene/kn.microsoft/ko.microsoft/ko.lucene/lv.microsoft/lv.lucene/lt.microsoft/ml.microsoft/ms.microsoft/mr.microsoft/nb.microsoft/no.lucene/fa.lucene/pl.microsoft/pl.lucene/pt-BR.microsoft/pt-BR.lucene/pt-PT.microsoft/pt-PT.lucene/pa.microsoft/ro.microsoft/ro.lucene/ru.microsoft/ru.lucene/sr-cyrillic.microsoft/sr-latin.microsoft/sk.microsoft/sl.microsoft/es.microsoft/es.lucene/sv.microsoft/sv.lucene/ta.microsoft/te.microsoft/th.microsoft/th.lucene/tr.microsoft/tr.lucene/uk.microsoft/ur.microsoft/vi.microsoft/standard.lucene/standardasciifolding.lucene/keyword/pattern/simple/stop/whitespace) (Optional)
+     *             searchAnalyzer: String(ar.microsoft/ar.lucene/hy.lucene/bn.microsoft/eu.lucene/bg.microsoft/bg.lucene/ca.microsoft/ca.lucene/zh-Hans.microsoft/zh-Hans.lucene/zh-Hant.microsoft/zh-Hant.lucene/hr.microsoft/cs.microsoft/cs.lucene/da.microsoft/da.lucene/nl.microsoft/nl.lucene/en.microsoft/en.lucene/et.microsoft/fi.microsoft/fi.lucene/fr.microsoft/fr.lucene/gl.lucene/de.microsoft/de.lucene/el.microsoft/el.lucene/gu.microsoft/he.microsoft/hi.microsoft/hi.lucene/hu.microsoft/hu.lucene/is.microsoft/id.microsoft/id.lucene/ga.lucene/it.microsoft/it.lucene/ja.microsoft/ja.lucene/kn.microsoft/ko.microsoft/ko.lucene/lv.microsoft/lv.lucene/lt.microsoft/ml.microsoft/ms.microsoft/mr.microsoft/nb.microsoft/no.lucene/fa.lucene/pl.microsoft/pl.lucene/pt-BR.microsoft/pt-BR.lucene/pt-PT.microsoft/pt-PT.lucene/pa.microsoft/ro.microsoft/ro.lucene/ru.microsoft/ru.lucene/sr-cyrillic.microsoft/sr-latin.microsoft/sk.microsoft/sl.microsoft/es.microsoft/es.lucene/sv.microsoft/sv.lucene/ta.microsoft/te.microsoft/th.microsoft/th.lucene/tr.microsoft/tr.lucene/uk.microsoft/ur.microsoft/vi.microsoft/standard.lucene/standardasciifolding.lucene/keyword/pattern/simple/stop/whitespace) (Optional)
+     *             indexAnalyzer: String(ar.microsoft/ar.lucene/hy.lucene/bn.microsoft/eu.lucene/bg.microsoft/bg.lucene/ca.microsoft/ca.lucene/zh-Hans.microsoft/zh-Hans.lucene/zh-Hant.microsoft/zh-Hant.lucene/hr.microsoft/cs.microsoft/cs.lucene/da.microsoft/da.lucene/nl.microsoft/nl.lucene/en.microsoft/en.lucene/et.microsoft/fi.microsoft/fi.lucene/fr.microsoft/fr.lucene/gl.lucene/de.microsoft/de.lucene/el.microsoft/el.lucene/gu.microsoft/he.microsoft/hi.microsoft/hi.lucene/hu.microsoft/hu.lucene/is.microsoft/id.microsoft/id.lucene/ga.lucene/it.microsoft/it.lucene/ja.microsoft/ja.lucene/kn.microsoft/ko.microsoft/ko.lucene/lv.microsoft/lv.lucene/lt.microsoft/ml.microsoft/ms.microsoft/mr.microsoft/nb.microsoft/no.lucene/fa.lucene/pl.microsoft/pl.lucene/pt-BR.microsoft/pt-BR.lucene/pt-PT.microsoft/pt-PT.lucene/pa.microsoft/ro.microsoft/ro.lucene/ru.microsoft/ru.lucene/sr-cyrillic.microsoft/sr-latin.microsoft/sk.microsoft/sl.microsoft/es.microsoft/es.lucene/sv.microsoft/sv.lucene/ta.microsoft/te.microsoft/th.microsoft/th.lucene/tr.microsoft/tr.lucene/uk.microsoft/ur.microsoft/vi.microsoft/standard.lucene/standardasciifolding.lucene/keyword/pattern/simple/stop/whitespace) (Optional)
+     *             normalizer: String(asciifolding/elision/lowercase/standard/uppercase) (Optional)
+     *             dimensions: Integer (Optional)
+     *             vectorSearchProfile: String (Optional)
+     *             vectorEncoding: String(packedBit) (Optional)
+     *             synonymMaps (Optional): [
+     *                 String (Optional)
+     *             ]
+     *             fields (Optional): [
+     *                 (recursive schema, see above)
+     *             ]
+     *         }
+     *     ]
+     *     scoringProfiles (Optional): [
+     *          (Optional){
+     *             name: String (Required)
+     *             text (Optional): {
+     *                 weights (Required): {
+     *                     String: double (Required)
+     *                 }
+     *             }
+     *             functions (Optional): [
+     *                  (Optional){
+     *                     type: String (Required)
+     *                     fieldName: String (Required)
+     *                     boost: double (Required)
+     *                     interpolation: String(linear/constant/quadratic/logarithmic) (Optional)
+     *                 }
+     *             ]
+     *             functionAggregation: String(sum/average/minimum/maximum/firstMatching/product) (Optional)
+     *         }
+     *     ]
+     *     defaultScoringProfile: String (Optional)
+     *     corsOptions (Optional): {
+     *         allowedOrigins (Required): [
+     *             String (Required)
+     *         ]
+     *         maxAgeInSeconds: Long (Optional)
+     *     }
+     *     suggesters (Optional): [
+     *          (Optional){
+     *             name: String (Required)
+     *             searchMode: String (Required)
+     *             sourceFields (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *     ]
+     *     analyzers (Optional): [
+     *          (Optional){
+     *             @odata.type: String (Required)
+     *             name: String (Required)
+     *         }
+     *     ]
+     *     tokenizers (Optional): [
+     *          (Optional){
+     *             @odata.type: String (Required)
+     *             name: String (Required)
+     *         }
+     *     ]
+     *     tokenFilters (Optional): [
+     *          (Optional){
+     *             @odata.type: String (Required)
+     *             name: String (Required)
+     *         }
+     *     ]
+     *     charFilters (Optional): [
+     *          (Optional){
+     *             @odata.type: String (Required)
+     *             name: String (Required)
+     *         }
+     *     ]
+     *     normalizers (Optional): [
+     *          (Optional){
+     *             @odata.type: String (Required)
+     *             name: String (Required)
+     *         }
+     *     ]
+     *     encryptionKey (Optional): {
+     *         keyVaultKeyName: String (Required)
+     *         keyVaultKeyVersion: String (Optional)
+     *         keyVaultUri: String (Required)
+     *         accessCredentials (Optional): {
+     *             applicationId: String (Required)
+     *             applicationSecret: String (Optional)
+     *         }
+     *         identity (Optional): {
+     *             @odata.type: String (Required)
+     *         }
+     *     }
+     *     similarity (Optional): {
+     *         @odata.type: String (Required)
+     *     }
+     *     semantic (Optional): {
+     *         defaultConfiguration: String (Optional)
+     *         configurations (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 prioritizedFields (Required): {
+     *                     titleField (Optional): {
+     *                         fieldName: String (Required)
+     *                     }
+     *                     prioritizedContentFields (Optional): [
+     *                         (recursive schema, see above)
+     *                     ]
+     *                     prioritizedKeywordsFields (Optional): [
+     *                         (recursive schema, see above)
+     *                     ]
+     *                 }
+     *                 rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional)
+     *             }
+     *         ]
+     *     }
+     *     vectorSearch (Optional): {
+     *         profiles (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 algorithm: String (Required)
+     *                 vectorizer: String (Optional)
+     *                 compression: String (Optional)
+     *             }
+     *         ]
+     *         algorithms (Optional): [
+     *              (Optional){
+     *                 kind: String(hnsw/exhaustiveKnn) (Required)
+     *                 name: String (Required)
+     *             }
+     *         ]
+     *         vectorizers (Optional): [
+     *              (Optional){
+     *                 kind: String(azureOpenAI/customWebApi/aiServicesVision/aml) (Required)
+     *                 name: String (Required)
+     *             }
+     *         ]
+     *         compressions (Optional): [
+     *              (Optional){
+     *                 kind: String(scalarQuantization/binaryQuantization) (Required)
+     *                 name: String (Required)
+     *                 rescoringOptions (Optional): {
+     *                     enableRescoring: Boolean (Optional)
+     *                     defaultOversampling: Double (Optional)
+     *                     rescoreStorageMethod: String(preserveOriginals/discardOriginals) (Optional)
+     *                 }
+     *                 truncationDimension: Integer (Optional)
+     *             }
+     *         ]
+     *     }
+     *     @odata.etag: String (Optional)
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response from a List Indexes request along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listIndexesWithSelectedPropertiesSinglePage(RequestOptions requestOptions) { + Response res = service.listIndexesWithSelectedPropertiesSync(this.getEndpoint(), + this.getServiceVersion().getVersion(), requestOptions, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + getValues(res.getValue(), "value"), null, null); + } + + /** + * Lists all indexes available for a search service. + *

Query Parameters

+ * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
$selectList<String>NoSelects which top-level properties to retrieve. + * Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all + * properties. In the form of "," separated string.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     fields (Optional): [
+     *          (Optional){
+     *             name: String (Required)
+     *             type: String(Edm.String/Edm.Int32/Edm.Int64/Edm.Double/Edm.Boolean/Edm.DateTimeOffset/Edm.GeographyPoint/Edm.ComplexType/Edm.Single/Edm.Half/Edm.Int16/Edm.SByte/Edm.Byte) (Required)
+     *             key: Boolean (Optional)
+     *             retrievable: Boolean (Optional)
+     *             stored: Boolean (Optional)
+     *             searchable: Boolean (Optional)
+     *             filterable: Boolean (Optional)
+     *             sortable: Boolean (Optional)
+     *             facetable: Boolean (Optional)
+     *             permissionFilter: String(userIds/groupIds/rbacScope) (Optional)
+     *             sensitivityLabel: Boolean (Optional)
+     *             analyzer: String(ar.microsoft/ar.lucene/hy.lucene/bn.microsoft/eu.lucene/bg.microsoft/bg.lucene/ca.microsoft/ca.lucene/zh-Hans.microsoft/zh-Hans.lucene/zh-Hant.microsoft/zh-Hant.lucene/hr.microsoft/cs.microsoft/cs.lucene/da.microsoft/da.lucene/nl.microsoft/nl.lucene/en.microsoft/en.lucene/et.microsoft/fi.microsoft/fi.lucene/fr.microsoft/fr.lucene/gl.lucene/de.microsoft/de.lucene/el.microsoft/el.lucene/gu.microsoft/he.microsoft/hi.microsoft/hi.lucene/hu.microsoft/hu.lucene/is.microsoft/id.microsoft/id.lucene/ga.lucene/it.microsoft/it.lucene/ja.microsoft/ja.lucene/kn.microsoft/ko.microsoft/ko.lucene/lv.microsoft/lv.lucene/lt.microsoft/ml.microsoft/ms.microsoft/mr.microsoft/nb.microsoft/no.lucene/fa.lucene/pl.microsoft/pl.lucene/pt-BR.microsoft/pt-BR.lucene/pt-PT.microsoft/pt-PT.lucene/pa.microsoft/ro.microsoft/ro.lucene/ru.microsoft/ru.lucene/sr-cyrillic.microsoft/sr-latin.microsoft/sk.microsoft/sl.microsoft/es.microsoft/es.lucene/sv.microsoft/sv.lucene/ta.microsoft/te.microsoft/th.microsoft/th.lucene/tr.microsoft/tr.lucene/uk.microsoft/ur.microsoft/vi.microsoft/standard.lucene/standardasciifolding.lucene/keyword/pattern/simple/stop/whitespace) (Optional)
+     *             searchAnalyzer: String(ar.microsoft/ar.lucene/hy.lucene/bn.microsoft/eu.lucene/bg.microsoft/bg.lucene/ca.microsoft/ca.lucene/zh-Hans.microsoft/zh-Hans.lucene/zh-Hant.microsoft/zh-Hant.lucene/hr.microsoft/cs.microsoft/cs.lucene/da.microsoft/da.lucene/nl.microsoft/nl.lucene/en.microsoft/en.lucene/et.microsoft/fi.microsoft/fi.lucene/fr.microsoft/fr.lucene/gl.lucene/de.microsoft/de.lucene/el.microsoft/el.lucene/gu.microsoft/he.microsoft/hi.microsoft/hi.lucene/hu.microsoft/hu.lucene/is.microsoft/id.microsoft/id.lucene/ga.lucene/it.microsoft/it.lucene/ja.microsoft/ja.lucene/kn.microsoft/ko.microsoft/ko.lucene/lv.microsoft/lv.lucene/lt.microsoft/ml.microsoft/ms.microsoft/mr.microsoft/nb.microsoft/no.lucene/fa.lucene/pl.microsoft/pl.lucene/pt-BR.microsoft/pt-BR.lucene/pt-PT.microsoft/pt-PT.lucene/pa.microsoft/ro.microsoft/ro.lucene/ru.microsoft/ru.lucene/sr-cyrillic.microsoft/sr-latin.microsoft/sk.microsoft/sl.microsoft/es.microsoft/es.lucene/sv.microsoft/sv.lucene/ta.microsoft/te.microsoft/th.microsoft/th.lucene/tr.microsoft/tr.lucene/uk.microsoft/ur.microsoft/vi.microsoft/standard.lucene/standardasciifolding.lucene/keyword/pattern/simple/stop/whitespace) (Optional)
+     *             indexAnalyzer: String(ar.microsoft/ar.lucene/hy.lucene/bn.microsoft/eu.lucene/bg.microsoft/bg.lucene/ca.microsoft/ca.lucene/zh-Hans.microsoft/zh-Hans.lucene/zh-Hant.microsoft/zh-Hant.lucene/hr.microsoft/cs.microsoft/cs.lucene/da.microsoft/da.lucene/nl.microsoft/nl.lucene/en.microsoft/en.lucene/et.microsoft/fi.microsoft/fi.lucene/fr.microsoft/fr.lucene/gl.lucene/de.microsoft/de.lucene/el.microsoft/el.lucene/gu.microsoft/he.microsoft/hi.microsoft/hi.lucene/hu.microsoft/hu.lucene/is.microsoft/id.microsoft/id.lucene/ga.lucene/it.microsoft/it.lucene/ja.microsoft/ja.lucene/kn.microsoft/ko.microsoft/ko.lucene/lv.microsoft/lv.lucene/lt.microsoft/ml.microsoft/ms.microsoft/mr.microsoft/nb.microsoft/no.lucene/fa.lucene/pl.microsoft/pl.lucene/pt-BR.microsoft/pt-BR.lucene/pt-PT.microsoft/pt-PT.lucene/pa.microsoft/ro.microsoft/ro.lucene/ru.microsoft/ru.lucene/sr-cyrillic.microsoft/sr-latin.microsoft/sk.microsoft/sl.microsoft/es.microsoft/es.lucene/sv.microsoft/sv.lucene/ta.microsoft/te.microsoft/th.microsoft/th.lucene/tr.microsoft/tr.lucene/uk.microsoft/ur.microsoft/vi.microsoft/standard.lucene/standardasciifolding.lucene/keyword/pattern/simple/stop/whitespace) (Optional)
+     *             normalizer: String(asciifolding/elision/lowercase/standard/uppercase) (Optional)
+     *             dimensions: Integer (Optional)
+     *             vectorSearchProfile: String (Optional)
+     *             vectorEncoding: String(packedBit) (Optional)
+     *             synonymMaps (Optional): [
+     *                 String (Optional)
+     *             ]
+     *             fields (Optional): [
+     *                 (recursive schema, see above)
+     *             ]
+     *         }
+     *     ]
+     *     scoringProfiles (Optional): [
+     *          (Optional){
+     *             name: String (Required)
+     *             text (Optional): {
+     *                 weights (Required): {
+     *                     String: double (Required)
+     *                 }
+     *             }
+     *             functions (Optional): [
+     *                  (Optional){
+     *                     type: String (Required)
+     *                     fieldName: String (Required)
+     *                     boost: double (Required)
+     *                     interpolation: String(linear/constant/quadratic/logarithmic) (Optional)
+     *                 }
+     *             ]
+     *             functionAggregation: String(sum/average/minimum/maximum/firstMatching/product) (Optional)
+     *         }
+     *     ]
+     *     defaultScoringProfile: String (Optional)
+     *     corsOptions (Optional): {
+     *         allowedOrigins (Required): [
+     *             String (Required)
+     *         ]
+     *         maxAgeInSeconds: Long (Optional)
+     *     }
+     *     suggesters (Optional): [
+     *          (Optional){
+     *             name: String (Required)
+     *             searchMode: String (Required)
+     *             sourceFields (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *     ]
+     *     analyzers (Optional): [
+     *          (Optional){
+     *             @odata.type: String (Required)
+     *             name: String (Required)
+     *         }
+     *     ]
+     *     tokenizers (Optional): [
+     *          (Optional){
+     *             @odata.type: String (Required)
+     *             name: String (Required)
+     *         }
+     *     ]
+     *     tokenFilters (Optional): [
+     *          (Optional){
+     *             @odata.type: String (Required)
+     *             name: String (Required)
+     *         }
+     *     ]
+     *     charFilters (Optional): [
+     *          (Optional){
+     *             @odata.type: String (Required)
+     *             name: String (Required)
+     *         }
+     *     ]
+     *     normalizers (Optional): [
+     *          (Optional){
+     *             @odata.type: String (Required)
+     *             name: String (Required)
+     *         }
+     *     ]
+     *     encryptionKey (Optional): {
+     *         keyVaultKeyName: String (Required)
+     *         keyVaultKeyVersion: String (Optional)
+     *         keyVaultUri: String (Required)
+     *         accessCredentials (Optional): {
+     *             applicationId: String (Required)
+     *             applicationSecret: String (Optional)
+     *         }
+     *         identity (Optional): {
+     *             @odata.type: String (Required)
+     *         }
+     *     }
+     *     similarity (Optional): {
+     *         @odata.type: String (Required)
+     *     }
+     *     semantic (Optional): {
+     *         defaultConfiguration: String (Optional)
+     *         configurations (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 prioritizedFields (Required): {
+     *                     titleField (Optional): {
+     *                         fieldName: String (Required)
+     *                     }
+     *                     prioritizedContentFields (Optional): [
+     *                         (recursive schema, see above)
+     *                     ]
+     *                     prioritizedKeywordsFields (Optional): [
+     *                         (recursive schema, see above)
+     *                     ]
+     *                 }
+     *                 rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional)
+     *             }
+     *         ]
+     *     }
+     *     vectorSearch (Optional): {
+     *         profiles (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 algorithm: String (Required)
+     *                 vectorizer: String (Optional)
+     *                 compression: String (Optional)
+     *             }
+     *         ]
+     *         algorithms (Optional): [
+     *              (Optional){
+     *                 kind: String(hnsw/exhaustiveKnn) (Required)
+     *                 name: String (Required)
+     *             }
+     *         ]
+     *         vectorizers (Optional): [
+     *              (Optional){
+     *                 kind: String(azureOpenAI/customWebApi/aiServicesVision/aml) (Required)
+     *                 name: String (Required)
+     *             }
+     *         ]
+     *         compressions (Optional): [
+     *              (Optional){
+     *                 kind: String(scalarQuantization/binaryQuantization) (Required)
+     *                 name: String (Required)
+     *                 rescoringOptions (Optional): {
+     *                     enableRescoring: Boolean (Optional)
+     *                     defaultOversampling: Double (Optional)
+     *                     rescoreStorageMethod: String(preserveOriginals/discardOriginals) (Optional)
+     *                 }
+     *                 truncationDimension: Integer (Optional)
+     *             }
+     *         ]
+     *     }
+     *     @odata.etag: String (Optional)
+     * }
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response from a List Indexes request as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listIndexesWithSelectedProperties(RequestOptions requestOptions) { + return new PagedIterable<>(() -> listIndexesWithSelectedPropertiesSinglePage(requestOptions)); + } + + /** + * Creates a new search index. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     fields (Required): [
+     *          (Required){
+     *             name: String (Required)
+     *             type: String(Edm.String/Edm.Int32/Edm.Int64/Edm.Double/Edm.Boolean/Edm.DateTimeOffset/Edm.GeographyPoint/Edm.ComplexType/Edm.Single/Edm.Half/Edm.Int16/Edm.SByte/Edm.Byte) (Required)
+     *             key: Boolean (Optional)
+     *             retrievable: Boolean (Optional)
+     *             stored: Boolean (Optional)
+     *             searchable: Boolean (Optional)
+     *             filterable: Boolean (Optional)
+     *             sortable: Boolean (Optional)
+     *             facetable: Boolean (Optional)
+     *             permissionFilter: String(userIds/groupIds/rbacScope) (Optional)
+     *             sensitivityLabel: Boolean (Optional)
+     *             analyzer: String(ar.microsoft/ar.lucene/hy.lucene/bn.microsoft/eu.lucene/bg.microsoft/bg.lucene/ca.microsoft/ca.lucene/zh-Hans.microsoft/zh-Hans.lucene/zh-Hant.microsoft/zh-Hant.lucene/hr.microsoft/cs.microsoft/cs.lucene/da.microsoft/da.lucene/nl.microsoft/nl.lucene/en.microsoft/en.lucene/et.microsoft/fi.microsoft/fi.lucene/fr.microsoft/fr.lucene/gl.lucene/de.microsoft/de.lucene/el.microsoft/el.lucene/gu.microsoft/he.microsoft/hi.microsoft/hi.lucene/hu.microsoft/hu.lucene/is.microsoft/id.microsoft/id.lucene/ga.lucene/it.microsoft/it.lucene/ja.microsoft/ja.lucene/kn.microsoft/ko.microsoft/ko.lucene/lv.microsoft/lv.lucene/lt.microsoft/ml.microsoft/ms.microsoft/mr.microsoft/nb.microsoft/no.lucene/fa.lucene/pl.microsoft/pl.lucene/pt-BR.microsoft/pt-BR.lucene/pt-PT.microsoft/pt-PT.lucene/pa.microsoft/ro.microsoft/ro.lucene/ru.microsoft/ru.lucene/sr-cyrillic.microsoft/sr-latin.microsoft/sk.microsoft/sl.microsoft/es.microsoft/es.lucene/sv.microsoft/sv.lucene/ta.microsoft/te.microsoft/th.microsoft/th.lucene/tr.microsoft/tr.lucene/uk.microsoft/ur.microsoft/vi.microsoft/standard.lucene/standardasciifolding.lucene/keyword/pattern/simple/stop/whitespace) (Optional)
+     *             searchAnalyzer: String(ar.microsoft/ar.lucene/hy.lucene/bn.microsoft/eu.lucene/bg.microsoft/bg.lucene/ca.microsoft/ca.lucene/zh-Hans.microsoft/zh-Hans.lucene/zh-Hant.microsoft/zh-Hant.lucene/hr.microsoft/cs.microsoft/cs.lucene/da.microsoft/da.lucene/nl.microsoft/nl.lucene/en.microsoft/en.lucene/et.microsoft/fi.microsoft/fi.lucene/fr.microsoft/fr.lucene/gl.lucene/de.microsoft/de.lucene/el.microsoft/el.lucene/gu.microsoft/he.microsoft/hi.microsoft/hi.lucene/hu.microsoft/hu.lucene/is.microsoft/id.microsoft/id.lucene/ga.lucene/it.microsoft/it.lucene/ja.microsoft/ja.lucene/kn.microsoft/ko.microsoft/ko.lucene/lv.microsoft/lv.lucene/lt.microsoft/ml.microsoft/ms.microsoft/mr.microsoft/nb.microsoft/no.lucene/fa.lucene/pl.microsoft/pl.lucene/pt-BR.microsoft/pt-BR.lucene/pt-PT.microsoft/pt-PT.lucene/pa.microsoft/ro.microsoft/ro.lucene/ru.microsoft/ru.lucene/sr-cyrillic.microsoft/sr-latin.microsoft/sk.microsoft/sl.microsoft/es.microsoft/es.lucene/sv.microsoft/sv.lucene/ta.microsoft/te.microsoft/th.microsoft/th.lucene/tr.microsoft/tr.lucene/uk.microsoft/ur.microsoft/vi.microsoft/standard.lucene/standardasciifolding.lucene/keyword/pattern/simple/stop/whitespace) (Optional)
+     *             indexAnalyzer: String(ar.microsoft/ar.lucene/hy.lucene/bn.microsoft/eu.lucene/bg.microsoft/bg.lucene/ca.microsoft/ca.lucene/zh-Hans.microsoft/zh-Hans.lucene/zh-Hant.microsoft/zh-Hant.lucene/hr.microsoft/cs.microsoft/cs.lucene/da.microsoft/da.lucene/nl.microsoft/nl.lucene/en.microsoft/en.lucene/et.microsoft/fi.microsoft/fi.lucene/fr.microsoft/fr.lucene/gl.lucene/de.microsoft/de.lucene/el.microsoft/el.lucene/gu.microsoft/he.microsoft/hi.microsoft/hi.lucene/hu.microsoft/hu.lucene/is.microsoft/id.microsoft/id.lucene/ga.lucene/it.microsoft/it.lucene/ja.microsoft/ja.lucene/kn.microsoft/ko.microsoft/ko.lucene/lv.microsoft/lv.lucene/lt.microsoft/ml.microsoft/ms.microsoft/mr.microsoft/nb.microsoft/no.lucene/fa.lucene/pl.microsoft/pl.lucene/pt-BR.microsoft/pt-BR.lucene/pt-PT.microsoft/pt-PT.lucene/pa.microsoft/ro.microsoft/ro.lucene/ru.microsoft/ru.lucene/sr-cyrillic.microsoft/sr-latin.microsoft/sk.microsoft/sl.microsoft/es.microsoft/es.lucene/sv.microsoft/sv.lucene/ta.microsoft/te.microsoft/th.microsoft/th.lucene/tr.microsoft/tr.lucene/uk.microsoft/ur.microsoft/vi.microsoft/standard.lucene/standardasciifolding.lucene/keyword/pattern/simple/stop/whitespace) (Optional)
+     *             normalizer: String(asciifolding/elision/lowercase/standard/uppercase) (Optional)
+     *             dimensions: Integer (Optional)
+     *             vectorSearchProfile: String (Optional)
+     *             vectorEncoding: String(packedBit) (Optional)
+     *             synonymMaps (Optional): [
+     *                 String (Optional)
+     *             ]
+     *             fields (Optional): [
+     *                 (recursive schema, see above)
+     *             ]
+     *         }
+     *     ]
+     *     scoringProfiles (Optional): [
+     *          (Optional){
+     *             name: String (Required)
+     *             text (Optional): {
+     *                 weights (Required): {
+     *                     String: double (Required)
+     *                 }
+     *             }
+     *             functions (Optional): [
+     *                  (Optional){
+     *                     type: String (Required)
+     *                     fieldName: String (Required)
+     *                     boost: double (Required)
+     *                     interpolation: String(linear/constant/quadratic/logarithmic) (Optional)
+     *                 }
+     *             ]
+     *             functionAggregation: String(sum/average/minimum/maximum/firstMatching/product) (Optional)
+     *         }
+     *     ]
+     *     defaultScoringProfile: String (Optional)
+     *     corsOptions (Optional): {
+     *         allowedOrigins (Required): [
+     *             String (Required)
+     *         ]
+     *         maxAgeInSeconds: Long (Optional)
+     *     }
+     *     suggesters (Optional): [
+     *          (Optional){
+     *             name: String (Required)
+     *             searchMode: String (Required)
+     *             sourceFields (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *     ]
+     *     analyzers (Optional): [
+     *          (Optional){
+     *             @odata.type: String (Required)
+     *             name: String (Required)
+     *         }
+     *     ]
+     *     tokenizers (Optional): [
+     *          (Optional){
+     *             @odata.type: String (Required)
+     *             name: String (Required)
+     *         }
+     *     ]
+     *     tokenFilters (Optional): [
+     *          (Optional){
+     *             @odata.type: String (Required)
+     *             name: String (Required)
+     *         }
+     *     ]
+     *     charFilters (Optional): [
+     *          (Optional){
+     *             @odata.type: String (Required)
+     *             name: String (Required)
+     *         }
+     *     ]
+     *     normalizers (Optional): [
+     *          (Optional){
+     *             @odata.type: String (Required)
+     *             name: String (Required)
+     *         }
+     *     ]
+     *     encryptionKey (Optional): {
+     *         keyVaultKeyName: String (Required)
+     *         keyVaultKeyVersion: String (Optional)
+     *         keyVaultUri: String (Required)
+     *         accessCredentials (Optional): {
+     *             applicationId: String (Required)
+     *             applicationSecret: String (Optional)
+     *         }
+     *         identity (Optional): {
+     *             @odata.type: String (Required)
+     *         }
+     *     }
+     *     similarity (Optional): {
+     *         @odata.type: String (Required)
+     *     }
+     *     semantic (Optional): {
+     *         defaultConfiguration: String (Optional)
+     *         configurations (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 prioritizedFields (Required): {
+     *                     titleField (Optional): {
+     *                         fieldName: String (Required)
+     *                     }
+     *                     prioritizedContentFields (Optional): [
+     *                         (recursive schema, see above)
+     *                     ]
+     *                     prioritizedKeywordsFields (Optional): [
+     *                         (recursive schema, see above)
+     *                     ]
+     *                 }
+     *                 rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional)
+     *             }
+     *         ]
+     *     }
+     *     vectorSearch (Optional): {
+     *         profiles (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 algorithm: String (Required)
+     *                 vectorizer: String (Optional)
+     *                 compression: String (Optional)
+     *             }
+     *         ]
+     *         algorithms (Optional): [
+     *              (Optional){
+     *                 kind: String(hnsw/exhaustiveKnn) (Required)
+     *                 name: String (Required)
+     *             }
+     *         ]
+     *         vectorizers (Optional): [
+     *              (Optional){
+     *                 kind: String(azureOpenAI/customWebApi/aiServicesVision/aml) (Required)
+     *                 name: String (Required)
+     *             }
+     *         ]
+     *         compressions (Optional): [
+     *              (Optional){
+     *                 kind: String(scalarQuantization/binaryQuantization) (Required)
+     *                 name: String (Required)
+     *                 rescoringOptions (Optional): {
+     *                     enableRescoring: Boolean (Optional)
+     *                     defaultOversampling: Double (Optional)
+     *                     rescoreStorageMethod: String(preserveOriginals/discardOriginals) (Optional)
+     *                 }
+     *                 truncationDimension: Integer (Optional)
+     *             }
+     *         ]
+     *     }
+     *     @odata.etag: String (Optional)
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     fields (Required): [
+     *          (Required){
+     *             name: String (Required)
+     *             type: String(Edm.String/Edm.Int32/Edm.Int64/Edm.Double/Edm.Boolean/Edm.DateTimeOffset/Edm.GeographyPoint/Edm.ComplexType/Edm.Single/Edm.Half/Edm.Int16/Edm.SByte/Edm.Byte) (Required)
+     *             key: Boolean (Optional)
+     *             retrievable: Boolean (Optional)
+     *             stored: Boolean (Optional)
+     *             searchable: Boolean (Optional)
+     *             filterable: Boolean (Optional)
+     *             sortable: Boolean (Optional)
+     *             facetable: Boolean (Optional)
+     *             permissionFilter: String(userIds/groupIds/rbacScope) (Optional)
+     *             sensitivityLabel: Boolean (Optional)
+     *             analyzer: String(ar.microsoft/ar.lucene/hy.lucene/bn.microsoft/eu.lucene/bg.microsoft/bg.lucene/ca.microsoft/ca.lucene/zh-Hans.microsoft/zh-Hans.lucene/zh-Hant.microsoft/zh-Hant.lucene/hr.microsoft/cs.microsoft/cs.lucene/da.microsoft/da.lucene/nl.microsoft/nl.lucene/en.microsoft/en.lucene/et.microsoft/fi.microsoft/fi.lucene/fr.microsoft/fr.lucene/gl.lucene/de.microsoft/de.lucene/el.microsoft/el.lucene/gu.microsoft/he.microsoft/hi.microsoft/hi.lucene/hu.microsoft/hu.lucene/is.microsoft/id.microsoft/id.lucene/ga.lucene/it.microsoft/it.lucene/ja.microsoft/ja.lucene/kn.microsoft/ko.microsoft/ko.lucene/lv.microsoft/lv.lucene/lt.microsoft/ml.microsoft/ms.microsoft/mr.microsoft/nb.microsoft/no.lucene/fa.lucene/pl.microsoft/pl.lucene/pt-BR.microsoft/pt-BR.lucene/pt-PT.microsoft/pt-PT.lucene/pa.microsoft/ro.microsoft/ro.lucene/ru.microsoft/ru.lucene/sr-cyrillic.microsoft/sr-latin.microsoft/sk.microsoft/sl.microsoft/es.microsoft/es.lucene/sv.microsoft/sv.lucene/ta.microsoft/te.microsoft/th.microsoft/th.lucene/tr.microsoft/tr.lucene/uk.microsoft/ur.microsoft/vi.microsoft/standard.lucene/standardasciifolding.lucene/keyword/pattern/simple/stop/whitespace) (Optional)
+     *             searchAnalyzer: String(ar.microsoft/ar.lucene/hy.lucene/bn.microsoft/eu.lucene/bg.microsoft/bg.lucene/ca.microsoft/ca.lucene/zh-Hans.microsoft/zh-Hans.lucene/zh-Hant.microsoft/zh-Hant.lucene/hr.microsoft/cs.microsoft/cs.lucene/da.microsoft/da.lucene/nl.microsoft/nl.lucene/en.microsoft/en.lucene/et.microsoft/fi.microsoft/fi.lucene/fr.microsoft/fr.lucene/gl.lucene/de.microsoft/de.lucene/el.microsoft/el.lucene/gu.microsoft/he.microsoft/hi.microsoft/hi.lucene/hu.microsoft/hu.lucene/is.microsoft/id.microsoft/id.lucene/ga.lucene/it.microsoft/it.lucene/ja.microsoft/ja.lucene/kn.microsoft/ko.microsoft/ko.lucene/lv.microsoft/lv.lucene/lt.microsoft/ml.microsoft/ms.microsoft/mr.microsoft/nb.microsoft/no.lucene/fa.lucene/pl.microsoft/pl.lucene/pt-BR.microsoft/pt-BR.lucene/pt-PT.microsoft/pt-PT.lucene/pa.microsoft/ro.microsoft/ro.lucene/ru.microsoft/ru.lucene/sr-cyrillic.microsoft/sr-latin.microsoft/sk.microsoft/sl.microsoft/es.microsoft/es.lucene/sv.microsoft/sv.lucene/ta.microsoft/te.microsoft/th.microsoft/th.lucene/tr.microsoft/tr.lucene/uk.microsoft/ur.microsoft/vi.microsoft/standard.lucene/standardasciifolding.lucene/keyword/pattern/simple/stop/whitespace) (Optional)
+     *             indexAnalyzer: String(ar.microsoft/ar.lucene/hy.lucene/bn.microsoft/eu.lucene/bg.microsoft/bg.lucene/ca.microsoft/ca.lucene/zh-Hans.microsoft/zh-Hans.lucene/zh-Hant.microsoft/zh-Hant.lucene/hr.microsoft/cs.microsoft/cs.lucene/da.microsoft/da.lucene/nl.microsoft/nl.lucene/en.microsoft/en.lucene/et.microsoft/fi.microsoft/fi.lucene/fr.microsoft/fr.lucene/gl.lucene/de.microsoft/de.lucene/el.microsoft/el.lucene/gu.microsoft/he.microsoft/hi.microsoft/hi.lucene/hu.microsoft/hu.lucene/is.microsoft/id.microsoft/id.lucene/ga.lucene/it.microsoft/it.lucene/ja.microsoft/ja.lucene/kn.microsoft/ko.microsoft/ko.lucene/lv.microsoft/lv.lucene/lt.microsoft/ml.microsoft/ms.microsoft/mr.microsoft/nb.microsoft/no.lucene/fa.lucene/pl.microsoft/pl.lucene/pt-BR.microsoft/pt-BR.lucene/pt-PT.microsoft/pt-PT.lucene/pa.microsoft/ro.microsoft/ro.lucene/ru.microsoft/ru.lucene/sr-cyrillic.microsoft/sr-latin.microsoft/sk.microsoft/sl.microsoft/es.microsoft/es.lucene/sv.microsoft/sv.lucene/ta.microsoft/te.microsoft/th.microsoft/th.lucene/tr.microsoft/tr.lucene/uk.microsoft/ur.microsoft/vi.microsoft/standard.lucene/standardasciifolding.lucene/keyword/pattern/simple/stop/whitespace) (Optional)
+     *             normalizer: String(asciifolding/elision/lowercase/standard/uppercase) (Optional)
+     *             dimensions: Integer (Optional)
+     *             vectorSearchProfile: String (Optional)
+     *             vectorEncoding: String(packedBit) (Optional)
+     *             synonymMaps (Optional): [
+     *                 String (Optional)
+     *             ]
+     *             fields (Optional): [
+     *                 (recursive schema, see above)
+     *             ]
+     *         }
+     *     ]
+     *     scoringProfiles (Optional): [
+     *          (Optional){
+     *             name: String (Required)
+     *             text (Optional): {
+     *                 weights (Required): {
+     *                     String: double (Required)
+     *                 }
+     *             }
+     *             functions (Optional): [
+     *                  (Optional){
+     *                     type: String (Required)
+     *                     fieldName: String (Required)
+     *                     boost: double (Required)
+     *                     interpolation: String(linear/constant/quadratic/logarithmic) (Optional)
+     *                 }
+     *             ]
+     *             functionAggregation: String(sum/average/minimum/maximum/firstMatching/product) (Optional)
+     *         }
+     *     ]
+     *     defaultScoringProfile: String (Optional)
+     *     corsOptions (Optional): {
+     *         allowedOrigins (Required): [
+     *             String (Required)
+     *         ]
+     *         maxAgeInSeconds: Long (Optional)
+     *     }
+     *     suggesters (Optional): [
+     *          (Optional){
+     *             name: String (Required)
+     *             searchMode: String (Required)
+     *             sourceFields (Required): [
+     *                 String (Required)
+     *             ]
+     *         }
+     *     ]
+     *     analyzers (Optional): [
+     *          (Optional){
+     *             @odata.type: String (Required)
+     *             name: String (Required)
+     *         }
+     *     ]
+     *     tokenizers (Optional): [
+     *          (Optional){
+     *             @odata.type: String (Required)
+     *             name: String (Required)
+     *         }
+     *     ]
+     *     tokenFilters (Optional): [
+     *          (Optional){
+     *             @odata.type: String (Required)
+     *             name: String (Required)
+     *         }
+     *     ]
+     *     charFilters (Optional): [
+     *          (Optional){
+     *             @odata.type: String (Required)
+     *             name: String (Required)
+     *         }
+     *     ]
+     *     normalizers (Optional): [
+     *          (Optional){
+     *             @odata.type: String (Required)
+     *             name: String (Required)
+     *         }
+     *     ]
+     *     encryptionKey (Optional): {
+     *         keyVaultKeyName: String (Required)
+     *         keyVaultKeyVersion: String (Optional)
+     *         keyVaultUri: String (Required)
+     *         accessCredentials (Optional): {
+     *             applicationId: String (Required)
+     *             applicationSecret: String (Optional)
+     *         }
+     *         identity (Optional): {
+     *             @odata.type: String (Required)
+     *         }
+     *     }
+     *     similarity (Optional): {
+     *         @odata.type: String (Required)
+     *     }
+     *     semantic (Optional): {
+     *         defaultConfiguration: String (Optional)
+     *         configurations (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 prioritizedFields (Required): {
+     *                     titleField (Optional): {
+     *                         fieldName: String (Required)
+     *                     }
+     *                     prioritizedContentFields (Optional): [
+     *                         (recursive schema, see above)
+     *                     ]
+     *                     prioritizedKeywordsFields (Optional): [
+     *                         (recursive schema, see above)
+     *                     ]
+     *                 }
+     *                 rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional)
+     *             }
+     *         ]
+     *     }
+     *     vectorSearch (Optional): {
+     *         profiles (Optional): [
+     *              (Optional){
+     *                 name: String (Required)
+     *                 algorithm: String (Required)
+     *                 vectorizer: String (Optional)
+     *                 compression: String (Optional)
+     *             }
+     *         ]
+     *         algorithms (Optional): [
+     *              (Optional){
+     *                 kind: String(hnsw/exhaustiveKnn) (Required)
+     *                 name: String (Required)
+     *             }
+     *         ]
+     *         vectorizers (Optional): [
+     *              (Optional){
+     *                 kind: String(azureOpenAI/customWebApi/aiServicesVision/aml) (Required)
+     *                 name: String (Required)
+     *             }
+     *         ]
+     *         compressions (Optional): [
+     *              (Optional){
+     *                 kind: String(scalarQuantization/binaryQuantization) (Required)
+     *                 name: String (Required)
+     *                 rescoringOptions (Optional): {
+     *                     enableRescoring: Boolean (Optional)
+     *                     defaultOversampling: Double (Optional)
+     *                     rescoreStorageMethod: String(preserveOriginals/discardOriginals) (Optional)
+     *                 }
+     *                 truncationDimension: Integer (Optional)
+     *             }
+     *         ]
+     *     }
+     *     @odata.etag: String (Optional)
+     * }
+     * }
+     * 
+ * + * @param index The definition of the index to create. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represents a search index definition, which describes the fields and search behavior of an index along + * with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createIndexWithResponseAsync(BinaryData index, RequestOptions requestOptions) { + final String contentType = "application/json"; + return FluxUtil.withContext(context -> service.createIndex(this.getEndpoint(), + this.getServiceVersion().getVersion(), contentType, index, requestOptions, context)); + } + + /** + * Creates a new search index. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     name: String (Required)
+     *     description: String (Optional)
+     *     fields (Required): [
+     *          (Required){
+     *             name: String (Required)
+     *             type: String(Edm.String/Edm.Int32/Edm.Int64/Edm.Double/Edm.Boolean/Edm.DateTimeOffset/Edm.GeographyPoint/Edm.ComplexType/Edm.Single/Edm.Half/Edm.Int16/Edm.SByte/Edm.Byte) (Required)
      *             key: Boolean (Optional)
      *             retrievable: Boolean (Optional)
      *             stored: Boolean (Optional)
@@ -3907,7 +4738,6 @@ public Mono> createIndexWithResponseAsync(BinaryData index,
      *                     ]
      *                 }
      *                 rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional)
-     *                 flightingOptIn: Boolean (Optional)
      *             }
      *         ]
      *     }
@@ -3945,8 +4775,6 @@ public Mono> createIndexWithResponseAsync(BinaryData index,
      *             }
      *         ]
      *     }
-     *     permissionFilterOption: String(enabled/disabled) (Optional)
-     *     purviewEnabled: Boolean (Optional)
      *     @odata.etag: String (Optional)
      * }
      * }
@@ -4084,7 +4912,6 @@ public Mono> createIndexWithResponseAsync(BinaryData index,
      *                     ]
      *                 }
      *                 rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional)
-     *                 flightingOptIn: Boolean (Optional)
      *             }
      *         ]
      *     }
@@ -4122,8 +4949,6 @@ public Mono> createIndexWithResponseAsync(BinaryData index,
      *             }
      *         ]
      *     }
-     *     permissionFilterOption: String(enabled/disabled) (Optional)
-     *     purviewEnabled: Boolean (Optional)
      *     @odata.etag: String (Optional)
      * }
      * }
@@ -4140,14 +4965,21 @@ public Mono> createIndexWithResponseAsync(BinaryData index,
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response createIndexWithResponse(BinaryData index, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         final String contentType = "application/json";
-        return service.createIndexSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, contentType,
-            index, requestOptions, Context.NONE);
+        return service.createIndexSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, index,
+            requestOptions, Context.NONE);
     }
 
     /**
      * Returns statistics for the given index, including a document count and storage usage.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -4170,13 +5002,20 @@ public Response createIndexWithResponse(BinaryData index, RequestOpt
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> getIndexStatisticsWithResponseAsync(String name, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         return FluxUtil.withContext(context -> service.getIndexStatistics(this.getEndpoint(),
-            this.getServiceVersion().getVersion(), accept, name, requestOptions, context));
+            this.getServiceVersion().getVersion(), name, requestOptions, context));
     }
 
     /**
      * Returns statistics for the given index, including a document count and storage usage.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -4199,13 +5038,20 @@ public Mono> getIndexStatisticsWithResponseAsync(String nam
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response getIndexStatisticsWithResponse(String name, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
-        return service.getIndexStatisticsSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, name,
+        return service.getIndexStatisticsSync(this.getEndpoint(), this.getServiceVersion().getVersion(), name,
             requestOptions, Context.NONE);
     }
 
     /**
      * Shows how an analyzer breaks text into tokens.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -4255,14 +5101,21 @@ public Response getIndexStatisticsWithResponse(String name, RequestO
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> analyzeTextWithResponseAsync(String name, BinaryData request,
         RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         final String contentType = "application/json";
         return FluxUtil.withContext(context -> service.analyzeText(this.getEndpoint(),
-            this.getServiceVersion().getVersion(), accept, name, contentType, request, requestOptions, context));
+            this.getServiceVersion().getVersion(), name, contentType, request, requestOptions, context));
     }
 
     /**
      * Shows how an analyzer breaks text into tokens.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -4311,10 +5164,9 @@ public Mono> analyzeTextWithResponseAsync(String name, Bina
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response analyzeTextWithResponse(String name, BinaryData request,
         RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         final String contentType = "application/json";
-        return service.analyzeTextSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, name,
-            contentType, request, requestOptions, Context.NONE);
+        return service.analyzeTextSync(this.getEndpoint(), this.getServiceVersion().getVersion(), name, contentType,
+            request, requestOptions, Context.NONE);
     }
 
     /**
@@ -4323,6 +5175,8 @@ public Response analyzeTextWithResponse(String name, BinaryData requ
      * 
      * 
      * 
+     * 
      * 
      * 
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -4370,11 +5224,10 @@ public Response analyzeTextWithResponse(String name, BinaryData requ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> createOrUpdateAliasWithResponseAsync(String name, BinaryData alias, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; final String prefer = "return=representation"; final String contentType = "application/json"; return FluxUtil.withContext(context -> service.createOrUpdateAlias(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, prefer, name, contentType, alias, requestOptions, context)); + this.getServiceVersion().getVersion(), prefer, name, contentType, alias, requestOptions, context)); } /** @@ -4383,6 +5236,8 @@ public Mono> createOrUpdateAliasWithResponseAsync(String na * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -4430,11 +5285,10 @@ public Mono> createOrUpdateAliasWithResponseAsync(String na @ServiceMethod(returns = ReturnType.SINGLE) public Response createOrUpdateAliasWithResponse(String name, BinaryData alias, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; final String prefer = "return=representation"; final String contentType = "application/json"; - return service.createOrUpdateAliasSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, - prefer, name, contentType, alias, requestOptions, Context.NONE); + return service.createOrUpdateAliasSync(this.getEndpoint(), this.getServiceVersion().getVersion(), prefer, name, + contentType, alias, requestOptions, Context.NONE); } /** @@ -4444,6 +5298,8 @@ public Response createOrUpdateAliasWithResponse(String name, BinaryD * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -4460,9 +5316,8 @@ public Response createOrUpdateAliasWithResponse(String name, BinaryD */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteAliasWithResponseAsync(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; return FluxUtil.withContext(context -> service.deleteAlias(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, name, requestOptions, context)); + this.getServiceVersion().getVersion(), name, requestOptions, context)); } /** @@ -4472,6 +5327,8 @@ public Mono> deleteAliasWithResponseAsync(String name, RequestOpt * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -4488,13 +5345,20 @@ public Mono> deleteAliasWithResponseAsync(String name, RequestOpt */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteAliasWithResponse(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; - return service.deleteAliasSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, name, - requestOptions, Context.NONE); + return service.deleteAliasSync(this.getEndpoint(), this.getServiceVersion().getVersion(), name, requestOptions, + Context.NONE); } /** * Retrieves an alias definition. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -4520,13 +5384,20 @@ public Response deleteAliasWithResponse(String name, RequestOptions reques
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> getAliasWithResponseAsync(String name, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         return FluxUtil.withContext(context -> service.getAlias(this.getEndpoint(),
-            this.getServiceVersion().getVersion(), accept, name, requestOptions, context));
+            this.getServiceVersion().getVersion(), name, requestOptions, context));
     }
 
     /**
      * Retrieves an alias definition.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -4552,13 +5423,20 @@ public Mono> getAliasWithResponseAsync(String name, Request
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response getAliasWithResponse(String name, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
-        return service.getAliasSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, name,
-            requestOptions, Context.NONE);
+        return service.getAliasSync(this.getEndpoint(), this.getServiceVersion().getVersion(), name, requestOptions,
+            Context.NONE);
     }
 
     /**
      * Lists all aliases available for a search service.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -4583,16 +5461,23 @@ public Response getAliasWithResponse(String name, RequestOptions req
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     private Mono> listAliasesSinglePageAsync(RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         return FluxUtil
             .withContext(context -> service.listAliases(this.getEndpoint(), this.getServiceVersion().getVersion(),
-                accept, requestOptions, context))
+                requestOptions, context))
             .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
                 getValues(res.getValue(), "value"), null, null));
     }
 
     /**
      * Lists all aliases available for a search service.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -4621,6 +5506,14 @@ public PagedFlux listAliasesAsync(RequestOptions requestOptions) {
 
     /**
      * Lists all aliases available for a search service.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -4644,15 +5537,22 @@ public PagedFlux listAliasesAsync(RequestOptions requestOptions) {
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     private PagedResponse listAliasesSinglePage(RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         Response res = service.listAliasesSync(this.getEndpoint(), this.getServiceVersion().getVersion(),
-            accept, requestOptions, Context.NONE);
+            requestOptions, Context.NONE);
         return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
             getValues(res.getValue(), "value"), null, null);
     }
 
     /**
      * Lists all aliases available for a search service.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -4681,6 +5581,14 @@ public PagedIterable listAliases(RequestOptions requestOptions) {
 
     /**
      * Creates a new search alias.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -4720,14 +5628,21 @@ public PagedIterable listAliases(RequestOptions requestOptions) {
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> createAliasWithResponseAsync(BinaryData alias, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         final String contentType = "application/json";
         return FluxUtil.withContext(context -> service.createAlias(this.getEndpoint(),
-            this.getServiceVersion().getVersion(), accept, contentType, alias, requestOptions, context));
+            this.getServiceVersion().getVersion(), contentType, alias, requestOptions, context));
     }
 
     /**
      * Creates a new search alias.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -4767,10 +5682,9 @@ public Mono> createAliasWithResponseAsync(BinaryData alias,
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response createAliasWithResponse(BinaryData alias, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         final String contentType = "application/json";
-        return service.createAliasSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, contentType,
-            alias, requestOptions, Context.NONE);
+        return service.createAliasSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, alias,
+            requestOptions, Context.NONE);
     }
 
     /**
@@ -4779,6 +5693,8 @@ public Response createAliasWithResponse(BinaryData alias, RequestOpt
      * 
      * 
      * 
+     * 
      * 
      * 
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -4801,10 +5717,6 @@ public Response createAliasWithResponse(BinaryData alias, RequestOpt * kind: String(azureOpenAI) (Required) * } * ] - * retrievalReasoningEffort (Optional): { - * kind: String(minimal/low/medium) (Required) - * } - * outputMode: String(extractiveData/answerSynthesis) (Optional) * @odata.etag: String (Optional) * encryptionKey (Optional): { * keyVaultKeyName: String (Required) @@ -4819,8 +5731,6 @@ public Response createAliasWithResponse(BinaryData alias, RequestOpt * } * } * description: String (Optional) - * retrievalInstructions: String (Optional) - * answerInstructions: String (Optional) * } * } * @@ -4841,10 +5751,6 @@ public Response createAliasWithResponse(BinaryData alias, RequestOpt * kind: String(azureOpenAI) (Required) * } * ] - * retrievalReasoningEffort (Optional): { - * kind: String(minimal/low/medium) (Required) - * } - * outputMode: String(extractiveData/answerSynthesis) (Optional) * @odata.etag: String (Optional) * encryptionKey (Optional): { * keyVaultKeyName: String (Required) @@ -4859,8 +5765,6 @@ public Response createAliasWithResponse(BinaryData alias, RequestOpt * } * } * description: String (Optional) - * retrievalInstructions: String (Optional) - * answerInstructions: String (Optional) * } * } * @@ -4878,12 +5782,10 @@ public Response createAliasWithResponse(BinaryData alias, RequestOpt @ServiceMethod(returns = ReturnType.SINGLE) public Mono> createOrUpdateKnowledgeBaseWithResponseAsync(String name, BinaryData knowledgeBase, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; final String prefer = "return=representation"; final String contentType = "application/json"; - return FluxUtil.withContext( - context -> service.createOrUpdateKnowledgeBase(this.getEndpoint(), this.getServiceVersion().getVersion(), - accept, prefer, name, contentType, knowledgeBase, requestOptions, context)); + return FluxUtil.withContext(context -> service.createOrUpdateKnowledgeBase(this.getEndpoint(), + this.getServiceVersion().getVersion(), prefer, name, contentType, knowledgeBase, requestOptions, context)); } /** @@ -4892,6 +5794,8 @@ public Mono> createOrUpdateKnowledgeBaseWithResponseAsync(S * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -4914,10 +5818,6 @@ public Mono> createOrUpdateKnowledgeBaseWithResponseAsync(S * kind: String(azureOpenAI) (Required) * } * ] - * retrievalReasoningEffort (Optional): { - * kind: String(minimal/low/medium) (Required) - * } - * outputMode: String(extractiveData/answerSynthesis) (Optional) * @odata.etag: String (Optional) * encryptionKey (Optional): { * keyVaultKeyName: String (Required) @@ -4932,8 +5832,6 @@ public Mono> createOrUpdateKnowledgeBaseWithResponseAsync(S * } * } * description: String (Optional) - * retrievalInstructions: String (Optional) - * answerInstructions: String (Optional) * } * } * @@ -4954,10 +5852,6 @@ public Mono> createOrUpdateKnowledgeBaseWithResponseAsync(S * kind: String(azureOpenAI) (Required) * } * ] - * retrievalReasoningEffort (Optional): { - * kind: String(minimal/low/medium) (Required) - * } - * outputMode: String(extractiveData/answerSynthesis) (Optional) * @odata.etag: String (Optional) * encryptionKey (Optional): { * keyVaultKeyName: String (Required) @@ -4972,8 +5866,6 @@ public Mono> createOrUpdateKnowledgeBaseWithResponseAsync(S * } * } * description: String (Optional) - * retrievalInstructions: String (Optional) - * answerInstructions: String (Optional) * } * } * @@ -4990,11 +5882,10 @@ public Mono> createOrUpdateKnowledgeBaseWithResponseAsync(S @ServiceMethod(returns = ReturnType.SINGLE) public Response createOrUpdateKnowledgeBaseWithResponse(String name, BinaryData knowledgeBase, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; final String prefer = "return=representation"; final String contentType = "application/json"; return service.createOrUpdateKnowledgeBaseSync(this.getEndpoint(), this.getServiceVersion().getVersion(), - accept, prefer, name, contentType, knowledgeBase, requestOptions, Context.NONE); + prefer, name, contentType, knowledgeBase, requestOptions, Context.NONE); } /** @@ -5003,6 +5894,8 @@ public Response createOrUpdateKnowledgeBaseWithResponse(String name, * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -5019,9 +5912,8 @@ public Response createOrUpdateKnowledgeBaseWithResponse(String name, */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteKnowledgeBaseWithResponseAsync(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; return FluxUtil.withContext(context -> service.deleteKnowledgeBase(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, name, requestOptions, context)); + this.getServiceVersion().getVersion(), name, requestOptions, context)); } /** @@ -5030,6 +5922,8 @@ public Mono> deleteKnowledgeBaseWithResponseAsync(String name, Re * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -5046,13 +5940,20 @@ public Mono> deleteKnowledgeBaseWithResponseAsync(String name, Re */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteKnowledgeBaseWithResponse(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; - return service.deleteKnowledgeBaseSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, name, + return service.deleteKnowledgeBaseSync(this.getEndpoint(), this.getServiceVersion().getVersion(), name, requestOptions, Context.NONE); } /** * Retrieves a knowledge base definition. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -5069,10 +5970,6 @@ public Response deleteKnowledgeBaseWithResponse(String name, RequestOption
      *             kind: String(azureOpenAI) (Required)
      *         }
      *     ]
-     *     retrievalReasoningEffort (Optional): {
-     *         kind: String(minimal/low/medium) (Required)
-     *     }
-     *     outputMode: String(extractiveData/answerSynthesis) (Optional)
      *     @odata.etag: String (Optional)
      *     encryptionKey (Optional): {
      *         keyVaultKeyName: String (Required)
@@ -5087,8 +5984,6 @@ public Response deleteKnowledgeBaseWithResponse(String name, RequestOption
      *         }
      *     }
      *     description: String (Optional)
-     *     retrievalInstructions: String (Optional)
-     *     answerInstructions: String (Optional)
      * }
      * }
      * 
@@ -5104,13 +5999,20 @@ public Response deleteKnowledgeBaseWithResponse(String name, RequestOption */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getKnowledgeBaseWithResponseAsync(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; return FluxUtil.withContext(context -> service.getKnowledgeBase(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, name, requestOptions, context)); + this.getServiceVersion().getVersion(), name, requestOptions, context)); } /** * Retrieves a knowledge base definition. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -5127,10 +6029,6 @@ public Mono> getKnowledgeBaseWithResponseAsync(String name,
      *             kind: String(azureOpenAI) (Required)
      *         }
      *     ]
-     *     retrievalReasoningEffort (Optional): {
-     *         kind: String(minimal/low/medium) (Required)
-     *     }
-     *     outputMode: String(extractiveData/answerSynthesis) (Optional)
      *     @odata.etag: String (Optional)
      *     encryptionKey (Optional): {
      *         keyVaultKeyName: String (Required)
@@ -5145,8 +6043,6 @@ public Mono> getKnowledgeBaseWithResponseAsync(String name,
      *         }
      *     }
      *     description: String (Optional)
-     *     retrievalInstructions: String (Optional)
-     *     answerInstructions: String (Optional)
      * }
      * }
      * 
@@ -5161,13 +6057,20 @@ public Mono> getKnowledgeBaseWithResponseAsync(String name, */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getKnowledgeBaseWithResponse(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; - return service.getKnowledgeBaseSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, name, + return service.getKnowledgeBaseSync(this.getEndpoint(), this.getServiceVersion().getVersion(), name, requestOptions, Context.NONE); } /** * Lists all knowledge bases available for a search service. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -5184,10 +6087,6 @@ public Response getKnowledgeBaseWithResponse(String name, RequestOpt
      *             kind: String(azureOpenAI) (Required)
      *         }
      *     ]
-     *     retrievalReasoningEffort (Optional): {
-     *         kind: String(minimal/low/medium) (Required)
-     *     }
-     *     outputMode: String(extractiveData/answerSynthesis) (Optional)
      *     @odata.etag: String (Optional)
      *     encryptionKey (Optional): {
      *         keyVaultKeyName: String (Required)
@@ -5202,8 +6101,6 @@ public Response getKnowledgeBaseWithResponse(String name, RequestOpt
      *         }
      *     }
      *     description: String (Optional)
-     *     retrievalInstructions: String (Optional)
-     *     answerInstructions: String (Optional)
      * }
      * }
      * 
@@ -5218,16 +6115,23 @@ public Response getKnowledgeBaseWithResponse(String name, RequestOpt */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listKnowledgeBasesSinglePageAsync(RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; return FluxUtil .withContext(context -> service.listKnowledgeBases(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, requestOptions, context)) + this.getServiceVersion().getVersion(), requestOptions, context)) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), getValues(res.getValue(), "value"), null, null)); } /** * Lists all knowledge bases available for a search service. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -5244,10 +6148,6 @@ private Mono> listKnowledgeBasesSinglePageAsync(Reques
      *             kind: String(azureOpenAI) (Required)
      *         }
      *     ]
-     *     retrievalReasoningEffort (Optional): {
-     *         kind: String(minimal/low/medium) (Required)
-     *     }
-     *     outputMode: String(extractiveData/answerSynthesis) (Optional)
      *     @odata.etag: String (Optional)
      *     encryptionKey (Optional): {
      *         keyVaultKeyName: String (Required)
@@ -5262,8 +6162,6 @@ private Mono> listKnowledgeBasesSinglePageAsync(Reques
      *         }
      *     }
      *     description: String (Optional)
-     *     retrievalInstructions: String (Optional)
-     *     answerInstructions: String (Optional)
      * }
      * }
      * 
@@ -5282,6 +6180,14 @@ public PagedFlux listKnowledgeBasesAsync(RequestOptions requestOptio /** * Lists all knowledge bases available for a search service. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -5298,10 +6204,6 @@ public PagedFlux listKnowledgeBasesAsync(RequestOptions requestOptio
      *             kind: String(azureOpenAI) (Required)
      *         }
      *     ]
-     *     retrievalReasoningEffort (Optional): {
-     *         kind: String(minimal/low/medium) (Required)
-     *     }
-     *     outputMode: String(extractiveData/answerSynthesis) (Optional)
      *     @odata.etag: String (Optional)
      *     encryptionKey (Optional): {
      *         keyVaultKeyName: String (Required)
@@ -5316,8 +6218,6 @@ public PagedFlux listKnowledgeBasesAsync(RequestOptions requestOptio
      *         }
      *     }
      *     description: String (Optional)
-     *     retrievalInstructions: String (Optional)
-     *     answerInstructions: String (Optional)
      * }
      * }
      * 
@@ -5331,15 +6231,22 @@ public PagedFlux listKnowledgeBasesAsync(RequestOptions requestOptio */ @ServiceMethod(returns = ReturnType.SINGLE) private PagedResponse listKnowledgeBasesSinglePage(RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; Response res = service.listKnowledgeBasesSync(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); + this.getServiceVersion().getVersion(), requestOptions, Context.NONE); return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), getValues(res.getValue(), "value"), null, null); } /** * Lists all knowledge bases available for a search service. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -5356,10 +6263,6 @@ private PagedResponse listKnowledgeBasesSinglePage(RequestOptions re
      *             kind: String(azureOpenAI) (Required)
      *         }
      *     ]
-     *     retrievalReasoningEffort (Optional): {
-     *         kind: String(minimal/low/medium) (Required)
-     *     }
-     *     outputMode: String(extractiveData/answerSynthesis) (Optional)
      *     @odata.etag: String (Optional)
      *     encryptionKey (Optional): {
      *         keyVaultKeyName: String (Required)
@@ -5374,8 +6277,6 @@ private PagedResponse listKnowledgeBasesSinglePage(RequestOptions re
      *         }
      *     }
      *     description: String (Optional)
-     *     retrievalInstructions: String (Optional)
-     *     answerInstructions: String (Optional)
      * }
      * }
      * 
@@ -5394,6 +6295,14 @@ public PagedIterable listKnowledgeBases(RequestOptions requestOption /** * Creates a new knowledge base. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -5410,10 +6319,6 @@ public PagedIterable listKnowledgeBases(RequestOptions requestOption
      *             kind: String(azureOpenAI) (Required)
      *         }
      *     ]
-     *     retrievalReasoningEffort (Optional): {
-     *         kind: String(minimal/low/medium) (Required)
-     *     }
-     *     outputMode: String(extractiveData/answerSynthesis) (Optional)
      *     @odata.etag: String (Optional)
      *     encryptionKey (Optional): {
      *         keyVaultKeyName: String (Required)
@@ -5428,8 +6333,6 @@ public PagedIterable listKnowledgeBases(RequestOptions requestOption
      *         }
      *     }
      *     description: String (Optional)
-     *     retrievalInstructions: String (Optional)
-     *     answerInstructions: String (Optional)
      * }
      * }
      * 
@@ -5450,10 +6353,6 @@ public PagedIterable listKnowledgeBases(RequestOptions requestOption * kind: String(azureOpenAI) (Required) * } * ] - * retrievalReasoningEffort (Optional): { - * kind: String(minimal/low/medium) (Required) - * } - * outputMode: String(extractiveData/answerSynthesis) (Optional) * @odata.etag: String (Optional) * encryptionKey (Optional): { * keyVaultKeyName: String (Required) @@ -5468,8 +6367,6 @@ public PagedIterable listKnowledgeBases(RequestOptions requestOption * } * } * description: String (Optional) - * retrievalInstructions: String (Optional) - * answerInstructions: String (Optional) * } * } * @@ -5486,14 +6383,21 @@ public PagedIterable listKnowledgeBases(RequestOptions requestOption @ServiceMethod(returns = ReturnType.SINGLE) public Mono> createKnowledgeBaseWithResponseAsync(BinaryData knowledgeBase, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; final String contentType = "application/json"; return FluxUtil.withContext(context -> service.createKnowledgeBase(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, contentType, knowledgeBase, requestOptions, context)); + this.getServiceVersion().getVersion(), contentType, knowledgeBase, requestOptions, context)); } /** * Creates a new knowledge base. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -5510,10 +6414,6 @@ public Mono> createKnowledgeBaseWithResponseAsync(BinaryDat
      *             kind: String(azureOpenAI) (Required)
      *         }
      *     ]
-     *     retrievalReasoningEffort (Optional): {
-     *         kind: String(minimal/low/medium) (Required)
-     *     }
-     *     outputMode: String(extractiveData/answerSynthesis) (Optional)
      *     @odata.etag: String (Optional)
      *     encryptionKey (Optional): {
      *         keyVaultKeyName: String (Required)
@@ -5528,8 +6428,6 @@ public Mono> createKnowledgeBaseWithResponseAsync(BinaryDat
      *         }
      *     }
      *     description: String (Optional)
-     *     retrievalInstructions: String (Optional)
-     *     answerInstructions: String (Optional)
      * }
      * }
      * 
@@ -5550,10 +6448,6 @@ public Mono> createKnowledgeBaseWithResponseAsync(BinaryDat * kind: String(azureOpenAI) (Required) * } * ] - * retrievalReasoningEffort (Optional): { - * kind: String(minimal/low/medium) (Required) - * } - * outputMode: String(extractiveData/answerSynthesis) (Optional) * @odata.etag: String (Optional) * encryptionKey (Optional): { * keyVaultKeyName: String (Required) @@ -5568,8 +6462,6 @@ public Mono> createKnowledgeBaseWithResponseAsync(BinaryDat * } * } * description: String (Optional) - * retrievalInstructions: String (Optional) - * answerInstructions: String (Optional) * } * } * @@ -5585,10 +6477,9 @@ public Mono> createKnowledgeBaseWithResponseAsync(BinaryDat @ServiceMethod(returns = ReturnType.SINGLE) public Response createKnowledgeBaseWithResponse(BinaryData knowledgeBase, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; final String contentType = "application/json"; - return service.createKnowledgeBaseSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, - contentType, knowledgeBase, requestOptions, Context.NONE); + return service.createKnowledgeBaseSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, + knowledgeBase, requestOptions, Context.NONE); } /** @@ -5597,6 +6488,8 @@ public Response createKnowledgeBaseWithResponse(BinaryData knowledge * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -5608,7 +6501,7 @@ public Response createKnowledgeBaseWithResponse(BinaryData knowledge *
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -5633,7 +6526,7 @@ public Response createKnowledgeBaseWithResponse(BinaryData knowledge
      * 
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -5666,12 +6559,11 @@ public Response createKnowledgeBaseWithResponse(BinaryData knowledge
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> createOrUpdateKnowledgeSourceWithResponseAsync(String name,
         BinaryData knowledgeSource, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         final String prefer = "return=representation";
         final String contentType = "application/json";
         return FluxUtil.withContext(
             context -> service.createOrUpdateKnowledgeSource(this.getEndpoint(), this.getServiceVersion().getVersion(),
-                accept, prefer, name, contentType, knowledgeSource, requestOptions, context));
+                prefer, name, contentType, knowledgeSource, requestOptions, context));
     }
 
     /**
@@ -5680,6 +6572,8 @@ public Mono> createOrUpdateKnowledgeSourceWithResponseAsync
      * 
      * 
      * 
+     * 
      * 
      * 
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -5691,7 +6585,7 @@ public Mono> createOrUpdateKnowledgeSourceWithResponseAsync *
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -5716,7 +6610,7 @@ public Mono> createOrUpdateKnowledgeSourceWithResponseAsync
      * 
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -5748,11 +6642,10 @@ public Mono> createOrUpdateKnowledgeSourceWithResponseAsync
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response createOrUpdateKnowledgeSourceWithResponse(String name, BinaryData knowledgeSource,
         RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         final String prefer = "return=representation";
         final String contentType = "application/json";
         return service.createOrUpdateKnowledgeSourceSync(this.getEndpoint(), this.getServiceVersion().getVersion(),
-            accept, prefer, name, contentType, knowledgeSource, requestOptions, Context.NONE);
+            prefer, name, contentType, knowledgeSource, requestOptions, Context.NONE);
     }
 
     /**
@@ -5761,6 +6654,8 @@ public Response createOrUpdateKnowledgeSourceWithResponse(String nam
      * 
      * 
      * 
+     * 
      * 
      * 
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -5777,9 +6672,8 @@ public Response createOrUpdateKnowledgeSourceWithResponse(String nam */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteKnowledgeSourceWithResponseAsync(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; return FluxUtil.withContext(context -> service.deleteKnowledgeSource(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, name, requestOptions, context)); + this.getServiceVersion().getVersion(), name, requestOptions, context)); } /** @@ -5788,6 +6682,8 @@ public Mono> deleteKnowledgeSourceWithResponseAsync(String name, * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -5804,19 +6700,26 @@ public Mono> deleteKnowledgeSourceWithResponseAsync(String name, */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteKnowledgeSourceWithResponse(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; - return service.deleteKnowledgeSourceSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, - name, requestOptions, Context.NONE); + return service.deleteKnowledgeSourceSync(this.getEndpoint(), this.getServiceVersion().getVersion(), name, + requestOptions, Context.NONE); } /** * Retrieves a knowledge source definition. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -5847,19 +6750,26 @@ public Response deleteKnowledgeSourceWithResponse(String name, RequestOpti
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> getKnowledgeSourceWithResponseAsync(String name, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         return FluxUtil.withContext(context -> service.getKnowledgeSource(this.getEndpoint(),
-            this.getServiceVersion().getVersion(), accept, name, requestOptions, context));
+            this.getServiceVersion().getVersion(), name, requestOptions, context));
     }
 
     /**
      * Retrieves a knowledge source definition.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -5889,19 +6799,26 @@ public Mono> getKnowledgeSourceWithResponseAsync(String nam
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response getKnowledgeSourceWithResponse(String name, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
-        return service.getKnowledgeSourceSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, name,
+        return service.getKnowledgeSourceSync(this.getEndpoint(), this.getServiceVersion().getVersion(), name,
             requestOptions, Context.NONE);
     }
 
     /**
      * Lists all knowledge sources available for a search service.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -5931,22 +6848,29 @@ public Response getKnowledgeSourceWithResponse(String name, RequestO
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     private Mono> listKnowledgeSourcesSinglePageAsync(RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         return FluxUtil
             .withContext(context -> service.listKnowledgeSources(this.getEndpoint(),
-                this.getServiceVersion().getVersion(), accept, requestOptions, context))
+                this.getServiceVersion().getVersion(), requestOptions, context))
             .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
                 getValues(res.getValue(), "value"), null, null));
     }
 
     /**
      * Lists all knowledge sources available for a search service.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -5980,12 +6904,20 @@ public PagedFlux listKnowledgeSourcesAsync(RequestOptions requestOpt
 
     /**
      * Lists all knowledge sources available for a search service.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -6014,21 +6946,28 @@ public PagedFlux listKnowledgeSourcesAsync(RequestOptions requestOpt
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     private PagedResponse listKnowledgeSourcesSinglePage(RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         Response res = service.listKnowledgeSourcesSync(this.getEndpoint(),
-            this.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE);
+            this.getServiceVersion().getVersion(), requestOptions, Context.NONE);
         return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
             getValues(res.getValue(), "value"), null, null);
     }
 
     /**
      * Lists all knowledge sources available for a search service.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -6062,12 +7001,20 @@ public PagedIterable listKnowledgeSources(RequestOptions requestOpti
 
     /**
      * Creates a new knowledge source.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -6092,7 +7039,7 @@ public PagedIterable listKnowledgeSources(RequestOptions requestOpti
      * 
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -6124,20 +7071,27 @@ public PagedIterable listKnowledgeSources(RequestOptions requestOpti
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> createKnowledgeSourceWithResponseAsync(BinaryData knowledgeSource,
         RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         final String contentType = "application/json";
         return FluxUtil.withContext(context -> service.createKnowledgeSource(this.getEndpoint(),
-            this.getServiceVersion().getVersion(), accept, contentType, knowledgeSource, requestOptions, context));
+            this.getServiceVersion().getVersion(), contentType, knowledgeSource, requestOptions, context));
     }
 
     /**
      * Creates a new knowledge source.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -6162,7 +7116,7 @@ public Mono> createKnowledgeSourceWithResponseAsync(BinaryD
      * 
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -6193,19 +7147,27 @@ public Mono> createKnowledgeSourceWithResponseAsync(BinaryD
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response createKnowledgeSourceWithResponse(BinaryData knowledgeSource,
         RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         final String contentType = "application/json";
-        return service.createKnowledgeSourceSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept,
-            contentType, knowledgeSource, requestOptions, Context.NONE);
+        return service.createKnowledgeSourceSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType,
+            knowledgeSource, requestOptions, Context.NONE);
     }
 
     /**
      * Retrieves the status of a knowledge source.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
      * {@code
      * {
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Optional)
      *     synchronizationStatus: String(creating/active/deleting) (Required)
      *     synchronizationInterval: String (Optional)
      *     currentSynchronizationState (Optional): {
@@ -6213,6 +7175,16 @@ public Response createKnowledgeSourceWithResponse(BinaryData knowled
      *         itemsUpdatesProcessed: int (Required)
      *         itemsUpdatesFailed: int (Required)
      *         itemsSkipped: int (Required)
+     *         errors (Optional): [
+     *              (Optional){
+     *                 docId: String (Optional)
+     *                 statusCode: Integer (Optional)
+     *                 name: String (Optional)
+     *                 errorMessage: String (Required)
+     *                 details: String (Optional)
+     *                 documentationLink: String (Optional)
+     *             }
+     *         ]
      *     }
      *     lastSynchronizationState (Optional): {
      *         startTime: OffsetDateTime (Required)
@@ -6242,18 +7214,26 @@ public Response createKnowledgeSourceWithResponse(BinaryData knowled
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> getKnowledgeSourceStatusWithResponseAsync(String name,
         RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         return FluxUtil.withContext(context -> service.getKnowledgeSourceStatus(this.getEndpoint(),
-            this.getServiceVersion().getVersion(), accept, name, requestOptions, context));
+            this.getServiceVersion().getVersion(), name, requestOptions, context));
     }
 
     /**
      * Retrieves the status of a knowledge source.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
      * {@code
      * {
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Optional)
      *     synchronizationStatus: String(creating/active/deleting) (Required)
      *     synchronizationInterval: String (Optional)
      *     currentSynchronizationState (Optional): {
@@ -6261,6 +7241,16 @@ public Mono> getKnowledgeSourceStatusWithResponseAsync(Stri
      *         itemsUpdatesProcessed: int (Required)
      *         itemsUpdatesFailed: int (Required)
      *         itemsSkipped: int (Required)
+     *         errors (Optional): [
+     *              (Optional){
+     *                 docId: String (Optional)
+     *                 statusCode: Integer (Optional)
+     *                 name: String (Optional)
+     *                 errorMessage: String (Required)
+     *                 details: String (Optional)
+     *                 documentationLink: String (Optional)
+     *             }
+     *         ]
      *     }
      *     lastSynchronizationState (Optional): {
      *         startTime: OffsetDateTime (Required)
@@ -6288,13 +7278,20 @@ public Mono> getKnowledgeSourceStatusWithResponseAsync(Stri
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response getKnowledgeSourceStatusWithResponse(String name, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
-        return service.getKnowledgeSourceStatusSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept,
-            name, requestOptions, Context.NONE);
+        return service.getKnowledgeSourceStatusSync(this.getEndpoint(), this.getServiceVersion().getVersion(), name,
+            requestOptions, Context.NONE);
     }
 
     /**
      * Gets service level statistics for a search service.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -6322,12 +7319,6 @@ public Response getKnowledgeSourceStatusWithResponse(String name, Re
      *         maxStoragePerIndex: Long (Optional)
      *         maxCumulativeIndexerRuntimeSeconds: Long (Optional)
      *     }
-     *     indexersRuntime (Required): {
-     *         usedSeconds: long (Required)
-     *         remainingSeconds: Long (Optional)
-     *         beginningTime: OffsetDateTime (Required)
-     *         endingTime: OffsetDateTime (Required)
-     *     }
      * }
      * }
      * 
@@ -6342,13 +7333,20 @@ public Response getKnowledgeSourceStatusWithResponse(String name, Re */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getServiceStatisticsWithResponseAsync(RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; return FluxUtil.withContext(context -> service.getServiceStatistics(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, requestOptions, context)); + this.getServiceVersion().getVersion(), requestOptions, context)); } /** * Gets service level statistics for a search service. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -6376,12 +7374,6 @@ public Mono> getServiceStatisticsWithResponseAsync(RequestO
      *         maxStoragePerIndex: Long (Optional)
      *         maxCumulativeIndexerRuntimeSeconds: Long (Optional)
      *     }
-     *     indexersRuntime (Required): {
-     *         usedSeconds: long (Required)
-     *         remainingSeconds: Long (Optional)
-     *         beginningTime: OffsetDateTime (Required)
-     *         endingTime: OffsetDateTime (Required)
-     *     }
      * }
      * }
      * 
@@ -6395,131 +7387,10 @@ public Mono> getServiceStatisticsWithResponseAsync(RequestO */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getServiceStatisticsWithResponse(RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; - return service.getServiceStatisticsSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, + return service.getServiceStatisticsSync(this.getEndpoint(), this.getServiceVersion().getVersion(), requestOptions, Context.NONE); } - /** - * Retrieves a summary of statistics for all indexes in the search service. - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     name: String (Required)
-     *     documentCount: long (Required)
-     *     storageSize: long (Required)
-     *     vectorIndexSize: long (Required)
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response from a request to retrieve stats summary of all indexes along with {@link PagedResponse} on - * successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listIndexStatsSummarySinglePageAsync(RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; - return FluxUtil - .withContext(context -> service.listIndexStatsSummary(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, requestOptions, context)) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - getValues(res.getValue(), "value"), null, null)); - } - - /** - * Retrieves a summary of statistics for all indexes in the search service. - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     name: String (Required)
-     *     documentCount: long (Required)
-     *     storageSize: long (Required)
-     *     vectorIndexSize: long (Required)
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response from a request to retrieve stats summary of all indexes as paginated response with - * {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listIndexStatsSummaryAsync(RequestOptions requestOptions) { - return new PagedFlux<>(() -> listIndexStatsSummarySinglePageAsync(requestOptions)); - } - - /** - * Retrieves a summary of statistics for all indexes in the search service. - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     name: String (Required)
-     *     documentCount: long (Required)
-     *     storageSize: long (Required)
-     *     vectorIndexSize: long (Required)
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response from a request to retrieve stats summary of all indexes along with {@link PagedResponse}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private PagedResponse listIndexStatsSummarySinglePage(RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; - Response res = service.listIndexStatsSummarySync(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); - return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - getValues(res.getValue(), "value"), null, null); - } - - /** - * Retrieves a summary of statistics for all indexes in the search service. - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     name: String (Required)
-     *     documentCount: long (Required)
-     *     storageSize: long (Required)
-     *     vectorIndexSize: long (Required)
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response from a request to retrieve stats summary of all indexes as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listIndexStatsSummary(RequestOptions requestOptions) { - return new PagedIterable<>(() -> listIndexStatsSummarySinglePage(requestOptions)); - } - private List getValues(BinaryData binaryData, String path) { try { Map obj = binaryData.toObject(Map.class); diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/SearchIndexerClientImpl.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/SearchIndexerClientImpl.java index e44d3536bc26..c32c08c73915 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/SearchIndexerClientImpl.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/SearchIndexerClientImpl.java @@ -23,7 +23,6 @@ import com.azure.core.exception.HttpResponseException; import com.azure.core.exception.ResourceModifiedException; import com.azure.core.exception.ResourceNotFoundException; -import com.azure.core.http.HttpHeaderName; import com.azure.core.http.HttpPipeline; import com.azure.core.http.HttpPipelineBuilder; import com.azure.core.http.policy.RetryPolicy; @@ -158,10 +157,9 @@ public interface SearchIndexerClientService { @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> createOrUpdateDataSourceConnection(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @HeaderParam("Prefer") String prefer, @PathParam("dataSourceName") String name, - @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData dataSource, - RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @HeaderParam("Prefer") String prefer, + @PathParam("dataSourceName") String name, @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") BinaryData dataSource, RequestOptions requestOptions, Context context); @Put("/datasources('{dataSourceName}')") @ExpectedResponses({ 200, 201 }) @@ -170,10 +168,9 @@ Mono> createOrUpdateDataSourceConnection(@HostParam("endpoi @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response createOrUpdateDataSourceConnectionSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @HeaderParam("Prefer") String prefer, @PathParam("dataSourceName") String name, - @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData dataSource, - RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @HeaderParam("Prefer") String prefer, + @PathParam("dataSourceName") String name, @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") BinaryData dataSource, RequestOptions requestOptions, Context context); @Delete("/datasources('{dataSourceName}')") @ExpectedResponses({ 204, 404 }) @@ -181,8 +178,8 @@ Response createOrUpdateDataSourceConnectionSync(@HostParam("endpoint @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> deleteDataSourceConnection(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("dataSourceName") String name, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("dataSourceName") String name, + RequestOptions requestOptions, Context context); @Delete("/datasources('{dataSourceName}')") @ExpectedResponses({ 204, 404 }) @@ -190,8 +187,8 @@ Mono> deleteDataSourceConnection(@HostParam("endpoint") String en @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response deleteDataSourceConnectionSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("dataSourceName") String name, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("dataSourceName") String name, + RequestOptions requestOptions, Context context); @Get("/datasources('{dataSourceName}')") @ExpectedResponses({ 200 }) @@ -200,8 +197,8 @@ Response deleteDataSourceConnectionSync(@HostParam("endpoint") String endp @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> getDataSourceConnection(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("dataSourceName") String name, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("dataSourceName") String name, + RequestOptions requestOptions, Context context); @Get("/datasources('{dataSourceName}')") @ExpectedResponses({ 200 }) @@ -210,8 +207,8 @@ Mono> getDataSourceConnection(@HostParam("endpoint") String @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response getDataSourceConnectionSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("dataSourceName") String name, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("dataSourceName") String name, + RequestOptions requestOptions, Context context); @Get("/datasources") @ExpectedResponses({ 200 }) @@ -220,8 +217,7 @@ Response getDataSourceConnectionSync(@HostParam("endpoint") String e @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> getDataSourceConnections(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); @Get("/datasources") @ExpectedResponses({ 200 }) @@ -230,8 +226,7 @@ Mono> getDataSourceConnections(@HostParam("endpoint") Strin @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response getDataSourceConnectionsSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); @Post("/datasources") @ExpectedResponses({ 201 }) @@ -240,8 +235,7 @@ Response getDataSourceConnectionsSync(@HostParam("endpoint") String @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> createDataSourceConnection(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @HeaderParam("Content-Type") String contentType, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData dataSourceConnection, RequestOptions requestOptions, Context context); @@ -252,8 +246,7 @@ Mono> createDataSourceConnection(@HostParam("endpoint") Str @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response createDataSourceConnectionSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @HeaderParam("Content-Type") String contentType, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData dataSourceConnection, RequestOptions requestOptions, Context context); @@ -264,8 +257,8 @@ Response createDataSourceConnectionSync(@HostParam("endpoint") Strin @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> resetIndexer(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexerName") String name, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("indexerName") String name, + RequestOptions requestOptions, Context context); @Post("/indexers('{indexerName}')/search.reset") @ExpectedResponses({ 204 }) @@ -274,51 +267,9 @@ Mono> resetIndexer(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response resetIndexerSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexerName") String name, RequestOptions requestOptions, Context context); - - @Post("/indexers('{indexerName}')/search.resync") - @ExpectedResponses({ 204 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> resync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexerName") String name, @HeaderParam("Content-Type") String contentType, - @BodyParam("application/json") BinaryData indexerResync, RequestOptions requestOptions, Context context); - - @Post("/indexers('{indexerName}')/search.resync") - @ExpectedResponses({ 204 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response resyncSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, @PathParam("indexerName") String name, - @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData indexerResync, + @QueryParam("api-version") String apiVersion, @PathParam("indexerName") String name, RequestOptions requestOptions, Context context); - @Post("/indexers('{indexerName}')/search.resetdocs") - @ExpectedResponses({ 204 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> resetDocuments(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexerName") String name, RequestOptions requestOptions, Context context); - - @Post("/indexers('{indexerName}')/search.resetdocs") - @ExpectedResponses({ 204 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response resetDocumentsSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexerName") String name, RequestOptions requestOptions, Context context); - @Post("/indexers('{indexerName}')/search.run") @ExpectedResponses({ 202 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @@ -326,8 +277,8 @@ Response resetDocumentsSync(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> runIndexer(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexerName") String name, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("indexerName") String name, + RequestOptions requestOptions, Context context); @Post("/indexers('{indexerName}')/search.run") @ExpectedResponses({ 202 }) @@ -336,8 +287,8 @@ Mono> runIndexer(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response runIndexerSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexerName") String name, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("indexerName") String name, + RequestOptions requestOptions, Context context); @Put("/indexers('{indexerName}')") @ExpectedResponses({ 200, 201 }) @@ -346,10 +297,9 @@ Response runIndexerSync(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> createOrUpdateIndexer(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @HeaderParam("Prefer") String prefer, @PathParam("indexerName") String name, - @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData indexer, - RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @HeaderParam("Prefer") String prefer, + @PathParam("indexerName") String name, @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") BinaryData indexer, RequestOptions requestOptions, Context context); @Put("/indexers('{indexerName}')") @ExpectedResponses({ 200, 201 }) @@ -358,10 +308,9 @@ Mono> createOrUpdateIndexer(@HostParam("endpoint") String e @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response createOrUpdateIndexerSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @HeaderParam("Prefer") String prefer, @PathParam("indexerName") String name, - @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData indexer, - RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @HeaderParam("Prefer") String prefer, + @PathParam("indexerName") String name, @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") BinaryData indexer, RequestOptions requestOptions, Context context); @Delete("/indexers('{indexerName}')") @ExpectedResponses({ 204, 404 }) @@ -369,8 +318,8 @@ Response createOrUpdateIndexerSync(@HostParam("endpoint") String end @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> deleteIndexer(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexerName") String name, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("indexerName") String name, + RequestOptions requestOptions, Context context); @Delete("/indexers('{indexerName}')") @ExpectedResponses({ 204, 404 }) @@ -378,8 +327,8 @@ Mono> deleteIndexer(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response deleteIndexerSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexerName") String name, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("indexerName") String name, + RequestOptions requestOptions, Context context); @Get("/indexers('{indexerName}')") @ExpectedResponses({ 200 }) @@ -388,8 +337,8 @@ Response deleteIndexerSync(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> getIndexer(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexerName") String name, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("indexerName") String name, + RequestOptions requestOptions, Context context); @Get("/indexers('{indexerName}')") @ExpectedResponses({ 200 }) @@ -398,8 +347,8 @@ Mono> getIndexer(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response getIndexerSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexerName") String name, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("indexerName") String name, + RequestOptions requestOptions, Context context); @Get("/indexers") @ExpectedResponses({ 200 }) @@ -408,8 +357,7 @@ Response getIndexerSync(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> getIndexers(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); @Get("/indexers") @ExpectedResponses({ 200 }) @@ -418,8 +366,7 @@ Mono> getIndexers(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response getIndexersSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); @Post("/indexers") @ExpectedResponses({ 201 }) @@ -428,9 +375,8 @@ Response getIndexersSync(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> createIndexer(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData indexer, - RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") BinaryData indexer, RequestOptions requestOptions, Context context); @Post("/indexers") @ExpectedResponses({ 201 }) @@ -439,9 +385,8 @@ Mono> createIndexer(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response createIndexerSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData indexer, - RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") BinaryData indexer, RequestOptions requestOptions, Context context); @Get("/indexers('{indexerName}')/search.status") @ExpectedResponses({ 200 }) @@ -450,8 +395,8 @@ Response createIndexerSync(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> getIndexerStatus(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexerName") String name, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("indexerName") String name, + RequestOptions requestOptions, Context context); @Get("/indexers('{indexerName}')/search.status") @ExpectedResponses({ 200 }) @@ -460,8 +405,8 @@ Mono> getIndexerStatus(@HostParam("endpoint") String endpoi @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response getIndexerStatusSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("indexerName") String name, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("indexerName") String name, + RequestOptions requestOptions, Context context); @Put("/skillsets('{skillsetName}')") @ExpectedResponses({ 200, 201 }) @@ -470,10 +415,9 @@ Response getIndexerStatusSync(@HostParam("endpoint") String endpoint @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> createOrUpdateSkillset(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @HeaderParam("Prefer") String prefer, @PathParam("skillsetName") String name, - @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData skillset, - RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @HeaderParam("Prefer") String prefer, + @PathParam("skillsetName") String name, @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") BinaryData skillset, RequestOptions requestOptions, Context context); @Put("/skillsets('{skillsetName}')") @ExpectedResponses({ 200, 201 }) @@ -482,10 +426,9 @@ Mono> createOrUpdateSkillset(@HostParam("endpoint") String @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response createOrUpdateSkillsetSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @HeaderParam("Prefer") String prefer, @PathParam("skillsetName") String name, - @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData skillset, - RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @HeaderParam("Prefer") String prefer, + @PathParam("skillsetName") String name, @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") BinaryData skillset, RequestOptions requestOptions, Context context); @Delete("/skillsets('{skillsetName}')") @ExpectedResponses({ 204, 404 }) @@ -493,8 +436,8 @@ Response createOrUpdateSkillsetSync(@HostParam("endpoint") String en @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> deleteSkillset(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("skillsetName") String name, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("skillsetName") String name, + RequestOptions requestOptions, Context context); @Delete("/skillsets('{skillsetName}')") @ExpectedResponses({ 204, 404 }) @@ -502,8 +445,8 @@ Mono> deleteSkillset(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response deleteSkillsetSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("skillsetName") String name, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("skillsetName") String name, + RequestOptions requestOptions, Context context); @Get("/skillsets('{skillsetName}')") @ExpectedResponses({ 200 }) @@ -512,8 +455,8 @@ Response deleteSkillsetSync(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> getSkillset(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("skillsetName") String name, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("skillsetName") String name, + RequestOptions requestOptions, Context context); @Get("/skillsets('{skillsetName}')") @ExpectedResponses({ 200 }) @@ -522,8 +465,8 @@ Mono> getSkillset(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response getSkillsetSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("skillsetName") String name, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @PathParam("skillsetName") String name, + RequestOptions requestOptions, Context context); @Get("/skillsets") @ExpectedResponses({ 200 }) @@ -532,8 +475,7 @@ Response getSkillsetSync(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> getSkillsets(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); @Get("/skillsets") @ExpectedResponses({ 200 }) @@ -542,8 +484,7 @@ Mono> getSkillsets(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response getSkillsetsSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, RequestOptions requestOptions, Context context); @Post("/skillsets") @ExpectedResponses({ 201 }) @@ -552,9 +493,8 @@ Response getSkillsetsSync(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> createSkillset(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData skillset, - RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") BinaryData skillset, RequestOptions requestOptions, Context context); @Post("/skillsets") @ExpectedResponses({ 201 }) @@ -563,46 +503,18 @@ Mono> createSkillset(@HostParam("endpoint") String endpoint @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) Response createSkillsetSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") BinaryData skillset, - RequestOptions requestOptions, Context context); - - @Post("/skillsets('{skillsetName}')/search.resetskills") - @ExpectedResponses({ 204 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> resetSkills(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("skillsetName") String name, @HeaderParam("Content-Type") String contentType, - @BodyParam("application/json") BinaryData skillNames, RequestOptions requestOptions, Context context); - - @Post("/skillsets('{skillsetName}')/search.resetskills") - @ExpectedResponses({ 204 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response resetSkillsSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, - @PathParam("skillsetName") String name, @HeaderParam("Content-Type") String contentType, - @BodyParam("application/json") BinaryData skillNames, RequestOptions requestOptions, Context context); + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") BinaryData skillset, RequestOptions requestOptions, Context context); } /** * Creates a new datasource or updates a datasource if it already exists. - *

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
ignoreResetRequirementsBooleanNoIgnores cache reset requirements.
- * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -617,7 +529,6 @@ Response resetSkillsSync(@HostParam("endpoint") String endpoint, * name: String (Required) * description: String (Optional) * type: String(azuresql/cosmosdb/azureblob/azuretable/mysql/adlsgen2/onelake/sharepoint) (Required) - * subType: String (Optional) * credentials (Required): { * connectionString: String (Optional) * } @@ -628,9 +539,6 @@ Response resetSkillsSync(@HostParam("endpoint") String endpoint, * identity (Optional): { * @odata.type: String (Required) * } - * indexerPermissionOptions (Optional): [ - * String(userIds/groupIds/rbacScope) (Optional) - * ] * dataChangeDetectionPolicy (Optional): { * @odata.type: String (Required) * } @@ -660,7 +568,6 @@ Response resetSkillsSync(@HostParam("endpoint") String endpoint, * name: String (Required) * description: String (Optional) * type: String(azuresql/cosmosdb/azureblob/azuretable/mysql/adlsgen2/onelake/sharepoint) (Required) - * subType: String (Optional) * credentials (Required): { * connectionString: String (Optional) * } @@ -671,9 +578,6 @@ Response resetSkillsSync(@HostParam("endpoint") String endpoint, * identity (Optional): { * @odata.type: String (Required) * } - * indexerPermissionOptions (Optional): [ - * String(userIds/groupIds/rbacScope) (Optional) - * ] * dataChangeDetectionPolicy (Optional): { * @odata.type: String (Required) * } @@ -708,27 +612,20 @@ Response resetSkillsSync(@HostParam("endpoint") String endpoint, @ServiceMethod(returns = ReturnType.SINGLE) public Mono> createOrUpdateDataSourceConnectionWithResponseAsync(String name, BinaryData dataSource, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; final String prefer = "return=representation"; final String contentType = "application/json"; return FluxUtil.withContext(context -> service.createOrUpdateDataSourceConnection(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, prefer, name, contentType, dataSource, requestOptions, - context)); + this.getServiceVersion().getVersion(), prefer, name, contentType, dataSource, requestOptions, context)); } /** * Creates a new datasource or updates a datasource if it already exists. - *

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
ignoreResetRequirementsBooleanNoIgnores cache reset requirements.
- * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -743,7 +640,6 @@ public Mono> createOrUpdateDataSourceConnectionWithResponse * name: String (Required) * description: String (Optional) * type: String(azuresql/cosmosdb/azureblob/azuretable/mysql/adlsgen2/onelake/sharepoint) (Required) - * subType: String (Optional) * credentials (Required): { * connectionString: String (Optional) * } @@ -754,9 +650,6 @@ public Mono> createOrUpdateDataSourceConnectionWithResponse * identity (Optional): { * @odata.type: String (Required) * } - * indexerPermissionOptions (Optional): [ - * String(userIds/groupIds/rbacScope) (Optional) - * ] * dataChangeDetectionPolicy (Optional): { * @odata.type: String (Required) * } @@ -786,7 +679,6 @@ public Mono> createOrUpdateDataSourceConnectionWithResponse * name: String (Required) * description: String (Optional) * type: String(azuresql/cosmosdb/azureblob/azuretable/mysql/adlsgen2/onelake/sharepoint) (Required) - * subType: String (Optional) * credentials (Required): { * connectionString: String (Optional) * } @@ -797,9 +689,6 @@ public Mono> createOrUpdateDataSourceConnectionWithResponse * identity (Optional): { * @odata.type: String (Required) * } - * indexerPermissionOptions (Optional): [ - * String(userIds/groupIds/rbacScope) (Optional) - * ] * dataChangeDetectionPolicy (Optional): { * @odata.type: String (Required) * } @@ -834,11 +723,10 @@ public Mono> createOrUpdateDataSourceConnectionWithResponse @ServiceMethod(returns = ReturnType.SINGLE) public Response createOrUpdateDataSourceConnectionWithResponse(String name, BinaryData dataSource, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; final String prefer = "return=representation"; final String contentType = "application/json"; return service.createOrUpdateDataSourceConnectionSync(this.getEndpoint(), this.getServiceVersion().getVersion(), - accept, prefer, name, contentType, dataSource, requestOptions, Context.NONE); + prefer, name, contentType, dataSource, requestOptions, Context.NONE); } /** @@ -847,6 +735,8 @@ public Response createOrUpdateDataSourceConnectionWithResponse(Strin * * * + * * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -864,9 +754,8 @@ public Response createOrUpdateDataSourceConnectionWithResponse(Strin @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteDataSourceConnectionWithResponseAsync(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; return FluxUtil.withContext(context -> service.deleteDataSourceConnection(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, name, requestOptions, context)); + this.getServiceVersion().getVersion(), name, requestOptions, context)); } /** @@ -875,6 +764,8 @@ public Mono> deleteDataSourceConnectionWithResponseAsync(String n * * * + * * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -891,13 +782,20 @@ public Mono> deleteDataSourceConnectionWithResponseAsync(String n */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteDataSourceConnectionWithResponse(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; - return service.deleteDataSourceConnectionSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, - name, requestOptions, Context.NONE); + return service.deleteDataSourceConnectionSync(this.getEndpoint(), this.getServiceVersion().getVersion(), name, + requestOptions, Context.NONE); } /** * Retrieves a datasource definition. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -906,7 +804,6 @@ public Response deleteDataSourceConnectionWithResponse(String name, Reques
      *     name: String (Required)
      *     description: String (Optional)
      *     type: String(azuresql/cosmosdb/azureblob/azuretable/mysql/adlsgen2/onelake/sharepoint) (Required)
-     *     subType: String (Optional)
      *     credentials (Required): {
      *         connectionString: String (Optional)
      *     }
@@ -917,9 +814,6 @@ public Response deleteDataSourceConnectionWithResponse(String name, Reques
      *     identity (Optional): {
      *         @odata.type: String (Required)
      *     }
-     *     indexerPermissionOptions (Optional): [
-     *         String(userIds/groupIds/rbacScope) (Optional)
-     *     ]
      *     dataChangeDetectionPolicy (Optional): {
      *         @odata.type: String (Required)
      *     }
@@ -953,13 +847,20 @@ public Response deleteDataSourceConnectionWithResponse(String name, Reques
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> getDataSourceConnectionWithResponseAsync(String name,
         RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         return FluxUtil.withContext(context -> service.getDataSourceConnection(this.getEndpoint(),
-            this.getServiceVersion().getVersion(), accept, name, requestOptions, context));
+            this.getServiceVersion().getVersion(), name, requestOptions, context));
     }
 
     /**
      * Retrieves a datasource definition.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -968,7 +869,6 @@ public Mono> getDataSourceConnectionWithResponseAsync(Strin
      *     name: String (Required)
      *     description: String (Optional)
      *     type: String(azuresql/cosmosdb/azureblob/azuretable/mysql/adlsgen2/onelake/sharepoint) (Required)
-     *     subType: String (Optional)
      *     credentials (Required): {
      *         connectionString: String (Optional)
      *     }
@@ -979,9 +879,6 @@ public Mono> getDataSourceConnectionWithResponseAsync(Strin
      *     identity (Optional): {
      *         @odata.type: String (Required)
      *     }
-     *     indexerPermissionOptions (Optional): [
-     *         String(userIds/groupIds/rbacScope) (Optional)
-     *     ]
      *     dataChangeDetectionPolicy (Optional): {
      *         @odata.type: String (Required)
      *     }
@@ -1014,9 +911,8 @@ public Mono> getDataSourceConnectionWithResponseAsync(Strin
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response getDataSourceConnectionWithResponse(String name, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
-        return service.getDataSourceConnectionSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept,
-            name, requestOptions, Context.NONE);
+        return service.getDataSourceConnectionSync(this.getEndpoint(), this.getServiceVersion().getVersion(), name,
+            requestOptions, Context.NONE);
     }
 
     /**
@@ -1030,6 +926,14 @@ public Response getDataSourceConnectionWithResponse(String name, Req
      * properties. In the form of "," separated string.
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -1040,7 +944,6 @@ public Response getDataSourceConnectionWithResponse(String name, Req
      *             name: String (Required)
      *             description: String (Optional)
      *             type: String(azuresql/cosmosdb/azureblob/azuretable/mysql/adlsgen2/onelake/sharepoint) (Required)
-     *             subType: String (Optional)
      *             credentials (Required): {
      *                 connectionString: String (Optional)
      *             }
@@ -1051,9 +954,6 @@ public Response getDataSourceConnectionWithResponse(String name, Req
      *             identity (Optional): {
      *                 @odata.type: String (Required)
      *             }
-     *             indexerPermissionOptions (Optional): [
-     *                 String(userIds/groupIds/rbacScope) (Optional)
-     *             ]
      *             dataChangeDetectionPolicy (Optional): {
      *                 @odata.type: String (Required)
      *             }
@@ -1087,9 +987,8 @@ public Response getDataSourceConnectionWithResponse(String name, Req
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> getDataSourceConnectionsWithResponseAsync(RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         return FluxUtil.withContext(context -> service.getDataSourceConnections(this.getEndpoint(),
-            this.getServiceVersion().getVersion(), accept, requestOptions, context));
+            this.getServiceVersion().getVersion(), requestOptions, context));
     }
 
     /**
@@ -1103,6 +1002,14 @@ public Mono> getDataSourceConnectionsWithResponseAsync(Requ
      * properties. In the form of "," separated string.
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -1113,7 +1020,6 @@ public Mono> getDataSourceConnectionsWithResponseAsync(Requ
      *             name: String (Required)
      *             description: String (Optional)
      *             type: String(azuresql/cosmosdb/azureblob/azuretable/mysql/adlsgen2/onelake/sharepoint) (Required)
-     *             subType: String (Optional)
      *             credentials (Required): {
      *                 connectionString: String (Optional)
      *             }
@@ -1124,9 +1030,6 @@ public Mono> getDataSourceConnectionsWithResponseAsync(Requ
      *             identity (Optional): {
      *                 @odata.type: String (Required)
      *             }
-     *             indexerPermissionOptions (Optional): [
-     *                 String(userIds/groupIds/rbacScope) (Optional)
-     *             ]
      *             dataChangeDetectionPolicy (Optional): {
      *                 @odata.type: String (Required)
      *             }
@@ -1159,13 +1062,20 @@ public Mono> getDataSourceConnectionsWithResponseAsync(Requ
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response getDataSourceConnectionsWithResponse(RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
-        return service.getDataSourceConnectionsSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept,
+        return service.getDataSourceConnectionsSync(this.getEndpoint(), this.getServiceVersion().getVersion(),
             requestOptions, Context.NONE);
     }
 
     /**
      * Creates a new datasource.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -1174,7 +1084,6 @@ public Response getDataSourceConnectionsWithResponse(RequestOptions
      *     name: String (Required)
      *     description: String (Optional)
      *     type: String(azuresql/cosmosdb/azureblob/azuretable/mysql/adlsgen2/onelake/sharepoint) (Required)
-     *     subType: String (Optional)
      *     credentials (Required): {
      *         connectionString: String (Optional)
      *     }
@@ -1185,9 +1094,6 @@ public Response getDataSourceConnectionsWithResponse(RequestOptions
      *     identity (Optional): {
      *         @odata.type: String (Required)
      *     }
-     *     indexerPermissionOptions (Optional): [
-     *         String(userIds/groupIds/rbacScope) (Optional)
-     *     ]
      *     dataChangeDetectionPolicy (Optional): {
      *         @odata.type: String (Required)
      *     }
@@ -1217,7 +1123,6 @@ public Response getDataSourceConnectionsWithResponse(RequestOptions
      *     name: String (Required)
      *     description: String (Optional)
      *     type: String(azuresql/cosmosdb/azureblob/azuretable/mysql/adlsgen2/onelake/sharepoint) (Required)
-     *     subType: String (Optional)
      *     credentials (Required): {
      *         connectionString: String (Optional)
      *     }
@@ -1228,9 +1133,6 @@ public Response getDataSourceConnectionsWithResponse(RequestOptions
      *     identity (Optional): {
      *         @odata.type: String (Required)
      *     }
-     *     indexerPermissionOptions (Optional): [
-     *         String(userIds/groupIds/rbacScope) (Optional)
-     *     ]
      *     dataChangeDetectionPolicy (Optional): {
      *         @odata.type: String (Required)
      *     }
@@ -1264,14 +1166,21 @@ public Response getDataSourceConnectionsWithResponse(RequestOptions
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> createDataSourceConnectionWithResponseAsync(BinaryData dataSourceConnection,
         RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         final String contentType = "application/json";
         return FluxUtil.withContext(context -> service.createDataSourceConnection(this.getEndpoint(),
-            this.getServiceVersion().getVersion(), accept, contentType, dataSourceConnection, requestOptions, context));
+            this.getServiceVersion().getVersion(), contentType, dataSourceConnection, requestOptions, context));
     }
 
     /**
      * Creates a new datasource.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -1280,7 +1189,6 @@ public Mono> createDataSourceConnectionWithResponseAsync(Bi
      *     name: String (Required)
      *     description: String (Optional)
      *     type: String(azuresql/cosmosdb/azureblob/azuretable/mysql/adlsgen2/onelake/sharepoint) (Required)
-     *     subType: String (Optional)
      *     credentials (Required): {
      *         connectionString: String (Optional)
      *     }
@@ -1291,9 +1199,6 @@ public Mono> createDataSourceConnectionWithResponseAsync(Bi
      *     identity (Optional): {
      *         @odata.type: String (Required)
      *     }
-     *     indexerPermissionOptions (Optional): [
-     *         String(userIds/groupIds/rbacScope) (Optional)
-     *     ]
      *     dataChangeDetectionPolicy (Optional): {
      *         @odata.type: String (Required)
      *     }
@@ -1323,7 +1228,6 @@ public Mono> createDataSourceConnectionWithResponseAsync(Bi
      *     name: String (Required)
      *     description: String (Optional)
      *     type: String(azuresql/cosmosdb/azureblob/azuretable/mysql/adlsgen2/onelake/sharepoint) (Required)
-     *     subType: String (Optional)
      *     credentials (Required): {
      *         connectionString: String (Optional)
      *     }
@@ -1334,9 +1238,6 @@ public Mono> createDataSourceConnectionWithResponseAsync(Bi
      *     identity (Optional): {
      *         @odata.type: String (Required)
      *     }
-     *     indexerPermissionOptions (Optional): [
-     *         String(userIds/groupIds/rbacScope) (Optional)
-     *     ]
      *     dataChangeDetectionPolicy (Optional): {
      *         @odata.type: String (Required)
      *     }
@@ -1370,14 +1271,21 @@ public Mono> createDataSourceConnectionWithResponseAsync(Bi
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response createDataSourceConnectionWithResponse(BinaryData dataSourceConnection,
         RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         final String contentType = "application/json";
-        return service.createDataSourceConnectionSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept,
+        return service.createDataSourceConnectionSync(this.getEndpoint(), this.getServiceVersion().getVersion(),
             contentType, dataSourceConnection, requestOptions, Context.NONE);
     }
 
     /**
      * Resets the change tracking state associated with an indexer.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} * * @param name The name of the indexer. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -1389,124 +1297,20 @@ public Response createDataSourceConnectionWithResponse(BinaryData da */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> resetIndexerWithResponseAsync(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; return FluxUtil.withContext(context -> service.resetIndexer(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, name, requestOptions, context)); + this.getServiceVersion().getVersion(), name, requestOptions, context)); } /** * Resets the change tracking state associated with an indexer. - * - * @param name The name of the indexer. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response resetIndexerWithResponse(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; - return service.resetIndexerSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, name, - requestOptions, Context.NONE); - } - - /** - * Resync selective options from the datasource to be re-ingested by the indexer.". - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     options (Optional): [
-     *         String(permissions) (Optional)
-     *     ]
-     * }
-     * }
-     * 
- * - * @param name The name of the indexer. - * @param indexerResync The definition of the indexer resync options. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> resyncWithResponseAsync(String name, BinaryData indexerResync, - RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; - final String contentType = "application/json"; - return FluxUtil.withContext(context -> service.resync(this.getEndpoint(), this.getServiceVersion().getVersion(), - accept, name, contentType, indexerResync, requestOptions, context)); - } - - /** - * Resync selective options from the datasource to be re-ingested by the indexer.". - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     options (Optional): [
-     *         String(permissions) (Optional)
-     *     ]
-     * }
-     * }
-     * 
- * - * @param name The name of the indexer. - * @param indexerResync The definition of the indexer resync options. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response resyncWithResponse(String name, BinaryData indexerResync, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; - final String contentType = "application/json"; - return service.resyncSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, name, contentType, - indexerResync, requestOptions, Context.NONE); - } - - /** - * Resets specific documents in the datasource to be selectively re-ingested by the indexer. - *

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
overwriteBooleanNoIf false, keys or ids will be appended to existing ones. If - * true, only the keys or ids in this payload will be queued to be re-ingested.
- * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * - * + * *
Header Parameters
NameTypeRequiredDescription
Content-TypeStringNoThe content type. Allowed values: - * "application/json".
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
* You can add these to a request with {@link RequestOptions#addHeader} - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     documentKeys (Optional): [
-     *         String (Optional)
-     *     ]
-     *     datasourceDocumentIds (Optional): [
-     *         String (Optional)
-     *     ]
-     * }
-     * }
-     * 
* * @param name The name of the indexer. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -1514,77 +1318,24 @@ public Response resyncWithResponse(String name, BinaryData indexerResync, * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> resetDocumentsWithResponseAsync(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; - RequestOptions requestOptionsLocal = requestOptions == null ? new RequestOptions() : requestOptions; - requestOptionsLocal.addRequestCallback(requestLocal -> { - if (requestLocal.getBody() != null && requestLocal.getHeaders().get(HttpHeaderName.CONTENT_TYPE) == null) { - requestLocal.getHeaders().set(HttpHeaderName.CONTENT_TYPE, "application/json"); - } - }); - return FluxUtil.withContext(context -> service.resetDocuments(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, name, requestOptionsLocal, context)); + public Response resetIndexerWithResponse(String name, RequestOptions requestOptions) { + return service.resetIndexerSync(this.getEndpoint(), this.getServiceVersion().getVersion(), name, requestOptions, + Context.NONE); } /** - * Resets specific documents in the datasource to be selectively re-ingested by the indexer. - *

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
overwriteBooleanNoIf false, keys or ids will be appended to existing ones. If - * true, only the keys or ids in this payload will be queued to be re-ingested.
- * You can add these to a request with {@link RequestOptions#addQueryParam} + * Runs an indexer on-demand. *

Header Parameters

* * * - * + * *
Header Parameters
NameTypeRequiredDescription
Content-TypeStringNoThe content type. Allowed values: - * "application/json".
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
* You can add these to a request with {@link RequestOptions#addHeader} - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     documentKeys (Optional): [
-     *         String (Optional)
-     *     ]
-     *     datasourceDocumentIds (Optional): [
-     *         String (Optional)
-     *     ]
-     * }
-     * }
-     * 
- * - * @param name The name of the indexer. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response resetDocumentsWithResponse(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; - RequestOptions requestOptionsLocal = requestOptions == null ? new RequestOptions() : requestOptions; - requestOptionsLocal.addRequestCallback(requestLocal -> { - if (requestLocal.getBody() != null && requestLocal.getHeaders().get(HttpHeaderName.CONTENT_TYPE) == null) { - requestLocal.getHeaders().set(HttpHeaderName.CONTENT_TYPE, "application/json"); - } - }); - return service.resetDocumentsSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, name, - requestOptionsLocal, Context.NONE); - } - - /** - * Runs an indexer on-demand. * * @param name The name of the indexer. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -1596,13 +1347,20 @@ public Response resetDocumentsWithResponse(String name, RequestOptions req */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> runIndexerWithResponseAsync(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; return FluxUtil.withContext(context -> service.runIndexer(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, name, requestOptions, context)); + this.getServiceVersion().getVersion(), name, requestOptions, context)); } /** * Runs an indexer on-demand. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} * * @param name The name of the indexer. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -1614,26 +1372,18 @@ public Mono> runIndexerWithResponseAsync(String name, RequestOpti */ @ServiceMethod(returns = ReturnType.SINGLE) public Response runIndexerWithResponse(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; - return service.runIndexerSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, name, - requestOptions, Context.NONE); + return service.runIndexerSync(this.getEndpoint(), this.getServiceVersion().getVersion(), name, requestOptions, + Context.NONE); } /** * Creates a new indexer or updates an indexer if it already exists. - *

Query Parameters

- * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
ignoreResetRequirementsBooleanNoIgnores cache reset requirements.
disableCacheReprocessingChangeDetectionBooleanNoDisables cache reprocessing - * change detection.
- * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -1711,12 +1461,6 @@ public Response runIndexerWithResponse(String name, RequestOptions request * @odata.type: String (Required) * } * } - * cache (Optional): { - * id: String (Optional) - * storageConnectionString: String (Optional) - * enableReprocessing: Boolean (Optional) - * identity (Optional): (recursive schema, see identity above) - * } * } * } * @@ -1792,12 +1536,6 @@ public Response runIndexerWithResponse(String name, RequestOptions request * @odata.type: String (Required) * } * } - * cache (Optional): { - * id: String (Optional) - * storageConnectionString: String (Optional) - * enableReprocessing: Boolean (Optional) - * identity (Optional): (recursive schema, see identity above) - * } * } * } * @@ -1814,29 +1552,20 @@ public Response runIndexerWithResponse(String name, RequestOptions request @ServiceMethod(returns = ReturnType.SINGLE) public Mono> createOrUpdateIndexerWithResponseAsync(String name, BinaryData indexer, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; final String prefer = "return=representation"; final String contentType = "application/json"; - return FluxUtil.withContext( - context -> service.createOrUpdateIndexer(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, - prefer, name, contentType, indexer, requestOptions, context)); + return FluxUtil.withContext(context -> service.createOrUpdateIndexer(this.getEndpoint(), + this.getServiceVersion().getVersion(), prefer, name, contentType, indexer, requestOptions, context)); } /** * Creates a new indexer or updates an indexer if it already exists. - *

Query Parameters

- * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
ignoreResetRequirementsBooleanNoIgnores cache reset requirements.
disableCacheReprocessingChangeDetectionBooleanNoDisables cache reprocessing - * change detection.
- * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -1914,12 +1643,6 @@ public Mono> createOrUpdateIndexerWithResponseAsync(String * @odata.type: String (Required) * } * } - * cache (Optional): { - * id: String (Optional) - * storageConnectionString: String (Optional) - * enableReprocessing: Boolean (Optional) - * identity (Optional): (recursive schema, see identity above) - * } * } * } * @@ -1995,12 +1718,6 @@ public Mono> createOrUpdateIndexerWithResponseAsync(String * @odata.type: String (Required) * } * } - * cache (Optional): { - * id: String (Optional) - * storageConnectionString: String (Optional) - * enableReprocessing: Boolean (Optional) - * identity (Optional): (recursive schema, see identity above) - * } * } * } * @@ -2017,11 +1734,10 @@ public Mono> createOrUpdateIndexerWithResponseAsync(String @ServiceMethod(returns = ReturnType.SINGLE) public Response createOrUpdateIndexerWithResponse(String name, BinaryData indexer, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; final String prefer = "return=representation"; final String contentType = "application/json"; - return service.createOrUpdateIndexerSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, - prefer, name, contentType, indexer, requestOptions, Context.NONE); + return service.createOrUpdateIndexerSync(this.getEndpoint(), this.getServiceVersion().getVersion(), prefer, + name, contentType, indexer, requestOptions, Context.NONE); } /** @@ -2030,6 +1746,8 @@ public Response createOrUpdateIndexerWithResponse(String name, Binar * * * + * * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -2046,9 +1764,8 @@ public Response createOrUpdateIndexerWithResponse(String name, Binar */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteIndexerWithResponseAsync(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; return FluxUtil.withContext(context -> service.deleteIndexer(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, name, requestOptions, context)); + this.getServiceVersion().getVersion(), name, requestOptions, context)); } /** @@ -2057,6 +1774,8 @@ public Mono> deleteIndexerWithResponseAsync(String name, RequestO * * * + * * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -2073,13 +1792,20 @@ public Mono> deleteIndexerWithResponseAsync(String name, RequestO */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteIndexerWithResponse(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; - return service.deleteIndexerSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, name, + return service.deleteIndexerSync(this.getEndpoint(), this.getServiceVersion().getVersion(), name, requestOptions, Context.NONE); } /** * Retrieves an indexer definition. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -2151,12 +1877,6 @@ public Response deleteIndexerWithResponse(String name, RequestOptions requ
      *             @odata.type: String (Required)
      *         }
      *     }
-     *     cache (Optional): {
-     *         id: String (Optional)
-     *         storageConnectionString: String (Optional)
-     *         enableReprocessing: Boolean (Optional)
-     *         identity (Optional): (recursive schema, see identity above)
-     *     }
      * }
      * }
      * 
@@ -2171,13 +1891,20 @@ public Response deleteIndexerWithResponse(String name, RequestOptions requ */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getIndexerWithResponseAsync(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; return FluxUtil.withContext(context -> service.getIndexer(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, name, requestOptions, context)); + this.getServiceVersion().getVersion(), name, requestOptions, context)); } /** * Retrieves an indexer definition. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -2249,12 +1976,6 @@ public Mono> getIndexerWithResponseAsync(String name, Reque
      *             @odata.type: String (Required)
      *         }
      *     }
-     *     cache (Optional): {
-     *         id: String (Optional)
-     *         storageConnectionString: String (Optional)
-     *         enableReprocessing: Boolean (Optional)
-     *         identity (Optional): (recursive schema, see identity above)
-     *     }
      * }
      * }
      * 
@@ -2269,9 +1990,8 @@ public Mono> getIndexerWithResponseAsync(String name, Reque */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getIndexerWithResponse(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; - return service.getIndexerSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, name, - requestOptions, Context.NONE); + return service.getIndexerSync(this.getEndpoint(), this.getServiceVersion().getVersion(), name, requestOptions, + Context.NONE); } /** @@ -2285,6 +2005,14 @@ public Response getIndexerWithResponse(String name, RequestOptions r * properties. In the form of "," separated string.
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -2358,12 +2086,6 @@ public Response getIndexerWithResponse(String name, RequestOptions r
      *                     @odata.type: String (Required)
      *                 }
      *             }
-     *             cache (Optional): {
-     *                 id: String (Optional)
-     *                 storageConnectionString: String (Optional)
-     *                 enableReprocessing: Boolean (Optional)
-     *                 identity (Optional): (recursive schema, see identity above)
-     *             }
      *         }
      *     ]
      * }
@@ -2380,9 +2102,8 @@ public Response getIndexerWithResponse(String name, RequestOptions r
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> getIndexersWithResponseAsync(RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         return FluxUtil.withContext(context -> service.getIndexers(this.getEndpoint(),
-            this.getServiceVersion().getVersion(), accept, requestOptions, context));
+            this.getServiceVersion().getVersion(), requestOptions, context));
     }
 
     /**
@@ -2396,6 +2117,14 @@ public Mono> getIndexersWithResponseAsync(RequestOptions re
      * properties. In the form of "," separated string.
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -2469,12 +2198,6 @@ public Mono> getIndexersWithResponseAsync(RequestOptions re
      *                     @odata.type: String (Required)
      *                 }
      *             }
-     *             cache (Optional): {
-     *                 id: String (Optional)
-     *                 storageConnectionString: String (Optional)
-     *                 enableReprocessing: Boolean (Optional)
-     *                 identity (Optional): (recursive schema, see identity above)
-     *             }
      *         }
      *     ]
      * }
@@ -2490,13 +2213,20 @@ public Mono> getIndexersWithResponseAsync(RequestOptions re
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response getIndexersWithResponse(RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
-        return service.getIndexersSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept,
-            requestOptions, Context.NONE);
+        return service.getIndexersSync(this.getEndpoint(), this.getServiceVersion().getVersion(), requestOptions,
+            Context.NONE);
     }
 
     /**
      * Creates a new indexer.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -2568,12 +2298,6 @@ public Response getIndexersWithResponse(RequestOptions requestOption
      *             @odata.type: String (Required)
      *         }
      *     }
-     *     cache (Optional): {
-     *         id: String (Optional)
-     *         storageConnectionString: String (Optional)
-     *         enableReprocessing: Boolean (Optional)
-     *         identity (Optional): (recursive schema, see identity above)
-     *     }
      * }
      * }
      * 
@@ -2649,12 +2373,6 @@ public Response getIndexersWithResponse(RequestOptions requestOption * @odata.type: String (Required) * } * } - * cache (Optional): { - * id: String (Optional) - * storageConnectionString: String (Optional) - * enableReprocessing: Boolean (Optional) - * identity (Optional): (recursive schema, see identity above) - * } * } * } *
@@ -2670,14 +2388,21 @@ public Response getIndexersWithResponse(RequestOptions requestOption @ServiceMethod(returns = ReturnType.SINGLE) public Mono> createIndexerWithResponseAsync(BinaryData indexer, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; final String contentType = "application/json"; return FluxUtil.withContext(context -> service.createIndexer(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, contentType, indexer, requestOptions, context)); + this.getServiceVersion().getVersion(), contentType, indexer, requestOptions, context)); } /** * Creates a new indexer. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -2749,12 +2474,6 @@ public Mono> createIndexerWithResponseAsync(BinaryData inde
      *             @odata.type: String (Required)
      *         }
      *     }
-     *     cache (Optional): {
-     *         id: String (Optional)
-     *         storageConnectionString: String (Optional)
-     *         enableReprocessing: Boolean (Optional)
-     *         identity (Optional): (recursive schema, see identity above)
-     *     }
      * }
      * }
      * 
@@ -2830,12 +2549,6 @@ public Mono> createIndexerWithResponseAsync(BinaryData inde * @odata.type: String (Required) * } * } - * cache (Optional): { - * id: String (Optional) - * storageConnectionString: String (Optional) - * enableReprocessing: Boolean (Optional) - * identity (Optional): (recursive schema, see identity above) - * } * } * } * @@ -2850,14 +2563,21 @@ public Mono> createIndexerWithResponseAsync(BinaryData inde */ @ServiceMethod(returns = ReturnType.SINGLE) public Response createIndexerWithResponse(BinaryData indexer, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; final String contentType = "application/json"; - return service.createIndexerSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, contentType, + return service.createIndexerSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, indexer, requestOptions, Context.NONE); } /** * Returns the current status and execution history of an indexer. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -2865,12 +2585,6 @@ public Response createIndexerWithResponse(BinaryData indexer, Reques
      * {
      *     name: String (Required)
      *     status: String(unknown/error/running) (Required)
-     *     runtime (Required): {
-     *         usedSeconds: long (Required)
-     *         remainingSeconds: Long (Optional)
-     *         beginningTime: OffsetDateTime (Required)
-     *         endingTime: OffsetDateTime (Required)
-     *     }
      *     lastResult (Optional): {
      *         status: String(transientFailure/success/inProgress/reset) (Required)
      *         statusDetail: String(resetDocs/resync) (Optional)
@@ -2940,13 +2654,20 @@ public Response createIndexerWithResponse(BinaryData indexer, Reques
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> getIndexerStatusWithResponseAsync(String name, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         return FluxUtil.withContext(context -> service.getIndexerStatus(this.getEndpoint(),
-            this.getServiceVersion().getVersion(), accept, name, requestOptions, context));
+            this.getServiceVersion().getVersion(), name, requestOptions, context));
     }
 
     /**
      * Returns the current status and execution history of an indexer.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -2954,12 +2675,6 @@ public Mono> getIndexerStatusWithResponseAsync(String name,
      * {
      *     name: String (Required)
      *     status: String(unknown/error/running) (Required)
-     *     runtime (Required): {
-     *         usedSeconds: long (Required)
-     *         remainingSeconds: Long (Optional)
-     *         beginningTime: OffsetDateTime (Required)
-     *         endingTime: OffsetDateTime (Required)
-     *     }
      *     lastResult (Optional): {
      *         status: String(transientFailure/success/inProgress/reset) (Required)
      *         statusDetail: String(resetDocs/resync) (Optional)
@@ -3028,26 +2743,18 @@ public Mono> getIndexerStatusWithResponseAsync(String name,
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response getIndexerStatusWithResponse(String name, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
-        return service.getIndexerStatusSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, name,
+        return service.getIndexerStatusSync(this.getEndpoint(), this.getServiceVersion().getVersion(), name,
             requestOptions, Context.NONE);
     }
 
     /**
      * Creates a new skillset in a search service or updates the skillset if it already exists.
-     * 

Query Parameters

- * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
ignoreResetRequirementsBooleanNoIgnores cache reset requirements.
disableCacheReprocessingChangeDetectionBooleanNoDisables cache reprocessing - * change detection.
- * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -3134,12 +2841,6 @@ public Response getIndexerStatusWithResponse(String name, RequestOpt * identity (Optional): { * @odata.type: String (Required) * } - * parameters (Optional): { - * synthesizeGeneratedKeyName: Boolean (Optional) - * (Optional): { - * String: Object (Required) - * } - * } * } * indexProjections (Optional): { * selectors (Required): [ @@ -3254,12 +2955,6 @@ public Response getIndexerStatusWithResponse(String name, RequestOpt * identity (Optional): { * @odata.type: String (Required) * } - * parameters (Optional): { - * synthesizeGeneratedKeyName: Boolean (Optional) - * (Optional): { - * String: Object (Required) - * } - * } * } * indexProjections (Optional): { * selectors (Required): [ @@ -3306,29 +3001,20 @@ public Response getIndexerStatusWithResponse(String name, RequestOpt @ServiceMethod(returns = ReturnType.SINGLE) public Mono> createOrUpdateSkillsetWithResponseAsync(String name, BinaryData skillset, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; final String prefer = "return=representation"; final String contentType = "application/json"; - return FluxUtil.withContext( - context -> service.createOrUpdateSkillset(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, - prefer, name, contentType, skillset, requestOptions, context)); + return FluxUtil.withContext(context -> service.createOrUpdateSkillset(this.getEndpoint(), + this.getServiceVersion().getVersion(), prefer, name, contentType, skillset, requestOptions, context)); } /** * Creates a new skillset in a search service or updates the skillset if it already exists. - *

Query Parameters

- * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
ignoreResetRequirementsBooleanNoIgnores cache reset requirements.
disableCacheReprocessingChangeDetectionBooleanNoDisables cache reprocessing - * change detection.
- * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -3415,12 +3101,6 @@ public Mono> createOrUpdateSkillsetWithResponseAsync(String * identity (Optional): { * @odata.type: String (Required) * } - * parameters (Optional): { - * synthesizeGeneratedKeyName: Boolean (Optional) - * (Optional): { - * String: Object (Required) - * } - * } * } * indexProjections (Optional): { * selectors (Required): [ @@ -3535,12 +3215,6 @@ public Mono> createOrUpdateSkillsetWithResponseAsync(String * identity (Optional): { * @odata.type: String (Required) * } - * parameters (Optional): { - * synthesizeGeneratedKeyName: Boolean (Optional) - * (Optional): { - * String: Object (Required) - * } - * } * } * indexProjections (Optional): { * selectors (Required): [ @@ -3587,11 +3261,10 @@ public Mono> createOrUpdateSkillsetWithResponseAsync(String @ServiceMethod(returns = ReturnType.SINGLE) public Response createOrUpdateSkillsetWithResponse(String name, BinaryData skillset, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; final String prefer = "return=representation"; final String contentType = "application/json"; - return service.createOrUpdateSkillsetSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, - prefer, name, contentType, skillset, requestOptions, Context.NONE); + return service.createOrUpdateSkillsetSync(this.getEndpoint(), this.getServiceVersion().getVersion(), prefer, + name, contentType, skillset, requestOptions, Context.NONE); } /** @@ -3600,6 +3273,8 @@ public Response createOrUpdateSkillsetWithResponse(String name, Bina * * * + * * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -3616,9 +3291,8 @@ public Response createOrUpdateSkillsetWithResponse(String name, Bina */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteSkillsetWithResponseAsync(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; return FluxUtil.withContext(context -> service.deleteSkillset(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, name, requestOptions, context)); + this.getServiceVersion().getVersion(), name, requestOptions, context)); } /** @@ -3627,6 +3301,8 @@ public Mono> deleteSkillsetWithResponseAsync(String name, Request * * * + * * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -3643,13 +3319,20 @@ public Mono> deleteSkillsetWithResponseAsync(String name, Request */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteSkillsetWithResponse(String name, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; - return service.deleteSkillsetSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, name, + return service.deleteSkillsetSync(this.getEndpoint(), this.getServiceVersion().getVersion(), name, requestOptions, Context.NONE); } /** * Retrieves a skillset in a search service. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -3730,12 +3413,6 @@ public Response deleteSkillsetWithResponse(String name, RequestOptions req
      *         identity (Optional): {
      *             @odata.type: String (Required)
      *         }
-     *         parameters (Optional): {
-     *             synthesizeGeneratedKeyName: Boolean (Optional)
-     *              (Optional): {
-     *                 String: Object (Required)
-     *             }
-     *         }
      *     }
      *     indexProjections (Optional): {
      *         selectors (Required): [
@@ -3780,13 +3457,20 @@ public Response deleteSkillsetWithResponse(String name, RequestOptions req
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> getSkillsetWithResponseAsync(String name, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         return FluxUtil.withContext(context -> service.getSkillset(this.getEndpoint(),
-            this.getServiceVersion().getVersion(), accept, name, requestOptions, context));
+            this.getServiceVersion().getVersion(), name, requestOptions, context));
     }
 
     /**
      * Retrieves a skillset in a search service.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -3867,12 +3551,6 @@ public Mono> getSkillsetWithResponseAsync(String name, Requ
      *         identity (Optional): {
      *             @odata.type: String (Required)
      *         }
-     *         parameters (Optional): {
-     *             synthesizeGeneratedKeyName: Boolean (Optional)
-     *              (Optional): {
-     *                 String: Object (Required)
-     *             }
-     *         }
      *     }
      *     indexProjections (Optional): {
      *         selectors (Required): [
@@ -3917,9 +3595,8 @@ public Mono> getSkillsetWithResponseAsync(String name, Requ
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response getSkillsetWithResponse(String name, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
-        return service.getSkillsetSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, name,
-            requestOptions, Context.NONE);
+        return service.getSkillsetSync(this.getEndpoint(), this.getServiceVersion().getVersion(), name, requestOptions,
+            Context.NONE);
     }
 
     /**
@@ -3933,6 +3610,14 @@ public Response getSkillsetWithResponse(String name, RequestOptions
      * properties. In the form of "," separated string.
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -4015,12 +3700,6 @@ public Response getSkillsetWithResponse(String name, RequestOptions
      *                 identity (Optional): {
      *                     @odata.type: String (Required)
      *                 }
-     *                 parameters (Optional): {
-     *                     synthesizeGeneratedKeyName: Boolean (Optional)
-     *                      (Optional): {
-     *                         String: Object (Required)
-     *                     }
-     *                 }
      *             }
      *             indexProjections (Optional): {
      *                 selectors (Required): [
@@ -4067,9 +3746,8 @@ public Response getSkillsetWithResponse(String name, RequestOptions
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> getSkillsetsWithResponseAsync(RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         return FluxUtil.withContext(context -> service.getSkillsets(this.getEndpoint(),
-            this.getServiceVersion().getVersion(), accept, requestOptions, context));
+            this.getServiceVersion().getVersion(), requestOptions, context));
     }
 
     /**
@@ -4083,6 +3761,14 @@ public Mono> getSkillsetsWithResponseAsync(RequestOptions r
      * properties. In the form of "," separated string.
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -4165,12 +3851,6 @@ public Mono> getSkillsetsWithResponseAsync(RequestOptions r
      *                 identity (Optional): {
      *                     @odata.type: String (Required)
      *                 }
-     *                 parameters (Optional): {
-     *                     synthesizeGeneratedKeyName: Boolean (Optional)
-     *                      (Optional): {
-     *                         String: Object (Required)
-     *                     }
-     *                 }
      *             }
      *             indexProjections (Optional): {
      *                 selectors (Required): [
@@ -4216,13 +3896,20 @@ public Mono> getSkillsetsWithResponseAsync(RequestOptions r
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response getSkillsetsWithResponse(RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
-        return service.getSkillsetsSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept,
-            requestOptions, Context.NONE);
+        return service.getSkillsetsSync(this.getEndpoint(), this.getServiceVersion().getVersion(), requestOptions,
+            Context.NONE);
     }
 
     /**
      * Creates a new skillset in a search service.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -4303,12 +3990,6 @@ public Response getSkillsetsWithResponse(RequestOptions requestOptio
      *         identity (Optional): {
      *             @odata.type: String (Required)
      *         }
-     *         parameters (Optional): {
-     *             synthesizeGeneratedKeyName: Boolean (Optional)
-     *              (Optional): {
-     *                 String: Object (Required)
-     *             }
-     *         }
      *     }
      *     indexProjections (Optional): {
      *         selectors (Required): [
@@ -4423,12 +4104,6 @@ public Response getSkillsetsWithResponse(RequestOptions requestOptio
      *         identity (Optional): {
      *             @odata.type: String (Required)
      *         }
-     *         parameters (Optional): {
-     *             synthesizeGeneratedKeyName: Boolean (Optional)
-     *              (Optional): {
-     *                 String: Object (Required)
-     *             }
-     *         }
      *     }
      *     indexProjections (Optional): {
      *         selectors (Required): [
@@ -4474,14 +4149,21 @@ public Response getSkillsetsWithResponse(RequestOptions requestOptio
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Mono> createSkillsetWithResponseAsync(BinaryData skillset,
         RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
         final String contentType = "application/json";
         return FluxUtil.withContext(context -> service.createSkillset(this.getEndpoint(),
-            this.getServiceVersion().getVersion(), accept, contentType, skillset, requestOptions, context));
+            this.getServiceVersion().getVersion(), contentType, skillset, requestOptions, context));
     }
 
     /**
      * Creates a new skillset in a search service.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -4562,12 +4244,6 @@ public Mono> createSkillsetWithResponseAsync(BinaryData ski
      *         identity (Optional): {
      *             @odata.type: String (Required)
      *         }
-     *         parameters (Optional): {
-     *             synthesizeGeneratedKeyName: Boolean (Optional)
-     *              (Optional): {
-     *                 String: Object (Required)
-     *             }
-     *         }
      *     }
      *     indexProjections (Optional): {
      *         selectors (Required): [
@@ -4682,12 +4358,6 @@ public Mono> createSkillsetWithResponseAsync(BinaryData ski
      *         identity (Optional): {
      *             @odata.type: String (Required)
      *         }
-     *         parameters (Optional): {
-     *             synthesizeGeneratedKeyName: Boolean (Optional)
-     *              (Optional): {
-     *                 String: Object (Required)
-     *             }
-     *         }
      *     }
      *     indexProjections (Optional): {
      *         selectors (Required): [
@@ -4732,72 +4402,8 @@ public Mono> createSkillsetWithResponseAsync(BinaryData ski
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
     public Response createSkillsetWithResponse(BinaryData skillset, RequestOptions requestOptions) {
-        final String accept = "application/json;odata.metadata=minimal";
-        final String contentType = "application/json";
-        return service.createSkillsetSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept,
-            contentType, skillset, requestOptions, Context.NONE);
-    }
-
-    /**
-     * Reset an existing skillset in a search service.
-     * 

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     skillNames (Optional): [
-     *         String (Optional)
-     *     ]
-     * }
-     * }
-     * 
- * - * @param name The name of the skillset. - * @param skillNames The names of the skills to reset. If not specified, all skills in the skillset will be reset. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> resetSkillsWithResponseAsync(String name, BinaryData skillNames, - RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; - final String contentType = "application/json"; - return FluxUtil.withContext(context -> service.resetSkills(this.getEndpoint(), - this.getServiceVersion().getVersion(), accept, name, contentType, skillNames, requestOptions, context)); - } - - /** - * Reset an existing skillset in a search service. - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     skillNames (Optional): [
-     *         String (Optional)
-     *     ]
-     * }
-     * }
-     * 
- * - * @param name The name of the skillset. - * @param skillNames The names of the skills to reset. If not specified, all skills in the skillset will be reset. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response resetSkillsWithResponse(String name, BinaryData skillNames, RequestOptions requestOptions) { - final String accept = "application/json;odata.metadata=minimal"; final String contentType = "application/json"; - return service.resetSkillsSync(this.getEndpoint(), this.getServiceVersion().getVersion(), accept, name, - contentType, skillNames, requestOptions, Context.NONE); + return service.createSkillsetSync(this.getEndpoint(), this.getServiceVersion().getVersion(), contentType, + skillset, requestOptions, Context.NONE); } } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CountRequestAccept1.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CountRequestAccept1.java new file mode 100644 index 000000000000..d3747dc084bc --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CountRequestAccept1.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.implementation.models; + +/** + * Defines values for CountRequestAccept1. + */ +public enum CountRequestAccept1 { + /** + * Enum value application/json;odata.metadata=none. + */ + APPLICATION_JSON_ODATA_METADATA_NONE("application/json;odata.metadata=none"); + + /** + * The actual serialized value for a CountRequestAccept1 instance. + */ + private final String value; + + CountRequestAccept1(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CountRequestAccept1 instance. + * + * @param value the serialized value to parse. + * @return the parsed CountRequestAccept1 object, or null if unable to parse. + */ + public static CountRequestAccept1 fromString(String value) { + if (value == null) { + return null; + } + CountRequestAccept1[] items = CountRequestAccept1.values(); + for (CountRequestAccept1 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CountRequestAccept4.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CountRequestAccept4.java new file mode 100644 index 000000000000..cc00d281432e --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CountRequestAccept4.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.implementation.models; + +/** + * Defines values for CountRequestAccept4. + */ +public enum CountRequestAccept4 { + /** + * Enum value application/json;odata.metadata=none. + */ + APPLICATION_JSON_ODATA_METADATA_NONE("application/json;odata.metadata=none"); + + /** + * The actual serialized value for a CountRequestAccept4 instance. + */ + private final String value; + + CountRequestAccept4(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CountRequestAccept4 instance. + * + * @param value the serialized value to parse. + * @return the parsed CountRequestAccept4 object, or null if unable to parse. + */ + public static CountRequestAccept4 fromString(String value) { + if (value == null) { + return null; + } + CountRequestAccept4[] items = CountRequestAccept4.values(); + for (CountRequestAccept4 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CountRequestAccept6.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CountRequestAccept6.java new file mode 100644 index 000000000000..c47c4c78180e --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CountRequestAccept6.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.implementation.models; + +/** + * Defines values for CountRequestAccept6. + */ +public enum CountRequestAccept6 { + /** + * Enum value application/json;odata.metadata=none. + */ + APPLICATION_JSON_ODATA_METADATA_NONE("application/json;odata.metadata=none"); + + /** + * The actual serialized value for a CountRequestAccept6 instance. + */ + private final String value; + + CountRequestAccept6(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CountRequestAccept6 instance. + * + * @param value the serialized value to parse. + * @return the parsed CountRequestAccept6 object, or null if unable to parse. + */ + public static CountRequestAccept6 fromString(String value) { + if (value == null) { + return null; + } + CountRequestAccept6[] items = CountRequestAccept6.values(); + for (CountRequestAccept6 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CountRequestAccept7.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CountRequestAccept7.java new file mode 100644 index 000000000000..55d2922a35d5 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CountRequestAccept7.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.implementation.models; + +/** + * Defines values for CountRequestAccept7. + */ +public enum CountRequestAccept7 { + /** + * Enum value application/json;odata.metadata=none. + */ + APPLICATION_JSON_ODATA_METADATA_NONE("application/json;odata.metadata=none"); + + /** + * The actual serialized value for a CountRequestAccept7 instance. + */ + private final String value; + + CountRequestAccept7(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CountRequestAccept7 instance. + * + * @param value the serialized value to parse. + * @return the parsed CountRequestAccept7 object, or null if unable to parse. + */ + public static CountRequestAccept7 fromString(String value) { + if (value == null) { + return null; + } + CountRequestAccept7[] items = CountRequestAccept7.values(); + for (CountRequestAccept7 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept.java new file mode 100644 index 000000000000..d6f26fdcc093 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.implementation.models; + +/** + * Defines values for CreateOrUpdateRequestAccept. + */ +public enum CreateOrUpdateRequestAccept { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept instance. + */ + private final String value; + + CreateOrUpdateRequestAccept(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept[] items = CreateOrUpdateRequestAccept.values(); + for (CreateOrUpdateRequestAccept item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept13.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept13.java new file mode 100644 index 000000000000..b21198371dba --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept13.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.implementation.models; + +/** + * Defines values for CreateOrUpdateRequestAccept13. + */ +public enum CreateOrUpdateRequestAccept13 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept13 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept13(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept13 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept13 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept13 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept13[] items = CreateOrUpdateRequestAccept13.values(); + for (CreateOrUpdateRequestAccept13 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept18.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept18.java new file mode 100644 index 000000000000..5c76f0705152 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept18.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.implementation.models; + +/** + * Defines values for CreateOrUpdateRequestAccept18. + */ +public enum CreateOrUpdateRequestAccept18 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept18 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept18(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept18 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept18 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept18 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept18[] items = CreateOrUpdateRequestAccept18.values(); + for (CreateOrUpdateRequestAccept18 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept23.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept23.java new file mode 100644 index 000000000000..1eb122df3bb3 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept23.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.implementation.models; + +/** + * Defines values for CreateOrUpdateRequestAccept23. + */ +public enum CreateOrUpdateRequestAccept23 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept23 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept23(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept23 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept23 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept23 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept23[] items = CreateOrUpdateRequestAccept23.values(); + for (CreateOrUpdateRequestAccept23 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept3.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept3.java new file mode 100644 index 000000000000..592f2f5109e8 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept3.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.implementation.models; + +/** + * Defines values for CreateOrUpdateRequestAccept3. + */ +public enum CreateOrUpdateRequestAccept3 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept3 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept3(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept3 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept3 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept3 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept3[] items = CreateOrUpdateRequestAccept3.values(); + for (CreateOrUpdateRequestAccept3 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept30.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept30.java new file mode 100644 index 000000000000..5d466dbe0785 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept30.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.implementation.models; + +/** + * Defines values for CreateOrUpdateRequestAccept30. + */ +public enum CreateOrUpdateRequestAccept30 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept30 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept30(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept30 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept30 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept30 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept30[] items = CreateOrUpdateRequestAccept30.values(); + for (CreateOrUpdateRequestAccept30 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept33.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept33.java new file mode 100644 index 000000000000..b5f159111743 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept33.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.implementation.models; + +/** + * Defines values for CreateOrUpdateRequestAccept33. + */ +public enum CreateOrUpdateRequestAccept33 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept33 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept33(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept33 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept33 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept33 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept33[] items = CreateOrUpdateRequestAccept33.values(); + for (CreateOrUpdateRequestAccept33 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept37.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept37.java new file mode 100644 index 000000000000..d826848b5870 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept37.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.implementation.models; + +/** + * Defines values for CreateOrUpdateRequestAccept37. + */ +public enum CreateOrUpdateRequestAccept37 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept37 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept37(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept37 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept37 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept37 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept37[] items = CreateOrUpdateRequestAccept37.values(); + for (CreateOrUpdateRequestAccept37 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept40.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept40.java new file mode 100644 index 000000000000..db9c80f63001 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept40.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.implementation.models; + +/** + * Defines values for CreateOrUpdateRequestAccept40. + */ +public enum CreateOrUpdateRequestAccept40 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept40 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept40(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept40 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept40 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept40 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept40[] items = CreateOrUpdateRequestAccept40.values(); + for (CreateOrUpdateRequestAccept40 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept43.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept43.java new file mode 100644 index 000000000000..bda1db79e11d --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept43.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.implementation.models; + +/** + * Defines values for CreateOrUpdateRequestAccept43. + */ +public enum CreateOrUpdateRequestAccept43 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept43 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept43(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept43 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept43 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept43 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept43[] items = CreateOrUpdateRequestAccept43.values(); + for (CreateOrUpdateRequestAccept43 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept46.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept46.java new file mode 100644 index 000000000000..4cad13b4da8c --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept46.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.implementation.models; + +/** + * Defines values for CreateOrUpdateRequestAccept46. + */ +public enum CreateOrUpdateRequestAccept46 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept46 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept46(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept46 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept46 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept46 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept46[] items = CreateOrUpdateRequestAccept46.values(); + for (CreateOrUpdateRequestAccept46 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept5.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept5.java new file mode 100644 index 000000000000..f95aa2d62e84 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept5.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.implementation.models; + +/** + * Defines values for CreateOrUpdateRequestAccept5. + */ +public enum CreateOrUpdateRequestAccept5 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept5 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept5(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept5 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept5 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept5 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept5[] items = CreateOrUpdateRequestAccept5.values(); + for (CreateOrUpdateRequestAccept5 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/SearchPostRequest.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/SearchPostRequest.java index 34c340ebe7c8..637da005e909 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/SearchPostRequest.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/implementation/models/SearchPostRequest.java @@ -9,13 +9,9 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.search.documents.models.HybridSearch; import com.azure.search.documents.models.QueryAnswerType; import com.azure.search.documents.models.QueryCaptionType; import com.azure.search.documents.models.QueryDebugMode; -import com.azure.search.documents.models.QueryLanguage; -import com.azure.search.documents.models.QueryRewritesType; -import com.azure.search.documents.models.QuerySpellerType; import com.azure.search.documents.models.QueryType; import com.azure.search.documents.models.ScoringStatistics; import com.azure.search.documents.models.SearchMode; @@ -157,18 +153,6 @@ public final class SearchPostRequest implements JsonSerializable semanticFields; - /* * The query parameters for vector and hybrid search queries. */ @@ -257,12 +229,6 @@ public final class SearchPostRequest implements JsonSerializable getSemanticFields() { - return this.semanticFields; - } - - /** - * Set the semanticFields property: The comma-separated list of field names used for semantic ranking. - * - * @param semanticFields the semanticFields value to set. - * @return the SearchPostRequest object itself. - */ - @Generated - public SearchPostRequest setSemanticFields(List semanticFields) { - this.semanticFields = semanticFields; - return this; - } - /** * Get the vectorQueries property: The query parameters for vector and hybrid search queries. * @@ -1058,28 +932,6 @@ public SearchPostRequest setVectorFilterMode(VectorFilterMode vectorFilterMode) return this; } - /** - * Get the hybridSearch property: The query parameters to configure hybrid search behaviors. - * - * @return the hybridSearch value. - */ - @Generated - public HybridSearch getHybridSearch() { - return this.hybridSearch; - } - - /** - * Set the hybridSearch property: The query parameters to configure hybrid search behaviors. - * - * @param hybridSearch the hybridSearch value to set. - * @return the SearchPostRequest object itself. - */ - @Generated - public SearchPostRequest setHybridSearch(HybridSearch hybridSearch) { - this.hybridSearch = hybridSearch; - return this; - } - /** * {@inheritDoc} */ @@ -1119,8 +971,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { .collect(Collectors.joining(","))); } jsonWriter.writeStringField("searchMode", this.searchMode == null ? null : this.searchMode.toString()); - jsonWriter.writeStringField("queryLanguage", this.queryLanguage == null ? null : this.queryLanguage.toString()); - jsonWriter.writeStringField("speller", this.querySpeller == null ? null : this.querySpeller.toString()); if (this.select != null) { jsonWriter.writeStringField("select", this.select.stream().map(element -> element == null ? "" : element).collect(Collectors.joining(","))); @@ -1134,17 +984,9 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("semanticQuery", this.semanticQuery); jsonWriter.writeStringField("answers", this.answers == null ? null : this.answers.toString()); jsonWriter.writeStringField("captions", this.captions == null ? null : this.captions.toString()); - jsonWriter.writeStringField("queryRewrites", this.queryRewrites == null ? null : this.queryRewrites.toString()); - if (this.semanticFields != null) { - jsonWriter.writeStringField("semanticFields", - this.semanticFields.stream() - .map(element -> element == null ? "" : element) - .collect(Collectors.joining(","))); - } jsonWriter.writeArrayField("vectorQueries", this.vectorQueries, (writer, element) -> writer.writeJson(element)); jsonWriter.writeStringField("vectorFilterMode", this.vectorFilterMode == null ? null : this.vectorFilterMode.toString()); - jsonWriter.writeJsonField("hybridSearch", this.hybridSearch); return jsonWriter.writeEndObject(); } @@ -1217,10 +1059,6 @@ public static SearchPostRequest fromJson(JsonReader jsonReader) throws IOExcepti deserializedSearchPostRequest.searchFields = searchFields; } else if ("searchMode".equals(fieldName)) { deserializedSearchPostRequest.searchMode = SearchMode.fromString(reader.getString()); - } else if ("queryLanguage".equals(fieldName)) { - deserializedSearchPostRequest.queryLanguage = QueryLanguage.fromString(reader.getString()); - } else if ("speller".equals(fieldName)) { - deserializedSearchPostRequest.querySpeller = QuerySpellerType.fromString(reader.getString()); } else if ("select".equals(fieldName)) { List select = reader.getNullable(nonNullReader -> { String selectEncodedAsString = nonNullReader.getString(); @@ -1247,23 +1085,11 @@ public static SearchPostRequest fromJson(JsonReader jsonReader) throws IOExcepti deserializedSearchPostRequest.answers = QueryAnswerType.fromString(reader.getString()); } else if ("captions".equals(fieldName)) { deserializedSearchPostRequest.captions = QueryCaptionType.fromString(reader.getString()); - } else if ("queryRewrites".equals(fieldName)) { - deserializedSearchPostRequest.queryRewrites = QueryRewritesType.fromString(reader.getString()); - } else if ("semanticFields".equals(fieldName)) { - List semanticFields = reader.getNullable(nonNullReader -> { - String semanticFieldsEncodedAsString = nonNullReader.getString(); - return semanticFieldsEncodedAsString.isEmpty() - ? new LinkedList<>() - : new LinkedList<>(Arrays.asList(semanticFieldsEncodedAsString.split(",", -1))); - }); - deserializedSearchPostRequest.semanticFields = semanticFields; } else if ("vectorQueries".equals(fieldName)) { List vectorQueries = reader.readArray(reader1 -> VectorQuery.fromJson(reader1)); deserializedSearchPostRequest.vectorQueries = vectorQueries; } else if ("vectorFilterMode".equals(fieldName)) { deserializedSearchPostRequest.vectorFilterMode = VectorFilterMode.fromString(reader.getString()); - } else if ("hybridSearch".equals(fieldName)) { - deserializedSearchPostRequest.hybridSearch = HybridSearch.fromJson(reader); } else { reader.skipChildren(); } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/SearchIndexAsyncClient.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/SearchIndexAsyncClient.java index 2914a6188b20..7b8eb627f479 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/SearchIndexAsyncClient.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/SearchIndexAsyncClient.java @@ -29,6 +29,7 @@ import com.azure.search.documents.SearchServiceVersion; import com.azure.search.documents.implementation.FieldBuilder; import com.azure.search.documents.implementation.SearchIndexClientImpl; +import com.azure.search.documents.implementation.models.CreateOrUpdateRequestAccept3; import com.azure.search.documents.indexes.models.AnalyzeResult; import com.azure.search.documents.indexes.models.AnalyzeTextOptions; import com.azure.search.documents.indexes.models.GetIndexStatisticsResult; @@ -40,9 +41,25 @@ import com.azure.search.documents.indexes.models.SearchField; import com.azure.search.documents.indexes.models.SearchFieldDataType; import com.azure.search.documents.indexes.models.SearchIndex; +import com.azure.search.documents.indexes.models.SearchIndexResponse; import com.azure.search.documents.indexes.models.SearchServiceStatistics; import com.azure.search.documents.indexes.models.SynonymMap; import com.azure.search.documents.knowledgebases.models.KnowledgeSourceStatus; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept10; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept11; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept12; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept15; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept17; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept2; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept20; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept22; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept25; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept27; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept28; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept29; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept4; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept7; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept9; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.time.OffsetDateTime; @@ -212,6 +229,8 @@ public SearchAsyncClient getSearchAsyncClient(String indexName) { * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -322,6 +341,8 @@ public Mono> createOrUpdateSynonymMapWithResponse(SynonymMa * * * + * * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -353,6 +374,14 @@ public Mono> deleteSynonymMapWithResponse(String name, RequestOpt * properties. In the form of "," separated string.
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -414,6 +443,8 @@ Mono> getSynonymMapsWithResponse(RequestOptions requestOpti
      * 
      * 
      * 
+     * 
      * 
      * 
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -552,7 +583,6 @@ Mono> getSynonymMapsWithResponse(RequestOptions requestOpti * ] * } * rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional) - * flightingOptIn: Boolean (Optional) * } * ] * } @@ -590,8 +620,6 @@ Mono> getSynonymMapsWithResponse(RequestOptions requestOpti * } * ] * } - * permissionFilterOption: String(enabled/disabled) (Optional) - * purviewEnabled: Boolean (Optional) * @odata.etag: String (Optional) * } * } @@ -729,7 +757,6 @@ Mono> getSynonymMapsWithResponse(RequestOptions requestOpti * ] * } * rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional) - * flightingOptIn: Boolean (Optional) * } * ] * } @@ -767,8 +794,6 @@ Mono> getSynonymMapsWithResponse(RequestOptions requestOpti * } * ] * } - * permissionFilterOption: String(enabled/disabled) (Optional) - * purviewEnabled: Boolean (Optional) * @odata.etag: String (Optional) * } * } @@ -838,6 +863,8 @@ public Mono> createOrUpdateIndexWithResponse(SearchIndex i * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -864,6 +891,8 @@ public Mono> deleteIndexWithResponse(String name, RequestOptions * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -951,6 +980,8 @@ public Mono> createOrUpdateAliasWithResponse(SearchAlias a * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -977,6 +1008,8 @@ public Mono> deleteAliasWithResponse(String name, RequestOptions * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -999,10 +1032,6 @@ public Mono> deleteAliasWithResponse(String name, RequestOptions * kind: String(azureOpenAI) (Required) * } * ] - * retrievalReasoningEffort (Optional): { - * kind: String(minimal/low/medium) (Required) - * } - * outputMode: String(extractiveData/answerSynthesis) (Optional) * @odata.etag: String (Optional) * encryptionKey (Optional): { * keyVaultKeyName: String (Required) @@ -1017,8 +1046,6 @@ public Mono> deleteAliasWithResponse(String name, RequestOptions * } * } * description: String (Optional) - * retrievalInstructions: String (Optional) - * answerInstructions: String (Optional) * } * } * @@ -1039,10 +1066,6 @@ public Mono> deleteAliasWithResponse(String name, RequestOptions * kind: String(azureOpenAI) (Required) * } * ] - * retrievalReasoningEffort (Optional): { - * kind: String(minimal/low/medium) (Required) - * } - * outputMode: String(extractiveData/answerSynthesis) (Optional) * @odata.etag: String (Optional) * encryptionKey (Optional): { * keyVaultKeyName: String (Required) @@ -1057,8 +1080,6 @@ public Mono> deleteAliasWithResponse(String name, RequestOptions * } * } * description: String (Optional) - * retrievalInstructions: String (Optional) - * answerInstructions: String (Optional) * } * } * @@ -1086,6 +1107,8 @@ Mono> createOrUpdateKnowledgeBaseWithResponse(String name, * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -1112,6 +1135,8 @@ public Mono> deleteKnowledgeBaseWithResponse(String name, Request * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -1123,7 +1148,7 @@ public Mono> deleteKnowledgeBaseWithResponse(String name, Request *
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -1148,7 +1173,7 @@ public Mono> deleteKnowledgeBaseWithResponse(String name, Request
      * 
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -1191,6 +1216,8 @@ Mono> createOrUpdateKnowledgeSourceWithResponse(String name
      * 
      * 
      * 
+     * 
      * 
      * 
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -1351,35 +1378,6 @@ public Mono getSynonymMap(String name) { .map(protocolMethodData -> protocolMethodData.toObject(SynonymMap.class)); } - /** - * Lists all synonym maps available for a search service. - * - * @param select Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON - * property names, or '*' for all properties. The default is all properties. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response from a List SynonymMaps request on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getSynonymMaps(List select) { - // Generated convenience method for getSynonymMapsWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (select != null) { - requestOptions.addQueryParam("$select", - select.stream() - .map(paramItemValue -> Objects.toString(paramItemValue, "")) - .collect(Collectors.joining(",")), - false); - } - return getSynonymMapsWithResponse(requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(ListSynonymMapsResult.class)); - } - /** * Lists all synonym maps available for a search service. * @@ -1651,46 +1649,6 @@ public Mono getIndex(String name) { .map(protocolMethodData -> protocolMethodData.toObject(SearchIndex.class)); } - /** - * Lists all indexes available for a search service. - * - * @param select Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON - * property names, or '*' for all properties. The default is all properties. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response from a List Indexes request as paginated response with {@link PagedFlux}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listIndexes(List select) { - // Generated convenience method for hiddenGeneratedListIndexes - RequestOptions requestOptions = new RequestOptions(); - if (select != null) { - requestOptions.addQueryParam("$select", - select.stream() - .map(paramItemValue -> Objects.toString(paramItemValue, "")) - .collect(Collectors.joining(",")), - false); - } - PagedFlux pagedFluxResponse = hiddenGeneratedListIndexes(requestOptions); - return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { - Flux> flux = (continuationTokenParam == null) - ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationTokenParam).take(1); - return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), - pagedResponse.getStatusCode(), pagedResponse.getHeaders(), - pagedResponse.getValue() - .stream() - .map(protocolMethodData -> protocolMethodData.toObject(SearchIndex.class)) - .collect(Collectors.toList()), - pagedResponse.getContinuationToken(), null)); - }); - } - /** * Lists all indexes available for a search service. * @@ -2425,38 +2383,6 @@ public Mono getServiceStatistics() { .map(protocolMethodData -> protocolMethodData.toObject(SearchServiceStatistics.class)); } - /** - * Retrieves a summary of statistics for all indexes in the search service. - * - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response from a request to retrieve stats summary of all indexes as paginated response with - * {@link PagedFlux}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listIndexStatsSummary() { - // Generated convenience method for hiddenGeneratedListIndexStatsSummary - RequestOptions requestOptions = new RequestOptions(); - PagedFlux pagedFluxResponse = hiddenGeneratedListIndexStatsSummary(requestOptions); - return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { - Flux> flux = (continuationTokenParam == null) - ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationTokenParam).take(1); - return flux - .map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), - pagedResponse.getStatusCode(), pagedResponse.getHeaders(), - pagedResponse.getValue() - .stream() - .map(protocolMethodData -> protocolMethodData.toObject(IndexStatisticsSummary.class)) - .collect(Collectors.toList()), - pagedResponse.getContinuationToken(), null)); - }); - } - /** * Retrieves a synonym map definition. * @@ -2861,6 +2787,14 @@ public PagedFlux listIndexStatsSummary(RequestOptions re /** * Retrieves a synonym map definition. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -2904,6 +2838,14 @@ Mono> hiddenGeneratedGetSynonymMapWithResponse(String name,
 
     /**
      * Creates a new synonym map.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -2975,6 +2917,14 @@ Mono> hiddenGeneratedCreateSynonymMapWithResponse(BinaryDat
 
     /**
      * Retrieves an index definition.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -3107,7 +3057,6 @@ Mono> hiddenGeneratedCreateSynonymMapWithResponse(BinaryDat
      *                     ]
      *                 }
      *                 rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional)
-     *                 flightingOptIn: Boolean (Optional)
      *             }
      *         ]
      *     }
@@ -3145,8 +3094,6 @@ Mono> hiddenGeneratedCreateSynonymMapWithResponse(BinaryDat
      *             }
      *         ]
      *     }
-     *     permissionFilterOption: String(enabled/disabled) (Optional)
-     *     purviewEnabled: Boolean (Optional)
      *     @odata.etag: String (Optional)
      * }
      * }
@@ -3169,15 +3116,14 @@ Mono> hiddenGeneratedGetIndexWithResponse(String name, Requ
 
     /**
      * Lists all indexes available for a search service.
-     * 

Query Parameters

+ *

Header Parameters

* - * + * * - * + * *
Query ParametersHeader Parameters
NameTypeRequiredDescription
$selectList<String>NoSelects which top-level properties to retrieve. - * Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all - * properties. In the form of "," separated string.
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
- * You can add these to a request with {@link RequestOptions#addQueryParam} + * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -3310,7 +3256,6 @@ Mono> hiddenGeneratedGetIndexWithResponse(String name, Requ
      *                     ]
      *                 }
      *                 rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional)
-     *                 flightingOptIn: Boolean (Optional)
      *             }
      *         ]
      *     }
@@ -3348,8 +3293,6 @@ Mono> hiddenGeneratedGetIndexWithResponse(String name, Requ
      *             }
      *         ]
      *     }
-     *     permissionFilterOption: String(enabled/disabled) (Optional)
-     *     purviewEnabled: Boolean (Optional)
      *     @odata.etag: String (Optional)
      * }
      * }
@@ -3370,6 +3313,14 @@ PagedFlux hiddenGeneratedListIndexes(RequestOptions requestOptions)
 
     /**
      * Creates a new search index.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -3502,7 +3453,6 @@ PagedFlux hiddenGeneratedListIndexes(RequestOptions requestOptions)
      *                     ]
      *                 }
      *                 rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional)
-     *                 flightingOptIn: Boolean (Optional)
      *             }
      *         ]
      *     }
@@ -3540,8 +3490,6 @@ PagedFlux hiddenGeneratedListIndexes(RequestOptions requestOptions)
      *             }
      *         ]
      *     }
-     *     permissionFilterOption: String(enabled/disabled) (Optional)
-     *     purviewEnabled: Boolean (Optional)
      *     @odata.etag: String (Optional)
      * }
      * }
@@ -3679,7 +3627,6 @@ PagedFlux hiddenGeneratedListIndexes(RequestOptions requestOptions)
      *                     ]
      *                 }
      *                 rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional)
-     *                 flightingOptIn: Boolean (Optional)
      *             }
      *         ]
      *     }
@@ -3717,8 +3664,6 @@ PagedFlux hiddenGeneratedListIndexes(RequestOptions requestOptions)
      *             }
      *         ]
      *     }
-     *     permissionFilterOption: String(enabled/disabled) (Optional)
-     *     purviewEnabled: Boolean (Optional)
      *     @odata.etag: String (Optional)
      * }
      * }
@@ -3741,6 +3686,14 @@ Mono> hiddenGeneratedCreateIndexWithResponse(BinaryData ind
 
     /**
      * Returns statistics for the given index, including a document count and storage usage.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -3770,6 +3723,14 @@ Mono> hiddenGeneratedGetIndexStatisticsWithResponse(String
 
     /**
      * Shows how an analyzer breaks text into tokens.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -3825,6 +3786,14 @@ Mono> hiddenGeneratedAnalyzeTextWithResponse(String name, B
 
     /**
      * Retrieves an alias definition.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -3856,6 +3825,14 @@ Mono> hiddenGeneratedGetAliasWithResponse(String name, Requ
 
     /**
      * Lists all aliases available for a search service.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -3885,6 +3862,14 @@ PagedFlux hiddenGeneratedListAliases(RequestOptions requestOptions)
 
     /**
      * Creates a new search alias.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -3930,6 +3915,14 @@ Mono> hiddenGeneratedCreateAliasWithResponse(BinaryData ali
 
     /**
      * Retrieves a knowledge base definition.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -3946,10 +3939,6 @@ Mono> hiddenGeneratedCreateAliasWithResponse(BinaryData ali
      *             kind: String(azureOpenAI) (Required)
      *         }
      *     ]
-     *     retrievalReasoningEffort (Optional): {
-     *         kind: String(minimal/low/medium) (Required)
-     *     }
-     *     outputMode: String(extractiveData/answerSynthesis) (Optional)
      *     @odata.etag: String (Optional)
      *     encryptionKey (Optional): {
      *         keyVaultKeyName: String (Required)
@@ -3964,8 +3953,6 @@ Mono> hiddenGeneratedCreateAliasWithResponse(BinaryData ali
      *         }
      *     }
      *     description: String (Optional)
-     *     retrievalInstructions: String (Optional)
-     *     answerInstructions: String (Optional)
      * }
      * }
      * 
@@ -3987,6 +3974,14 @@ Mono> hiddenGeneratedGetKnowledgeBaseWithResponse(String na /** * Lists all knowledge bases available for a search service. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -4003,10 +3998,6 @@ Mono> hiddenGeneratedGetKnowledgeBaseWithResponse(String na
      *             kind: String(azureOpenAI) (Required)
      *         }
      *     ]
-     *     retrievalReasoningEffort (Optional): {
-     *         kind: String(minimal/low/medium) (Required)
-     *     }
-     *     outputMode: String(extractiveData/answerSynthesis) (Optional)
      *     @odata.etag: String (Optional)
      *     encryptionKey (Optional): {
      *         keyVaultKeyName: String (Required)
@@ -4021,8 +4012,6 @@ Mono> hiddenGeneratedGetKnowledgeBaseWithResponse(String na
      *         }
      *     }
      *     description: String (Optional)
-     *     retrievalInstructions: String (Optional)
-     *     answerInstructions: String (Optional)
      * }
      * }
      * 
@@ -4042,6 +4031,14 @@ PagedFlux hiddenGeneratedListKnowledgeBases(RequestOptions requestOp /** * Creates a new knowledge base. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -4058,10 +4055,6 @@ PagedFlux hiddenGeneratedListKnowledgeBases(RequestOptions requestOp
      *             kind: String(azureOpenAI) (Required)
      *         }
      *     ]
-     *     retrievalReasoningEffort (Optional): {
-     *         kind: String(minimal/low/medium) (Required)
-     *     }
-     *     outputMode: String(extractiveData/answerSynthesis) (Optional)
      *     @odata.etag: String (Optional)
      *     encryptionKey (Optional): {
      *         keyVaultKeyName: String (Required)
@@ -4076,8 +4069,6 @@ PagedFlux hiddenGeneratedListKnowledgeBases(RequestOptions requestOp
      *         }
      *     }
      *     description: String (Optional)
-     *     retrievalInstructions: String (Optional)
-     *     answerInstructions: String (Optional)
      * }
      * }
      * 
@@ -4098,10 +4089,6 @@ PagedFlux hiddenGeneratedListKnowledgeBases(RequestOptions requestOp * kind: String(azureOpenAI) (Required) * } * ] - * retrievalReasoningEffort (Optional): { - * kind: String(minimal/low/medium) (Required) - * } - * outputMode: String(extractiveData/answerSynthesis) (Optional) * @odata.etag: String (Optional) * encryptionKey (Optional): { * keyVaultKeyName: String (Required) @@ -4116,8 +4103,6 @@ PagedFlux hiddenGeneratedListKnowledgeBases(RequestOptions requestOp * } * } * description: String (Optional) - * retrievalInstructions: String (Optional) - * answerInstructions: String (Optional) * } * } *
@@ -4140,12 +4125,20 @@ Mono> hiddenGeneratedCreateKnowledgeBaseWithResponse(Binary /** * Retrieves a knowledge source definition. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -4183,12 +4176,20 @@ Mono> hiddenGeneratedGetKnowledgeSourceWithResponse(String
 
     /**
      * Lists all knowledge sources available for a search service.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -4223,12 +4224,20 @@ PagedFlux hiddenGeneratedListKnowledgeSources(RequestOptions request
 
     /**
      * Creates a new knowledge source.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -4253,7 +4262,7 @@ PagedFlux hiddenGeneratedListKnowledgeSources(RequestOptions request
      * 
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -4291,11 +4300,20 @@ Mono> hiddenGeneratedCreateKnowledgeSourceWithResponse(Bina
 
     /**
      * Retrieves the status of a knowledge source.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
      * {@code
      * {
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Optional)
      *     synchronizationStatus: String(creating/active/deleting) (Required)
      *     synchronizationInterval: String (Optional)
      *     currentSynchronizationState (Optional): {
@@ -4303,6 +4321,16 @@ Mono> hiddenGeneratedCreateKnowledgeSourceWithResponse(Bina
      *         itemsUpdatesProcessed: int (Required)
      *         itemsUpdatesFailed: int (Required)
      *         itemsSkipped: int (Required)
+     *         errors (Optional): [
+     *              (Optional){
+     *                 docId: String (Optional)
+     *                 statusCode: Integer (Optional)
+     *                 name: String (Optional)
+     *                 errorMessage: String (Required)
+     *                 details: String (Optional)
+     *                 documentationLink: String (Optional)
+     *             }
+     *         ]
      *     }
      *     lastSynchronizationState (Optional): {
      *         startTime: OffsetDateTime (Required)
@@ -4338,6 +4366,14 @@ Mono> hiddenGeneratedGetKnowledgeSourceStatusWithResponse(S
 
     /**
      * Gets service level statistics for a search service.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -4365,12 +4401,6 @@ Mono> hiddenGeneratedGetKnowledgeSourceStatusWithResponse(S
      *         maxStoragePerIndex: Long (Optional)
      *         maxCumulativeIndexerRuntimeSeconds: Long (Optional)
      *     }
-     *     indexersRuntime (Required): {
-     *         usedSeconds: long (Required)
-     *         remainingSeconds: Long (Optional)
-     *         beginningTime: OffsetDateTime (Required)
-     *         endingTime: OffsetDateTime (Required)
-     *     }
      * }
      * }
      * 
@@ -4390,31 +4420,681 @@ Mono> hiddenGeneratedGetServiceStatisticsWithResponse(Reque } /** - * Retrieves a summary of statistics for all indexes in the search service. + * Lists all indexes available for a search service. + *

Query Parameters

+ * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
$selectList<String>NoSelects which top-level properties to retrieve. + * Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all + * properties. In the form of "," separated string.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
      * {@code
      * {
      *     name: String (Required)
-     *     documentCount: long (Required)
-     *     storageSize: long (Required)
-     *     vectorIndexSize: long (Required)
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response from a request to retrieve stats summary of all indexes as paginated response with - * {@link PagedFlux}. - */ - @Generated + * description: String (Optional) + * fields (Optional): [ + * (Optional){ + * name: String (Required) + * type: String(Edm.String/Edm.Int32/Edm.Int64/Edm.Double/Edm.Boolean/Edm.DateTimeOffset/Edm.GeographyPoint/Edm.ComplexType/Edm.Single/Edm.Half/Edm.Int16/Edm.SByte/Edm.Byte) (Required) + * key: Boolean (Optional) + * retrievable: Boolean (Optional) + * stored: Boolean (Optional) + * searchable: Boolean (Optional) + * filterable: Boolean (Optional) + * sortable: Boolean (Optional) + * facetable: Boolean (Optional) + * permissionFilter: String(userIds/groupIds/rbacScope) (Optional) + * sensitivityLabel: Boolean (Optional) + * analyzer: String(ar.microsoft/ar.lucene/hy.lucene/bn.microsoft/eu.lucene/bg.microsoft/bg.lucene/ca.microsoft/ca.lucene/zh-Hans.microsoft/zh-Hans.lucene/zh-Hant.microsoft/zh-Hant.lucene/hr.microsoft/cs.microsoft/cs.lucene/da.microsoft/da.lucene/nl.microsoft/nl.lucene/en.microsoft/en.lucene/et.microsoft/fi.microsoft/fi.lucene/fr.microsoft/fr.lucene/gl.lucene/de.microsoft/de.lucene/el.microsoft/el.lucene/gu.microsoft/he.microsoft/hi.microsoft/hi.lucene/hu.microsoft/hu.lucene/is.microsoft/id.microsoft/id.lucene/ga.lucene/it.microsoft/it.lucene/ja.microsoft/ja.lucene/kn.microsoft/ko.microsoft/ko.lucene/lv.microsoft/lv.lucene/lt.microsoft/ml.microsoft/ms.microsoft/mr.microsoft/nb.microsoft/no.lucene/fa.lucene/pl.microsoft/pl.lucene/pt-BR.microsoft/pt-BR.lucene/pt-PT.microsoft/pt-PT.lucene/pa.microsoft/ro.microsoft/ro.lucene/ru.microsoft/ru.lucene/sr-cyrillic.microsoft/sr-latin.microsoft/sk.microsoft/sl.microsoft/es.microsoft/es.lucene/sv.microsoft/sv.lucene/ta.microsoft/te.microsoft/th.microsoft/th.lucene/tr.microsoft/tr.lucene/uk.microsoft/ur.microsoft/vi.microsoft/standard.lucene/standardasciifolding.lucene/keyword/pattern/simple/stop/whitespace) (Optional) + * searchAnalyzer: String(ar.microsoft/ar.lucene/hy.lucene/bn.microsoft/eu.lucene/bg.microsoft/bg.lucene/ca.microsoft/ca.lucene/zh-Hans.microsoft/zh-Hans.lucene/zh-Hant.microsoft/zh-Hant.lucene/hr.microsoft/cs.microsoft/cs.lucene/da.microsoft/da.lucene/nl.microsoft/nl.lucene/en.microsoft/en.lucene/et.microsoft/fi.microsoft/fi.lucene/fr.microsoft/fr.lucene/gl.lucene/de.microsoft/de.lucene/el.microsoft/el.lucene/gu.microsoft/he.microsoft/hi.microsoft/hi.lucene/hu.microsoft/hu.lucene/is.microsoft/id.microsoft/id.lucene/ga.lucene/it.microsoft/it.lucene/ja.microsoft/ja.lucene/kn.microsoft/ko.microsoft/ko.lucene/lv.microsoft/lv.lucene/lt.microsoft/ml.microsoft/ms.microsoft/mr.microsoft/nb.microsoft/no.lucene/fa.lucene/pl.microsoft/pl.lucene/pt-BR.microsoft/pt-BR.lucene/pt-PT.microsoft/pt-PT.lucene/pa.microsoft/ro.microsoft/ro.lucene/ru.microsoft/ru.lucene/sr-cyrillic.microsoft/sr-latin.microsoft/sk.microsoft/sl.microsoft/es.microsoft/es.lucene/sv.microsoft/sv.lucene/ta.microsoft/te.microsoft/th.microsoft/th.lucene/tr.microsoft/tr.lucene/uk.microsoft/ur.microsoft/vi.microsoft/standard.lucene/standardasciifolding.lucene/keyword/pattern/simple/stop/whitespace) (Optional) + * indexAnalyzer: String(ar.microsoft/ar.lucene/hy.lucene/bn.microsoft/eu.lucene/bg.microsoft/bg.lucene/ca.microsoft/ca.lucene/zh-Hans.microsoft/zh-Hans.lucene/zh-Hant.microsoft/zh-Hant.lucene/hr.microsoft/cs.microsoft/cs.lucene/da.microsoft/da.lucene/nl.microsoft/nl.lucene/en.microsoft/en.lucene/et.microsoft/fi.microsoft/fi.lucene/fr.microsoft/fr.lucene/gl.lucene/de.microsoft/de.lucene/el.microsoft/el.lucene/gu.microsoft/he.microsoft/hi.microsoft/hi.lucene/hu.microsoft/hu.lucene/is.microsoft/id.microsoft/id.lucene/ga.lucene/it.microsoft/it.lucene/ja.microsoft/ja.lucene/kn.microsoft/ko.microsoft/ko.lucene/lv.microsoft/lv.lucene/lt.microsoft/ml.microsoft/ms.microsoft/mr.microsoft/nb.microsoft/no.lucene/fa.lucene/pl.microsoft/pl.lucene/pt-BR.microsoft/pt-BR.lucene/pt-PT.microsoft/pt-PT.lucene/pa.microsoft/ro.microsoft/ro.lucene/ru.microsoft/ru.lucene/sr-cyrillic.microsoft/sr-latin.microsoft/sk.microsoft/sl.microsoft/es.microsoft/es.lucene/sv.microsoft/sv.lucene/ta.microsoft/te.microsoft/th.microsoft/th.lucene/tr.microsoft/tr.lucene/uk.microsoft/ur.microsoft/vi.microsoft/standard.lucene/standardasciifolding.lucene/keyword/pattern/simple/stop/whitespace) (Optional) + * normalizer: String(asciifolding/elision/lowercase/standard/uppercase) (Optional) + * dimensions: Integer (Optional) + * vectorSearchProfile: String (Optional) + * vectorEncoding: String(packedBit) (Optional) + * synonymMaps (Optional): [ + * String (Optional) + * ] + * fields (Optional): [ + * (recursive schema, see above) + * ] + * } + * ] + * scoringProfiles (Optional): [ + * (Optional){ + * name: String (Required) + * text (Optional): { + * weights (Required): { + * String: double (Required) + * } + * } + * functions (Optional): [ + * (Optional){ + * type: String (Required) + * fieldName: String (Required) + * boost: double (Required) + * interpolation: String(linear/constant/quadratic/logarithmic) (Optional) + * } + * ] + * functionAggregation: String(sum/average/minimum/maximum/firstMatching/product) (Optional) + * } + * ] + * defaultScoringProfile: String (Optional) + * corsOptions (Optional): { + * allowedOrigins (Required): [ + * String (Required) + * ] + * maxAgeInSeconds: Long (Optional) + * } + * suggesters (Optional): [ + * (Optional){ + * name: String (Required) + * searchMode: String (Required) + * sourceFields (Required): [ + * String (Required) + * ] + * } + * ] + * analyzers (Optional): [ + * (Optional){ + * @odata.type: String (Required) + * name: String (Required) + * } + * ] + * tokenizers (Optional): [ + * (Optional){ + * @odata.type: String (Required) + * name: String (Required) + * } + * ] + * tokenFilters (Optional): [ + * (Optional){ + * @odata.type: String (Required) + * name: String (Required) + * } + * ] + * charFilters (Optional): [ + * (Optional){ + * @odata.type: String (Required) + * name: String (Required) + * } + * ] + * normalizers (Optional): [ + * (Optional){ + * @odata.type: String (Required) + * name: String (Required) + * } + * ] + * encryptionKey (Optional): { + * keyVaultKeyName: String (Required) + * keyVaultKeyVersion: String (Optional) + * keyVaultUri: String (Required) + * accessCredentials (Optional): { + * applicationId: String (Required) + * applicationSecret: String (Optional) + * } + * identity (Optional): { + * @odata.type: String (Required) + * } + * } + * similarity (Optional): { + * @odata.type: String (Required) + * } + * semantic (Optional): { + * defaultConfiguration: String (Optional) + * configurations (Optional): [ + * (Optional){ + * name: String (Required) + * prioritizedFields (Required): { + * titleField (Optional): { + * fieldName: String (Required) + * } + * prioritizedContentFields (Optional): [ + * (recursive schema, see above) + * ] + * prioritizedKeywordsFields (Optional): [ + * (recursive schema, see above) + * ] + * } + * rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional) + * } + * ] + * } + * vectorSearch (Optional): { + * profiles (Optional): [ + * (Optional){ + * name: String (Required) + * algorithm: String (Required) + * vectorizer: String (Optional) + * compression: String (Optional) + * } + * ] + * algorithms (Optional): [ + * (Optional){ + * kind: String(hnsw/exhaustiveKnn) (Required) + * name: String (Required) + * } + * ] + * vectorizers (Optional): [ + * (Optional){ + * kind: String(azureOpenAI/customWebApi/aiServicesVision/aml) (Required) + * name: String (Required) + * } + * ] + * compressions (Optional): [ + * (Optional){ + * kind: String(scalarQuantization/binaryQuantization) (Required) + * name: String (Required) + * rescoringOptions (Optional): { + * enableRescoring: Boolean (Optional) + * defaultOversampling: Double (Optional) + * rescoreStorageMethod: String(preserveOriginals/discardOriginals) (Optional) + * } + * truncationDimension: Integer (Optional) + * } + * ] + * } + * @odata.etag: String (Optional) + * } + * } + *
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response from a List Indexes request as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux hiddenGeneratedListIndexesWithSelectedProperties(RequestOptions requestOptions) { + return this.serviceClient.listIndexesWithSelectedPropertiesAsync(requestOptions); + } + + /** + * Retrieves a synonym map definition. + * + * @param name The name of the synonym map. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a synonym map definition on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getSynonymMap(String name, CreateOrUpdateRequestAccept2 accept) { + // Generated convenience method for hiddenGeneratedGetSynonymMapWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetSynonymMapWithResponse(name, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(SynonymMap.class)); + } + + /** + * Lists all synonym maps available for a search service. + * + * @param accept The Accept header. + * @param select Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON + * property names, or '*' for all properties. The default is all properties. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response from a List SynonymMaps request on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getSynonymMaps(CreateOrUpdateRequestAccept3 accept, List select) { + // Generated convenience method for getSynonymMapsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + if (select != null) { + requestOptions.addQueryParam("$select", + select.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + return getSynonymMapsWithResponse(requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(ListSynonymMapsResult.class)); + } + + /** + * Creates a new synonym map. + * + * @param synonymMap The definition of the synonym map to create. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a synonym map definition on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createSynonymMap(SynonymMap synonymMap, CreateOrUpdateRequestAccept4 accept) { + // Generated convenience method for hiddenGeneratedCreateSynonymMapWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedCreateSynonymMapWithResponse(BinaryData.fromObject(synonymMap), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(SynonymMap.class)); + } + + /** + * Retrieves an index definition. + * + * @param name The name of the index. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a search index definition, which describes the fields and search behavior of an index on + * successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getIndex(String name, CreateOrUpdateRequestAccept7 accept) { + // Generated convenience method for hiddenGeneratedGetIndexWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetIndexWithResponse(name, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(SearchIndex.class)); + } + + /** + * Lists all indexes available for a search service. + * + * @param accept The Accept header. + * @param select Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON + * property names, or '*' for all properties. The default is all properties. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response from a List Indexes request as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listIndexesWithSelectedProperties(CreateOrUpdateRequestAccept9 accept, + List select) { + // Generated convenience method for hiddenGeneratedListIndexesWithSelectedProperties + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + if (select != null) { + requestOptions.addQueryParam("$select", + select.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + PagedFlux pagedFluxResponse = hiddenGeneratedListIndexesWithSelectedProperties(requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux + .map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(SearchIndexResponse.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * Lists all indexes available for a search service. + * + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response from a List Indexes request as paginated response with {@link PagedFlux}. + */ + @Generated @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux hiddenGeneratedListIndexStatsSummary(RequestOptions requestOptions) { - return this.serviceClient.listIndexStatsSummaryAsync(requestOptions); + public PagedFlux listIndexesWithSelectedProperties() { + // Generated convenience method for hiddenGeneratedListIndexesWithSelectedProperties + RequestOptions requestOptions = new RequestOptions(); + PagedFlux pagedFluxResponse = hiddenGeneratedListIndexesWithSelectedProperties(requestOptions); + return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { + Flux> flux = (continuationTokenParam == null) + ? pagedFluxResponse.byPage().take(1) + : pagedFluxResponse.byPage(continuationTokenParam).take(1); + return flux + .map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), + pagedResponse.getStatusCode(), pagedResponse.getHeaders(), + pagedResponse.getValue() + .stream() + .map(protocolMethodData -> protocolMethodData.toObject(SearchIndexResponse.class)) + .collect(Collectors.toList()), + pagedResponse.getContinuationToken(), null)); + }); + } + + /** + * Creates a new search index. + * + * @param index The definition of the index to create. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a search index definition, which describes the fields and search behavior of an index on + * successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createIndex(SearchIndex index, CreateOrUpdateRequestAccept10 accept) { + // Generated convenience method for hiddenGeneratedCreateIndexWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedCreateIndexWithResponse(BinaryData.fromObject(index), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(SearchIndex.class)); + } + + /** + * Returns statistics for the given index, including a document count and storage usage. + * + * @param name The name of the index. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return statistics for a given index on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getIndexStatistics(String name, CreateOrUpdateRequestAccept11 accept) { + // Generated convenience method for hiddenGeneratedGetIndexStatisticsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetIndexStatisticsWithResponse(name, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(GetIndexStatisticsResult.class)); + } + + /** + * Shows how an analyzer breaks text into tokens. + * + * @param name The name of the index. + * @param request The text and analyzer or analysis components to test. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the result of testing an analyzer on text on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono analyzeText(String name, AnalyzeTextOptions request, + CreateOrUpdateRequestAccept12 accept) { + // Generated convenience method for hiddenGeneratedAnalyzeTextWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedAnalyzeTextWithResponse(name, BinaryData.fromObject(request), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(AnalyzeResult.class)); + } + + /** + * Retrieves an alias definition. + * + * @param name The name of the alias. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents an index alias, which describes a mapping from the alias name to an index on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getAlias(String name, CreateOrUpdateRequestAccept15 accept) { + // Generated convenience method for hiddenGeneratedGetAliasWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetAliasWithResponse(name, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(SearchAlias.class)); + } + + /** + * Creates a new search alias. + * + * @param alias The definition of the alias to create. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents an index alias, which describes a mapping from the alias name to an index on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createAlias(SearchAlias alias, CreateOrUpdateRequestAccept17 accept) { + // Generated convenience method for hiddenGeneratedCreateAliasWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedCreateAliasWithResponse(BinaryData.fromObject(alias), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(SearchAlias.class)); + } + + /** + * Retrieves a knowledge base definition. + * + * @param name The name of the knowledge base. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a knowledge base definition on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getKnowledgeBase(String name, CreateOrUpdateRequestAccept20 accept) { + // Generated convenience method for hiddenGeneratedGetKnowledgeBaseWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetKnowledgeBaseWithResponse(name, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(KnowledgeBase.class)); + } + + /** + * Creates a new knowledge base. + * + * @param knowledgeBase The definition of the knowledge base to create. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a knowledge base definition on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createKnowledgeBase(KnowledgeBase knowledgeBase, CreateOrUpdateRequestAccept22 accept) { + // Generated convenience method for hiddenGeneratedCreateKnowledgeBaseWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedCreateKnowledgeBaseWithResponse(BinaryData.fromObject(knowledgeBase), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(KnowledgeBase.class)); + } + + /** + * Retrieves a knowledge source definition. + * + * @param name The name of the knowledge source. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a knowledge source definition on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getKnowledgeSource(String name, CreateOrUpdateRequestAccept25 accept) { + // Generated convenience method for hiddenGeneratedGetKnowledgeSourceWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetKnowledgeSourceWithResponse(name, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(KnowledgeSource.class)); + } + + /** + * Creates a new knowledge source. + * + * @param knowledgeSource The definition of the knowledge source to create. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a knowledge source definition on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createKnowledgeSource(KnowledgeSource knowledgeSource, + CreateOrUpdateRequestAccept27 accept) { + // Generated convenience method for hiddenGeneratedCreateKnowledgeSourceWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedCreateKnowledgeSourceWithResponse(BinaryData.fromObject(knowledgeSource), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(KnowledgeSource.class)); + } + + /** + * Retrieves the status of a knowledge source. + * + * @param name The name of the knowledge source. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents the status and synchronization history of a knowledge source on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getKnowledgeSourceStatus(String name, CreateOrUpdateRequestAccept28 accept) { + // Generated convenience method for hiddenGeneratedGetKnowledgeSourceStatusWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetKnowledgeSourceStatusWithResponse(name, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(KnowledgeSourceStatus.class)); + } + + /** + * Gets service level statistics for a search service. + * + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return service level statistics for a search service on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getServiceStatistics(CreateOrUpdateRequestAccept29 accept) { + // Generated convenience method for hiddenGeneratedGetServiceStatisticsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetServiceStatisticsWithResponse(requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(SearchServiceStatistics.class)); } } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/SearchIndexClient.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/SearchIndexClient.java index 524d2c673ac0..9d36e1149451 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/SearchIndexClient.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/SearchIndexClient.java @@ -26,6 +26,7 @@ import com.azure.search.documents.SearchServiceVersion; import com.azure.search.documents.implementation.FieldBuilder; import com.azure.search.documents.implementation.SearchIndexClientImpl; +import com.azure.search.documents.implementation.models.CreateOrUpdateRequestAccept3; import com.azure.search.documents.indexes.models.AnalyzeResult; import com.azure.search.documents.indexes.models.AnalyzeTextOptions; import com.azure.search.documents.indexes.models.GetIndexStatisticsResult; @@ -37,9 +38,25 @@ import com.azure.search.documents.indexes.models.SearchField; import com.azure.search.documents.indexes.models.SearchFieldDataType; import com.azure.search.documents.indexes.models.SearchIndex; +import com.azure.search.documents.indexes.models.SearchIndexResponse; import com.azure.search.documents.indexes.models.SearchServiceStatistics; import com.azure.search.documents.indexes.models.SynonymMap; import com.azure.search.documents.knowledgebases.models.KnowledgeSourceStatus; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept10; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept11; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept12; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept15; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept17; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept2; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept20; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept22; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept25; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept27; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept28; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept29; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept4; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept7; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept9; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.time.OffsetDateTime; @@ -208,6 +225,8 @@ public SearchClient getSearchClient(String indexName) { * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -318,6 +337,8 @@ public Response createOrUpdateSynonymMapWithResponse(SynonymMap syno * * * + * * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -349,6 +370,14 @@ public Response deleteSynonymMapWithResponse(String name, RequestOptions r * properties. In the form of "," separated string.
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -409,6 +438,8 @@ Response getSynonymMapsWithResponse(RequestOptions requestOptions) {
      * 
      * 
      * 
+     * 
      * 
      * 
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -547,7 +578,6 @@ Response getSynonymMapsWithResponse(RequestOptions requestOptions) { * ] * } * rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional) - * flightingOptIn: Boolean (Optional) * } * ] * } @@ -585,8 +615,6 @@ Response getSynonymMapsWithResponse(RequestOptions requestOptions) { * } * ] * } - * permissionFilterOption: String(enabled/disabled) (Optional) - * purviewEnabled: Boolean (Optional) * @odata.etag: String (Optional) * } * } @@ -724,7 +752,6 @@ Response getSynonymMapsWithResponse(RequestOptions requestOptions) { * ] * } * rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional) - * flightingOptIn: Boolean (Optional) * } * ] * } @@ -762,8 +789,6 @@ Response getSynonymMapsWithResponse(RequestOptions requestOptions) { * } * ] * } - * permissionFilterOption: String(enabled/disabled) (Optional) - * purviewEnabled: Boolean (Optional) * @odata.etag: String (Optional) * } * } @@ -831,6 +856,8 @@ public Response createOrUpdateIndexWithResponse(SearchIndex index, * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -857,6 +884,8 @@ public Response deleteIndexWithResponse(String name, RequestOptions reques * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -942,6 +971,8 @@ public Response createOrUpdateAliasWithResponse(SearchAlias alias, * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -968,6 +999,8 @@ public Response deleteAliasWithResponse(String name, RequestOptions reques * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -990,10 +1023,6 @@ public Response deleteAliasWithResponse(String name, RequestOptions reques * kind: String(azureOpenAI) (Required) * } * ] - * retrievalReasoningEffort (Optional): { - * kind: String(minimal/low/medium) (Required) - * } - * outputMode: String(extractiveData/answerSynthesis) (Optional) * @odata.etag: String (Optional) * encryptionKey (Optional): { * keyVaultKeyName: String (Required) @@ -1008,8 +1037,6 @@ public Response deleteAliasWithResponse(String name, RequestOptions reques * } * } * description: String (Optional) - * retrievalInstructions: String (Optional) - * answerInstructions: String (Optional) * } * } * @@ -1030,10 +1057,6 @@ public Response deleteAliasWithResponse(String name, RequestOptions reques * kind: String(azureOpenAI) (Required) * } * ] - * retrievalReasoningEffort (Optional): { - * kind: String(minimal/low/medium) (Required) - * } - * outputMode: String(extractiveData/answerSynthesis) (Optional) * @odata.etag: String (Optional) * encryptionKey (Optional): { * keyVaultKeyName: String (Required) @@ -1048,8 +1071,6 @@ public Response deleteAliasWithResponse(String name, RequestOptions reques * } * } * description: String (Optional) - * retrievalInstructions: String (Optional) - * answerInstructions: String (Optional) * } * } * @@ -1104,6 +1125,8 @@ public Response createOrUpdateKnowledgeBaseWithResponse(Knowledge * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -1130,6 +1153,8 @@ public Response deleteKnowledgeBaseWithResponse(String name, RequestOption * * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -1141,7 +1166,7 @@ public Response deleteKnowledgeBaseWithResponse(String name, RequestOption *
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -1166,7 +1191,7 @@ public Response deleteKnowledgeBaseWithResponse(String name, RequestOption
      * 
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -1236,6 +1261,8 @@ public Response createOrUpdateKnowledgeSourceWithResponse(Knowl
      * 
      * 
      * 
+     * 
      * 
      * 
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -1391,34 +1418,6 @@ public SynonymMap getSynonymMap(String name) { return hiddenGeneratedGetSynonymMapWithResponse(name, requestOptions).getValue().toObject(SynonymMap.class); } - /** - * Lists all synonym maps available for a search service. - * - * @param select Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON - * property names, or '*' for all properties. The default is all properties. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response from a List SynonymMaps request. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - ListSynonymMapsResult getSynonymMaps(List select) { - // Generated convenience method for getSynonymMapsWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (select != null) { - requestOptions.addQueryParam("$select", - select.stream() - .map(paramItemValue -> Objects.toString(paramItemValue, "")) - .collect(Collectors.joining(",")), - false); - } - return getSynonymMapsWithResponse(requestOptions).getValue().toObject(ListSynonymMapsResult.class); - } - /** * Lists all synonym maps available for a search service. * @@ -1678,35 +1677,6 @@ public SearchIndex getIndex(String name) { return hiddenGeneratedGetIndexWithResponse(name, requestOptions).getValue().toObject(SearchIndex.class); } - /** - * Lists all indexes available for a search service. - * - * @param select Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON - * property names, or '*' for all properties. The default is all properties. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response from a List Indexes request as paginated response with {@link PagedIterable}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listIndexes(List select) { - // Generated convenience method for listIndexes - RequestOptions requestOptions = new RequestOptions(); - if (select != null) { - requestOptions.addQueryParam("$select", - select.stream() - .map(paramItemValue -> Objects.toString(paramItemValue, "")) - .collect(Collectors.joining(",")), - false); - } - return serviceClient.listIndexes(requestOptions) - .mapPage(bodyItemValue -> bodyItemValue.toObject(SearchIndex.class)); - } - /** * Lists all indexes available for a search service. * @@ -2382,26 +2352,6 @@ public SearchServiceStatistics getServiceStatistics() { .toObject(SearchServiceStatistics.class); } - /** - * Retrieves a summary of statistics for all indexes in the search service. - * - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response from a request to retrieve stats summary of all indexes as paginated response with - * {@link PagedIterable}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listIndexStatsSummary() { - // Generated convenience method for listIndexStatsSummary - RequestOptions requestOptions = new RequestOptions(); - return serviceClient.listIndexStatsSummary(requestOptions) - .mapPage(bodyItemValue -> bodyItemValue.toObject(IndexStatisticsSummary.class)); - } - /** * Retrieves a synonym map definition. * @@ -2741,6 +2691,14 @@ public PagedIterable listIndexStatsSummary(RequestOption /** * Retrieves a synonym map definition. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -2784,6 +2742,14 @@ Response hiddenGeneratedGetSynonymMapWithResponse(String name, Reque
 
     /**
      * Creates a new synonym map.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -2855,6 +2821,14 @@ Response hiddenGeneratedCreateSynonymMapWithResponse(BinaryData syno
 
     /**
      * Retrieves an index definition.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -2987,7 +2961,6 @@ Response hiddenGeneratedCreateSynonymMapWithResponse(BinaryData syno
      *                     ]
      *                 }
      *                 rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional)
-     *                 flightingOptIn: Boolean (Optional)
      *             }
      *         ]
      *     }
@@ -3025,8 +2998,6 @@ Response hiddenGeneratedCreateSynonymMapWithResponse(BinaryData syno
      *             }
      *         ]
      *     }
-     *     permissionFilterOption: String(enabled/disabled) (Optional)
-     *     purviewEnabled: Boolean (Optional)
      *     @odata.etag: String (Optional)
      * }
      * }
@@ -3049,15 +3020,14 @@ Response hiddenGeneratedGetIndexWithResponse(String name, RequestOpt
 
     /**
      * Lists all indexes available for a search service.
-     * 

Query Parameters

+ *

Header Parameters

* - * + * * - * + * *
Query ParametersHeader Parameters
NameTypeRequiredDescription
$selectList<String>NoSelects which top-level properties to retrieve. - * Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all - * properties. In the form of "," separated string.
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
- * You can add these to a request with {@link RequestOptions#addQueryParam} + * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -3190,7 +3160,6 @@ Response hiddenGeneratedGetIndexWithResponse(String name, RequestOpt
      *                     ]
      *                 }
      *                 rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional)
-     *                 flightingOptIn: Boolean (Optional)
      *             }
      *         ]
      *     }
@@ -3228,8 +3197,6 @@ Response hiddenGeneratedGetIndexWithResponse(String name, RequestOpt
      *             }
      *         ]
      *     }
-     *     permissionFilterOption: String(enabled/disabled) (Optional)
-     *     purviewEnabled: Boolean (Optional)
      *     @odata.etag: String (Optional)
      * }
      * }
@@ -3250,6 +3217,14 @@ PagedIterable hiddenGeneratedListIndexes(RequestOptions requestOptio
 
     /**
      * Creates a new search index.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -3382,7 +3357,6 @@ PagedIterable hiddenGeneratedListIndexes(RequestOptions requestOptio
      *                     ]
      *                 }
      *                 rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional)
-     *                 flightingOptIn: Boolean (Optional)
      *             }
      *         ]
      *     }
@@ -3420,8 +3394,6 @@ PagedIterable hiddenGeneratedListIndexes(RequestOptions requestOptio
      *             }
      *         ]
      *     }
-     *     permissionFilterOption: String(enabled/disabled) (Optional)
-     *     purviewEnabled: Boolean (Optional)
      *     @odata.etag: String (Optional)
      * }
      * }
@@ -3559,7 +3531,6 @@ PagedIterable hiddenGeneratedListIndexes(RequestOptions requestOptio
      *                     ]
      *                 }
      *                 rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional)
-     *                 flightingOptIn: Boolean (Optional)
      *             }
      *         ]
      *     }
@@ -3597,8 +3568,6 @@ PagedIterable hiddenGeneratedListIndexes(RequestOptions requestOptio
      *             }
      *         ]
      *     }
-     *     permissionFilterOption: String(enabled/disabled) (Optional)
-     *     purviewEnabled: Boolean (Optional)
      *     @odata.etag: String (Optional)
      * }
      * }
@@ -3621,6 +3590,14 @@ Response hiddenGeneratedCreateIndexWithResponse(BinaryData index, Re
 
     /**
      * Returns statistics for the given index, including a document count and storage usage.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -3649,6 +3626,14 @@ Response hiddenGeneratedGetIndexStatisticsWithResponse(String name,
 
     /**
      * Shows how an analyzer breaks text into tokens.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -3703,6 +3688,14 @@ Response hiddenGeneratedAnalyzeTextWithResponse(String name, BinaryD
 
     /**
      * Retrieves an alias definition.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -3734,6 +3727,14 @@ Response hiddenGeneratedGetAliasWithResponse(String name, RequestOpt
 
     /**
      * Lists all aliases available for a search service.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -3763,6 +3764,14 @@ PagedIterable hiddenGeneratedListAliases(RequestOptions requestOptio
 
     /**
      * Creates a new search alias.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -3808,6 +3817,14 @@ Response hiddenGeneratedCreateAliasWithResponse(BinaryData alias, Re
 
     /**
      * Retrieves a knowledge base definition.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -3824,10 +3841,6 @@ Response hiddenGeneratedCreateAliasWithResponse(BinaryData alias, Re
      *             kind: String(azureOpenAI) (Required)
      *         }
      *     ]
-     *     retrievalReasoningEffort (Optional): {
-     *         kind: String(minimal/low/medium) (Required)
-     *     }
-     *     outputMode: String(extractiveData/answerSynthesis) (Optional)
      *     @odata.etag: String (Optional)
      *     encryptionKey (Optional): {
      *         keyVaultKeyName: String (Required)
@@ -3842,8 +3855,6 @@ Response hiddenGeneratedCreateAliasWithResponse(BinaryData alias, Re
      *         }
      *     }
      *     description: String (Optional)
-     *     retrievalInstructions: String (Optional)
-     *     answerInstructions: String (Optional)
      * }
      * }
      * 
@@ -3864,6 +3875,14 @@ Response hiddenGeneratedGetKnowledgeBaseWithResponse(String name, Re /** * Lists all knowledge bases available for a search service. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -3880,10 +3899,6 @@ Response hiddenGeneratedGetKnowledgeBaseWithResponse(String name, Re
      *             kind: String(azureOpenAI) (Required)
      *         }
      *     ]
-     *     retrievalReasoningEffort (Optional): {
-     *         kind: String(minimal/low/medium) (Required)
-     *     }
-     *     outputMode: String(extractiveData/answerSynthesis) (Optional)
      *     @odata.etag: String (Optional)
      *     encryptionKey (Optional): {
      *         keyVaultKeyName: String (Required)
@@ -3898,8 +3913,6 @@ Response hiddenGeneratedGetKnowledgeBaseWithResponse(String name, Re
      *         }
      *     }
      *     description: String (Optional)
-     *     retrievalInstructions: String (Optional)
-     *     answerInstructions: String (Optional)
      * }
      * }
      * 
@@ -3919,6 +3932,14 @@ PagedIterable hiddenGeneratedListKnowledgeBases(RequestOptions reque /** * Creates a new knowledge base. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -3935,10 +3956,6 @@ PagedIterable hiddenGeneratedListKnowledgeBases(RequestOptions reque
      *             kind: String(azureOpenAI) (Required)
      *         }
      *     ]
-     *     retrievalReasoningEffort (Optional): {
-     *         kind: String(minimal/low/medium) (Required)
-     *     }
-     *     outputMode: String(extractiveData/answerSynthesis) (Optional)
      *     @odata.etag: String (Optional)
      *     encryptionKey (Optional): {
      *         keyVaultKeyName: String (Required)
@@ -3953,8 +3970,6 @@ PagedIterable hiddenGeneratedListKnowledgeBases(RequestOptions reque
      *         }
      *     }
      *     description: String (Optional)
-     *     retrievalInstructions: String (Optional)
-     *     answerInstructions: String (Optional)
      * }
      * }
      * 
@@ -3975,10 +3990,6 @@ PagedIterable hiddenGeneratedListKnowledgeBases(RequestOptions reque * kind: String(azureOpenAI) (Required) * } * ] - * retrievalReasoningEffort (Optional): { - * kind: String(minimal/low/medium) (Required) - * } - * outputMode: String(extractiveData/answerSynthesis) (Optional) * @odata.etag: String (Optional) * encryptionKey (Optional): { * keyVaultKeyName: String (Required) @@ -3993,8 +4004,6 @@ PagedIterable hiddenGeneratedListKnowledgeBases(RequestOptions reque * } * } * description: String (Optional) - * retrievalInstructions: String (Optional) - * answerInstructions: String (Optional) * } * } *
@@ -4016,12 +4025,20 @@ Response hiddenGeneratedCreateKnowledgeBaseWithResponse(BinaryData k /** * Retrieves a knowledge source definition. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -4057,12 +4074,20 @@ Response hiddenGeneratedGetKnowledgeSourceWithResponse(String name,
 
     /**
      * Lists all knowledge sources available for a search service.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -4097,12 +4122,20 @@ PagedIterable hiddenGeneratedListKnowledgeSources(RequestOptions req
 
     /**
      * Creates a new knowledge source.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -4127,7 +4160,7 @@ PagedIterable hiddenGeneratedListKnowledgeSources(RequestOptions req
      * 
      * {@code
      * {
-     *     kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required)
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required)
      *     name: String (Required)
      *     description: String (Optional)
      *     @odata.etag: String (Optional)
@@ -4164,11 +4197,20 @@ Response hiddenGeneratedCreateKnowledgeSourceWithResponse(BinaryData
 
     /**
      * Retrieves the status of a knowledge source.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
      * {@code
      * {
+     *     kind: String(searchIndex/azureBlob/indexedOneLake/web) (Optional)
      *     synchronizationStatus: String(creating/active/deleting) (Required)
      *     synchronizationInterval: String (Optional)
      *     currentSynchronizationState (Optional): {
@@ -4176,6 +4218,16 @@ Response hiddenGeneratedCreateKnowledgeSourceWithResponse(BinaryData
      *         itemsUpdatesProcessed: int (Required)
      *         itemsUpdatesFailed: int (Required)
      *         itemsSkipped: int (Required)
+     *         errors (Optional): [
+     *              (Optional){
+     *                 docId: String (Optional)
+     *                 statusCode: Integer (Optional)
+     *                 name: String (Optional)
+     *                 errorMessage: String (Required)
+     *                 details: String (Optional)
+     *                 documentationLink: String (Optional)
+     *             }
+     *         ]
      *     }
      *     lastSynchronizationState (Optional): {
      *         startTime: OffsetDateTime (Required)
@@ -4210,6 +4262,14 @@ Response hiddenGeneratedGetKnowledgeSourceStatusWithResponse(String
 
     /**
      * Gets service level statistics for a search service.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -4237,12 +4297,6 @@ Response hiddenGeneratedGetKnowledgeSourceStatusWithResponse(String
      *         maxStoragePerIndex: Long (Optional)
      *         maxCumulativeIndexerRuntimeSeconds: Long (Optional)
      *     }
-     *     indexersRuntime (Required): {
-     *         usedSeconds: long (Required)
-     *         remainingSeconds: Long (Optional)
-     *         beginningTime: OffsetDateTime (Required)
-     *         endingTime: OffsetDateTime (Required)
-     *     }
      * }
      * }
      * 
@@ -4261,31 +4315,643 @@ Response hiddenGeneratedGetServiceStatisticsWithResponse(RequestOpti } /** - * Retrieves a summary of statistics for all indexes in the search service. + * Lists all indexes available for a search service. + *

Query Parameters

+ * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
$selectList<String>NoSelects which top-level properties to retrieve. + * Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all + * properties. In the form of "," separated string.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
      * {@code
      * {
      *     name: String (Required)
-     *     documentCount: long (Required)
-     *     storageSize: long (Required)
-     *     vectorIndexSize: long (Required)
-     * }
-     * }
-     * 
- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response from a request to retrieve stats summary of all indexes as paginated response with - * {@link PagedIterable}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable hiddenGeneratedListIndexStatsSummary(RequestOptions requestOptions) { - return this.serviceClient.listIndexStatsSummary(requestOptions); + * description: String (Optional) + * fields (Optional): [ + * (Optional){ + * name: String (Required) + * type: String(Edm.String/Edm.Int32/Edm.Int64/Edm.Double/Edm.Boolean/Edm.DateTimeOffset/Edm.GeographyPoint/Edm.ComplexType/Edm.Single/Edm.Half/Edm.Int16/Edm.SByte/Edm.Byte) (Required) + * key: Boolean (Optional) + * retrievable: Boolean (Optional) + * stored: Boolean (Optional) + * searchable: Boolean (Optional) + * filterable: Boolean (Optional) + * sortable: Boolean (Optional) + * facetable: Boolean (Optional) + * permissionFilter: String(userIds/groupIds/rbacScope) (Optional) + * sensitivityLabel: Boolean (Optional) + * analyzer: String(ar.microsoft/ar.lucene/hy.lucene/bn.microsoft/eu.lucene/bg.microsoft/bg.lucene/ca.microsoft/ca.lucene/zh-Hans.microsoft/zh-Hans.lucene/zh-Hant.microsoft/zh-Hant.lucene/hr.microsoft/cs.microsoft/cs.lucene/da.microsoft/da.lucene/nl.microsoft/nl.lucene/en.microsoft/en.lucene/et.microsoft/fi.microsoft/fi.lucene/fr.microsoft/fr.lucene/gl.lucene/de.microsoft/de.lucene/el.microsoft/el.lucene/gu.microsoft/he.microsoft/hi.microsoft/hi.lucene/hu.microsoft/hu.lucene/is.microsoft/id.microsoft/id.lucene/ga.lucene/it.microsoft/it.lucene/ja.microsoft/ja.lucene/kn.microsoft/ko.microsoft/ko.lucene/lv.microsoft/lv.lucene/lt.microsoft/ml.microsoft/ms.microsoft/mr.microsoft/nb.microsoft/no.lucene/fa.lucene/pl.microsoft/pl.lucene/pt-BR.microsoft/pt-BR.lucene/pt-PT.microsoft/pt-PT.lucene/pa.microsoft/ro.microsoft/ro.lucene/ru.microsoft/ru.lucene/sr-cyrillic.microsoft/sr-latin.microsoft/sk.microsoft/sl.microsoft/es.microsoft/es.lucene/sv.microsoft/sv.lucene/ta.microsoft/te.microsoft/th.microsoft/th.lucene/tr.microsoft/tr.lucene/uk.microsoft/ur.microsoft/vi.microsoft/standard.lucene/standardasciifolding.lucene/keyword/pattern/simple/stop/whitespace) (Optional) + * searchAnalyzer: String(ar.microsoft/ar.lucene/hy.lucene/bn.microsoft/eu.lucene/bg.microsoft/bg.lucene/ca.microsoft/ca.lucene/zh-Hans.microsoft/zh-Hans.lucene/zh-Hant.microsoft/zh-Hant.lucene/hr.microsoft/cs.microsoft/cs.lucene/da.microsoft/da.lucene/nl.microsoft/nl.lucene/en.microsoft/en.lucene/et.microsoft/fi.microsoft/fi.lucene/fr.microsoft/fr.lucene/gl.lucene/de.microsoft/de.lucene/el.microsoft/el.lucene/gu.microsoft/he.microsoft/hi.microsoft/hi.lucene/hu.microsoft/hu.lucene/is.microsoft/id.microsoft/id.lucene/ga.lucene/it.microsoft/it.lucene/ja.microsoft/ja.lucene/kn.microsoft/ko.microsoft/ko.lucene/lv.microsoft/lv.lucene/lt.microsoft/ml.microsoft/ms.microsoft/mr.microsoft/nb.microsoft/no.lucene/fa.lucene/pl.microsoft/pl.lucene/pt-BR.microsoft/pt-BR.lucene/pt-PT.microsoft/pt-PT.lucene/pa.microsoft/ro.microsoft/ro.lucene/ru.microsoft/ru.lucene/sr-cyrillic.microsoft/sr-latin.microsoft/sk.microsoft/sl.microsoft/es.microsoft/es.lucene/sv.microsoft/sv.lucene/ta.microsoft/te.microsoft/th.microsoft/th.lucene/tr.microsoft/tr.lucene/uk.microsoft/ur.microsoft/vi.microsoft/standard.lucene/standardasciifolding.lucene/keyword/pattern/simple/stop/whitespace) (Optional) + * indexAnalyzer: String(ar.microsoft/ar.lucene/hy.lucene/bn.microsoft/eu.lucene/bg.microsoft/bg.lucene/ca.microsoft/ca.lucene/zh-Hans.microsoft/zh-Hans.lucene/zh-Hant.microsoft/zh-Hant.lucene/hr.microsoft/cs.microsoft/cs.lucene/da.microsoft/da.lucene/nl.microsoft/nl.lucene/en.microsoft/en.lucene/et.microsoft/fi.microsoft/fi.lucene/fr.microsoft/fr.lucene/gl.lucene/de.microsoft/de.lucene/el.microsoft/el.lucene/gu.microsoft/he.microsoft/hi.microsoft/hi.lucene/hu.microsoft/hu.lucene/is.microsoft/id.microsoft/id.lucene/ga.lucene/it.microsoft/it.lucene/ja.microsoft/ja.lucene/kn.microsoft/ko.microsoft/ko.lucene/lv.microsoft/lv.lucene/lt.microsoft/ml.microsoft/ms.microsoft/mr.microsoft/nb.microsoft/no.lucene/fa.lucene/pl.microsoft/pl.lucene/pt-BR.microsoft/pt-BR.lucene/pt-PT.microsoft/pt-PT.lucene/pa.microsoft/ro.microsoft/ro.lucene/ru.microsoft/ru.lucene/sr-cyrillic.microsoft/sr-latin.microsoft/sk.microsoft/sl.microsoft/es.microsoft/es.lucene/sv.microsoft/sv.lucene/ta.microsoft/te.microsoft/th.microsoft/th.lucene/tr.microsoft/tr.lucene/uk.microsoft/ur.microsoft/vi.microsoft/standard.lucene/standardasciifolding.lucene/keyword/pattern/simple/stop/whitespace) (Optional) + * normalizer: String(asciifolding/elision/lowercase/standard/uppercase) (Optional) + * dimensions: Integer (Optional) + * vectorSearchProfile: String (Optional) + * vectorEncoding: String(packedBit) (Optional) + * synonymMaps (Optional): [ + * String (Optional) + * ] + * fields (Optional): [ + * (recursive schema, see above) + * ] + * } + * ] + * scoringProfiles (Optional): [ + * (Optional){ + * name: String (Required) + * text (Optional): { + * weights (Required): { + * String: double (Required) + * } + * } + * functions (Optional): [ + * (Optional){ + * type: String (Required) + * fieldName: String (Required) + * boost: double (Required) + * interpolation: String(linear/constant/quadratic/logarithmic) (Optional) + * } + * ] + * functionAggregation: String(sum/average/minimum/maximum/firstMatching/product) (Optional) + * } + * ] + * defaultScoringProfile: String (Optional) + * corsOptions (Optional): { + * allowedOrigins (Required): [ + * String (Required) + * ] + * maxAgeInSeconds: Long (Optional) + * } + * suggesters (Optional): [ + * (Optional){ + * name: String (Required) + * searchMode: String (Required) + * sourceFields (Required): [ + * String (Required) + * ] + * } + * ] + * analyzers (Optional): [ + * (Optional){ + * @odata.type: String (Required) + * name: String (Required) + * } + * ] + * tokenizers (Optional): [ + * (Optional){ + * @odata.type: String (Required) + * name: String (Required) + * } + * ] + * tokenFilters (Optional): [ + * (Optional){ + * @odata.type: String (Required) + * name: String (Required) + * } + * ] + * charFilters (Optional): [ + * (Optional){ + * @odata.type: String (Required) + * name: String (Required) + * } + * ] + * normalizers (Optional): [ + * (Optional){ + * @odata.type: String (Required) + * name: String (Required) + * } + * ] + * encryptionKey (Optional): { + * keyVaultKeyName: String (Required) + * keyVaultKeyVersion: String (Optional) + * keyVaultUri: String (Required) + * accessCredentials (Optional): { + * applicationId: String (Required) + * applicationSecret: String (Optional) + * } + * identity (Optional): { + * @odata.type: String (Required) + * } + * } + * similarity (Optional): { + * @odata.type: String (Required) + * } + * semantic (Optional): { + * defaultConfiguration: String (Optional) + * configurations (Optional): [ + * (Optional){ + * name: String (Required) + * prioritizedFields (Required): { + * titleField (Optional): { + * fieldName: String (Required) + * } + * prioritizedContentFields (Optional): [ + * (recursive schema, see above) + * ] + * prioritizedKeywordsFields (Optional): [ + * (recursive schema, see above) + * ] + * } + * rankingOrder: String(BoostedRerankerScore/RerankerScore) (Optional) + * } + * ] + * } + * vectorSearch (Optional): { + * profiles (Optional): [ + * (Optional){ + * name: String (Required) + * algorithm: String (Required) + * vectorizer: String (Optional) + * compression: String (Optional) + * } + * ] + * algorithms (Optional): [ + * (Optional){ + * kind: String(hnsw/exhaustiveKnn) (Required) + * name: String (Required) + * } + * ] + * vectorizers (Optional): [ + * (Optional){ + * kind: String(azureOpenAI/customWebApi/aiServicesVision/aml) (Required) + * name: String (Required) + * } + * ] + * compressions (Optional): [ + * (Optional){ + * kind: String(scalarQuantization/binaryQuantization) (Required) + * name: String (Required) + * rescoringOptions (Optional): { + * enableRescoring: Boolean (Optional) + * defaultOversampling: Double (Optional) + * rescoreStorageMethod: String(preserveOriginals/discardOriginals) (Optional) + * } + * truncationDimension: Integer (Optional) + * } + * ] + * } + * @odata.etag: String (Optional) + * } + * } + *
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response from a List Indexes request as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable hiddenGeneratedListIndexesWithSelectedProperties(RequestOptions requestOptions) { + return this.serviceClient.listIndexesWithSelectedProperties(requestOptions); + } + + /** + * Retrieves a synonym map definition. + * + * @param name The name of the synonym map. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a synonym map definition. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public SynonymMap getSynonymMap(String name, CreateOrUpdateRequestAccept2 accept) { + // Generated convenience method for hiddenGeneratedGetSynonymMapWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetSynonymMapWithResponse(name, requestOptions).getValue().toObject(SynonymMap.class); + } + + /** + * Lists all synonym maps available for a search service. + * + * @param accept The Accept header. + * @param select Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON + * property names, or '*' for all properties. The default is all properties. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response from a List SynonymMaps request. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + ListSynonymMapsResult getSynonymMaps(CreateOrUpdateRequestAccept3 accept, List select) { + // Generated convenience method for getSynonymMapsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + if (select != null) { + requestOptions.addQueryParam("$select", + select.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + return getSynonymMapsWithResponse(requestOptions).getValue().toObject(ListSynonymMapsResult.class); + } + + /** + * Creates a new synonym map. + * + * @param synonymMap The definition of the synonym map to create. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a synonym map definition. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public SynonymMap createSynonymMap(SynonymMap synonymMap, CreateOrUpdateRequestAccept4 accept) { + // Generated convenience method for hiddenGeneratedCreateSynonymMapWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedCreateSynonymMapWithResponse(BinaryData.fromObject(synonymMap), requestOptions).getValue() + .toObject(SynonymMap.class); + } + + /** + * Retrieves an index definition. + * + * @param name The name of the index. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a search index definition, which describes the fields and search behavior of an index. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public SearchIndex getIndex(String name, CreateOrUpdateRequestAccept7 accept) { + // Generated convenience method for hiddenGeneratedGetIndexWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetIndexWithResponse(name, requestOptions).getValue().toObject(SearchIndex.class); + } + + /** + * Lists all indexes available for a search service. + * + * @param accept The Accept header. + * @param select Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON + * property names, or '*' for all properties. The default is all properties. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response from a List Indexes request as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listIndexesWithSelectedProperties(CreateOrUpdateRequestAccept9 accept, + List select) { + // Generated convenience method for listIndexesWithSelectedProperties + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + if (select != null) { + requestOptions.addQueryParam("$select", + select.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + return serviceClient.listIndexesWithSelectedProperties(requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(SearchIndexResponse.class)); + } + + /** + * Lists all indexes available for a search service. + * + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response from a List Indexes request as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listIndexesWithSelectedProperties() { + // Generated convenience method for listIndexesWithSelectedProperties + RequestOptions requestOptions = new RequestOptions(); + return serviceClient.listIndexesWithSelectedProperties(requestOptions) + .mapPage(bodyItemValue -> bodyItemValue.toObject(SearchIndexResponse.class)); + } + + /** + * Creates a new search index. + * + * @param index The definition of the index to create. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a search index definition, which describes the fields and search behavior of an index. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public SearchIndex createIndex(SearchIndex index, CreateOrUpdateRequestAccept10 accept) { + // Generated convenience method for hiddenGeneratedCreateIndexWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedCreateIndexWithResponse(BinaryData.fromObject(index), requestOptions).getValue() + .toObject(SearchIndex.class); + } + + /** + * Returns statistics for the given index, including a document count and storage usage. + * + * @param name The name of the index. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return statistics for a given index. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public GetIndexStatisticsResult getIndexStatistics(String name, CreateOrUpdateRequestAccept11 accept) { + // Generated convenience method for hiddenGeneratedGetIndexStatisticsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetIndexStatisticsWithResponse(name, requestOptions).getValue() + .toObject(GetIndexStatisticsResult.class); + } + + /** + * Shows how an analyzer breaks text into tokens. + * + * @param name The name of the index. + * @param request The text and analyzer or analysis components to test. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the result of testing an analyzer on text. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public AnalyzeResult analyzeText(String name, AnalyzeTextOptions request, CreateOrUpdateRequestAccept12 accept) { + // Generated convenience method for hiddenGeneratedAnalyzeTextWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedAnalyzeTextWithResponse(name, BinaryData.fromObject(request), requestOptions).getValue() + .toObject(AnalyzeResult.class); + } + + /** + * Retrieves an alias definition. + * + * @param name The name of the alias. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents an index alias, which describes a mapping from the alias name to an index. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public SearchAlias getAlias(String name, CreateOrUpdateRequestAccept15 accept) { + // Generated convenience method for hiddenGeneratedGetAliasWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetAliasWithResponse(name, requestOptions).getValue().toObject(SearchAlias.class); + } + + /** + * Creates a new search alias. + * + * @param alias The definition of the alias to create. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents an index alias, which describes a mapping from the alias name to an index. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public SearchAlias createAlias(SearchAlias alias, CreateOrUpdateRequestAccept17 accept) { + // Generated convenience method for hiddenGeneratedCreateAliasWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedCreateAliasWithResponse(BinaryData.fromObject(alias), requestOptions).getValue() + .toObject(SearchAlias.class); + } + + /** + * Retrieves a knowledge base definition. + * + * @param name The name of the knowledge base. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a knowledge base definition. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public KnowledgeBase getKnowledgeBase(String name, CreateOrUpdateRequestAccept20 accept) { + // Generated convenience method for hiddenGeneratedGetKnowledgeBaseWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetKnowledgeBaseWithResponse(name, requestOptions).getValue() + .toObject(KnowledgeBase.class); + } + + /** + * Creates a new knowledge base. + * + * @param knowledgeBase The definition of the knowledge base to create. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a knowledge base definition. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public KnowledgeBase createKnowledgeBase(KnowledgeBase knowledgeBase, CreateOrUpdateRequestAccept22 accept) { + // Generated convenience method for hiddenGeneratedCreateKnowledgeBaseWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedCreateKnowledgeBaseWithResponse(BinaryData.fromObject(knowledgeBase), requestOptions) + .getValue() + .toObject(KnowledgeBase.class); + } + + /** + * Retrieves a knowledge source definition. + * + * @param name The name of the knowledge source. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a knowledge source definition. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public KnowledgeSource getKnowledgeSource(String name, CreateOrUpdateRequestAccept25 accept) { + // Generated convenience method for hiddenGeneratedGetKnowledgeSourceWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetKnowledgeSourceWithResponse(name, requestOptions).getValue() + .toObject(KnowledgeSource.class); + } + + /** + * Creates a new knowledge source. + * + * @param knowledgeSource The definition of the knowledge source to create. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a knowledge source definition. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public KnowledgeSource createKnowledgeSource(KnowledgeSource knowledgeSource, + CreateOrUpdateRequestAccept27 accept) { + // Generated convenience method for hiddenGeneratedCreateKnowledgeSourceWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedCreateKnowledgeSourceWithResponse(BinaryData.fromObject(knowledgeSource), requestOptions) + .getValue() + .toObject(KnowledgeSource.class); + } + + /** + * Retrieves the status of a knowledge source. + * + * @param name The name of the knowledge source. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents the status and synchronization history of a knowledge source. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public KnowledgeSourceStatus getKnowledgeSourceStatus(String name, CreateOrUpdateRequestAccept28 accept) { + // Generated convenience method for hiddenGeneratedGetKnowledgeSourceStatusWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetKnowledgeSourceStatusWithResponse(name, requestOptions).getValue() + .toObject(KnowledgeSourceStatus.class); + } + + /** + * Gets service level statistics for a search service. + * + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return service level statistics for a search service. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public SearchServiceStatistics getServiceStatistics(CreateOrUpdateRequestAccept29 accept) { + // Generated convenience method for hiddenGeneratedGetServiceStatisticsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetServiceStatisticsWithResponse(requestOptions).getValue() + .toObject(SearchServiceStatistics.class); } } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/SearchIndexerAsyncClient.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/SearchIndexerAsyncClient.java index 1fc2a1c6fecd..0179afc2b6ac 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/SearchIndexerAsyncClient.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/SearchIndexerAsyncClient.java @@ -22,7 +22,9 @@ import com.azure.core.util.FluxUtil; import com.azure.search.documents.SearchServiceVersion; import com.azure.search.documents.implementation.SearchIndexerClientImpl; -import com.azure.search.documents.indexes.models.DocumentKeysOrIds; +import com.azure.search.documents.implementation.models.CreateOrUpdateRequestAccept33; +import com.azure.search.documents.implementation.models.CreateOrUpdateRequestAccept40; +import com.azure.search.documents.implementation.models.CreateOrUpdateRequestAccept46; import com.azure.search.documents.indexes.models.IndexerResyncBody; import com.azure.search.documents.indexes.models.ListDataSourcesResult; import com.azure.search.documents.indexes.models.ListIndexersResult; @@ -32,6 +34,15 @@ import com.azure.search.documents.indexes.models.SearchIndexerSkillset; import com.azure.search.documents.indexes.models.SearchIndexerStatus; import com.azure.search.documents.indexes.models.SkillNames; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept32; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept34; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept35; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept36; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept39; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept41; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept42; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept45; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept47; import java.util.List; import java.util.Objects; import java.util.stream.Collectors; @@ -85,17 +96,12 @@ public SearchServiceVersion getServiceVersion() { /** * Creates a new datasource or updates a datasource if it already exists. - *

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
ignoreResetRequirementsBooleanNoIgnores cache reset requirements.
- * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -110,7 +116,6 @@ public SearchServiceVersion getServiceVersion() { * name: String (Required) * description: String (Optional) * type: String(azuresql/cosmosdb/azureblob/azuretable/mysql/adlsgen2/onelake/sharepoint) (Required) - * subType: String (Optional) * credentials (Required): { * connectionString: String (Optional) * } @@ -121,9 +126,6 @@ public SearchServiceVersion getServiceVersion() { * identity (Optional): { * @odata.type: String (Required) * } - * indexerPermissionOptions (Optional): [ - * String(userIds/groupIds/rbacScope) (Optional) - * ] * dataChangeDetectionPolicy (Optional): { * @odata.type: String (Required) * } @@ -153,7 +155,6 @@ public SearchServiceVersion getServiceVersion() { * name: String (Required) * description: String (Optional) * type: String(azuresql/cosmosdb/azureblob/azuretable/mysql/adlsgen2/onelake/sharepoint) (Required) - * subType: String (Optional) * credentials (Required): { * connectionString: String (Optional) * } @@ -164,9 +165,6 @@ public SearchServiceVersion getServiceVersion() { * identity (Optional): { * @odata.type: String (Required) * } - * indexerPermissionOptions (Optional): [ - * String(userIds/groupIds/rbacScope) (Optional) - * ] * dataChangeDetectionPolicy (Optional): { * @odata.type: String (Required) * } @@ -253,6 +251,8 @@ public Mono> createOrUpdateDataSourc * * * + * * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -284,6 +284,14 @@ public Mono> deleteDataSourceConnectionWithResponse(String name, * properties. In the form of "," separated string.
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -294,7 +302,6 @@ public Mono> deleteDataSourceConnectionWithResponse(String name,
      *             name: String (Required)
      *             description: String (Optional)
      *             type: String(azuresql/cosmosdb/azureblob/azuretable/mysql/adlsgen2/onelake/sharepoint) (Required)
-     *             subType: String (Optional)
      *             credentials (Required): {
      *                 connectionString: String (Optional)
      *             }
@@ -305,9 +312,6 @@ public Mono> deleteDataSourceConnectionWithResponse(String name,
      *             identity (Optional): {
      *                 @odata.type: String (Required)
      *             }
-     *             indexerPermissionOptions (Optional): [
-     *                 String(userIds/groupIds/rbacScope) (Optional)
-     *             ]
      *             dataChangeDetectionPolicy (Optional): {
      *                 @odata.type: String (Required)
      *             }
@@ -347,6 +351,14 @@ Mono> getDataSourceConnectionsWithResponse(RequestOptions r
 
     /**
      * Resets the change tracking state associated with an indexer.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} * * @param name The name of the indexer. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -363,54 +375,15 @@ public Mono> resetIndexerWithResponse(String name, RequestOptions } /** - * Resets specific documents in the datasource to be selectively re-ingested by the indexer. - *

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
overwriteBooleanNoIf false, keys or ids will be appended to existing ones. If - * true, only the keys or ids in this payload will be queued to be re-ingested.
- * You can add these to a request with {@link RequestOptions#addQueryParam} + * Runs an indexer on-demand. *

Header Parameters

* * * - * + * *
Header Parameters
NameTypeRequiredDescription
Content-TypeStringNoThe content type. Allowed values: - * "application/json".
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
* You can add these to a request with {@link RequestOptions#addHeader} - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     documentKeys (Optional): [
-     *         String (Optional)
-     *     ]
-     *     datasourceDocumentIds (Optional): [
-     *         String (Optional)
-     *     ]
-     * }
-     * }
-     * 
- * - * @param name The name of the indexer. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> resetDocumentsWithResponse(String name, RequestOptions requestOptions) { - return this.serviceClient.resetDocumentsWithResponseAsync(name, requestOptions); - } - - /** - * Runs an indexer on-demand. * * @param name The name of the indexer. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -428,19 +401,12 @@ public Mono> runIndexerWithResponse(String name, RequestOptions r /** * Creates a new indexer or updates an indexer if it already exists. - *

Query Parameters

- * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
ignoreResetRequirementsBooleanNoIgnores cache reset requirements.
disableCacheReprocessingChangeDetectionBooleanNoDisables cache reprocessing - * change detection.
- * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -518,12 +484,6 @@ public Mono> runIndexerWithResponse(String name, RequestOptions r * @odata.type: String (Required) * } * } - * cache (Optional): { - * id: String (Optional) - * storageConnectionString: String (Optional) - * enableReprocessing: Boolean (Optional) - * identity (Optional): (recursive schema, see identity above) - * } * } * } * @@ -599,12 +559,6 @@ public Mono> runIndexerWithResponse(String name, RequestOptions r * @odata.type: String (Required) * } * } - * cache (Optional): { - * id: String (Optional) - * storageConnectionString: String (Optional) - * enableReprocessing: Boolean (Optional) - * identity (Optional): (recursive schema, see identity above) - * } * } * } * @@ -672,6 +626,8 @@ public Mono> createOrUpdateIndexerWithResponse(SearchInd * * * + * * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -703,6 +659,14 @@ public Mono> deleteIndexerWithResponse(String name, RequestOption * properties. In the form of "," separated string.
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -776,12 +740,6 @@ public Mono> deleteIndexerWithResponse(String name, RequestOption
      *                     @odata.type: String (Required)
      *                 }
      *             }
-     *             cache (Optional): {
-     *                 id: String (Optional)
-     *                 storageConnectionString: String (Optional)
-     *                 enableReprocessing: Boolean (Optional)
-     *                 identity (Optional): (recursive schema, see identity above)
-     *             }
      *         }
      *     ]
      * }
@@ -804,19 +762,12 @@ Mono> getIndexersWithResponse(RequestOptions requestOptions
 
     /**
      * Creates a new skillset in a search service or updates the skillset if it already exists.
-     * 

Query Parameters

- * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
ignoreResetRequirementsBooleanNoIgnores cache reset requirements.
disableCacheReprocessingChangeDetectionBooleanNoDisables cache reprocessing - * change detection.
- * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -903,12 +854,6 @@ Mono> getIndexersWithResponse(RequestOptions requestOptions * identity (Optional): { * @odata.type: String (Required) * } - * parameters (Optional): { - * synthesizeGeneratedKeyName: Boolean (Optional) - * (Optional): { - * String: Object (Required) - * } - * } * } * indexProjections (Optional): { * selectors (Required): [ @@ -1023,12 +968,6 @@ Mono> getIndexersWithResponse(RequestOptions requestOptions * identity (Optional): { * @odata.type: String (Required) * } - * parameters (Optional): { - * synthesizeGeneratedKeyName: Boolean (Optional) - * (Optional): { - * String: Object (Required) - * } - * } * } * indexProjections (Optional): { * selectors (Required): [ @@ -1126,6 +1065,8 @@ public Mono> createOrUpdateSkillsetWithResponse( * * * + * * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -1157,6 +1098,14 @@ public Mono> deleteSkillsetWithResponse(String name, RequestOptio * properties. In the form of "," separated string.
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -1239,12 +1188,6 @@ public Mono> deleteSkillsetWithResponse(String name, RequestOptio
      *                 identity (Optional): {
      *                     @odata.type: String (Required)
      *                 }
-     *                 parameters (Optional): {
-     *                     synthesizeGeneratedKeyName: Boolean (Optional)
-     *                      (Optional): {
-     *                         String: Object (Required)
-     *                     }
-     *                 }
      *             }
      *             indexProjections (Optional): {
      *                 selectors (Required): [
@@ -1295,46 +1238,6 @@ Mono> getSkillsetsWithResponse(RequestOptions requestOption
         return this.serviceClient.getSkillsetsWithResponseAsync(requestOptions);
     }
 
-    /**
-     * Creates a new datasource or updates a datasource if it already exists.
-     *
-     * @param name The name of the datasource.
-     * @param dataSource The definition of the datasource to create or update.
-     * @param skipIndexerResetRequirementForCache Ignores cache reset requirements.
-     * @param matchConditions Specifies HTTP options for conditional requests.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return represents a datasource definition, which can be used to configure an indexer on successful completion of
-     * {@link Mono}.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    Mono createOrUpdateDataSourceConnection(String name,
-        SearchIndexerDataSourceConnection dataSource, Boolean skipIndexerResetRequirementForCache,
-        MatchConditions matchConditions) {
-        // Generated convenience method for createOrUpdateDataSourceConnectionWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        String ifMatch = matchConditions == null ? null : matchConditions.getIfMatch();
-        String ifNoneMatch = matchConditions == null ? null : matchConditions.getIfNoneMatch();
-        if (skipIndexerResetRequirementForCache != null) {
-            requestOptions.addQueryParam("ignoreResetRequirements", String.valueOf(skipIndexerResetRequirementForCache),
-                false);
-        }
-        if (ifMatch != null) {
-            requestOptions.setHeader(HttpHeaderName.IF_MATCH, ifMatch);
-        }
-        if (ifNoneMatch != null) {
-            requestOptions.setHeader(HttpHeaderName.IF_NONE_MATCH, ifNoneMatch);
-        }
-        return createOrUpdateDataSourceConnectionWithResponse(name, BinaryData.fromObject(dataSource), requestOptions)
-            .flatMap(FluxUtil::toMono)
-            .map(protocolMethodData -> protocolMethodData.toObject(SearchIndexerDataSourceConnection.class));
-    }
-
     /**
      * Creates a new datasource or updates a datasource if it already exists.
      *
@@ -1530,35 +1433,6 @@ public Mono>> listDataSourceConnectionNamesWithResponse()
                     .collect(Collectors.toList())));
     }
 
-    /**
-     * Lists all datasources available for a search service.
-     *
-     * @param select Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON
-     * property names, or '*' for all properties. The default is all properties.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return response from a List Datasources request on successful completion of {@link Mono}.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    Mono getDataSourceConnections(List select) {
-        // Generated convenience method for getDataSourceConnectionsWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        if (select != null) {
-            requestOptions.addQueryParam("$select",
-                select.stream()
-                    .map(paramItemValue -> Objects.toString(paramItemValue, ""))
-                    .collect(Collectors.joining(",")),
-                false);
-        }
-        return getDataSourceConnectionsWithResponse(requestOptions).flatMap(FluxUtil::toMono)
-            .map(protocolMethodData -> protocolMethodData.toObject(ListDataSourcesResult.class));
-    }
-
     /**
      * Lists all datasources available for a search service.
      *
@@ -1622,78 +1496,6 @@ public Mono resetIndexer(String name) {
         return resetIndexerWithResponse(name, requestOptions).flatMap(FluxUtil::toMono);
     }
 
-    /**
-     * Resync selective options from the datasource to be re-ingested by the indexer.".
-     *
-     * @param name The name of the indexer.
-     * @param indexerResync The definition of the indexer resync options.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return A {@link Mono} that completes when a successful response is received.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public Mono resync(String name, IndexerResyncBody indexerResync) {
-        // Generated convenience method for hiddenGeneratedResyncWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        return hiddenGeneratedResyncWithResponse(name, BinaryData.fromObject(indexerResync), requestOptions)
-            .flatMap(FluxUtil::toMono);
-    }
-
-    /**
-     * Resets specific documents in the datasource to be selectively re-ingested by the indexer.
-     *
-     * @param name The name of the indexer.
-     * @param overwrite If false, keys or ids will be appended to existing ones. If true, only the keys or ids in this
-     * payload will be queued to be re-ingested.
-     * @param keysOrIds The keys or ids of the documents to be re-ingested. If keys are provided, the document key field
-     * must be specified in the indexer configuration. If ids are provided, the document key field is ignored.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return A {@link Mono} that completes when a successful response is received.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public Mono resetDocuments(String name, Boolean overwrite, DocumentKeysOrIds keysOrIds) {
-        // Generated convenience method for resetDocumentsWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        if (overwrite != null) {
-            requestOptions.addQueryParam("overwrite", String.valueOf(overwrite), false);
-        }
-        if (keysOrIds != null) {
-            requestOptions.setBody(BinaryData.fromObject(keysOrIds));
-        }
-        return resetDocumentsWithResponse(name, requestOptions).flatMap(FluxUtil::toMono);
-    }
-
-    /**
-     * Resets specific documents in the datasource to be selectively re-ingested by the indexer.
-     *
-     * @param name The name of the indexer.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return A {@link Mono} that completes when a successful response is received.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public Mono resetDocuments(String name) {
-        // Generated convenience method for resetDocumentsWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        return resetDocumentsWithResponse(name, requestOptions).flatMap(FluxUtil::toMono);
-    }
-
     /**
      * Runs an indexer on-demand.
      *
@@ -1714,50 +1516,6 @@ public Mono runIndexer(String name) {
         return runIndexerWithResponse(name, requestOptions).flatMap(FluxUtil::toMono);
     }
 
-    /**
-     * Creates a new indexer or updates an indexer if it already exists.
-     *
-     * @param name The name of the indexer.
-     * @param indexer The definition of the indexer to create or update.
-     * @param skipIndexerResetRequirementForCache Ignores cache reset requirements.
-     * @param disableCacheReprocessingChangeDetection Disables cache reprocessing change detection.
-     * @param matchConditions Specifies HTTP options for conditional requests.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return represents an indexer on successful completion of {@link Mono}.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    Mono createOrUpdateIndexer(String name, SearchIndexer indexer,
-        Boolean skipIndexerResetRequirementForCache, Boolean disableCacheReprocessingChangeDetection,
-        MatchConditions matchConditions) {
-        // Generated convenience method for createOrUpdateIndexerWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        String ifMatch = matchConditions == null ? null : matchConditions.getIfMatch();
-        String ifNoneMatch = matchConditions == null ? null : matchConditions.getIfNoneMatch();
-        if (skipIndexerResetRequirementForCache != null) {
-            requestOptions.addQueryParam("ignoreResetRequirements", String.valueOf(skipIndexerResetRequirementForCache),
-                false);
-        }
-        if (disableCacheReprocessingChangeDetection != null) {
-            requestOptions.addQueryParam("disableCacheReprocessingChangeDetection",
-                String.valueOf(disableCacheReprocessingChangeDetection), false);
-        }
-        if (ifMatch != null) {
-            requestOptions.setHeader(HttpHeaderName.IF_MATCH, ifMatch);
-        }
-        if (ifNoneMatch != null) {
-            requestOptions.setHeader(HttpHeaderName.IF_NONE_MATCH, ifNoneMatch);
-        }
-        return createOrUpdateIndexerWithResponse(name, BinaryData.fromObject(indexer), requestOptions)
-            .flatMap(FluxUtil::toMono)
-            .map(protocolMethodData -> protocolMethodData.toObject(SearchIndexer.class));
-    }
-
     /**
      * Creates a new indexer or updates an indexer if it already exists.
      *
@@ -1870,35 +1628,6 @@ public Mono getIndexer(String name) {
             .map(protocolMethodData -> protocolMethodData.toObject(SearchIndexer.class));
     }
 
-    /**
-     * Lists all indexers available for a search service.
-     *
-     * @param select Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON
-     * property names, or '*' for all properties. The default is all properties.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return response from a List Indexers request on successful completion of {@link Mono}.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    Mono getIndexers(List select) {
-        // Generated convenience method for getIndexersWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        if (select != null) {
-            requestOptions.addQueryParam("$select",
-                select.stream()
-                    .map(paramItemValue -> Objects.toString(paramItemValue, ""))
-                    .collect(Collectors.joining(",")),
-                false);
-        }
-        return getIndexersWithResponse(requestOptions).flatMap(FluxUtil::toMono)
-            .map(protocolMethodData -> protocolMethodData.toObject(ListIndexersResult.class));
-    }
-
     /**
      * Lists all indexers available for a search service.
      *
@@ -2036,50 +1765,6 @@ public Mono getIndexerStatus(String name) {
             .map(protocolMethodData -> protocolMethodData.toObject(SearchIndexerStatus.class));
     }
 
-    /**
-     * Creates a new skillset in a search service or updates the skillset if it already exists.
-     *
-     * @param name The name of the skillset.
-     * @param skillset The skillset containing one or more skills to create or update in a search service.
-     * @param skipIndexerResetRequirementForCache Ignores cache reset requirements.
-     * @param disableCacheReprocessingChangeDetection Disables cache reprocessing change detection.
-     * @param matchConditions Specifies HTTP options for conditional requests.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return a list of skills on successful completion of {@link Mono}.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    Mono createOrUpdateSkillset(String name, SearchIndexerSkillset skillset,
-        Boolean skipIndexerResetRequirementForCache, Boolean disableCacheReprocessingChangeDetection,
-        MatchConditions matchConditions) {
-        // Generated convenience method for createOrUpdateSkillsetWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        String ifMatch = matchConditions == null ? null : matchConditions.getIfMatch();
-        String ifNoneMatch = matchConditions == null ? null : matchConditions.getIfNoneMatch();
-        if (skipIndexerResetRequirementForCache != null) {
-            requestOptions.addQueryParam("ignoreResetRequirements", String.valueOf(skipIndexerResetRequirementForCache),
-                false);
-        }
-        if (disableCacheReprocessingChangeDetection != null) {
-            requestOptions.addQueryParam("disableCacheReprocessingChangeDetection",
-                String.valueOf(disableCacheReprocessingChangeDetection), false);
-        }
-        if (ifMatch != null) {
-            requestOptions.setHeader(HttpHeaderName.IF_MATCH, ifMatch);
-        }
-        if (ifNoneMatch != null) {
-            requestOptions.setHeader(HttpHeaderName.IF_NONE_MATCH, ifNoneMatch);
-        }
-        return createOrUpdateSkillsetWithResponse(name, BinaryData.fromObject(skillset), requestOptions)
-            .flatMap(FluxUtil::toMono)
-            .map(protocolMethodData -> protocolMethodData.toObject(SearchIndexerSkillset.class));
-    }
-
     /**
      * Creates a new skillset in a search service or updates the skillset if it already exists.
      *
@@ -2192,35 +1877,6 @@ public Mono getSkillset(String name) {
             .map(protocolMethodData -> protocolMethodData.toObject(SearchIndexerSkillset.class));
     }
 
-    /**
-     * List all skillsets in a search service.
-     *
-     * @param select Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON
-     * property names, or '*' for all properties. The default is all properties.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return response from a list skillset request on successful completion of {@link Mono}.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    Mono getSkillsets(List select) {
-        // Generated convenience method for getSkillsetsWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        if (select != null) {
-            requestOptions.addQueryParam("$select",
-                select.stream()
-                    .map(paramItemValue -> Objects.toString(paramItemValue, ""))
-                    .collect(Collectors.joining(",")),
-                false);
-        }
-        return getSkillsetsWithResponse(requestOptions).flatMap(FluxUtil::toMono)
-            .map(protocolMethodData -> protocolMethodData.toObject(ListSkillsetsResult.class));
-    }
-
     /**
      * List all skillsets in a search service.
      *
@@ -2340,28 +1996,6 @@ public Mono createSkillset(SearchIndexerSkillset skillset
             .map(protocolMethodData -> protocolMethodData.toObject(SearchIndexerSkillset.class));
     }
 
-    /**
-     * Reset an existing skillset in a search service.
-     *
-     * @param name The name of the skillset.
-     * @param skillNames The names of the skills to reset. If not specified, all skills in the skillset will be reset.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return A {@link Mono} that completes when a successful response is received.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public Mono resetSkills(String name, SkillNames skillNames) {
-        // Generated convenience method for hiddenGeneratedResetSkillsWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        return hiddenGeneratedResetSkillsWithResponse(name, BinaryData.fromObject(skillNames), requestOptions)
-            .flatMap(FluxUtil::toMono);
-    }
-
     /**
      * Retrieves a datasource definition.
      *
@@ -2528,6 +2162,14 @@ public Mono> resetSkillsWithResponse(String name, SkillNames skil
 
     /**
      * Retrieves a datasource definition.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -2536,7 +2178,6 @@ public Mono> resetSkillsWithResponse(String name, SkillNames skil
      *     name: String (Required)
      *     description: String (Optional)
      *     type: String(azuresql/cosmosdb/azureblob/azuretable/mysql/adlsgen2/onelake/sharepoint) (Required)
-     *     subType: String (Optional)
      *     credentials (Required): {
      *         connectionString: String (Optional)
      *     }
@@ -2547,9 +2188,6 @@ public Mono> resetSkillsWithResponse(String name, SkillNames skil
      *     identity (Optional): {
      *         @odata.type: String (Required)
      *     }
-     *     indexerPermissionOptions (Optional): [
-     *         String(userIds/groupIds/rbacScope) (Optional)
-     *     ]
      *     dataChangeDetectionPolicy (Optional): {
      *         @odata.type: String (Required)
      *     }
@@ -2589,6 +2227,14 @@ Mono> hiddenGeneratedGetDataSourceConnectionWithResponse(St
 
     /**
      * Creates a new datasource.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -2597,7 +2243,6 @@ Mono> hiddenGeneratedGetDataSourceConnectionWithResponse(St
      *     name: String (Required)
      *     description: String (Optional)
      *     type: String(azuresql/cosmosdb/azureblob/azuretable/mysql/adlsgen2/onelake/sharepoint) (Required)
-     *     subType: String (Optional)
      *     credentials (Required): {
      *         connectionString: String (Optional)
      *     }
@@ -2608,9 +2253,6 @@ Mono> hiddenGeneratedGetDataSourceConnectionWithResponse(St
      *     identity (Optional): {
      *         @odata.type: String (Required)
      *     }
-     *     indexerPermissionOptions (Optional): [
-     *         String(userIds/groupIds/rbacScope) (Optional)
-     *     ]
      *     dataChangeDetectionPolicy (Optional): {
      *         @odata.type: String (Required)
      *     }
@@ -2640,7 +2282,6 @@ Mono> hiddenGeneratedGetDataSourceConnectionWithResponse(St
      *     name: String (Required)
      *     description: String (Optional)
      *     type: String(azuresql/cosmosdb/azureblob/azuretable/mysql/adlsgen2/onelake/sharepoint) (Required)
-     *     subType: String (Optional)
      *     credentials (Required): {
      *         connectionString: String (Optional)
      *     }
@@ -2651,9 +2292,6 @@ Mono> hiddenGeneratedGetDataSourceConnectionWithResponse(St
      *     identity (Optional): {
      *         @odata.type: String (Required)
      *     }
-     *     indexerPermissionOptions (Optional): [
-     *         String(userIds/groupIds/rbacScope) (Optional)
-     *     ]
      *     dataChangeDetectionPolicy (Optional): {
      *         @odata.type: String (Required)
      *     }
@@ -2691,38 +2329,16 @@ Mono> hiddenGeneratedCreateDataSourceConnectionWithResponse
         return this.serviceClient.createDataSourceConnectionWithResponseAsync(dataSourceConnection, requestOptions);
     }
 
-    /**
-     * Resync selective options from the datasource to be re-ingested by the indexer.".
-     * 

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     options (Optional): [
-     *         String(permissions) (Optional)
-     *     ]
-     * }
-     * }
-     * 
- * - * @param name The name of the indexer. - * @param indexerResync The definition of the indexer resync options. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> hiddenGeneratedResyncWithResponse(String name, BinaryData indexerResync, - RequestOptions requestOptions) { - return this.serviceClient.resyncWithResponseAsync(name, indexerResync, requestOptions); - } - /** * Retrieves an indexer definition. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -2794,12 +2410,6 @@ Mono> hiddenGeneratedResyncWithResponse(String name, BinaryData i
      *             @odata.type: String (Required)
      *         }
      *     }
-     *     cache (Optional): {
-     *         id: String (Optional)
-     *         storageConnectionString: String (Optional)
-     *         enableReprocessing: Boolean (Optional)
-     *         identity (Optional): (recursive schema, see identity above)
-     *     }
      * }
      * }
      * 
@@ -2820,6 +2430,14 @@ Mono> hiddenGeneratedGetIndexerWithResponse(String name, Re /** * Creates a new indexer. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -2891,12 +2509,6 @@ Mono> hiddenGeneratedGetIndexerWithResponse(String name, Re
      *             @odata.type: String (Required)
      *         }
      *     }
-     *     cache (Optional): {
-     *         id: String (Optional)
-     *         storageConnectionString: String (Optional)
-     *         enableReprocessing: Boolean (Optional)
-     *         identity (Optional): (recursive schema, see identity above)
-     *     }
      * }
      * }
      * 
@@ -2972,12 +2584,6 @@ Mono> hiddenGeneratedGetIndexerWithResponse(String name, Re * @odata.type: String (Required) * } * } - * cache (Optional): { - * id: String (Optional) - * storageConnectionString: String (Optional) - * enableReprocessing: Boolean (Optional) - * identity (Optional): (recursive schema, see identity above) - * } * } * } *
@@ -2999,6 +2605,14 @@ Mono> hiddenGeneratedCreateIndexerWithResponse(BinaryData i /** * Returns the current status and execution history of an indexer. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -3006,12 +2620,6 @@ Mono> hiddenGeneratedCreateIndexerWithResponse(BinaryData i
      * {
      *     name: String (Required)
      *     status: String(unknown/error/running) (Required)
-     *     runtime (Required): {
-     *         usedSeconds: long (Required)
-     *         remainingSeconds: Long (Optional)
-     *         beginningTime: OffsetDateTime (Required)
-     *         endingTime: OffsetDateTime (Required)
-     *     }
      *     lastResult (Optional): {
      *         status: String(transientFailure/success/inProgress/reset) (Required)
      *         statusDetail: String(resetDocs/resync) (Optional)
@@ -3087,6 +2695,14 @@ Mono> hiddenGeneratedGetIndexerStatusWithResponse(String na
 
     /**
      * Retrieves a skillset in a search service.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -3167,12 +2783,6 @@ Mono> hiddenGeneratedGetIndexerStatusWithResponse(String na
      *         identity (Optional): {
      *             @odata.type: String (Required)
      *         }
-     *         parameters (Optional): {
-     *             synthesizeGeneratedKeyName: Boolean (Optional)
-     *              (Optional): {
-     *                 String: Object (Required)
-     *             }
-     *         }
      *     }
      *     indexProjections (Optional): {
      *         selectors (Required): [
@@ -3223,6 +2833,14 @@ Mono> hiddenGeneratedGetSkillsetWithResponse(String name, R
 
     /**
      * Creates a new skillset in a search service.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -3303,12 +2921,6 @@ Mono> hiddenGeneratedGetSkillsetWithResponse(String name, R
      *         identity (Optional): {
      *             @odata.type: String (Required)
      *         }
-     *         parameters (Optional): {
-     *             synthesizeGeneratedKeyName: Boolean (Optional)
-     *              (Optional): {
-     *                 String: Object (Required)
-     *             }
-     *         }
      *     }
      *     indexProjections (Optional): {
      *         selectors (Required): [
@@ -3423,12 +3035,6 @@ Mono> hiddenGeneratedGetSkillsetWithResponse(String name, R
      *         identity (Optional): {
      *             @odata.type: String (Required)
      *         }
-     *         parameters (Optional): {
-     *             synthesizeGeneratedKeyName: Boolean (Optional)
-     *              (Optional): {
-     *                 String: Object (Required)
-     *             }
-     *         }
      *     }
      *     indexProjections (Optional): {
      *         selectors (Required): [
@@ -3479,32 +3085,333 @@ Mono> hiddenGeneratedCreateSkillsetWithResponse(BinaryData
     }
 
     /**
-     * Reset an existing skillset in a search service.
-     * 

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     skillNames (Optional): [
-     *         String (Optional)
-     *     ]
-     * }
-     * }
-     * 
+ * Retrieves a datasource definition. + * + * @param name The name of the datasource. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a datasource definition, which can be used to configure an indexer on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getDataSourceConnection(String name, + CreateOrUpdateRequestAccept32 accept) { + // Generated convenience method for hiddenGeneratedGetDataSourceConnectionWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetDataSourceConnectionWithResponse(name, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(SearchIndexerDataSourceConnection.class)); + } + + /** + * Lists all datasources available for a search service. + * + * @param accept The Accept header. + * @param select Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON + * property names, or '*' for all properties. The default is all properties. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response from a List Datasources request on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getDataSourceConnections(CreateOrUpdateRequestAccept33 accept, List select) { + // Generated convenience method for getDataSourceConnectionsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + if (select != null) { + requestOptions.addQueryParam("$select", + select.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + return getDataSourceConnectionsWithResponse(requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(ListDataSourcesResult.class)); + } + + /** + * Creates a new datasource. + * + * @param dataSourceConnection The definition of the datasource to create. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a datasource definition, which can be used to configure an indexer on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createDataSourceConnection( + SearchIndexerDataSourceConnection dataSourceConnection, CreateOrUpdateRequestAccept34 accept) { + // Generated convenience method for hiddenGeneratedCreateDataSourceConnectionWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedCreateDataSourceConnectionWithResponse(BinaryData.fromObject(dataSourceConnection), + requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(SearchIndexerDataSourceConnection.class)); + } + + /** + * Resets the change tracking state associated with an indexer. + * + * @param name The name of the indexer. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono resetIndexer(String name, CreateOrUpdateRequestAccept35 accept) { + // Generated convenience method for resetIndexerWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return resetIndexerWithResponse(name, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Runs an indexer on-demand. + * + * @param name The name of the indexer. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono runIndexer(String name, CreateOrUpdateRequestAccept36 accept) { + // Generated convenience method for runIndexerWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return runIndexerWithResponse(name, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Retrieves an indexer definition. + * + * @param name The name of the indexer. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents an indexer on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getIndexer(String name, CreateOrUpdateRequestAccept39 accept) { + // Generated convenience method for hiddenGeneratedGetIndexerWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetIndexerWithResponse(name, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(SearchIndexer.class)); + } + + /** + * Lists all indexers available for a search service. + * + * @param accept The Accept header. + * @param select Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON + * property names, or '*' for all properties. The default is all properties. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response from a List Indexers request on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getIndexers(CreateOrUpdateRequestAccept40 accept, List select) { + // Generated convenience method for getIndexersWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + if (select != null) { + requestOptions.addQueryParam("$select", + select.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + return getIndexersWithResponse(requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(ListIndexersResult.class)); + } + + /** + * Creates a new indexer. + * + * @param indexer The definition of the indexer to create. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents an indexer on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createIndexer(SearchIndexer indexer, CreateOrUpdateRequestAccept41 accept) { + // Generated convenience method for hiddenGeneratedCreateIndexerWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedCreateIndexerWithResponse(BinaryData.fromObject(indexer), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(SearchIndexer.class)); + } + + /** + * Returns the current status and execution history of an indexer. + * + * @param name The name of the indexer. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents the current status and execution history of an indexer on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getIndexerStatus(String name, CreateOrUpdateRequestAccept42 accept) { + // Generated convenience method for hiddenGeneratedGetIndexerStatusWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetIndexerStatusWithResponse(name, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(SearchIndexerStatus.class)); + } + + /** + * Retrieves a skillset in a search service. * * @param name The name of the skillset. - * @param skillNames The names of the skills to reset. If not specified, all skills in the skillset will be reset. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a list of skills on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - Mono> hiddenGeneratedResetSkillsWithResponse(String name, BinaryData skillNames, - RequestOptions requestOptions) { - return this.serviceClient.resetSkillsWithResponseAsync(name, skillNames, requestOptions); + public Mono getSkillset(String name, CreateOrUpdateRequestAccept45 accept) { + // Generated convenience method for hiddenGeneratedGetSkillsetWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetSkillsetWithResponse(name, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(SearchIndexerSkillset.class)); + } + + /** + * List all skillsets in a search service. + * + * @param accept The Accept header. + * @param select Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON + * property names, or '*' for all properties. The default is all properties. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response from a list skillset request on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getSkillsets(CreateOrUpdateRequestAccept46 accept, List select) { + // Generated convenience method for getSkillsetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + if (select != null) { + requestOptions.addQueryParam("$select", + select.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + return getSkillsetsWithResponse(requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(ListSkillsetsResult.class)); + } + + /** + * Creates a new skillset in a search service. + * + * @param skillset The skillset containing one or more skills to create in a search service. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a list of skills on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createSkillset(SearchIndexerSkillset skillset, + CreateOrUpdateRequestAccept47 accept) { + // Generated convenience method for hiddenGeneratedCreateSkillsetWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedCreateSkillsetWithResponse(BinaryData.fromObject(skillset), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(SearchIndexerSkillset.class)); } } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/SearchIndexerClient.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/SearchIndexerClient.java index aef0cb1b905c..6524a4b51c34 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/SearchIndexerClient.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/SearchIndexerClient.java @@ -21,7 +21,9 @@ import com.azure.core.util.BinaryData; import com.azure.search.documents.SearchServiceVersion; import com.azure.search.documents.implementation.SearchIndexerClientImpl; -import com.azure.search.documents.indexes.models.DocumentKeysOrIds; +import com.azure.search.documents.implementation.models.CreateOrUpdateRequestAccept33; +import com.azure.search.documents.implementation.models.CreateOrUpdateRequestAccept40; +import com.azure.search.documents.implementation.models.CreateOrUpdateRequestAccept46; import com.azure.search.documents.indexes.models.IndexerResyncBody; import com.azure.search.documents.indexes.models.ListDataSourcesResult; import com.azure.search.documents.indexes.models.ListIndexersResult; @@ -31,6 +33,15 @@ import com.azure.search.documents.indexes.models.SearchIndexerSkillset; import com.azure.search.documents.indexes.models.SearchIndexerStatus; import com.azure.search.documents.indexes.models.SkillNames; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept32; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept34; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept35; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept36; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept39; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept41; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept42; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept45; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept47; import java.util.List; import java.util.Objects; import java.util.stream.Collectors; @@ -83,17 +94,12 @@ public SearchServiceVersion getServiceVersion() { /** * Creates a new datasource or updates a datasource if it already exists. - *

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
ignoreResetRequirementsBooleanNoIgnores cache reset requirements.
- * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -108,7 +114,6 @@ public SearchServiceVersion getServiceVersion() { * name: String (Required) * description: String (Optional) * type: String(azuresql/cosmosdb/azureblob/azuretable/mysql/adlsgen2/onelake/sharepoint) (Required) - * subType: String (Optional) * credentials (Required): { * connectionString: String (Optional) * } @@ -119,9 +124,6 @@ public SearchServiceVersion getServiceVersion() { * identity (Optional): { * @odata.type: String (Required) * } - * indexerPermissionOptions (Optional): [ - * String(userIds/groupIds/rbacScope) (Optional) - * ] * dataChangeDetectionPolicy (Optional): { * @odata.type: String (Required) * } @@ -151,7 +153,6 @@ public SearchServiceVersion getServiceVersion() { * name: String (Required) * description: String (Optional) * type: String(azuresql/cosmosdb/azureblob/azuretable/mysql/adlsgen2/onelake/sharepoint) (Required) - * subType: String (Optional) * credentials (Required): { * connectionString: String (Optional) * } @@ -162,9 +163,6 @@ public SearchServiceVersion getServiceVersion() { * identity (Optional): { * @odata.type: String (Required) * } - * indexerPermissionOptions (Optional): [ - * String(userIds/groupIds/rbacScope) (Optional) - * ] * dataChangeDetectionPolicy (Optional): { * @odata.type: String (Required) * } @@ -245,6 +243,8 @@ public Response createOrUpdateDataSourceConne * * * + * * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -276,6 +276,14 @@ public Response deleteDataSourceConnectionWithResponse(String name, Reques * properties. In the form of "," separated string.
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -286,7 +294,6 @@ public Response deleteDataSourceConnectionWithResponse(String name, Reques
      *             name: String (Required)
      *             description: String (Optional)
      *             type: String(azuresql/cosmosdb/azureblob/azuretable/mysql/adlsgen2/onelake/sharepoint) (Required)
-     *             subType: String (Optional)
      *             credentials (Required): {
      *                 connectionString: String (Optional)
      *             }
@@ -297,9 +304,6 @@ public Response deleteDataSourceConnectionWithResponse(String name, Reques
      *             identity (Optional): {
      *                 @odata.type: String (Required)
      *             }
-     *             indexerPermissionOptions (Optional): [
-     *                 String(userIds/groupIds/rbacScope) (Optional)
-     *             ]
      *             dataChangeDetectionPolicy (Optional): {
      *                 @odata.type: String (Required)
      *             }
@@ -338,6 +342,14 @@ Response getDataSourceConnectionsWithResponse(RequestOptions request
 
     /**
      * Resets the change tracking state associated with an indexer.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} * * @param name The name of the indexer. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -354,54 +366,15 @@ public Response resetIndexerWithResponse(String name, RequestOptions reque } /** - * Resets specific documents in the datasource to be selectively re-ingested by the indexer. - *

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
overwriteBooleanNoIf false, keys or ids will be appended to existing ones. If - * true, only the keys or ids in this payload will be queued to be re-ingested.
- * You can add these to a request with {@link RequestOptions#addQueryParam} + * Runs an indexer on-demand. *

Header Parameters

* * * - * + * *
Header Parameters
NameTypeRequiredDescription
Content-TypeStringNoThe content type. Allowed values: - * "application/json".
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
* You can add these to a request with {@link RequestOptions#addHeader} - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     documentKeys (Optional): [
-     *         String (Optional)
-     *     ]
-     *     datasourceDocumentIds (Optional): [
-     *         String (Optional)
-     *     ]
-     * }
-     * }
-     * 
- * - * @param name The name of the indexer. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response resetDocumentsWithResponse(String name, RequestOptions requestOptions) { - return this.serviceClient.resetDocumentsWithResponse(name, requestOptions); - } - - /** - * Runs an indexer on-demand. * * @param name The name of the indexer. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -419,19 +392,12 @@ public Response runIndexerWithResponse(String name, RequestOptions request /** * Creates a new indexer or updates an indexer if it already exists. - *

Query Parameters

- * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
ignoreResetRequirementsBooleanNoIgnores cache reset requirements.
disableCacheReprocessingChangeDetectionBooleanNoDisables cache reprocessing - * change detection.
- * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -509,12 +475,6 @@ public Response runIndexerWithResponse(String name, RequestOptions request * @odata.type: String (Required) * } * } - * cache (Optional): { - * id: String (Optional) - * storageConnectionString: String (Optional) - * enableReprocessing: Boolean (Optional) - * identity (Optional): (recursive schema, see identity above) - * } * } * } * @@ -590,12 +550,6 @@ public Response runIndexerWithResponse(String name, RequestOptions request * @odata.type: String (Required) * } * } - * cache (Optional): { - * id: String (Optional) - * storageConnectionString: String (Optional) - * enableReprocessing: Boolean (Optional) - * identity (Optional): (recursive schema, see identity above) - * } * } * } * @@ -659,6 +613,8 @@ public Response createOrUpdateIndexerWithResponse(SearchIndexer i * * * + * * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -690,6 +646,14 @@ public Response deleteIndexerWithResponse(String name, RequestOptions requ * properties. In the form of "," separated string.
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -763,12 +727,6 @@ public Response deleteIndexerWithResponse(String name, RequestOptions requ
      *                     @odata.type: String (Required)
      *                 }
      *             }
-     *             cache (Optional): {
-     *                 id: String (Optional)
-     *                 storageConnectionString: String (Optional)
-     *                 enableReprocessing: Boolean (Optional)
-     *                 identity (Optional): (recursive schema, see identity above)
-     *             }
      *         }
      *     ]
      * }
@@ -790,19 +748,12 @@ Response getIndexersWithResponse(RequestOptions requestOptions) {
 
     /**
      * Creates a new skillset in a search service or updates the skillset if it already exists.
-     * 

Query Parameters

- * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
ignoreResetRequirementsBooleanNoIgnores cache reset requirements.
disableCacheReprocessingChangeDetectionBooleanNoDisables cache reprocessing - * change detection.
- * You can add these to a request with {@link RequestOptions#addQueryParam} *

Header Parameters

* * * + * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -889,12 +840,6 @@ Response getIndexersWithResponse(RequestOptions requestOptions) { * identity (Optional): { * @odata.type: String (Required) * } - * parameters (Optional): { - * synthesizeGeneratedKeyName: Boolean (Optional) - * (Optional): { - * String: Object (Required) - * } - * } * } * indexProjections (Optional): { * selectors (Required): [ @@ -1009,12 +954,6 @@ Response getIndexersWithResponse(RequestOptions requestOptions) { * identity (Optional): { * @odata.type: String (Required) * } - * parameters (Optional): { - * synthesizeGeneratedKeyName: Boolean (Optional) - * (Optional): { - * String: Object (Required) - * } - * } * } * indexProjections (Optional): { * selectors (Required): [ @@ -1108,6 +1047,8 @@ public Response createOrUpdateSkillsetWithResponse(Search * * * + * * * *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
If-MatchStringNoDefines the If-Match condition. The operation will be * performed only if the ETag on the server matches this value.
If-None-MatchStringNoDefines the If-None-Match condition. The operation will @@ -1139,6 +1080,14 @@ public Response deleteSkillsetWithResponse(String name, RequestOptions req * properties. In the form of "," separated string.
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -1221,12 +1170,6 @@ public Response deleteSkillsetWithResponse(String name, RequestOptions req
      *                 identity (Optional): {
      *                     @odata.type: String (Required)
      *                 }
-     *                 parameters (Optional): {
-     *                     synthesizeGeneratedKeyName: Boolean (Optional)
-     *                      (Optional): {
-     *                         String: Object (Required)
-     *                     }
-     *                 }
      *             }
      *             indexProjections (Optional): {
      *                 selectors (Required): [
@@ -1276,45 +1219,6 @@ Response getSkillsetsWithResponse(RequestOptions requestOptions) {
         return this.serviceClient.getSkillsetsWithResponse(requestOptions);
     }
 
-    /**
-     * Creates a new datasource or updates a datasource if it already exists.
-     *
-     * @param name The name of the datasource.
-     * @param dataSource The definition of the datasource to create or update.
-     * @param skipIndexerResetRequirementForCache Ignores cache reset requirements.
-     * @param matchConditions Specifies HTTP options for conditional requests.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return represents a datasource definition, which can be used to configure an indexer.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    SearchIndexerDataSourceConnection createOrUpdateDataSourceConnection(String name,
-        SearchIndexerDataSourceConnection dataSource, Boolean skipIndexerResetRequirementForCache,
-        MatchConditions matchConditions) {
-        // Generated convenience method for createOrUpdateDataSourceConnectionWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        String ifMatch = matchConditions == null ? null : matchConditions.getIfMatch();
-        String ifNoneMatch = matchConditions == null ? null : matchConditions.getIfNoneMatch();
-        if (skipIndexerResetRequirementForCache != null) {
-            requestOptions.addQueryParam("ignoreResetRequirements", String.valueOf(skipIndexerResetRequirementForCache),
-                false);
-        }
-        if (ifMatch != null) {
-            requestOptions.setHeader(HttpHeaderName.IF_MATCH, ifMatch);
-        }
-        if (ifNoneMatch != null) {
-            requestOptions.setHeader(HttpHeaderName.IF_NONE_MATCH, ifNoneMatch);
-        }
-        return createOrUpdateDataSourceConnectionWithResponse(name, BinaryData.fromObject(dataSource), requestOptions)
-            .getValue()
-            .toObject(SearchIndexerDataSourceConnection.class);
-    }
-
     /**
      * Creates a new datasource or updates a datasource if it already exists.
      *
@@ -1501,34 +1405,6 @@ public Response> listDataSourceConnectionNamesWithResponse() {
                 .collect(Collectors.toList()));
     }
 
-    /**
-     * Lists all datasources available for a search service.
-     *
-     * @param select Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON
-     * property names, or '*' for all properties. The default is all properties.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return response from a List Datasources request.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    ListDataSourcesResult getDataSourceConnections(List select) {
-        // Generated convenience method for getDataSourceConnectionsWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        if (select != null) {
-            requestOptions.addQueryParam("$select",
-                select.stream()
-                    .map(paramItemValue -> Objects.toString(paramItemValue, ""))
-                    .collect(Collectors.joining(",")),
-                false);
-        }
-        return getDataSourceConnectionsWithResponse(requestOptions).getValue().toObject(ListDataSourcesResult.class);
-    }
-
     /**
      * Lists all datasources available for a search service.
      *
@@ -1588,74 +1464,6 @@ public void resetIndexer(String name) {
         resetIndexerWithResponse(name, requestOptions).getValue();
     }
 
-    /**
-     * Resync selective options from the datasource to be re-ingested by the indexer.".
-     *
-     * @param name The name of the indexer.
-     * @param indexerResync The definition of the indexer resync options.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public void resync(String name, IndexerResyncBody indexerResync) {
-        // Generated convenience method for hiddenGeneratedResyncWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        hiddenGeneratedResyncWithResponse(name, BinaryData.fromObject(indexerResync), requestOptions).getValue();
-    }
-
-    /**
-     * Resets specific documents in the datasource to be selectively re-ingested by the indexer.
-     *
-     * @param name The name of the indexer.
-     * @param overwrite If false, keys or ids will be appended to existing ones. If true, only the keys or ids in this
-     * payload will be queued to be re-ingested.
-     * @param keysOrIds The keys or ids of the documents to be re-ingested. If keys are provided, the document key field
-     * must be specified in the indexer configuration. If ids are provided, the document key field is ignored.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public void resetDocuments(String name, Boolean overwrite, DocumentKeysOrIds keysOrIds) {
-        // Generated convenience method for resetDocumentsWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        if (overwrite != null) {
-            requestOptions.addQueryParam("overwrite", String.valueOf(overwrite), false);
-        }
-        if (keysOrIds != null) {
-            requestOptions.setBody(BinaryData.fromObject(keysOrIds));
-        }
-        resetDocumentsWithResponse(name, requestOptions).getValue();
-    }
-
-    /**
-     * Resets specific documents in the datasource to be selectively re-ingested by the indexer.
-     *
-     * @param name The name of the indexer.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public void resetDocuments(String name) {
-        // Generated convenience method for resetDocumentsWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        resetDocumentsWithResponse(name, requestOptions).getValue();
-    }
-
     /**
      * Runs an indexer on-demand.
      *
@@ -1675,48 +1483,6 @@ public void runIndexer(String name) {
         runIndexerWithResponse(name, requestOptions).getValue();
     }
 
-    /**
-     * Creates a new indexer or updates an indexer if it already exists.
-     *
-     * @param name The name of the indexer.
-     * @param indexer The definition of the indexer to create or update.
-     * @param skipIndexerResetRequirementForCache Ignores cache reset requirements.
-     * @param disableCacheReprocessingChangeDetection Disables cache reprocessing change detection.
-     * @param matchConditions Specifies HTTP options for conditional requests.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return represents an indexer.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    SearchIndexer createOrUpdateIndexer(String name, SearchIndexer indexer, Boolean skipIndexerResetRequirementForCache,
-        Boolean disableCacheReprocessingChangeDetection, MatchConditions matchConditions) {
-        // Generated convenience method for createOrUpdateIndexerWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        String ifMatch = matchConditions == null ? null : matchConditions.getIfMatch();
-        String ifNoneMatch = matchConditions == null ? null : matchConditions.getIfNoneMatch();
-        if (skipIndexerResetRequirementForCache != null) {
-            requestOptions.addQueryParam("ignoreResetRequirements", String.valueOf(skipIndexerResetRequirementForCache),
-                false);
-        }
-        if (disableCacheReprocessingChangeDetection != null) {
-            requestOptions.addQueryParam("disableCacheReprocessingChangeDetection",
-                String.valueOf(disableCacheReprocessingChangeDetection), false);
-        }
-        if (ifMatch != null) {
-            requestOptions.setHeader(HttpHeaderName.IF_MATCH, ifMatch);
-        }
-        if (ifNoneMatch != null) {
-            requestOptions.setHeader(HttpHeaderName.IF_NONE_MATCH, ifNoneMatch);
-        }
-        return createOrUpdateIndexerWithResponse(name, BinaryData.fromObject(indexer), requestOptions).getValue()
-            .toObject(SearchIndexer.class);
-    }
-
     /**
      * Creates a new indexer or updates an indexer if it already exists.
      *
@@ -1821,34 +1587,6 @@ public SearchIndexer getIndexer(String name) {
         return hiddenGeneratedGetIndexerWithResponse(name, requestOptions).getValue().toObject(SearchIndexer.class);
     }
 
-    /**
-     * Lists all indexers available for a search service.
-     *
-     * @param select Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON
-     * property names, or '*' for all properties. The default is all properties.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return response from a List Indexers request.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    ListIndexersResult getIndexers(List select) {
-        // Generated convenience method for getIndexersWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        if (select != null) {
-            requestOptions.addQueryParam("$select",
-                select.stream()
-                    .map(paramItemValue -> Objects.toString(paramItemValue, ""))
-                    .collect(Collectors.joining(",")),
-                false);
-        }
-        return getIndexersWithResponse(requestOptions).getValue().toObject(ListIndexersResult.class);
-    }
-
     /**
      * Lists all indexers available for a search service.
      *
@@ -1982,49 +1720,6 @@ public SearchIndexerStatus getIndexerStatus(String name) {
             .toObject(SearchIndexerStatus.class);
     }
 
-    /**
-     * Creates a new skillset in a search service or updates the skillset if it already exists.
-     *
-     * @param name The name of the skillset.
-     * @param skillset The skillset containing one or more skills to create or update in a search service.
-     * @param skipIndexerResetRequirementForCache Ignores cache reset requirements.
-     * @param disableCacheReprocessingChangeDetection Disables cache reprocessing change detection.
-     * @param matchConditions Specifies HTTP options for conditional requests.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return a list of skills.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    SearchIndexerSkillset createOrUpdateSkillset(String name, SearchIndexerSkillset skillset,
-        Boolean skipIndexerResetRequirementForCache, Boolean disableCacheReprocessingChangeDetection,
-        MatchConditions matchConditions) {
-        // Generated convenience method for createOrUpdateSkillsetWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        String ifMatch = matchConditions == null ? null : matchConditions.getIfMatch();
-        String ifNoneMatch = matchConditions == null ? null : matchConditions.getIfNoneMatch();
-        if (skipIndexerResetRequirementForCache != null) {
-            requestOptions.addQueryParam("ignoreResetRequirements", String.valueOf(skipIndexerResetRequirementForCache),
-                false);
-        }
-        if (disableCacheReprocessingChangeDetection != null) {
-            requestOptions.addQueryParam("disableCacheReprocessingChangeDetection",
-                String.valueOf(disableCacheReprocessingChangeDetection), false);
-        }
-        if (ifMatch != null) {
-            requestOptions.setHeader(HttpHeaderName.IF_MATCH, ifMatch);
-        }
-        if (ifNoneMatch != null) {
-            requestOptions.setHeader(HttpHeaderName.IF_NONE_MATCH, ifNoneMatch);
-        }
-        return createOrUpdateSkillsetWithResponse(name, BinaryData.fromObject(skillset), requestOptions).getValue()
-            .toObject(SearchIndexerSkillset.class);
-    }
-
     /**
      * Creates a new skillset in a search service or updates the skillset if it already exists.
      *
@@ -2130,34 +1825,6 @@ public SearchIndexerSkillset getSkillset(String name) {
             .toObject(SearchIndexerSkillset.class);
     }
 
-    /**
-     * List all skillsets in a search service.
-     *
-     * @param select Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON
-     * property names, or '*' for all properties. The default is all properties.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     * @return response from a list skillset request.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    ListSkillsetsResult getSkillsets(List select) {
-        // Generated convenience method for getSkillsetsWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        if (select != null) {
-            requestOptions.addQueryParam("$select",
-                select.stream()
-                    .map(paramItemValue -> Objects.toString(paramItemValue, ""))
-                    .collect(Collectors.joining(",")),
-                false);
-        }
-        return getSkillsetsWithResponse(requestOptions).getValue().toObject(ListSkillsetsResult.class);
-    }
-
     /**
      * List all skillsets in a search service.
      *
@@ -2275,26 +1942,6 @@ public SearchIndexerSkillset createSkillset(SearchIndexerSkillset skillset) {
             .toObject(SearchIndexerSkillset.class);
     }
 
-    /**
-     * Reset an existing skillset in a search service.
-     *
-     * @param name The name of the skillset.
-     * @param skillNames The names of the skills to reset. If not specified, all skills in the skillset will be reset.
-     * @throws IllegalArgumentException thrown if parameters fail the validation.
-     * @throws HttpResponseException thrown if the request is rejected by server.
-     * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
-     * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
-     * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
-     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
-     */
-    @Generated
-    @ServiceMethod(returns = ReturnType.SINGLE)
-    public void resetSkills(String name, SkillNames skillNames) {
-        // Generated convenience method for hiddenGeneratedResetSkillsWithResponse
-        RequestOptions requestOptions = new RequestOptions();
-        hiddenGeneratedResetSkillsWithResponse(name, BinaryData.fromObject(skillNames), requestOptions).getValue();
-    }
-
     /**
      * Retrieves a datasource definition.
      *
@@ -2457,6 +2104,14 @@ public Response resetSkillsWithResponse(String name, SkillNames skillNames
 
     /**
      * Retrieves a datasource definition.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -2465,7 +2120,6 @@ public Response resetSkillsWithResponse(String name, SkillNames skillNames
      *     name: String (Required)
      *     description: String (Optional)
      *     type: String(azuresql/cosmosdb/azureblob/azuretable/mysql/adlsgen2/onelake/sharepoint) (Required)
-     *     subType: String (Optional)
      *     credentials (Required): {
      *         connectionString: String (Optional)
      *     }
@@ -2476,9 +2130,6 @@ public Response resetSkillsWithResponse(String name, SkillNames skillNames
      *     identity (Optional): {
      *         @odata.type: String (Required)
      *     }
-     *     indexerPermissionOptions (Optional): [
-     *         String(userIds/groupIds/rbacScope) (Optional)
-     *     ]
      *     dataChangeDetectionPolicy (Optional): {
      *         @odata.type: String (Required)
      *     }
@@ -2518,6 +2169,14 @@ Response hiddenGeneratedGetDataSourceConnectionWithResponse(String n
 
     /**
      * Creates a new datasource.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -2526,7 +2185,6 @@ Response hiddenGeneratedGetDataSourceConnectionWithResponse(String n
      *     name: String (Required)
      *     description: String (Optional)
      *     type: String(azuresql/cosmosdb/azureblob/azuretable/mysql/adlsgen2/onelake/sharepoint) (Required)
-     *     subType: String (Optional)
      *     credentials (Required): {
      *         connectionString: String (Optional)
      *     }
@@ -2537,9 +2195,6 @@ Response hiddenGeneratedGetDataSourceConnectionWithResponse(String n
      *     identity (Optional): {
      *         @odata.type: String (Required)
      *     }
-     *     indexerPermissionOptions (Optional): [
-     *         String(userIds/groupIds/rbacScope) (Optional)
-     *     ]
      *     dataChangeDetectionPolicy (Optional): {
      *         @odata.type: String (Required)
      *     }
@@ -2569,7 +2224,6 @@ Response hiddenGeneratedGetDataSourceConnectionWithResponse(String n
      *     name: String (Required)
      *     description: String (Optional)
      *     type: String(azuresql/cosmosdb/azureblob/azuretable/mysql/adlsgen2/onelake/sharepoint) (Required)
-     *     subType: String (Optional)
      *     credentials (Required): {
      *         connectionString: String (Optional)
      *     }
@@ -2580,9 +2234,6 @@ Response hiddenGeneratedGetDataSourceConnectionWithResponse(String n
      *     identity (Optional): {
      *         @odata.type: String (Required)
      *     }
-     *     indexerPermissionOptions (Optional): [
-     *         String(userIds/groupIds/rbacScope) (Optional)
-     *     ]
      *     dataChangeDetectionPolicy (Optional): {
      *         @odata.type: String (Required)
      *     }
@@ -2620,38 +2271,16 @@ Response hiddenGeneratedCreateDataSourceConnectionWithResponse(Binar
         return this.serviceClient.createDataSourceConnectionWithResponse(dataSourceConnection, requestOptions);
     }
 
-    /**
-     * Resync selective options from the datasource to be re-ingested by the indexer.".
-     * 

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     options (Optional): [
-     *         String(permissions) (Optional)
-     *     ]
-     * }
-     * }
-     * 
- * - * @param name The name of the indexer. - * @param indexerResync The definition of the indexer resync options. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - Response hiddenGeneratedResyncWithResponse(String name, BinaryData indexerResync, - RequestOptions requestOptions) { - return this.serviceClient.resyncWithResponse(name, indexerResync, requestOptions); - } - /** * Retrieves an indexer definition. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -2723,12 +2352,6 @@ Response hiddenGeneratedResyncWithResponse(String name, BinaryData indexer
      *             @odata.type: String (Required)
      *         }
      *     }
-     *     cache (Optional): {
-     *         id: String (Optional)
-     *         storageConnectionString: String (Optional)
-     *         enableReprocessing: Boolean (Optional)
-     *         identity (Optional): (recursive schema, see identity above)
-     *     }
      * }
      * }
      * 
@@ -2749,6 +2372,14 @@ Response hiddenGeneratedGetIndexerWithResponse(String name, RequestO /** * Creates a new indexer. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -2820,12 +2451,6 @@ Response hiddenGeneratedGetIndexerWithResponse(String name, RequestO
      *             @odata.type: String (Required)
      *         }
      *     }
-     *     cache (Optional): {
-     *         id: String (Optional)
-     *         storageConnectionString: String (Optional)
-     *         enableReprocessing: Boolean (Optional)
-     *         identity (Optional): (recursive schema, see identity above)
-     *     }
      * }
      * }
      * 
@@ -2901,12 +2526,6 @@ Response hiddenGeneratedGetIndexerWithResponse(String name, RequestO * @odata.type: String (Required) * } * } - * cache (Optional): { - * id: String (Optional) - * storageConnectionString: String (Optional) - * enableReprocessing: Boolean (Optional) - * identity (Optional): (recursive schema, see identity above) - * } * } * } *
@@ -2927,6 +2546,14 @@ Response hiddenGeneratedCreateIndexerWithResponse(BinaryData indexer /** * Returns the current status and execution history of an indexer. + *

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -2934,12 +2561,6 @@ Response hiddenGeneratedCreateIndexerWithResponse(BinaryData indexer
      * {
      *     name: String (Required)
      *     status: String(unknown/error/running) (Required)
-     *     runtime (Required): {
-     *         usedSeconds: long (Required)
-     *         remainingSeconds: Long (Optional)
-     *         beginningTime: OffsetDateTime (Required)
-     *         endingTime: OffsetDateTime (Required)
-     *     }
      *     lastResult (Optional): {
      *         status: String(transientFailure/success/inProgress/reset) (Required)
      *         statusDetail: String(resetDocs/resync) (Optional)
@@ -3014,6 +2635,14 @@ Response hiddenGeneratedGetIndexerStatusWithResponse(String name, Re
 
     /**
      * Retrieves a skillset in a search service.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Response Body Schema

* *
@@ -3094,12 +2723,6 @@ Response hiddenGeneratedGetIndexerStatusWithResponse(String name, Re
      *         identity (Optional): {
      *             @odata.type: String (Required)
      *         }
-     *         parameters (Optional): {
-     *             synthesizeGeneratedKeyName: Boolean (Optional)
-     *              (Optional): {
-     *                 String: Object (Required)
-     *             }
-     *         }
      *     }
      *     indexProjections (Optional): {
      *         selectors (Required): [
@@ -3150,6 +2773,14 @@ Response hiddenGeneratedGetSkillsetWithResponse(String name, Request
 
     /**
      * Creates a new skillset in a search service.
+     * 

Header Parameters

+ * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
+ * You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

* *
@@ -3230,12 +2861,6 @@ Response hiddenGeneratedGetSkillsetWithResponse(String name, Request
      *         identity (Optional): {
      *             @odata.type: String (Required)
      *         }
-     *         parameters (Optional): {
-     *             synthesizeGeneratedKeyName: Boolean (Optional)
-     *              (Optional): {
-     *                 String: Object (Required)
-     *             }
-     *         }
      *     }
      *     indexProjections (Optional): {
      *         selectors (Required): [
@@ -3350,12 +2975,6 @@ Response hiddenGeneratedGetSkillsetWithResponse(String name, Request
      *         identity (Optional): {
      *             @odata.type: String (Required)
      *         }
-     *         parameters (Optional): {
-     *             synthesizeGeneratedKeyName: Boolean (Optional)
-     *              (Optional): {
-     *                 String: Object (Required)
-     *             }
-     *         }
      *     }
      *     indexProjections (Optional): {
      *         selectors (Required): [
@@ -3405,32 +3024,320 @@ Response hiddenGeneratedCreateSkillsetWithResponse(BinaryData skills
     }
 
     /**
-     * Reset an existing skillset in a search service.
-     * 

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     skillNames (Optional): [
-     *         String (Optional)
-     *     ]
-     * }
-     * }
-     * 
+ * Retrieves a datasource definition. + * + * @param name The name of the datasource. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a datasource definition, which can be used to configure an indexer. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public SearchIndexerDataSourceConnection getDataSourceConnection(String name, + CreateOrUpdateRequestAccept32 accept) { + // Generated convenience method for hiddenGeneratedGetDataSourceConnectionWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetDataSourceConnectionWithResponse(name, requestOptions).getValue() + .toObject(SearchIndexerDataSourceConnection.class); + } + + /** + * Lists all datasources available for a search service. + * + * @param accept The Accept header. + * @param select Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON + * property names, or '*' for all properties. The default is all properties. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response from a List Datasources request. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + ListDataSourcesResult getDataSourceConnections(CreateOrUpdateRequestAccept33 accept, List select) { + // Generated convenience method for getDataSourceConnectionsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + if (select != null) { + requestOptions.addQueryParam("$select", + select.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + return getDataSourceConnectionsWithResponse(requestOptions).getValue().toObject(ListDataSourcesResult.class); + } + + /** + * Creates a new datasource. + * + * @param dataSourceConnection The definition of the datasource to create. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a datasource definition, which can be used to configure an indexer. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public SearchIndexerDataSourceConnection createDataSourceConnection( + SearchIndexerDataSourceConnection dataSourceConnection, CreateOrUpdateRequestAccept34 accept) { + // Generated convenience method for hiddenGeneratedCreateDataSourceConnectionWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedCreateDataSourceConnectionWithResponse(BinaryData.fromObject(dataSourceConnection), + requestOptions).getValue().toObject(SearchIndexerDataSourceConnection.class); + } + + /** + * Resets the change tracking state associated with an indexer. + * + * @param name The name of the indexer. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void resetIndexer(String name, CreateOrUpdateRequestAccept35 accept) { + // Generated convenience method for resetIndexerWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + resetIndexerWithResponse(name, requestOptions).getValue(); + } + + /** + * Runs an indexer on-demand. + * + * @param name The name of the indexer. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public void runIndexer(String name, CreateOrUpdateRequestAccept36 accept) { + // Generated convenience method for runIndexerWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + runIndexerWithResponse(name, requestOptions).getValue(); + } + + /** + * Retrieves an indexer definition. + * + * @param name The name of the indexer. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents an indexer. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public SearchIndexer getIndexer(String name, CreateOrUpdateRequestAccept39 accept) { + // Generated convenience method for hiddenGeneratedGetIndexerWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetIndexerWithResponse(name, requestOptions).getValue().toObject(SearchIndexer.class); + } + + /** + * Lists all indexers available for a search service. + * + * @param accept The Accept header. + * @param select Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON + * property names, or '*' for all properties. The default is all properties. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response from a List Indexers request. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + ListIndexersResult getIndexers(CreateOrUpdateRequestAccept40 accept, List select) { + // Generated convenience method for getIndexersWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + if (select != null) { + requestOptions.addQueryParam("$select", + select.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + return getIndexersWithResponse(requestOptions).getValue().toObject(ListIndexersResult.class); + } + + /** + * Creates a new indexer. + * + * @param indexer The definition of the indexer to create. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents an indexer. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public SearchIndexer createIndexer(SearchIndexer indexer, CreateOrUpdateRequestAccept41 accept) { + // Generated convenience method for hiddenGeneratedCreateIndexerWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedCreateIndexerWithResponse(BinaryData.fromObject(indexer), requestOptions).getValue() + .toObject(SearchIndexer.class); + } + + /** + * Returns the current status and execution history of an indexer. + * + * @param name The name of the indexer. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents the current status and execution history of an indexer. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public SearchIndexerStatus getIndexerStatus(String name, CreateOrUpdateRequestAccept42 accept) { + // Generated convenience method for hiddenGeneratedGetIndexerStatusWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetIndexerStatusWithResponse(name, requestOptions).getValue() + .toObject(SearchIndexerStatus.class); + } + + /** + * Retrieves a skillset in a search service. * * @param name The name of the skillset. - * @param skillNames The names of the skills to reset. If not specified, all skills in the skillset will be reset. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a list of skills. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - Response hiddenGeneratedResetSkillsWithResponse(String name, BinaryData skillNames, - RequestOptions requestOptions) { - return this.serviceClient.resetSkillsWithResponse(name, skillNames, requestOptions); + public SearchIndexerSkillset getSkillset(String name, CreateOrUpdateRequestAccept45 accept) { + // Generated convenience method for hiddenGeneratedGetSkillsetWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedGetSkillsetWithResponse(name, requestOptions).getValue() + .toObject(SearchIndexerSkillset.class); + } + + /** + * List all skillsets in a search service. + * + * @param accept The Accept header. + * @param select Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON + * property names, or '*' for all properties. The default is all properties. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response from a list skillset request. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + ListSkillsetsResult getSkillsets(CreateOrUpdateRequestAccept46 accept, List select) { + // Generated convenience method for getSkillsetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + if (select != null) { + requestOptions.addQueryParam("$select", + select.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + return getSkillsetsWithResponse(requestOptions).getValue().toObject(ListSkillsetsResult.class); + } + + /** + * Creates a new skillset in a search service. + * + * @param skillset The skillset containing one or more skills to create in a search service. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a list of skills. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public SearchIndexerSkillset createSkillset(SearchIndexerSkillset skillset, CreateOrUpdateRequestAccept47 accept) { + // Generated convenience method for hiddenGeneratedCreateSkillsetWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedCreateSkillsetWithResponse(BinaryData.fromObject(skillset), requestOptions).getValue() + .toObject(SearchIndexerSkillset.class); } } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/AIFoundryModelCatalogName.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/AIFoundryModelCatalogName.java index a8a31ddcabb1..e9c50cae9072 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/AIFoundryModelCatalogName.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/AIFoundryModelCatalogName.java @@ -12,20 +12,6 @@ */ public final class AIFoundryModelCatalogName extends ExpandableStringEnum { - /** - * OpenAI-CLIP-Image-Text-Embeddings-vit-base-patch32. - */ - @Generated - public static final AIFoundryModelCatalogName OPEN_AICLIPIMAGE_TEXT_EMBEDDINGS_VIT_BASE_PATCH32 - = fromString("OpenAI-CLIP-Image-Text-Embeddings-vit-base-patch32"); - - /** - * OpenAI-CLIP-Image-Text-Embeddings-ViT-Large-Patch14-336. - */ - @Generated - public static final AIFoundryModelCatalogName OPEN_AICLIPIMAGE_TEXT_EMBEDDINGS_VI_TLARGE_PATCH14336 - = fromString("OpenAI-CLIP-Image-Text-Embeddings-ViT-Large-Patch14-336"); - /** * Facebook-DinoV2-Image-Embeddings-ViT-Base. */ @@ -89,4 +75,18 @@ public static AIFoundryModelCatalogName fromString(String name) { public static Collection values() { return values(AIFoundryModelCatalogName.class); } + + /** + * OpenAI-CLIP-Image-Text-Embeddings-vit-base-patch32. + */ + @Generated + public static final AIFoundryModelCatalogName OPEN_AI_CLIP_IMAGE_TEXT_EMBEDDINGS_VIT_BASE_PATCH32 + = fromString("OpenAI-CLIP-Image-Text-Embeddings-vit-base-patch32"); + + /** + * OpenAI-CLIP-Image-Text-Embeddings-ViT-Large-Patch14-336. + */ + @Generated + public static final AIFoundryModelCatalogName OPEN_AI_CLIP_IMAGE_TEXT_EMBEDDINGS_VI_TLARGE_PATCH14_336 + = fromString("OpenAI-CLIP-Image-Text-Embeddings-ViT-Large-Patch14-336"); } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/AIServicesAccountIdentity.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/AIServicesAccountIdentity.java index 0b4e6191d423..02ac88d8bac3 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/AIServicesAccountIdentity.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/AIServicesAccountIdentity.java @@ -31,7 +31,7 @@ public final class AIServicesAccountIdentity extends CognitiveServicesAccount { private SearchIndexerDataIdentity identity; /* - * The subdomain url for the corresponding AI Service. + * The subdomain/Azure AI Services endpoint url for the corresponding AI Service. */ @Generated private final String subdomainUrl; @@ -84,7 +84,7 @@ public AIServicesAccountIdentity setIdentity(SearchIndexerDataIdentity identity) } /** - * Get the subdomainUrl property: The subdomain url for the corresponding AI Service. + * Get the subdomainUrl property: The subdomain/Azure AI Services endpoint url for the corresponding AI Service. * * @return the subdomainUrl value. */ diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/AIServicesAccountKey.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/AIServicesAccountKey.java index 8428265f9c04..4f5fffc6fade 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/AIServicesAccountKey.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/AIServicesAccountKey.java @@ -30,7 +30,7 @@ public final class AIServicesAccountKey extends CognitiveServicesAccount { private final String key; /* - * The subdomain url for the corresponding AI Service. + * The subdomain/Azure AI Services endpoint url for the corresponding AI Service. */ @Generated private final String subdomainUrl; @@ -69,7 +69,7 @@ public String getKey() { } /** - * Get the subdomainUrl property: The subdomain url for the corresponding AI Service. + * Get the subdomainUrl property: The subdomain/Azure AI Services endpoint url for the corresponding AI Service. * * @return the subdomainUrl value. */ diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/ChatCompletionExtraParametersBehavior.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/ChatCompletionExtraParametersBehavior.java index 6609e476f7a0..7d5a860eae0b 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/ChatCompletionExtraParametersBehavior.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/ChatCompletionExtraParametersBehavior.java @@ -17,7 +17,7 @@ public final class ChatCompletionExtraParametersBehavior * Passes any extra parameters directly to the model. */ @Generated - public static final ChatCompletionExtraParametersBehavior PASS_THROUGH = fromString("pass-through"); + public static final ChatCompletionExtraParametersBehavior PASS_THROUGH = fromString("passThrough"); /** * Drops all extra parameters. diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/ChatCompletionSkill.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/ChatCompletionSkill.java index c000d5bad755..634a44005a96 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/ChatCompletionSkill.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/ChatCompletionSkill.java @@ -5,12 +5,10 @@ import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; -import com.azure.core.util.CoreUtils; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; -import java.time.Duration; import java.util.List; import java.util.Map; @@ -32,46 +30,6 @@ public final class ChatCompletionSkill extends SearchIndexerSkill { @Generated private final String uri; - /* - * The headers required to make the http request. - */ - @Generated - private WebApiHttpHeaders httpHeaders; - - /* - * The method for the http request. - */ - @Generated - private String httpMethod; - - /* - * The desired timeout for the request. Default is 30 seconds. - */ - @Generated - private Duration timeout; - - /* - * The desired batch size which indicates number of documents. - */ - @Generated - private Integer batchSize; - - /* - * If set, the number of parallel calls that can be made to the Web API. - */ - @Generated - private Integer degreeOfParallelism; - - /* - * Applies to custom skills that connect to external code in an Azure function or some other application that - * provides the transformations. This value should be the application ID created for the function or app when it was - * registered with Azure Active Directory. When specified, the custom skill connects to the function or app using a - * managed ID (either system or user-assigned) of the search service and the access token of the function or app, - * using this value as the resource id for creating the scope of the access token. - */ - @Generated - private String authResourceId; - /* * The user-assigned managed identity used for outbound connections. If an authResourceId is provided and it's not * specified, the system-assigned managed identity is used. On updates to the indexer, if the identity is @@ -145,146 +103,6 @@ public String getUri() { return this.uri; } - /** - * Get the httpHeaders property: The headers required to make the http request. - * - * @return the httpHeaders value. - */ - @Generated - public WebApiHttpHeaders getHttpHeaders() { - return this.httpHeaders; - } - - /** - * Set the httpHeaders property: The headers required to make the http request. - * - * @param httpHeaders the httpHeaders value to set. - * @return the ChatCompletionSkill object itself. - */ - @Generated - public ChatCompletionSkill setHttpHeaders(WebApiHttpHeaders httpHeaders) { - this.httpHeaders = httpHeaders; - return this; - } - - /** - * Get the httpMethod property: The method for the http request. - * - * @return the httpMethod value. - */ - @Generated - public String getHttpMethod() { - return this.httpMethod; - } - - /** - * Set the httpMethod property: The method for the http request. - * - * @param httpMethod the httpMethod value to set. - * @return the ChatCompletionSkill object itself. - */ - @Generated - public ChatCompletionSkill setHttpMethod(String httpMethod) { - this.httpMethod = httpMethod; - return this; - } - - /** - * Get the timeout property: The desired timeout for the request. Default is 30 seconds. - * - * @return the timeout value. - */ - @Generated - public Duration getTimeout() { - return this.timeout; - } - - /** - * Set the timeout property: The desired timeout for the request. Default is 30 seconds. - * - * @param timeout the timeout value to set. - * @return the ChatCompletionSkill object itself. - */ - @Generated - public ChatCompletionSkill setTimeout(Duration timeout) { - this.timeout = timeout; - return this; - } - - /** - * Get the batchSize property: The desired batch size which indicates number of documents. - * - * @return the batchSize value. - */ - @Generated - public Integer getBatchSize() { - return this.batchSize; - } - - /** - * Set the batchSize property: The desired batch size which indicates number of documents. - * - * @param batchSize the batchSize value to set. - * @return the ChatCompletionSkill object itself. - */ - @Generated - public ChatCompletionSkill setBatchSize(Integer batchSize) { - this.batchSize = batchSize; - return this; - } - - /** - * Get the degreeOfParallelism property: If set, the number of parallel calls that can be made to the Web API. - * - * @return the degreeOfParallelism value. - */ - @Generated - public Integer getDegreeOfParallelism() { - return this.degreeOfParallelism; - } - - /** - * Set the degreeOfParallelism property: If set, the number of parallel calls that can be made to the Web API. - * - * @param degreeOfParallelism the degreeOfParallelism value to set. - * @return the ChatCompletionSkill object itself. - */ - @Generated - public ChatCompletionSkill setDegreeOfParallelism(Integer degreeOfParallelism) { - this.degreeOfParallelism = degreeOfParallelism; - return this; - } - - /** - * Get the authResourceId property: Applies to custom skills that connect to external code in an Azure function or - * some other application that provides the transformations. This value should be the application ID created for the - * function or app when it was registered with Azure Active Directory. When specified, the custom skill connects to - * the function or app using a managed ID (either system or user-assigned) of the search service and the access - * token of the function or app, using this value as the resource id for creating the scope of the access token. - * - * @return the authResourceId value. - */ - @Generated - public String getAuthResourceId() { - return this.authResourceId; - } - - /** - * Set the authResourceId property: Applies to custom skills that connect to external code in an Azure function or - * some other application that provides the transformations. This value should be the application ID created for the - * function or app when it was registered with Azure Active Directory. When specified, the custom skill connects to - * the function or app using a managed ID (either system or user-assigned) of the search service and the access - * token of the function or app, using this value as the resource id for creating the scope of the access token. - * - * @param authResourceId the authResourceId value to set. - * @return the ChatCompletionSkill object itself. - */ - @Generated - public ChatCompletionSkill setAuthResourceId(String authResourceId) { - this.authResourceId = authResourceId; - return this; - } - /** * Get the authIdentity property: The user-assigned managed identity used for outbound connections. If an * authResourceId is provided and it's not specified, the system-assigned managed identity is used. On updates to @@ -478,12 +296,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("context", getContext()); jsonWriter.writeStringField("uri", this.uri); jsonWriter.writeStringField("@odata.type", this.odataType); - jsonWriter.writeJsonField("httpHeaders", this.httpHeaders); - jsonWriter.writeStringField("httpMethod", this.httpMethod); - jsonWriter.writeStringField("timeout", CoreUtils.durationToStringWithDays(this.timeout)); - jsonWriter.writeNumberField("batchSize", this.batchSize); - jsonWriter.writeNumberField("degreeOfParallelism", this.degreeOfParallelism); - jsonWriter.writeStringField("authResourceId", this.authResourceId); jsonWriter.writeJsonField("authIdentity", this.authIdentity); jsonWriter.writeStringField("apiKey", this.apiKey); jsonWriter.writeJsonField("commonModelParameters", this.commonModelParameters); @@ -514,12 +326,6 @@ public static ChatCompletionSkill fromJson(JsonReader jsonReader) throws IOExcep String context = null; String uri = null; String odataType = "#Microsoft.Skills.Custom.ChatCompletionSkill"; - WebApiHttpHeaders httpHeaders = null; - String httpMethod = null; - Duration timeout = null; - Integer batchSize = null; - Integer degreeOfParallelism = null; - String authResourceId = null; SearchIndexerDataIdentity authIdentity = null; String apiKey = null; ChatCompletionCommonModelParameters commonModelParameters = null; @@ -543,18 +349,6 @@ public static ChatCompletionSkill fromJson(JsonReader jsonReader) throws IOExcep uri = reader.getString(); } else if ("@odata.type".equals(fieldName)) { odataType = reader.getString(); - } else if ("httpHeaders".equals(fieldName)) { - httpHeaders = WebApiHttpHeaders.fromJson(reader); - } else if ("httpMethod".equals(fieldName)) { - httpMethod = reader.getString(); - } else if ("timeout".equals(fieldName)) { - timeout = reader.getNullable(nonNullReader -> Duration.parse(nonNullReader.getString())); - } else if ("batchSize".equals(fieldName)) { - batchSize = reader.getNullable(JsonReader::getInt); - } else if ("degreeOfParallelism".equals(fieldName)) { - degreeOfParallelism = reader.getNullable(JsonReader::getInt); - } else if ("authResourceId".equals(fieldName)) { - authResourceId = reader.getString(); } else if ("authIdentity".equals(fieldName)) { authIdentity = SearchIndexerDataIdentity.fromJson(reader); } else if ("apiKey".equals(fieldName)) { @@ -576,12 +370,6 @@ public static ChatCompletionSkill fromJson(JsonReader jsonReader) throws IOExcep deserializedChatCompletionSkill.setDescription(description); deserializedChatCompletionSkill.setContext(context); deserializedChatCompletionSkill.odataType = odataType; - deserializedChatCompletionSkill.httpHeaders = httpHeaders; - deserializedChatCompletionSkill.httpMethod = httpMethod; - deserializedChatCompletionSkill.timeout = timeout; - deserializedChatCompletionSkill.batchSize = batchSize; - deserializedChatCompletionSkill.degreeOfParallelism = degreeOfParallelism; - deserializedChatCompletionSkill.authResourceId = authResourceId; deserializedChatCompletionSkill.authIdentity = authIdentity; deserializedChatCompletionSkill.apiKey = apiKey; deserializedChatCompletionSkill.commonModelParameters = commonModelParameters; diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/EntityCategory.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/EntityCategory.java new file mode 100644 index 000000000000..a036e55b8141 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/EntityCategory.java @@ -0,0 +1,87 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.indexes.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * A string indicating what entity categories to return. + */ +public final class EntityCategory extends ExpandableStringEnum { + /** + * Entities describing a physical location. + */ + @Generated + public static final EntityCategory LOCATION = fromString("location"); + + /** + * Entities describing an organization. + */ + @Generated + public static final EntityCategory ORGANIZATION = fromString("organization"); + + /** + * Entities describing a person. + */ + @Generated + public static final EntityCategory PERSON = fromString("person"); + + /** + * Entities describing a quantity. + */ + @Generated + public static final EntityCategory QUANTITY = fromString("quantity"); + + /** + * Entities describing a date and time. + */ + @Generated + public static final EntityCategory DATETIME = fromString("datetime"); + + /** + * Entities describing a URL. + */ + @Generated + public static final EntityCategory URL = fromString("url"); + + /** + * Entities describing an email address. + */ + @Generated + public static final EntityCategory EMAIL = fromString("email"); + + /** + * Creates a new instance of EntityCategory value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public EntityCategory() { + } + + /** + * Creates or finds a EntityCategory from its string representation. + * + * @param name a name to look for. + * @return the corresponding EntityCategory. + */ + @Generated + public static EntityCategory fromString(String name) { + return fromString(name, EntityCategory.class); + } + + /** + * Gets known EntityCategory values. + * + * @return known EntityCategory values. + */ + @Generated + public static Collection values() { + return values(EntityCategory.class); + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/EntityRecognitionSkillLanguage.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/EntityRecognitionSkillLanguage.java new file mode 100644 index 000000000000..d569f960d654 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/EntityRecognitionSkillLanguage.java @@ -0,0 +1,183 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.indexes.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The language codes supported for input text by EntityRecognitionSkill. + */ +public final class EntityRecognitionSkillLanguage extends ExpandableStringEnum { + /** + * Arabic. + */ + @Generated + public static final EntityRecognitionSkillLanguage AR = fromString("ar"); + + /** + * Czech. + */ + @Generated + public static final EntityRecognitionSkillLanguage CS = fromString("cs"); + + /** + * Chinese-Simplified. + */ + @Generated + public static final EntityRecognitionSkillLanguage ZH_HANS = fromString("zh-Hans"); + + /** + * Chinese-Traditional. + */ + @Generated + public static final EntityRecognitionSkillLanguage ZH_HANT = fromString("zh-Hant"); + + /** + * Danish. + */ + @Generated + public static final EntityRecognitionSkillLanguage DA = fromString("da"); + + /** + * Dutch. + */ + @Generated + public static final EntityRecognitionSkillLanguage NL = fromString("nl"); + + /** + * English. + */ + @Generated + public static final EntityRecognitionSkillLanguage EN = fromString("en"); + + /** + * Finnish. + */ + @Generated + public static final EntityRecognitionSkillLanguage FI = fromString("fi"); + + /** + * French. + */ + @Generated + public static final EntityRecognitionSkillLanguage FR = fromString("fr"); + + /** + * German. + */ + @Generated + public static final EntityRecognitionSkillLanguage DE = fromString("de"); + + /** + * Greek. + */ + @Generated + public static final EntityRecognitionSkillLanguage EL = fromString("el"); + + /** + * Hungarian. + */ + @Generated + public static final EntityRecognitionSkillLanguage HU = fromString("hu"); + + /** + * Italian. + */ + @Generated + public static final EntityRecognitionSkillLanguage IT = fromString("it"); + + /** + * Japanese. + */ + @Generated + public static final EntityRecognitionSkillLanguage JA = fromString("ja"); + + /** + * Korean. + */ + @Generated + public static final EntityRecognitionSkillLanguage KO = fromString("ko"); + + /** + * Norwegian (Bokmaal). + */ + @Generated + public static final EntityRecognitionSkillLanguage NO = fromString("no"); + + /** + * Polish. + */ + @Generated + public static final EntityRecognitionSkillLanguage PL = fromString("pl"); + + /** + * Portuguese (Portugal). + */ + @Generated + public static final EntityRecognitionSkillLanguage PT_PT = fromString("pt-PT"); + + /** + * Portuguese (Brazil). + */ + @Generated + public static final EntityRecognitionSkillLanguage PT_BR = fromString("pt-BR"); + + /** + * Russian. + */ + @Generated + public static final EntityRecognitionSkillLanguage RU = fromString("ru"); + + /** + * Spanish. + */ + @Generated + public static final EntityRecognitionSkillLanguage ES = fromString("es"); + + /** + * Swedish. + */ + @Generated + public static final EntityRecognitionSkillLanguage SV = fromString("sv"); + + /** + * Turkish. + */ + @Generated + public static final EntityRecognitionSkillLanguage TR = fromString("tr"); + + /** + * Creates a new instance of EntityRecognitionSkillLanguage value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public EntityRecognitionSkillLanguage() { + } + + /** + * Creates or finds a EntityRecognitionSkillLanguage from its string representation. + * + * @param name a name to look for. + * @return the corresponding EntityRecognitionSkillLanguage. + */ + @Generated + public static EntityRecognitionSkillLanguage fromString(String name) { + return fromString(name, EntityRecognitionSkillLanguage.class); + } + + /** + * Gets known EntityRecognitionSkillLanguage values. + * + * @return known EntityRecognitionSkillLanguage values. + */ + @Generated + public static Collection values() { + return values(EntityRecognitionSkillLanguage.class); + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/EntityRecognitionSkillV3.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/EntityRecognitionSkillV3.java index 7099e09db30a..4699489da752 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/EntityRecognitionSkillV3.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/EntityRecognitionSkillV3.java @@ -28,13 +28,13 @@ public final class EntityRecognitionSkillV3 extends SearchIndexerSkill { * A list of entity categories that should be extracted. */ @Generated - private List categories; + private List categories; /* * A value indicating which language code to use. Default is `en`. */ @Generated - private String defaultLanguageCode; + private EntityRecognitionSkillLanguage defaultLanguageCode; /* * A value between 0 and 1 that be used to only include entities whose confidence score is greater than the value @@ -78,7 +78,7 @@ public String getOdataType() { * @return the categories value. */ @Generated - public List getCategories() { + public List getCategories() { return this.categories; } @@ -100,7 +100,7 @@ public EntityRecognitionSkillV3 setCategories(String... categories) { * @return the EntityRecognitionSkillV3 object itself. */ @Generated - public EntityRecognitionSkillV3 setCategories(List categories) { + public EntityRecognitionSkillV3 setCategories(List categories) { this.categories = categories; return this; } @@ -111,22 +111,10 @@ public EntityRecognitionSkillV3 setCategories(List categories) { * @return the defaultLanguageCode value. */ @Generated - public String getDefaultLanguageCode() { + public EntityRecognitionSkillLanguage getDefaultLanguageCode() { return this.defaultLanguageCode; } - /** - * Set the defaultLanguageCode property: A value indicating which language code to use. Default is `en`. - * - * @param defaultLanguageCode the defaultLanguageCode value to set. - * @return the EntityRecognitionSkillV3 object itself. - */ - @Generated - public EntityRecognitionSkillV3 setDefaultLanguageCode(String defaultLanguageCode) { - this.defaultLanguageCode = defaultLanguageCode; - return this; - } - /** * Get the minimumPrecision property: A value between 0 and 1 that be used to only include entities whose confidence * score is greater than the value specified. If not set (default), or if explicitly set to null, all entities will @@ -222,8 +210,10 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("description", getDescription()); jsonWriter.writeStringField("context", getContext()); jsonWriter.writeStringField("@odata.type", this.odataType); - jsonWriter.writeArrayField("categories", this.categories, (writer, element) -> writer.writeString(element)); - jsonWriter.writeStringField("defaultLanguageCode", this.defaultLanguageCode); + jsonWriter.writeArrayField("categories", this.categories, + (writer, element) -> writer.writeString(element == null ? null : element.toString())); + jsonWriter.writeStringField("defaultLanguageCode", + this.defaultLanguageCode == null ? null : this.defaultLanguageCode.toString()); jsonWriter.writeNumberField("minimumPrecision", this.minimumPrecision); jsonWriter.writeStringField("modelVersion", this.modelVersion); return jsonWriter.writeEndObject(); @@ -247,8 +237,8 @@ public static EntityRecognitionSkillV3 fromJson(JsonReader jsonReader) throws IO String description = null; String context = null; String odataType = "#Microsoft.Skills.Text.V3.EntityRecognitionSkill"; - List categories = null; - String defaultLanguageCode = null; + List categories = null; + EntityRecognitionSkillLanguage defaultLanguageCode = null; Double minimumPrecision = null; String modelVersion = null; while (reader.nextToken() != JsonToken.END_OBJECT) { @@ -267,9 +257,9 @@ public static EntityRecognitionSkillV3 fromJson(JsonReader jsonReader) throws IO } else if ("@odata.type".equals(fieldName)) { odataType = reader.getString(); } else if ("categories".equals(fieldName)) { - categories = reader.readArray(reader1 -> reader1.getString()); + categories = reader.readArray(reader1 -> EntityCategory.fromString(reader1.getString())); } else if ("defaultLanguageCode".equals(fieldName)) { - defaultLanguageCode = reader.getString(); + defaultLanguageCode = EntityRecognitionSkillLanguage.fromString(reader.getString()); } else if ("minimumPrecision".equals(fieldName)) { minimumPrecision = reader.getNullable(JsonReader::getDouble); } else if ("modelVersion".equals(fieldName)) { @@ -291,4 +281,16 @@ public static EntityRecognitionSkillV3 fromJson(JsonReader jsonReader) throws IO return deserializedEntityRecognitionSkillV3; }); } + + /** + * Set the defaultLanguageCode property: A value indicating which language code to use. Default is `en`. + * + * @param defaultLanguageCode the defaultLanguageCode value to set. + * @return the EntityRecognitionSkillV3 object itself. + */ + @Generated + public EntityRecognitionSkillV3 setDefaultLanguageCode(EntityRecognitionSkillLanguage defaultLanguageCode) { + this.defaultLanguageCode = defaultLanguageCode; + return this; + } } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/IndexStatisticsSummary.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/IndexStatisticsSummary.java deleted file mode 100644 index 6c939f27db43..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/IndexStatisticsSummary.java +++ /dev/null @@ -1,143 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.indexes.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Statistics for a given index. Statistics are collected periodically and are not guaranteed to always be up-to-date. - */ -@Immutable -public final class IndexStatisticsSummary implements JsonSerializable { - - /* - * The name of the index. - */ - @Generated - private final String name; - - /* - * The number of documents in the index. - */ - @Generated - private long documentCount; - - /* - * The amount of storage in bytes consumed by the index. - */ - @Generated - private long storageSize; - - /* - * The amount of memory in bytes consumed by vectors in the index. - */ - @Generated - private long vectorIndexSize; - - /** - * Creates an instance of IndexStatisticsSummary class. - * - * @param name the name value to set. - */ - @Generated - private IndexStatisticsSummary(String name) { - this.name = name; - } - - /** - * Get the name property: The name of the index. - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the documentCount property: The number of documents in the index. - * - * @return the documentCount value. - */ - @Generated - public long getDocumentCount() { - return this.documentCount; - } - - /** - * Get the storageSize property: The amount of storage in bytes consumed by the index. - * - * @return the storageSize value. - */ - @Generated - public long getStorageSize() { - return this.storageSize; - } - - /** - * Get the vectorIndexSize property: The amount of memory in bytes consumed by vectors in the index. - * - * @return the vectorIndexSize value. - */ - @Generated - public long getVectorIndexSize() { - return this.vectorIndexSize; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("name", this.name); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of IndexStatisticsSummary from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of IndexStatisticsSummary if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the IndexStatisticsSummary. - */ - @Generated - public static IndexStatisticsSummary fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String name = null; - long documentCount = 0L; - long storageSize = 0L; - long vectorIndexSize = 0L; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("documentCount".equals(fieldName)) { - documentCount = reader.getLong(); - } else if ("storageSize".equals(fieldName)) { - storageSize = reader.getLong(); - } else if ("vectorIndexSize".equals(fieldName)) { - vectorIndexSize = reader.getLong(); - } else { - reader.skipChildren(); - } - } - IndexStatisticsSummary deserializedIndexStatisticsSummary = new IndexStatisticsSummary(name); - deserializedIndexStatisticsSummary.documentCount = documentCount; - deserializedIndexStatisticsSummary.storageSize = storageSize; - deserializedIndexStatisticsSummary.vectorIndexSize = vectorIndexSize; - return deserializedIndexStatisticsSummary; - }); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/IndexedSharePointContainerName.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/IndexedSharePointContainerName.java deleted file mode 100644 index d6cfe2df5894..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/IndexedSharePointContainerName.java +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.indexes.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Specifies which SharePoint libraries to access. - */ -public final class IndexedSharePointContainerName extends ExpandableStringEnum { - - /** - * Index content from the site's default document library. - */ - @Generated - public static final IndexedSharePointContainerName DEFAULT_SITE_LIBRARY = fromString("defaultSiteLibrary"); - - /** - * Index content from every document library in the site. - */ - @Generated - public static final IndexedSharePointContainerName ALL_SITE_LIBRARIES = fromString("allSiteLibraries"); - - /** - * Use a query to filter SharePoint content. - */ - @Generated - public static final IndexedSharePointContainerName USE_QUERY = fromString("useQuery"); - - /** - * Creates a new instance of IndexedSharePointContainerName value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public IndexedSharePointContainerName() { - } - - /** - * Creates or finds a IndexedSharePointContainerName from its string representation. - * - * @param name a name to look for. - * @return the corresponding IndexedSharePointContainerName. - */ - @Generated - public static IndexedSharePointContainerName fromString(String name) { - return fromString(name, IndexedSharePointContainerName.class); - } - - /** - * Gets known IndexedSharePointContainerName values. - * - * @return known IndexedSharePointContainerName values. - */ - @Generated - public static Collection values() { - return values(IndexedSharePointContainerName.class); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/IndexedSharePointKnowledgeSource.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/IndexedSharePointKnowledgeSource.java deleted file mode 100644 index b2659d668b35..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/IndexedSharePointKnowledgeSource.java +++ /dev/null @@ -1,157 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.indexes.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Configuration for SharePoint knowledge source. - */ -@Fluent -public final class IndexedSharePointKnowledgeSource extends KnowledgeSource { - - /* - * The type of the knowledge source. - */ - @Generated - private KnowledgeSourceKind kind = KnowledgeSourceKind.INDEXED_SHARE_POINT; - - /* - * The parameters for the knowledge source. - */ - @Generated - private final IndexedSharePointKnowledgeSourceParameters indexedSharePointParameters; - - /** - * Creates an instance of IndexedSharePointKnowledgeSource class. - * - * @param name the name value to set. - * @param indexedSharePointParameters the indexedSharePointParameters value to set. - */ - @Generated - public IndexedSharePointKnowledgeSource(String name, - IndexedSharePointKnowledgeSourceParameters indexedSharePointParameters) { - super(name); - this.indexedSharePointParameters = indexedSharePointParameters; - } - - /** - * Get the kind property: The type of the knowledge source. - * - * @return the kind value. - */ - @Generated - @Override - public KnowledgeSourceKind getKind() { - return this.kind; - } - - /** - * Get the indexedSharePointParameters property: The parameters for the knowledge source. - * - * @return the indexedSharePointParameters value. - */ - @Generated - public IndexedSharePointKnowledgeSourceParameters getIndexedSharePointParameters() { - return this.indexedSharePointParameters; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public IndexedSharePointKnowledgeSource setDescription(String description) { - super.setDescription(description); - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public IndexedSharePointKnowledgeSource setETag(String eTag) { - super.setETag(eTag); - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public IndexedSharePointKnowledgeSource setEncryptionKey(SearchResourceEncryptionKey encryptionKey) { - super.setEncryptionKey(encryptionKey); - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("name", getName()); - jsonWriter.writeStringField("description", getDescription()); - jsonWriter.writeStringField("@odata.etag", getETag()); - jsonWriter.writeJsonField("encryptionKey", getEncryptionKey()); - jsonWriter.writeJsonField("indexedSharePointParameters", this.indexedSharePointParameters); - jsonWriter.writeStringField("kind", this.kind == null ? null : this.kind.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of IndexedSharePointKnowledgeSource from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of IndexedSharePointKnowledgeSource if the JsonReader was pointing to an instance of it, or - * null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the IndexedSharePointKnowledgeSource. - */ - @Generated - public static IndexedSharePointKnowledgeSource fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String name = null; - String description = null; - String eTag = null; - SearchResourceEncryptionKey encryptionKey = null; - IndexedSharePointKnowledgeSourceParameters indexedSharePointParameters = null; - KnowledgeSourceKind kind = KnowledgeSourceKind.INDEXED_SHARE_POINT; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("description".equals(fieldName)) { - description = reader.getString(); - } else if ("@odata.etag".equals(fieldName)) { - eTag = reader.getString(); - } else if ("encryptionKey".equals(fieldName)) { - encryptionKey = SearchResourceEncryptionKey.fromJson(reader); - } else if ("indexedSharePointParameters".equals(fieldName)) { - indexedSharePointParameters = IndexedSharePointKnowledgeSourceParameters.fromJson(reader); - } else if ("kind".equals(fieldName)) { - kind = KnowledgeSourceKind.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - IndexedSharePointKnowledgeSource deserializedIndexedSharePointKnowledgeSource - = new IndexedSharePointKnowledgeSource(name, indexedSharePointParameters); - deserializedIndexedSharePointKnowledgeSource.setDescription(description); - deserializedIndexedSharePointKnowledgeSource.setETag(eTag); - deserializedIndexedSharePointKnowledgeSource.setEncryptionKey(encryptionKey); - deserializedIndexedSharePointKnowledgeSource.kind = kind; - return deserializedIndexedSharePointKnowledgeSource; - }); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/IndexedSharePointKnowledgeSourceParameters.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/IndexedSharePointKnowledgeSourceParameters.java deleted file mode 100644 index 54d5907dae7e..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/IndexedSharePointKnowledgeSourceParameters.java +++ /dev/null @@ -1,199 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.indexes.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import com.azure.search.documents.knowledgebases.models.KnowledgeSourceIngestionParameters; -import java.io.IOException; - -/** - * Parameters for SharePoint knowledge source. - */ -@Fluent -public final class IndexedSharePointKnowledgeSourceParameters - implements JsonSerializable { - - /* - * SharePoint connection string with format: SharePointOnlineEndpoint=[SharePoint site url];ApplicationId=[Azure AD - * App ID];ApplicationSecret=[Azure AD App client secret];TenantId=[SharePoint site tenant id] - */ - @Generated - private final String connectionString; - - /* - * Specifies which SharePoint libraries to access. - */ - @Generated - private final IndexedSharePointContainerName containerName; - - /* - * Optional query to filter SharePoint content. - */ - @Generated - private String query; - - /* - * Consolidates all general ingestion settings. - */ - @Generated - private KnowledgeSourceIngestionParameters ingestionParameters; - - /* - * Resources created by the knowledge source. - */ - @Generated - private CreatedResources createdResources; - - /** - * Creates an instance of IndexedSharePointKnowledgeSourceParameters class. - * - * @param connectionString the connectionString value to set. - * @param containerName the containerName value to set. - */ - @Generated - public IndexedSharePointKnowledgeSourceParameters(String connectionString, - IndexedSharePointContainerName containerName) { - this.connectionString = connectionString; - this.containerName = containerName; - } - - /** - * Get the connectionString property: SharePoint connection string with format: SharePointOnlineEndpoint=[SharePoint - * site url];ApplicationId=[Azure AD App ID];ApplicationSecret=[Azure AD App client secret];TenantId=[SharePoint - * site tenant id]. - * - * @return the connectionString value. - */ - @Generated - public String getConnectionString() { - return this.connectionString; - } - - /** - * Get the containerName property: Specifies which SharePoint libraries to access. - * - * @return the containerName value. - */ - @Generated - public IndexedSharePointContainerName getContainerName() { - return this.containerName; - } - - /** - * Get the query property: Optional query to filter SharePoint content. - * - * @return the query value. - */ - @Generated - public String getQuery() { - return this.query; - } - - /** - * Set the query property: Optional query to filter SharePoint content. - * - * @param query the query value to set. - * @return the IndexedSharePointKnowledgeSourceParameters object itself. - */ - @Generated - public IndexedSharePointKnowledgeSourceParameters setQuery(String query) { - this.query = query; - return this; - } - - /** - * Get the ingestionParameters property: Consolidates all general ingestion settings. - * - * @return the ingestionParameters value. - */ - @Generated - public KnowledgeSourceIngestionParameters getIngestionParameters() { - return this.ingestionParameters; - } - - /** - * Set the ingestionParameters property: Consolidates all general ingestion settings. - * - * @param ingestionParameters the ingestionParameters value to set. - * @return the IndexedSharePointKnowledgeSourceParameters object itself. - */ - @Generated - public IndexedSharePointKnowledgeSourceParameters - setIngestionParameters(KnowledgeSourceIngestionParameters ingestionParameters) { - this.ingestionParameters = ingestionParameters; - return this; - } - - /** - * Get the createdResources property: Resources created by the knowledge source. - * - * @return the createdResources value. - */ - @Generated - public CreatedResources getCreatedResources() { - return this.createdResources; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("connectionString", this.connectionString); - jsonWriter.writeStringField("containerName", this.containerName == null ? null : this.containerName.toString()); - jsonWriter.writeStringField("query", this.query); - jsonWriter.writeJsonField("ingestionParameters", this.ingestionParameters); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of IndexedSharePointKnowledgeSourceParameters from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of IndexedSharePointKnowledgeSourceParameters if the JsonReader was pointing to an instance - * of it, or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the IndexedSharePointKnowledgeSourceParameters. - */ - @Generated - public static IndexedSharePointKnowledgeSourceParameters fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String connectionString = null; - IndexedSharePointContainerName containerName = null; - String query = null; - KnowledgeSourceIngestionParameters ingestionParameters = null; - CreatedResources createdResources = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("connectionString".equals(fieldName)) { - connectionString = reader.getString(); - } else if ("containerName".equals(fieldName)) { - containerName = IndexedSharePointContainerName.fromString(reader.getString()); - } else if ("query".equals(fieldName)) { - query = reader.getString(); - } else if ("ingestionParameters".equals(fieldName)) { - ingestionParameters = KnowledgeSourceIngestionParameters.fromJson(reader); - } else if ("createdResources".equals(fieldName)) { - createdResources = CreatedResources.fromJson(reader); - } else { - reader.skipChildren(); - } - } - IndexedSharePointKnowledgeSourceParameters deserializedIndexedSharePointKnowledgeSourceParameters - = new IndexedSharePointKnowledgeSourceParameters(connectionString, containerName); - deserializedIndexedSharePointKnowledgeSourceParameters.query = query; - deserializedIndexedSharePointKnowledgeSourceParameters.ingestionParameters = ingestionParameters; - deserializedIndexedSharePointKnowledgeSourceParameters.createdResources = createdResources; - return deserializedIndexedSharePointKnowledgeSourceParameters; - }); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/IndexerPermissionOption.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/IndexerPermissionOption.java deleted file mode 100644 index 65e13adccf1f..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/IndexerPermissionOption.java +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.indexes.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Options with various types of permission data to index. - */ -public final class IndexerPermissionOption extends ExpandableStringEnum { - - /** - * Indexer to ingest ACL userIds from data source to index. - */ - @Generated - public static final IndexerPermissionOption USER_IDS = fromString("userIds"); - - /** - * Indexer to ingest ACL groupIds from data source to index. - */ - @Generated - public static final IndexerPermissionOption GROUP_IDS = fromString("groupIds"); - - /** - * Indexer to ingest Azure RBAC scope from data source to index. - */ - @Generated - public static final IndexerPermissionOption RBAC_SCOPE = fromString("rbacScope"); - - /** - * Creates a new instance of IndexerPermissionOption value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public IndexerPermissionOption() { - } - - /** - * Creates or finds a IndexerPermissionOption from its string representation. - * - * @param name a name to look for. - * @return the corresponding IndexerPermissionOption. - */ - @Generated - public static IndexerPermissionOption fromString(String name) { - return fromString(name, IndexerPermissionOption.class); - } - - /** - * Gets known IndexerPermissionOption values. - * - * @return known IndexerPermissionOption values. - */ - @Generated - public static Collection values() { - return values(IndexerPermissionOption.class); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/IndexerRuntime.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/IndexerRuntime.java deleted file mode 100644 index 5ecf693d7dde..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/IndexerRuntime.java +++ /dev/null @@ -1,157 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.indexes.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.core.util.CoreUtils; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.time.OffsetDateTime; -import java.time.format.DateTimeFormatter; - -/** - * Represents the indexer's cumulative runtime consumption in the service. - */ -@Immutable -public final class IndexerRuntime implements JsonSerializable { - - /* - * Cumulative runtime of the indexer from the beginningTime to endingTime, in seconds. - */ - @Generated - private final long usedSeconds; - - /* - * Cumulative runtime remaining for all indexers in the service from the beginningTime to endingTime, in seconds. - */ - @Generated - private Long remainingSeconds; - - /* - * Beginning UTC time of the 24-hour period considered for indexer runtime usage (inclusive). - */ - @Generated - private final OffsetDateTime beginningTime; - - /* - * End UTC time of the 24-hour period considered for indexer runtime usage (inclusive). - */ - @Generated - private final OffsetDateTime endingTime; - - /** - * Creates an instance of IndexerRuntime class. - * - * @param usedSeconds the usedSeconds value to set. - * @param beginningTime the beginningTime value to set. - * @param endingTime the endingTime value to set. - */ - @Generated - private IndexerRuntime(long usedSeconds, OffsetDateTime beginningTime, OffsetDateTime endingTime) { - this.usedSeconds = usedSeconds; - this.beginningTime = beginningTime; - this.endingTime = endingTime; - } - - /** - * Get the usedSeconds property: Cumulative runtime of the indexer from the beginningTime to endingTime, in seconds. - * - * @return the usedSeconds value. - */ - @Generated - public long getUsedSeconds() { - return this.usedSeconds; - } - - /** - * Get the remainingSeconds property: Cumulative runtime remaining for all indexers in the service from the - * beginningTime to endingTime, in seconds. - * - * @return the remainingSeconds value. - */ - @Generated - public Long getRemainingSeconds() { - return this.remainingSeconds; - } - - /** - * Get the beginningTime property: Beginning UTC time of the 24-hour period considered for indexer runtime usage - * (inclusive). - * - * @return the beginningTime value. - */ - @Generated - public OffsetDateTime getBeginningTime() { - return this.beginningTime; - } - - /** - * Get the endingTime property: End UTC time of the 24-hour period considered for indexer runtime usage (inclusive). - * - * @return the endingTime value. - */ - @Generated - public OffsetDateTime getEndingTime() { - return this.endingTime; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeLongField("usedSeconds", this.usedSeconds); - jsonWriter.writeStringField("beginningTime", - this.beginningTime == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.beginningTime)); - jsonWriter.writeStringField("endingTime", - this.endingTime == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.endingTime)); - jsonWriter.writeNumberField("remainingSeconds", this.remainingSeconds); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of IndexerRuntime from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of IndexerRuntime if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the IndexerRuntime. - */ - @Generated - public static IndexerRuntime fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - long usedSeconds = 0L; - OffsetDateTime beginningTime = null; - OffsetDateTime endingTime = null; - Long remainingSeconds = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("usedSeconds".equals(fieldName)) { - usedSeconds = reader.getLong(); - } else if ("beginningTime".equals(fieldName)) { - beginningTime = reader - .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); - } else if ("endingTime".equals(fieldName)) { - endingTime = reader - .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); - } else if ("remainingSeconds".equals(fieldName)) { - remainingSeconds = reader.getNullable(JsonReader::getLong); - } else { - reader.skipChildren(); - } - } - IndexerRuntime deserializedIndexerRuntime = new IndexerRuntime(usedSeconds, beginningTime, endingTime); - deserializedIndexerRuntime.remainingSeconds = remainingSeconds; - return deserializedIndexerRuntime; - }); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/KnowledgeBase.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/KnowledgeBase.java index ef6bb07185a9..1207e84b3e2f 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/KnowledgeBase.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/KnowledgeBase.java @@ -9,8 +9,6 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.search.documents.knowledgebases.models.KnowledgeRetrievalOutputMode; -import com.azure.search.documents.knowledgebases.models.KnowledgeRetrievalReasoningEffort; import java.io.IOException; import java.util.Arrays; import java.util.List; @@ -39,18 +37,6 @@ public final class KnowledgeBase implements JsonSerializable { @Generated private List models; - /* - * The retrieval reasoning effort configuration. - */ - @Generated - private KnowledgeRetrievalReasoningEffort retrievalReasoningEffort; - - /* - * The output mode for the knowledge base. - */ - @Generated - private KnowledgeRetrievalOutputMode outputMode; - /* * The ETag of the knowledge base. */ @@ -69,18 +55,6 @@ public final class KnowledgeBase implements JsonSerializable { @Generated private String description; - /* - * Instructions considered by the knowledge base when developing query plan. - */ - @Generated - private String retrievalInstructions; - - /* - * Instructions considered by the knowledge base when generating answers. - */ - @Generated - private String answerInstructions; - /** * Creates an instance of KnowledgeBase class. * @@ -157,50 +131,6 @@ public KnowledgeBase setModels(List models) { return this; } - /** - * Get the retrievalReasoningEffort property: The retrieval reasoning effort configuration. - * - * @return the retrievalReasoningEffort value. - */ - @Generated - public KnowledgeRetrievalReasoningEffort getRetrievalReasoningEffort() { - return this.retrievalReasoningEffort; - } - - /** - * Set the retrievalReasoningEffort property: The retrieval reasoning effort configuration. - * - * @param retrievalReasoningEffort the retrievalReasoningEffort value to set. - * @return the KnowledgeBase object itself. - */ - @Generated - public KnowledgeBase setRetrievalReasoningEffort(KnowledgeRetrievalReasoningEffort retrievalReasoningEffort) { - this.retrievalReasoningEffort = retrievalReasoningEffort; - return this; - } - - /** - * Get the outputMode property: The output mode for the knowledge base. - * - * @return the outputMode value. - */ - @Generated - public KnowledgeRetrievalOutputMode getOutputMode() { - return this.outputMode; - } - - /** - * Set the outputMode property: The output mode for the knowledge base. - * - * @param outputMode the outputMode value to set. - * @return the KnowledgeBase object itself. - */ - @Generated - public KnowledgeBase setOutputMode(KnowledgeRetrievalOutputMode outputMode) { - this.outputMode = outputMode; - return this; - } - /** * Get the eTag property: The ETag of the knowledge base. * @@ -267,50 +197,6 @@ public KnowledgeBase setDescription(String description) { return this; } - /** - * Get the retrievalInstructions property: Instructions considered by the knowledge base when developing query plan. - * - * @return the retrievalInstructions value. - */ - @Generated - public String getRetrievalInstructions() { - return this.retrievalInstructions; - } - - /** - * Set the retrievalInstructions property: Instructions considered by the knowledge base when developing query plan. - * - * @param retrievalInstructions the retrievalInstructions value to set. - * @return the KnowledgeBase object itself. - */ - @Generated - public KnowledgeBase setRetrievalInstructions(String retrievalInstructions) { - this.retrievalInstructions = retrievalInstructions; - return this; - } - - /** - * Get the answerInstructions property: Instructions considered by the knowledge base when generating answers. - * - * @return the answerInstructions value. - */ - @Generated - public String getAnswerInstructions() { - return this.answerInstructions; - } - - /** - * Set the answerInstructions property: Instructions considered by the knowledge base when generating answers. - * - * @param answerInstructions the answerInstructions value to set. - * @return the KnowledgeBase object itself. - */ - @Generated - public KnowledgeBase setAnswerInstructions(String answerInstructions) { - this.answerInstructions = answerInstructions; - return this; - } - /** * {@inheritDoc} */ @@ -322,13 +208,9 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeArrayField("knowledgeSources", this.knowledgeSources, (writer, element) -> writer.writeJson(element)); jsonWriter.writeArrayField("models", this.models, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeJsonField("retrievalReasoningEffort", this.retrievalReasoningEffort); - jsonWriter.writeStringField("outputMode", this.outputMode == null ? null : this.outputMode.toString()); jsonWriter.writeStringField("@odata.etag", this.eTag); jsonWriter.writeJsonField("encryptionKey", this.encryptionKey); jsonWriter.writeStringField("description", this.description); - jsonWriter.writeStringField("retrievalInstructions", this.retrievalInstructions); - jsonWriter.writeStringField("answerInstructions", this.answerInstructions); return jsonWriter.writeEndObject(); } @@ -347,13 +229,9 @@ public static KnowledgeBase fromJson(JsonReader jsonReader) throws IOException { String name = null; List knowledgeSources = null; List models = null; - KnowledgeRetrievalReasoningEffort retrievalReasoningEffort = null; - KnowledgeRetrievalOutputMode outputMode = null; String eTag = null; SearchResourceEncryptionKey encryptionKey = null; String description = null; - String retrievalInstructions = null; - String answerInstructions = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -363,33 +241,21 @@ public static KnowledgeBase fromJson(JsonReader jsonReader) throws IOException { knowledgeSources = reader.readArray(reader1 -> KnowledgeSourceReference.fromJson(reader1)); } else if ("models".equals(fieldName)) { models = reader.readArray(reader1 -> KnowledgeBaseModel.fromJson(reader1)); - } else if ("retrievalReasoningEffort".equals(fieldName)) { - retrievalReasoningEffort = KnowledgeRetrievalReasoningEffort.fromJson(reader); - } else if ("outputMode".equals(fieldName)) { - outputMode = KnowledgeRetrievalOutputMode.fromString(reader.getString()); } else if ("@odata.etag".equals(fieldName)) { eTag = reader.getString(); } else if ("encryptionKey".equals(fieldName)) { encryptionKey = SearchResourceEncryptionKey.fromJson(reader); } else if ("description".equals(fieldName)) { description = reader.getString(); - } else if ("retrievalInstructions".equals(fieldName)) { - retrievalInstructions = reader.getString(); - } else if ("answerInstructions".equals(fieldName)) { - answerInstructions = reader.getString(); } else { reader.skipChildren(); } } KnowledgeBase deserializedKnowledgeBase = new KnowledgeBase(name, knowledgeSources); deserializedKnowledgeBase.models = models; - deserializedKnowledgeBase.retrievalReasoningEffort = retrievalReasoningEffort; - deserializedKnowledgeBase.outputMode = outputMode; deserializedKnowledgeBase.eTag = eTag; deserializedKnowledgeBase.encryptionKey = encryptionKey; deserializedKnowledgeBase.description = description; - deserializedKnowledgeBase.retrievalInstructions = retrievalInstructions; - deserializedKnowledgeBase.answerInstructions = answerInstructions; return deserializedKnowledgeBase; }); } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/KnowledgeSource.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/KnowledgeSource.java index 64a83f4c6fec..11a733201b05 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/KnowledgeSource.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/KnowledgeSource.java @@ -207,14 +207,10 @@ public static KnowledgeSource fromJson(JsonReader jsonReader) throws IOException return SearchIndexKnowledgeSource.fromJson(readerToUse.reset()); } else if ("azureBlob".equals(discriminatorValue)) { return AzureBlobKnowledgeSource.fromJson(readerToUse.reset()); - } else if ("indexedSharePoint".equals(discriminatorValue)) { - return IndexedSharePointKnowledgeSource.fromJson(readerToUse.reset()); } else if ("indexedOneLake".equals(discriminatorValue)) { return IndexedOneLakeKnowledgeSource.fromJson(readerToUse.reset()); } else if ("web".equals(discriminatorValue)) { return WebKnowledgeSource.fromJson(readerToUse.reset()); - } else if ("remoteSharePoint".equals(discriminatorValue)) { - return RemoteSharePointKnowledgeSource.fromJson(readerToUse.reset()); } else { return fromJsonKnownDiscriminator(readerToUse.reset()); } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/KnowledgeSourceKind.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/KnowledgeSourceKind.java index a6c94423e227..6152b541d8d4 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/KnowledgeSourceKind.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/KnowledgeSourceKind.java @@ -24,12 +24,6 @@ public final class KnowledgeSourceKind extends ExpandableStringEnum { - String name = null; - String description = null; - String eTag = null; - SearchResourceEncryptionKey encryptionKey = null; - KnowledgeSourceKind kind = KnowledgeSourceKind.REMOTE_SHARE_POINT; - RemoteSharePointKnowledgeSourceParameters remoteSharePointParameters = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("name".equals(fieldName)) { - name = reader.getString(); - } else if ("description".equals(fieldName)) { - description = reader.getString(); - } else if ("@odata.etag".equals(fieldName)) { - eTag = reader.getString(); - } else if ("encryptionKey".equals(fieldName)) { - encryptionKey = SearchResourceEncryptionKey.fromJson(reader); - } else if ("kind".equals(fieldName)) { - kind = KnowledgeSourceKind.fromString(reader.getString()); - } else if ("remoteSharePointParameters".equals(fieldName)) { - remoteSharePointParameters = RemoteSharePointKnowledgeSourceParameters.fromJson(reader); - } else { - reader.skipChildren(); - } - } - RemoteSharePointKnowledgeSource deserializedRemoteSharePointKnowledgeSource - = new RemoteSharePointKnowledgeSource(name); - deserializedRemoteSharePointKnowledgeSource.setDescription(description); - deserializedRemoteSharePointKnowledgeSource.setETag(eTag); - deserializedRemoteSharePointKnowledgeSource.setEncryptionKey(encryptionKey); - deserializedRemoteSharePointKnowledgeSource.kind = kind; - deserializedRemoteSharePointKnowledgeSource.remoteSharePointParameters = remoteSharePointParameters; - return deserializedRemoteSharePointKnowledgeSource; - }); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/RemoteSharePointKnowledgeSourceParameters.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/RemoteSharePointKnowledgeSourceParameters.java deleted file mode 100644 index 47f39d4729d7..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/RemoteSharePointKnowledgeSourceParameters.java +++ /dev/null @@ -1,178 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.indexes.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import java.util.List; - -/** - * Parameters for remote SharePoint knowledge source. - */ -@Fluent -public final class RemoteSharePointKnowledgeSourceParameters - implements JsonSerializable { - - /* - * Keyword Query Language (KQL) expression with queryable SharePoint properties and attributes to scope the - * retrieval before the query runs. - */ - @Generated - private String filterExpression; - - /* - * A list of metadata fields to be returned for each item in the response. Only retrievable metadata properties can - * be included in this list. By default, no metadata is returned. - */ - @Generated - private List resourceMetadata; - - /* - * Container ID for SharePoint Embedded connection. When this is null, it will use SharePoint Online. - */ - @Generated - private String containerTypeId; - - /** - * Creates an instance of RemoteSharePointKnowledgeSourceParameters class. - */ - @Generated - public RemoteSharePointKnowledgeSourceParameters() { - } - - /** - * Get the filterExpression property: Keyword Query Language (KQL) expression with queryable SharePoint properties - * and attributes to scope the retrieval before the query runs. - * - * @return the filterExpression value. - */ - @Generated - public String getFilterExpression() { - return this.filterExpression; - } - - /** - * Set the filterExpression property: Keyword Query Language (KQL) expression with queryable SharePoint properties - * and attributes to scope the retrieval before the query runs. - * - * @param filterExpression the filterExpression value to set. - * @return the RemoteSharePointKnowledgeSourceParameters object itself. - */ - @Generated - public RemoteSharePointKnowledgeSourceParameters setFilterExpression(String filterExpression) { - this.filterExpression = filterExpression; - return this; - } - - /** - * Get the resourceMetadata property: A list of metadata fields to be returned for each item in the response. Only - * retrievable metadata properties can be included in this list. By default, no metadata is returned. - * - * @return the resourceMetadata value. - */ - @Generated - public List getResourceMetadata() { - return this.resourceMetadata; - } - - /** - * Set the resourceMetadata property: A list of metadata fields to be returned for each item in the response. Only - * retrievable metadata properties can be included in this list. By default, no metadata is returned. - * - * @param resourceMetadata the resourceMetadata value to set. - * @return the RemoteSharePointKnowledgeSourceParameters object itself. - */ - public RemoteSharePointKnowledgeSourceParameters setResourceMetadata(String... resourceMetadata) { - this.resourceMetadata = (resourceMetadata == null) ? null : Arrays.asList(resourceMetadata); - return this; - } - - /** - * Set the resourceMetadata property: A list of metadata fields to be returned for each item in the response. Only - * retrievable metadata properties can be included in this list. By default, no metadata is returned. - * - * @param resourceMetadata the resourceMetadata value to set. - * @return the RemoteSharePointKnowledgeSourceParameters object itself. - */ - @Generated - public RemoteSharePointKnowledgeSourceParameters setResourceMetadata(List resourceMetadata) { - this.resourceMetadata = resourceMetadata; - return this; - } - - /** - * Get the containerTypeId property: Container ID for SharePoint Embedded connection. When this is null, it will use - * SharePoint Online. - * - * @return the containerTypeId value. - */ - @Generated - public String getContainerTypeId() { - return this.containerTypeId; - } - - /** - * Set the containerTypeId property: Container ID for SharePoint Embedded connection. When this is null, it will use - * SharePoint Online. - * - * @param containerTypeId the containerTypeId value to set. - * @return the RemoteSharePointKnowledgeSourceParameters object itself. - */ - @Generated - public RemoteSharePointKnowledgeSourceParameters setContainerTypeId(String containerTypeId) { - this.containerTypeId = containerTypeId; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("filterExpression", this.filterExpression); - jsonWriter.writeArrayField("resourceMetadata", this.resourceMetadata, - (writer, element) -> writer.writeString(element)); - jsonWriter.writeStringField("containerTypeId", this.containerTypeId); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of RemoteSharePointKnowledgeSourceParameters from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of RemoteSharePointKnowledgeSourceParameters if the JsonReader was pointing to an instance of - * it, or null if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the RemoteSharePointKnowledgeSourceParameters. - */ - @Generated - public static RemoteSharePointKnowledgeSourceParameters fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - RemoteSharePointKnowledgeSourceParameters deserializedRemoteSharePointKnowledgeSourceParameters - = new RemoteSharePointKnowledgeSourceParameters(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("filterExpression".equals(fieldName)) { - deserializedRemoteSharePointKnowledgeSourceParameters.filterExpression = reader.getString(); - } else if ("resourceMetadata".equals(fieldName)) { - List resourceMetadata = reader.readArray(reader1 -> reader1.getString()); - deserializedRemoteSharePointKnowledgeSourceParameters.resourceMetadata = resourceMetadata; - } else if ("containerTypeId".equals(fieldName)) { - deserializedRemoteSharePointKnowledgeSourceParameters.containerTypeId = reader.getString(); - } else { - reader.skipChildren(); - } - } - return deserializedRemoteSharePointKnowledgeSourceParameters; - }); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndex.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndex.java index b3ea3da10556..a69af96c793e 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndex.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndex.java @@ -123,18 +123,6 @@ public final class SearchIndex implements JsonSerializable { @Generated private VectorSearch vectorSearch; - /* - * A value indicating whether permission filtering is enabled for the index. - */ - @Generated - private SearchIndexPermissionFilterOption permissionFilterOption; - - /* - * A value indicating whether Purview is enabled for the index. - */ - @Generated - private Boolean purviewEnabled; - /* * The ETag of the index. */ @@ -589,52 +577,6 @@ public SearchIndex setVectorSearch(VectorSearch vectorSearch) { return this; } - /** - * Get the permissionFilterOption property: A value indicating whether permission filtering is enabled for the - * index. - * - * @return the permissionFilterOption value. - */ - @Generated - public SearchIndexPermissionFilterOption getPermissionFilterOption() { - return this.permissionFilterOption; - } - - /** - * Set the permissionFilterOption property: A value indicating whether permission filtering is enabled for the - * index. - * - * @param permissionFilterOption the permissionFilterOption value to set. - * @return the SearchIndex object itself. - */ - @Generated - public SearchIndex setPermissionFilterOption(SearchIndexPermissionFilterOption permissionFilterOption) { - this.permissionFilterOption = permissionFilterOption; - return this; - } - - /** - * Get the purviewEnabled property: A value indicating whether Purview is enabled for the index. - * - * @return the purviewEnabled value. - */ - @Generated - public Boolean isPurviewEnabled() { - return this.purviewEnabled; - } - - /** - * Set the purviewEnabled property: A value indicating whether Purview is enabled for the index. - * - * @param purviewEnabled the purviewEnabled value to set. - * @return the SearchIndex object itself. - */ - @Generated - public SearchIndex setPurviewEnabled(Boolean purviewEnabled) { - this.purviewEnabled = purviewEnabled; - return this; - } - /** * Get the eTag property: The ETag of the index. * @@ -681,9 +623,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeJsonField("similarity", this.similarity); jsonWriter.writeJsonField("semantic", this.semanticSearch); jsonWriter.writeJsonField("vectorSearch", this.vectorSearch); - jsonWriter.writeStringField("permissionFilterOption", - this.permissionFilterOption == null ? null : this.permissionFilterOption.toString()); - jsonWriter.writeBooleanField("purviewEnabled", this.purviewEnabled); jsonWriter.writeStringField("@odata.etag", this.eTag); return jsonWriter.writeEndObject(); } @@ -716,8 +655,6 @@ public static SearchIndex fromJson(JsonReader jsonReader) throws IOException { SimilarityAlgorithm similarity = null; SemanticSearch semanticSearch = null; VectorSearch vectorSearch = null; - SearchIndexPermissionFilterOption permissionFilterOption = null; - Boolean purviewEnabled = null; String eTag = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); @@ -754,10 +691,6 @@ public static SearchIndex fromJson(JsonReader jsonReader) throws IOException { semanticSearch = SemanticSearch.fromJson(reader); } else if ("vectorSearch".equals(fieldName)) { vectorSearch = VectorSearch.fromJson(reader); - } else if ("permissionFilterOption".equals(fieldName)) { - permissionFilterOption = SearchIndexPermissionFilterOption.fromString(reader.getString()); - } else if ("purviewEnabled".equals(fieldName)) { - purviewEnabled = reader.getNullable(JsonReader::getBoolean); } else if ("@odata.etag".equals(fieldName)) { eTag = reader.getString(); } else { @@ -779,8 +712,6 @@ public static SearchIndex fromJson(JsonReader jsonReader) throws IOException { deserializedSearchIndex.similarity = similarity; deserializedSearchIndex.semanticSearch = semanticSearch; deserializedSearchIndex.vectorSearch = vectorSearch; - deserializedSearchIndex.permissionFilterOption = permissionFilterOption; - deserializedSearchIndex.purviewEnabled = purviewEnabled; deserializedSearchIndex.eTag = eTag; return deserializedSearchIndex; }); diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexPermissionFilterOption.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexPermissionFilterOption.java index ccd3ead50ee1..881bf70761f3 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexPermissionFilterOption.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexPermissionFilterOption.java @@ -13,13 +13,13 @@ public final class SearchIndexPermissionFilterOption extends ExpandableStringEnum { /** - * enabled. + * Permission filtering is enabled for the index. */ @Generated public static final SearchIndexPermissionFilterOption ENABLED = fromString("enabled"); /** - * disabled. + * Permission filtering is disabled for the index. */ @Generated public static final SearchIndexPermissionFilterOption DISABLED = fromString("disabled"); diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexResponse.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexResponse.java new file mode 100644 index 000000000000..8ff0bbd0ad3c --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexResponse.java @@ -0,0 +1,441 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.indexes.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * Represents a search index definition, which describes the fields and search behavior of an index. + */ +@Immutable +public final class SearchIndexResponse implements JsonSerializable { + /* + * The name of the index. + */ + @Generated + private final String name; + + /* + * The description of the index. + */ + @Generated + private String description; + + /* + * The fields of the index. + */ + @Generated + private List fields; + + /* + * The scoring profiles for the index. + */ + @Generated + private List scoringProfiles; + + /* + * The name of the scoring profile to use if none is specified in the query. If this property is not set and no + * scoring profile is specified in the query, then default scoring (tf-idf) will be used. + */ + @Generated + private String defaultScoringProfile; + + /* + * Options to control Cross-Origin Resource Sharing (CORS) for the index. + */ + @Generated + private CorsOptions corsOptions; + + /* + * The suggesters for the index. + */ + @Generated + private List suggesters; + + /* + * The analyzers for the index. + */ + @Generated + private List analyzers; + + /* + * The tokenizers for the index. + */ + @Generated + private List tokenizers; + + /* + * The token filters for the index. + */ + @Generated + private List tokenFilters; + + /* + * The character filters for the index. + */ + @Generated + private List charFilters; + + /* + * The normalizers for the index. + */ + @Generated + private List normalizers; + + /* + * A description of an encryption key that you create in Azure Key Vault. This key is used to provide an additional + * level of encryption-at-rest for your data when you want full assurance that no one, not even Microsoft, can + * decrypt your data. Once you have encrypted your data, it will always remain encrypted. The search service will + * ignore attempts to set this property to null. You can change this property as needed if you want to rotate your + * encryption key; Your data will be unaffected. Encryption with customer-managed keys is not available for free + * search services, and is only available for paid services created on or after January 1, 2019. + */ + @Generated + private SearchResourceEncryptionKey encryptionKey; + + /* + * The type of similarity algorithm to be used when scoring and ranking the documents matching a search query. The + * similarity algorithm can only be defined at index creation time and cannot be modified on existing indexes. If + * null, the ClassicSimilarity algorithm is used. + */ + @Generated + private SimilarityAlgorithm similarity; + + /* + * Defines parameters for a search index that influence semantic capabilities. + */ + @Generated + private SemanticSearch semantic; + + /* + * Contains configuration options related to vector search. + */ + @Generated + private VectorSearch vectorSearch; + + /* + * The ETag of the index. + */ + @Generated + private String eTag; + + /** + * Creates an instance of SearchIndexResponse class. + * + * @param name the name value to set. + */ + @Generated + private SearchIndexResponse(String name) { + this.name = name; + } + + /** + * Get the name property: The name of the index. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the description property: The description of the index. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Get the fields property: The fields of the index. + * + * @return the fields value. + */ + @Generated + public List getFields() { + return this.fields; + } + + /** + * Get the scoringProfiles property: The scoring profiles for the index. + * + * @return the scoringProfiles value. + */ + @Generated + public List getScoringProfiles() { + return this.scoringProfiles; + } + + /** + * Get the defaultScoringProfile property: The name of the scoring profile to use if none is specified in the query. + * If this property is not set and no scoring profile is specified in the query, then default scoring (tf-idf) will + * be used. + * + * @return the defaultScoringProfile value. + */ + @Generated + public String getDefaultScoringProfile() { + return this.defaultScoringProfile; + } + + /** + * Get the corsOptions property: Options to control Cross-Origin Resource Sharing (CORS) for the index. + * + * @return the corsOptions value. + */ + @Generated + public CorsOptions getCorsOptions() { + return this.corsOptions; + } + + /** + * Get the suggesters property: The suggesters for the index. + * + * @return the suggesters value. + */ + @Generated + public List getSuggesters() { + return this.suggesters; + } + + /** + * Get the analyzers property: The analyzers for the index. + * + * @return the analyzers value. + */ + @Generated + public List getAnalyzers() { + return this.analyzers; + } + + /** + * Get the tokenizers property: The tokenizers for the index. + * + * @return the tokenizers value. + */ + @Generated + public List getTokenizers() { + return this.tokenizers; + } + + /** + * Get the tokenFilters property: The token filters for the index. + * + * @return the tokenFilters value. + */ + @Generated + public List getTokenFilters() { + return this.tokenFilters; + } + + /** + * Get the charFilters property: The character filters for the index. + * + * @return the charFilters value. + */ + @Generated + public List getCharFilters() { + return this.charFilters; + } + + /** + * Get the normalizers property: The normalizers for the index. + * + * @return the normalizers value. + */ + @Generated + public List getNormalizers() { + return this.normalizers; + } + + /** + * Get the encryptionKey property: A description of an encryption key that you create in Azure Key Vault. This key + * is used to provide an additional level of encryption-at-rest for your data when you want full assurance that no + * one, not even Microsoft, can decrypt your data. Once you have encrypted your data, it will always remain + * encrypted. The search service will ignore attempts to set this property to null. You can change this property as + * needed if you want to rotate your encryption key; Your data will be unaffected. Encryption with customer-managed + * keys is not available for free search services, and is only available for paid services created on or after + * January 1, 2019. + * + * @return the encryptionKey value. + */ + @Generated + public SearchResourceEncryptionKey getEncryptionKey() { + return this.encryptionKey; + } + + /** + * Get the similarity property: The type of similarity algorithm to be used when scoring and ranking the documents + * matching a search query. The similarity algorithm can only be defined at index creation time and cannot be + * modified on existing indexes. If null, the ClassicSimilarity algorithm is used. + * + * @return the similarity value. + */ + @Generated + public SimilarityAlgorithm getSimilarity() { + return this.similarity; + } + + /** + * Get the semantic property: Defines parameters for a search index that influence semantic capabilities. + * + * @return the semantic value. + */ + @Generated + public SemanticSearch getSemantic() { + return this.semantic; + } + + /** + * Get the vectorSearch property: Contains configuration options related to vector search. + * + * @return the vectorSearch value. + */ + @Generated + public VectorSearch getVectorSearch() { + return this.vectorSearch; + } + + /** + * Get the eTag property: The ETag of the index. + * + * @return the eTag value. + */ + @Generated + public String getETag() { + return this.eTag; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("description", this.description); + jsonWriter.writeArrayField("fields", this.fields, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeArrayField("scoringProfiles", this.scoringProfiles, + (writer, element) -> writer.writeJson(element)); + jsonWriter.writeStringField("defaultScoringProfile", this.defaultScoringProfile); + jsonWriter.writeJsonField("corsOptions", this.corsOptions); + jsonWriter.writeArrayField("suggesters", this.suggesters, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeArrayField("analyzers", this.analyzers, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeArrayField("tokenizers", this.tokenizers, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeArrayField("tokenFilters", this.tokenFilters, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeArrayField("charFilters", this.charFilters, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeArrayField("normalizers", this.normalizers, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeJsonField("encryptionKey", this.encryptionKey); + jsonWriter.writeJsonField("similarity", this.similarity); + jsonWriter.writeJsonField("semantic", this.semantic); + jsonWriter.writeJsonField("vectorSearch", this.vectorSearch); + jsonWriter.writeStringField("@odata.etag", this.eTag); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of SearchIndexResponse from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of SearchIndexResponse if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the SearchIndexResponse. + */ + @Generated + public static SearchIndexResponse fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String name = null; + String description = null; + List fields = null; + List scoringProfiles = null; + String defaultScoringProfile = null; + CorsOptions corsOptions = null; + List suggesters = null; + List analyzers = null; + List tokenizers = null; + List tokenFilters = null; + List charFilters = null; + List normalizers = null; + SearchResourceEncryptionKey encryptionKey = null; + SimilarityAlgorithm similarity = null; + SemanticSearch semantic = null; + VectorSearch vectorSearch = null; + String eTag = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("description".equals(fieldName)) { + description = reader.getString(); + } else if ("fields".equals(fieldName)) { + fields = reader.readArray(reader1 -> SearchField.fromJson(reader1)); + } else if ("scoringProfiles".equals(fieldName)) { + scoringProfiles = reader.readArray(reader1 -> ScoringProfile.fromJson(reader1)); + } else if ("defaultScoringProfile".equals(fieldName)) { + defaultScoringProfile = reader.getString(); + } else if ("corsOptions".equals(fieldName)) { + corsOptions = CorsOptions.fromJson(reader); + } else if ("suggesters".equals(fieldName)) { + suggesters = reader.readArray(reader1 -> SearchSuggester.fromJson(reader1)); + } else if ("analyzers".equals(fieldName)) { + analyzers = reader.readArray(reader1 -> LexicalAnalyzer.fromJson(reader1)); + } else if ("tokenizers".equals(fieldName)) { + tokenizers = reader.readArray(reader1 -> LexicalTokenizer.fromJson(reader1)); + } else if ("tokenFilters".equals(fieldName)) { + tokenFilters = reader.readArray(reader1 -> TokenFilter.fromJson(reader1)); + } else if ("charFilters".equals(fieldName)) { + charFilters = reader.readArray(reader1 -> CharFilter.fromJson(reader1)); + } else if ("normalizers".equals(fieldName)) { + normalizers = reader.readArray(reader1 -> LexicalNormalizer.fromJson(reader1)); + } else if ("encryptionKey".equals(fieldName)) { + encryptionKey = SearchResourceEncryptionKey.fromJson(reader); + } else if ("similarity".equals(fieldName)) { + similarity = SimilarityAlgorithm.fromJson(reader); + } else if ("semantic".equals(fieldName)) { + semantic = SemanticSearch.fromJson(reader); + } else if ("vectorSearch".equals(fieldName)) { + vectorSearch = VectorSearch.fromJson(reader); + } else if ("@odata.etag".equals(fieldName)) { + eTag = reader.getString(); + } else { + reader.skipChildren(); + } + } + SearchIndexResponse deserializedSearchIndexResponse = new SearchIndexResponse(name); + deserializedSearchIndexResponse.description = description; + deserializedSearchIndexResponse.fields = fields; + deserializedSearchIndexResponse.scoringProfiles = scoringProfiles; + deserializedSearchIndexResponse.defaultScoringProfile = defaultScoringProfile; + deserializedSearchIndexResponse.corsOptions = corsOptions; + deserializedSearchIndexResponse.suggesters = suggesters; + deserializedSearchIndexResponse.analyzers = analyzers; + deserializedSearchIndexResponse.tokenizers = tokenizers; + deserializedSearchIndexResponse.tokenFilters = tokenFilters; + deserializedSearchIndexResponse.charFilters = charFilters; + deserializedSearchIndexResponse.normalizers = normalizers; + deserializedSearchIndexResponse.encryptionKey = encryptionKey; + deserializedSearchIndexResponse.similarity = similarity; + deserializedSearchIndexResponse.semantic = semantic; + deserializedSearchIndexResponse.vectorSearch = vectorSearch; + deserializedSearchIndexResponse.eTag = eTag; + + return deserializedSearchIndexResponse; + }); + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexer.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexer.java index aefd8050ef23..ee3e23d6b6e0 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexer.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexer.java @@ -97,13 +97,6 @@ public final class SearchIndexer implements JsonSerializable { @Generated private SearchResourceEncryptionKey encryptionKey; - /* - * Adds caching to an enrichment pipeline to allow for incremental modification steps without having to rebuild the - * index every time. - */ - @Generated - private SearchIndexerCache cache; - /** * Creates an instance of SearchIndexer class. * @@ -388,30 +381,6 @@ public SearchIndexer setEncryptionKey(SearchResourceEncryptionKey encryptionKey) return this; } - /** - * Get the cache property: Adds caching to an enrichment pipeline to allow for incremental modification steps - * without having to rebuild the index every time. - * - * @return the cache value. - */ - @Generated - public SearchIndexerCache getCache() { - return this.cache; - } - - /** - * Set the cache property: Adds caching to an enrichment pipeline to allow for incremental modification steps - * without having to rebuild the index every time. - * - * @param cache the cache value to set. - * @return the SearchIndexer object itself. - */ - @Generated - public SearchIndexer setCache(SearchIndexerCache cache) { - this.cache = cache; - return this; - } - /** * {@inheritDoc} */ @@ -432,7 +401,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeBooleanField("disabled", this.isDisabled); jsonWriter.writeStringField("@odata.etag", this.eTag); jsonWriter.writeJsonField("encryptionKey", this.encryptionKey); - jsonWriter.writeJsonField("cache", this.cache); return jsonWriter.writeEndObject(); } @@ -460,7 +428,6 @@ public static SearchIndexer fromJson(JsonReader jsonReader) throws IOException { Boolean isDisabled = null; String eTag = null; SearchResourceEncryptionKey encryptionKey = null; - SearchIndexerCache cache = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -488,8 +455,6 @@ public static SearchIndexer fromJson(JsonReader jsonReader) throws IOException { eTag = reader.getString(); } else if ("encryptionKey".equals(fieldName)) { encryptionKey = SearchResourceEncryptionKey.fromJson(reader); - } else if ("cache".equals(fieldName)) { - cache = SearchIndexerCache.fromJson(reader); } else { reader.skipChildren(); } @@ -504,7 +469,6 @@ public static SearchIndexer fromJson(JsonReader jsonReader) throws IOException { deserializedSearchIndexer.isDisabled = isDisabled; deserializedSearchIndexer.eTag = eTag; deserializedSearchIndexer.encryptionKey = encryptionKey; - deserializedSearchIndexer.cache = cache; return deserializedSearchIndexer; }); } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexerCache.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexerCache.java deleted file mode 100644 index 67fde88b85de..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexerCache.java +++ /dev/null @@ -1,194 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.indexes.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The type of the cache. - */ -@Fluent -public final class SearchIndexerCache implements JsonSerializable { - - /* - * A guid for the SearchIndexerCache. - */ - @Generated - private String id; - - /* - * The connection string to the storage account where the cache data will be persisted. - */ - @Generated - private String storageConnectionString; - - /* - * Specifies whether incremental reprocessing is enabled. - */ - @Generated - private Boolean enableReprocessing; - - /* - * The user-assigned managed identity used for connections to the enrichment cache. If the connection string - * indicates an identity (ResourceId) and it's not specified, the system-assigned managed identity is used. On - * updates to the indexer, if the identity is unspecified, the value remains unchanged. If set to "none", the value - * of this property is cleared. - */ - @Generated - private SearchIndexerDataIdentity identity; - - /** - * Creates an instance of SearchIndexerCache class. - */ - @Generated - public SearchIndexerCache() { - } - - /** - * Get the id property: A guid for the SearchIndexerCache. - * - * @return the id value. - */ - @Generated - public String getId() { - return this.id; - } - - /** - * Set the id property: A guid for the SearchIndexerCache. - * - * @param id the id value to set. - * @return the SearchIndexerCache object itself. - */ - @Generated - public SearchIndexerCache setId(String id) { - this.id = id; - return this; - } - - /** - * Get the storageConnectionString property: The connection string to the storage account where the cache data will - * be persisted. - * - * @return the storageConnectionString value. - */ - @Generated - public String getStorageConnectionString() { - return this.storageConnectionString; - } - - /** - * Set the storageConnectionString property: The connection string to the storage account where the cache data will - * be persisted. - * - * @param storageConnectionString the storageConnectionString value to set. - * @return the SearchIndexerCache object itself. - */ - @Generated - public SearchIndexerCache setStorageConnectionString(String storageConnectionString) { - this.storageConnectionString = storageConnectionString; - return this; - } - - /** - * Get the enableReprocessing property: Specifies whether incremental reprocessing is enabled. - * - * @return the enableReprocessing value. - */ - @Generated - public Boolean isEnableReprocessing() { - return this.enableReprocessing; - } - - /** - * Set the enableReprocessing property: Specifies whether incremental reprocessing is enabled. - * - * @param enableReprocessing the enableReprocessing value to set. - * @return the SearchIndexerCache object itself. - */ - @Generated - public SearchIndexerCache setEnableReprocessing(Boolean enableReprocessing) { - this.enableReprocessing = enableReprocessing; - return this; - } - - /** - * Get the identity property: The user-assigned managed identity used for connections to the enrichment cache. If - * the connection string indicates an identity (ResourceId) and it's not specified, the system-assigned managed - * identity is used. On updates to the indexer, if the identity is unspecified, the value remains unchanged. If set - * to "none", the value of this property is cleared. - * - * @return the identity value. - */ - @Generated - public SearchIndexerDataIdentity getIdentity() { - return this.identity; - } - - /** - * Set the identity property: The user-assigned managed identity used for connections to the enrichment cache. If - * the connection string indicates an identity (ResourceId) and it's not specified, the system-assigned managed - * identity is used. On updates to the indexer, if the identity is unspecified, the value remains unchanged. If set - * to "none", the value of this property is cleared. - * - * @param identity the identity value to set. - * @return the SearchIndexerCache object itself. - */ - @Generated - public SearchIndexerCache setIdentity(SearchIndexerDataIdentity identity) { - this.identity = identity; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("storageConnectionString", this.storageConnectionString); - jsonWriter.writeBooleanField("enableReprocessing", this.enableReprocessing); - jsonWriter.writeJsonField("identity", this.identity); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of SearchIndexerCache from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of SearchIndexerCache if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IOException If an error occurs while reading the SearchIndexerCache. - */ - @Generated - public static SearchIndexerCache fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - SearchIndexerCache deserializedSearchIndexerCache = new SearchIndexerCache(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("id".equals(fieldName)) { - deserializedSearchIndexerCache.id = reader.getString(); - } else if ("storageConnectionString".equals(fieldName)) { - deserializedSearchIndexerCache.storageConnectionString = reader.getString(); - } else if ("enableReprocessing".equals(fieldName)) { - deserializedSearchIndexerCache.enableReprocessing = reader.getNullable(JsonReader::getBoolean); - } else if ("identity".equals(fieldName)) { - deserializedSearchIndexerCache.identity = SearchIndexerDataIdentity.fromJson(reader); - } else { - reader.skipChildren(); - } - } - return deserializedSearchIndexerCache; - }); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexerDataSourceConnection.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexerDataSourceConnection.java index 3f23a0fa1fbc..70407f88cef6 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexerDataSourceConnection.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexerDataSourceConnection.java @@ -11,7 +11,6 @@ import com.azure.json.JsonWriter; import java.io.IOException; import java.util.Arrays; -import java.util.List; /** * Represents a datasource definition, which can be used to configure an indexer. @@ -37,13 +36,6 @@ public final class SearchIndexerDataSourceConnection implements JsonSerializable @Generated private final SearchIndexerDataSourceType type; - /* - * A specific type of the data source, in case the resource is capable of different modalities. For example, - * 'MongoDb' for certain 'cosmosDb' accounts. - */ - @Generated - private String subType; - /* * Credentials for the datasource. */ @@ -64,12 +56,6 @@ public final class SearchIndexerDataSourceConnection implements JsonSerializable @Generated private SearchIndexerDataIdentity identity; - /* - * Ingestion options with various types of permission data. - */ - @Generated - private List indexerPermissionOptions; - /* * The data change detection policy for the datasource. */ @@ -159,17 +145,6 @@ public SearchIndexerDataSourceType getType() { return this.type; } - /** - * Get the subType property: A specific type of the data source, in case the resource is capable of different - * modalities. For example, 'MongoDb' for certain 'cosmosDb' accounts. - * - * @return the subType value. - */ - @Generated - public String getSubType() { - return this.subType; - } - /** * Get the credentials property: Credentials for the datasource. * @@ -216,16 +191,6 @@ public SearchIndexerDataSourceConnection setIdentity(SearchIndexerDataIdentity i return this; } - /** - * Get the indexerPermissionOptions property: Ingestion options with various types of permission data. - * - * @return the indexerPermissionOptions value. - */ - @Generated - public List getIndexerPermissionOptions() { - return this.indexerPermissionOptions; - } - /** * Set the indexerPermissionOptions property: Ingestion options with various types of permission data. * @@ -239,19 +204,6 @@ public List getIndexerPermissionOptions() { return this; } - /** - * Set the indexerPermissionOptions property: Ingestion options with various types of permission data. - * - * @param indexerPermissionOptions the indexerPermissionOptions value to set. - * @return the SearchIndexerDataSourceConnection object itself. - */ - @Generated - public SearchIndexerDataSourceConnection - setIndexerPermissionOptions(List indexerPermissionOptions) { - this.indexerPermissionOptions = indexerPermissionOptions; - return this; - } - /** * Get the dataChangeDetectionPolicy property: The data change detection policy for the datasource. * @@ -367,8 +319,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeJsonField("container", this.container); jsonWriter.writeStringField("description", this.description); jsonWriter.writeJsonField("identity", this.identity); - jsonWriter.writeArrayField("indexerPermissionOptions", this.indexerPermissionOptions, - (writer, element) -> writer.writeString(element == null ? null : element.toString())); jsonWriter.writeJsonField("dataChangeDetectionPolicy", this.dataChangeDetectionPolicy); jsonWriter.writeJsonField("dataDeletionDetectionPolicy", this.dataDeletionDetectionPolicy); jsonWriter.writeStringField("@odata.etag", this.eTag); @@ -393,9 +343,7 @@ public static SearchIndexerDataSourceConnection fromJson(JsonReader jsonReader) DataSourceCredentials credentials = null; SearchIndexerDataContainer container = null; String description = null; - String subType = null; SearchIndexerDataIdentity identity = null; - List indexerPermissionOptions = null; DataChangeDetectionPolicy dataChangeDetectionPolicy = null; DataDeletionDetectionPolicy dataDeletionDetectionPolicy = null; String eTag = null; @@ -413,13 +361,8 @@ public static SearchIndexerDataSourceConnection fromJson(JsonReader jsonReader) container = SearchIndexerDataContainer.fromJson(reader); } else if ("description".equals(fieldName)) { description = reader.getString(); - } else if ("subType".equals(fieldName)) { - subType = reader.getString(); } else if ("identity".equals(fieldName)) { identity = SearchIndexerDataIdentity.fromJson(reader); - } else if ("indexerPermissionOptions".equals(fieldName)) { - indexerPermissionOptions - = reader.readArray(reader1 -> IndexerPermissionOption.fromString(reader1.getString())); } else if ("dataChangeDetectionPolicy".equals(fieldName)) { dataChangeDetectionPolicy = DataChangeDetectionPolicy.fromJson(reader); } else if ("dataDeletionDetectionPolicy".equals(fieldName)) { @@ -435,9 +378,7 @@ public static SearchIndexerDataSourceConnection fromJson(JsonReader jsonReader) SearchIndexerDataSourceConnection deserializedSearchIndexerDataSourceConnection = new SearchIndexerDataSourceConnection(name, type, credentials, container); deserializedSearchIndexerDataSourceConnection.description = description; - deserializedSearchIndexerDataSourceConnection.subType = subType; deserializedSearchIndexerDataSourceConnection.identity = identity; - deserializedSearchIndexerDataSourceConnection.indexerPermissionOptions = indexerPermissionOptions; deserializedSearchIndexerDataSourceConnection.dataChangeDetectionPolicy = dataChangeDetectionPolicy; deserializedSearchIndexerDataSourceConnection.dataDeletionDetectionPolicy = dataDeletionDetectionPolicy; deserializedSearchIndexerDataSourceConnection.eTag = eTag; diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexerDataUserAssignedIdentity.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexerDataUserAssignedIdentity.java index 60aaff1852ad..8b7c09d49707 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexerDataUserAssignedIdentity.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexerDataUserAssignedIdentity.java @@ -3,8 +3,8 @@ // Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.search.documents.indexes.models; +import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -13,7 +13,7 @@ /** * Specifies the identity for a datasource to use. */ -@Immutable +@Fluent public final class SearchIndexerDataUserAssignedIdentity extends SearchIndexerDataIdentity { /* @@ -73,6 +73,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("userAssignedIdentity", this.resourceId); jsonWriter.writeStringField("@odata.type", this.odataType); + jsonWriter.writeStringField("federatedIdentityClientId", this.federatedIdentityClientId); return jsonWriter.writeEndObject(); } @@ -90,6 +91,7 @@ public static SearchIndexerDataUserAssignedIdentity fromJson(JsonReader jsonRead return jsonReader.readObject(reader -> { String resourceId = null; String odataType = "#Microsoft.Azure.Search.DataUserAssignedIdentity"; + String federatedIdentityClientId = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -97,6 +99,8 @@ public static SearchIndexerDataUserAssignedIdentity fromJson(JsonReader jsonRead resourceId = reader.getString(); } else if ("@odata.type".equals(fieldName)) { odataType = reader.getString(); + } else if ("federatedIdentityClientId".equals(fieldName)) { + federatedIdentityClientId = reader.getString(); } else { reader.skipChildren(); } @@ -104,7 +108,39 @@ public static SearchIndexerDataUserAssignedIdentity fromJson(JsonReader jsonRead SearchIndexerDataUserAssignedIdentity deserializedSearchIndexerDataUserAssignedIdentity = new SearchIndexerDataUserAssignedIdentity(resourceId); deserializedSearchIndexerDataUserAssignedIdentity.odataType = odataType; + deserializedSearchIndexerDataUserAssignedIdentity.federatedIdentityClientId = federatedIdentityClientId; return deserializedSearchIndexerDataUserAssignedIdentity; }); } + + /* + * Multi-tenant User-Assigned Managed Identity Support: The client id of the multi-tenant App that has been + * configured to federate with the user-assigned managed identity. + */ + @Generated + private String federatedIdentityClientId; + + /** + * Get the federatedIdentityClientId property: Multi-tenant User-Assigned Managed Identity Support: The client id of + * the multi-tenant App that has been configured to federate with the user-assigned managed identity. + * + * @return the federatedIdentityClientId value. + */ + @Generated + public String getFederatedIdentityClientId() { + return this.federatedIdentityClientId; + } + + /** + * Set the federatedIdentityClientId property: Multi-tenant User-Assigned Managed Identity Support: The client id of + * the multi-tenant App that has been configured to federate with the user-assigned managed identity. + * + * @param federatedIdentityClientId the federatedIdentityClientId value to set. + * @return the SearchIndexerDataUserAssignedIdentity object itself. + */ + @Generated + public SearchIndexerDataUserAssignedIdentity setFederatedIdentityClientId(String federatedIdentityClientId) { + this.federatedIdentityClientId = federatedIdentityClientId; + return this; + } } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexerKnowledgeStore.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexerKnowledgeStore.java index 2f8095ef4773..d129b046659c 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexerKnowledgeStore.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexerKnowledgeStore.java @@ -40,13 +40,6 @@ public final class SearchIndexerKnowledgeStore implements JsonSerializable writer.writeJson(element)); jsonWriter.writeJsonField("identity", this.identity); - jsonWriter.writeJsonField("parameters", this.parameters); return jsonWriter.writeEndObject(); } @@ -174,7 +142,6 @@ public static SearchIndexerKnowledgeStore fromJson(JsonReader jsonReader) throws String storageConnectionString = null; List projections = null; SearchIndexerDataIdentity identity = null; - SearchIndexerKnowledgeStoreParameters parameters = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -184,8 +151,6 @@ public static SearchIndexerKnowledgeStore fromJson(JsonReader jsonReader) throws projections = reader.readArray(reader1 -> SearchIndexerKnowledgeStoreProjection.fromJson(reader1)); } else if ("identity".equals(fieldName)) { identity = SearchIndexerDataIdentity.fromJson(reader); - } else if ("parameters".equals(fieldName)) { - parameters = SearchIndexerKnowledgeStoreParameters.fromJson(reader); } else { reader.skipChildren(); } @@ -193,7 +158,6 @@ public static SearchIndexerKnowledgeStore fromJson(JsonReader jsonReader) throws SearchIndexerKnowledgeStore deserializedSearchIndexerKnowledgeStore = new SearchIndexerKnowledgeStore(storageConnectionString, projections); deserializedSearchIndexerKnowledgeStore.identity = identity; - deserializedSearchIndexerKnowledgeStore.parameters = parameters; return deserializedSearchIndexerKnowledgeStore; }); } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexerKnowledgeStoreParameters.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexerKnowledgeStoreParameters.java deleted file mode 100644 index 2092b614c63f..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexerKnowledgeStoreParameters.java +++ /dev/null @@ -1,139 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.indexes.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.LinkedHashMap; -import java.util.Map; - -/** - * A dictionary of knowledge store-specific configuration properties. Each name is the name of a specific property. Each - * value must be of a primitive type. - */ -@Fluent -public final class SearchIndexerKnowledgeStoreParameters - implements JsonSerializable { - - /* - * Whether or not projections should synthesize a generated key name if one isn't already present. - */ - @Generated - private Boolean synthesizeGeneratedKeyName; - - /* - * A dictionary of knowledge store-specific configuration properties. Each name is the name of a specific property. - * Each value must be of a primitive type. - */ - @Generated - private Map additionalProperties; - - /** - * Creates an instance of SearchIndexerKnowledgeStoreParameters class. - */ - @Generated - public SearchIndexerKnowledgeStoreParameters() { - } - - /** - * Get the synthesizeGeneratedKeyName property: Whether or not projections should synthesize a generated key name if - * one isn't already present. - * - * @return the synthesizeGeneratedKeyName value. - */ - @Generated - public Boolean isSynthesizeGeneratedKeyName() { - return this.synthesizeGeneratedKeyName; - } - - /** - * Set the synthesizeGeneratedKeyName property: Whether or not projections should synthesize a generated key name if - * one isn't already present. - * - * @param synthesizeGeneratedKeyName the synthesizeGeneratedKeyName value to set. - * @return the SearchIndexerKnowledgeStoreParameters object itself. - */ - @Generated - public SearchIndexerKnowledgeStoreParameters setSynthesizeGeneratedKeyName(Boolean synthesizeGeneratedKeyName) { - this.synthesizeGeneratedKeyName = synthesizeGeneratedKeyName; - return this; - } - - /** - * Get the additionalProperties property: A dictionary of knowledge store-specific configuration properties. Each - * name is the name of a specific property. Each value must be of a primitive type. - * - * @return the additionalProperties value. - */ - @Generated - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - /** - * Set the additionalProperties property: A dictionary of knowledge store-specific configuration properties. Each - * name is the name of a specific property. Each value must be of a primitive type. - * - * @param additionalProperties the additionalProperties value to set. - * @return the SearchIndexerKnowledgeStoreParameters object itself. - */ - @Generated - public SearchIndexerKnowledgeStoreParameters setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeBooleanField("synthesizeGeneratedKeyName", this.synthesizeGeneratedKeyName); - if (additionalProperties != null) { - for (Map.Entry additionalProperty : additionalProperties.entrySet()) { - jsonWriter.writeUntypedField(additionalProperty.getKey(), additionalProperty.getValue()); - } - } - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of SearchIndexerKnowledgeStoreParameters from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of SearchIndexerKnowledgeStoreParameters if the JsonReader was pointing to an instance of it, - * or null if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the SearchIndexerKnowledgeStoreParameters. - */ - @Generated - public static SearchIndexerKnowledgeStoreParameters fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - SearchIndexerKnowledgeStoreParameters deserializedSearchIndexerKnowledgeStoreParameters - = new SearchIndexerKnowledgeStoreParameters(); - Map additionalProperties = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("synthesizeGeneratedKeyName".equals(fieldName)) { - deserializedSearchIndexerKnowledgeStoreParameters.synthesizeGeneratedKeyName - = reader.getNullable(JsonReader::getBoolean); - } else { - if (additionalProperties == null) { - additionalProperties = new LinkedHashMap<>(); - } - additionalProperties.put(fieldName, reader.readUntyped()); - } - } - deserializedSearchIndexerKnowledgeStoreParameters.additionalProperties = additionalProperties; - return deserializedSearchIndexerKnowledgeStoreParameters; - }); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexerStatus.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexerStatus.java index 86a9fb7af2f8..c00df2db4ecd 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexerStatus.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchIndexerStatus.java @@ -30,12 +30,6 @@ public final class SearchIndexerStatus implements JsonSerializable executionHistory = reader.readArray(reader1 -> IndexerExecutionResult.fromJson(reader1)); diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchServiceStatistics.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchServiceStatistics.java index 411db92a16f4..1cdc5b0c905d 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchServiceStatistics.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SearchServiceStatistics.java @@ -29,27 +29,6 @@ public final class SearchServiceStatistics implements JsonSerializable { SearchServiceCounters counters = null; SearchServiceLimits limits = null; - ServiceIndexersRuntime indexersRuntime = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -115,13 +82,23 @@ public static SearchServiceStatistics fromJson(JsonReader jsonReader) throws IOE counters = SearchServiceCounters.fromJson(reader); } else if ("limits".equals(fieldName)) { limits = SearchServiceLimits.fromJson(reader); - } else if ("indexersRuntime".equals(fieldName)) { - indexersRuntime = ServiceIndexersRuntime.fromJson(reader); } else { reader.skipChildren(); } } - return new SearchServiceStatistics(counters, limits, indexersRuntime); + return new SearchServiceStatistics(counters, limits); }); } + + /** + * Creates an instance of SearchServiceStatistics class. + * + * @param counters the counters value to set. + * @param limits the limits value to set. + */ + @Generated + private SearchServiceStatistics(SearchServiceCounters counters, SearchServiceLimits limits) { + this.counters = counters; + this.limits = limits; + } } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SemanticConfiguration.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SemanticConfiguration.java index 6997821842ac..c101713b8b69 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SemanticConfiguration.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SemanticConfiguration.java @@ -37,12 +37,6 @@ public final class SemanticConfiguration implements JsonSerializable { + /** + * Danish. + */ + @Generated + public static final SentimentSkillLanguage DA = fromString("da"); + + /** + * Dutch. + */ + @Generated + public static final SentimentSkillLanguage NL = fromString("nl"); + + /** + * English. + */ + @Generated + public static final SentimentSkillLanguage EN = fromString("en"); + + /** + * Finnish. + */ + @Generated + public static final SentimentSkillLanguage FI = fromString("fi"); + + /** + * French. + */ + @Generated + public static final SentimentSkillLanguage FR = fromString("fr"); + + /** + * German. + */ + @Generated + public static final SentimentSkillLanguage DE = fromString("de"); + + /** + * Greek. + */ + @Generated + public static final SentimentSkillLanguage EL = fromString("el"); + + /** + * Italian. + */ + @Generated + public static final SentimentSkillLanguage IT = fromString("it"); + + /** + * Norwegian (Bokmaal). + */ + @Generated + public static final SentimentSkillLanguage NO = fromString("no"); + + /** + * Polish. + */ + @Generated + public static final SentimentSkillLanguage PL = fromString("pl"); + + /** + * Portuguese (Portugal). + */ + @Generated + public static final SentimentSkillLanguage PT_PT = fromString("pt-PT"); + + /** + * Russian. + */ + @Generated + public static final SentimentSkillLanguage RU = fromString("ru"); + + /** + * Spanish. + */ + @Generated + public static final SentimentSkillLanguage ES = fromString("es"); + + /** + * Swedish. + */ + @Generated + public static final SentimentSkillLanguage SV = fromString("sv"); + + /** + * Turkish. + */ + @Generated + public static final SentimentSkillLanguage TR = fromString("tr"); + + /** + * Creates a new instance of SentimentSkillLanguage value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public SentimentSkillLanguage() { + } + + /** + * Creates or finds a SentimentSkillLanguage from its string representation. + * + * @param name a name to look for. + * @return the corresponding SentimentSkillLanguage. + */ + @Generated + public static SentimentSkillLanguage fromString(String name) { + return fromString(name, SentimentSkillLanguage.class); + } + + /** + * Gets known SentimentSkillLanguage values. + * + * @return known SentimentSkillLanguage values. + */ + @Generated + public static Collection values() { + return values(SentimentSkillLanguage.class); + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SentimentSkillV3.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SentimentSkillV3.java index 52455526fdc0..1d0d8300fd60 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SentimentSkillV3.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/SentimentSkillV3.java @@ -29,7 +29,7 @@ public final class SentimentSkillV3 extends SearchIndexerSkill { * A value indicating which language code to use. Default is `en`. */ @Generated - private String defaultLanguageCode; + private SentimentSkillLanguage defaultLanguageCode; /* * If set to true, the skill output will include information from Text Analytics for opinion mining, namely targets @@ -73,22 +73,10 @@ public String getOdataType() { * @return the defaultLanguageCode value. */ @Generated - public String getDefaultLanguageCode() { + public SentimentSkillLanguage getDefaultLanguageCode() { return this.defaultLanguageCode; } - /** - * Set the defaultLanguageCode property: A value indicating which language code to use. Default is `en`. - * - * @param defaultLanguageCode the defaultLanguageCode value to set. - * @return the SentimentSkillV3 object itself. - */ - @Generated - public SentimentSkillV3 setDefaultLanguageCode(String defaultLanguageCode) { - this.defaultLanguageCode = defaultLanguageCode; - return this; - } - /** * Get the includeOpinionMining property: If set to true, the skill output will include information from Text * Analytics for opinion mining, namely targets (nouns or verbs) and their associated assessment (adjective) in the @@ -184,7 +172,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("description", getDescription()); jsonWriter.writeStringField("context", getContext()); jsonWriter.writeStringField("@odata.type", this.odataType); - jsonWriter.writeStringField("defaultLanguageCode", this.defaultLanguageCode); + jsonWriter.writeStringField("defaultLanguageCode", + this.defaultLanguageCode == null ? null : this.defaultLanguageCode.toString()); jsonWriter.writeBooleanField("includeOpinionMining", this.includeOpinionMining); jsonWriter.writeStringField("modelVersion", this.modelVersion); return jsonWriter.writeEndObject(); @@ -208,7 +197,7 @@ public static SentimentSkillV3 fromJson(JsonReader jsonReader) throws IOExceptio String description = null; String context = null; String odataType = "#Microsoft.Skills.Text.V3.SentimentSkill"; - String defaultLanguageCode = null; + SentimentSkillLanguage defaultLanguageCode = null; Boolean includeOpinionMining = null; String modelVersion = null; while (reader.nextToken() != JsonToken.END_OBJECT) { @@ -227,7 +216,7 @@ public static SentimentSkillV3 fromJson(JsonReader jsonReader) throws IOExceptio } else if ("@odata.type".equals(fieldName)) { odataType = reader.getString(); } else if ("defaultLanguageCode".equals(fieldName)) { - defaultLanguageCode = reader.getString(); + defaultLanguageCode = SentimentSkillLanguage.fromString(reader.getString()); } else if ("includeOpinionMining".equals(fieldName)) { includeOpinionMining = reader.getNullable(JsonReader::getBoolean); } else if ("modelVersion".equals(fieldName)) { @@ -247,4 +236,16 @@ public static SentimentSkillV3 fromJson(JsonReader jsonReader) throws IOExceptio return deserializedSentimentSkillV3; }); } + + /** + * Set the defaultLanguageCode property: A value indicating which language code to use. Default is `en`. + * + * @param defaultLanguageCode the defaultLanguageCode value to set. + * @return the SentimentSkillV3 object itself. + */ + @Generated + public SentimentSkillV3 setDefaultLanguageCode(SentimentSkillLanguage defaultLanguageCode) { + this.defaultLanguageCode = defaultLanguageCode; + return this; + } } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/ServiceIndexersRuntime.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/ServiceIndexersRuntime.java deleted file mode 100644 index 06cb9b1ea6c7..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/ServiceIndexersRuntime.java +++ /dev/null @@ -1,159 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.indexes.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.core.util.CoreUtils; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.time.OffsetDateTime; -import java.time.format.DateTimeFormatter; - -/** - * Represents service-level indexer runtime counters. - */ -@Immutable -public final class ServiceIndexersRuntime implements JsonSerializable { - - /* - * Cumulative runtime of all indexers in the service from the beginningTime to endingTime, in seconds. - */ - @Generated - private final long usedSeconds; - - /* - * Cumulative runtime remaining for all indexers in the service from the beginningTime to endingTime, in seconds. - */ - @Generated - private Long remainingSeconds; - - /* - * Beginning UTC time of the 24-hour period considered for indexer runtime usage (inclusive). - */ - @Generated - private final OffsetDateTime beginningTime; - - /* - * End UTC time of the 24-hour period considered for indexer runtime usage (inclusive). - */ - @Generated - private final OffsetDateTime endingTime; - - /** - * Creates an instance of ServiceIndexersRuntime class. - * - * @param usedSeconds the usedSeconds value to set. - * @param beginningTime the beginningTime value to set. - * @param endingTime the endingTime value to set. - */ - @Generated - private ServiceIndexersRuntime(long usedSeconds, OffsetDateTime beginningTime, OffsetDateTime endingTime) { - this.usedSeconds = usedSeconds; - this.beginningTime = beginningTime; - this.endingTime = endingTime; - } - - /** - * Get the usedSeconds property: Cumulative runtime of all indexers in the service from the beginningTime to - * endingTime, in seconds. - * - * @return the usedSeconds value. - */ - @Generated - public long getUsedSeconds() { - return this.usedSeconds; - } - - /** - * Get the remainingSeconds property: Cumulative runtime remaining for all indexers in the service from the - * beginningTime to endingTime, in seconds. - * - * @return the remainingSeconds value. - */ - @Generated - public Long getRemainingSeconds() { - return this.remainingSeconds; - } - - /** - * Get the beginningTime property: Beginning UTC time of the 24-hour period considered for indexer runtime usage - * (inclusive). - * - * @return the beginningTime value. - */ - @Generated - public OffsetDateTime getBeginningTime() { - return this.beginningTime; - } - - /** - * Get the endingTime property: End UTC time of the 24-hour period considered for indexer runtime usage (inclusive). - * - * @return the endingTime value. - */ - @Generated - public OffsetDateTime getEndingTime() { - return this.endingTime; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeLongField("usedSeconds", this.usedSeconds); - jsonWriter.writeStringField("beginningTime", - this.beginningTime == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.beginningTime)); - jsonWriter.writeStringField("endingTime", - this.endingTime == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.endingTime)); - jsonWriter.writeNumberField("remainingSeconds", this.remainingSeconds); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ServiceIndexersRuntime from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ServiceIndexersRuntime if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the ServiceIndexersRuntime. - */ - @Generated - public static ServiceIndexersRuntime fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - long usedSeconds = 0L; - OffsetDateTime beginningTime = null; - OffsetDateTime endingTime = null; - Long remainingSeconds = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("usedSeconds".equals(fieldName)) { - usedSeconds = reader.getLong(); - } else if ("beginningTime".equals(fieldName)) { - beginningTime = reader - .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); - } else if ("endingTime".equals(fieldName)) { - endingTime = reader - .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); - } else if ("remainingSeconds".equals(fieldName)) { - remainingSeconds = reader.getNullable(JsonReader::getLong); - } else { - reader.skipChildren(); - } - } - ServiceIndexersRuntime deserializedServiceIndexersRuntime - = new ServiceIndexersRuntime(usedSeconds, beginningTime, endingTime); - deserializedServiceIndexersRuntime.remainingSeconds = remainingSeconds; - return deserializedServiceIndexersRuntime; - }); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/KnowledgeBaseRetrievalAsyncClient.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/KnowledgeBaseRetrievalAsyncClient.java index 7c26de3f7664..8294d5457256 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/KnowledgeBaseRetrievalAsyncClient.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/KnowledgeBaseRetrievalAsyncClient.java @@ -22,6 +22,7 @@ import com.azure.search.documents.implementation.KnowledgeBaseRetrievalClientImpl; import com.azure.search.documents.knowledgebases.models.KnowledgeBaseRetrievalRequest; import com.azure.search.documents.knowledgebases.models.KnowledgeBaseRetrievalResponse; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept48; import reactor.core.publisher.Mono; /** @@ -70,36 +71,6 @@ public SearchServiceVersion getServiceVersion() { return serviceClient.getServiceVersion(); } - /** - * KnowledgeBase retrieves relevant data from backing stores. - * - * @param knowledgeBaseName The name of the knowledge base. - * @param retrievalRequest The retrieval request to process. - * @param querySourceAuthorization Token identifying the user for which the query is being executed. This token is - * used to enforce security restrictions on documents. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the output contract for the retrieval response on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono retrieve(String knowledgeBaseName, - KnowledgeBaseRetrievalRequest retrievalRequest, String querySourceAuthorization) { - // Generated convenience method for hiddenGeneratedRetrieveWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (querySourceAuthorization != null) { - requestOptions.setHeader(HttpHeaderName.fromString("x-ms-query-source-authorization"), - querySourceAuthorization); - } - return hiddenGeneratedRetrieveWithResponse(knowledgeBaseName, BinaryData.fromObject(retrievalRequest), - requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(KnowledgeBaseRetrievalResponse.class)); - } - /** * KnowledgeBase retrieves relevant data from backing stores. * @@ -158,8 +129,8 @@ public Mono> retrieveWithResponse(Strin * * * - * + * *
Header Parameters
NameTypeRequiredDescription
x-ms-query-source-authorizationStringNoToken identifying the user for which - * the query is being executed. This token is used to enforce security restrictions on documents.
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -183,19 +154,14 @@ public Mono> retrieveWithResponse(Strin * } * ] * maxRuntimeInSeconds: Integer (Optional) - * maxOutputSize: Integer (Optional) - * retrievalReasoningEffort (Optional): { - * kind: String(minimal/low/medium) (Required) - * } + * maxOutputSizeInTokens: Integer (Optional) * includeActivity: Boolean (Optional) - * outputMode: String(extractiveData/answerSynthesis) (Optional) * knowledgeSourceParams (Optional): [ * (Optional){ - * kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required) + * kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required) * knowledgeSourceName: String (Required) * includeReferences: Boolean (Optional) * includeReferenceSourceData: Boolean (Optional) - * alwaysQuerySource: Boolean (Optional) * rerankerThreshold: Float (Optional) * } * ] @@ -220,7 +186,7 @@ public Mono> retrieveWithResponse(Strin * ] * activity (Optional): [ * (Optional){ - * type: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint/modelQueryPlanning/modelAnswerSynthesis/agenticReasoning) (Required) + * type: String(searchIndex/azureBlob/indexedOneLake/web/agenticReasoning) (Required) * id: int (Required) * elapsedMs: Integer (Optional) * error (Optional): { @@ -243,7 +209,7 @@ public Mono> retrieveWithResponse(Strin * ] * references (Optional): [ * (Optional){ - * type: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required) + * type: String(searchIndex/azureBlob/indexedOneLake/web) (Required) * id: String (Required) * activitySource: int (Required) * sourceData (Optional): { @@ -272,4 +238,32 @@ Mono> hiddenGeneratedRetrieveWithResponse(String knowledgeB BinaryData retrievalRequest, RequestOptions requestOptions) { return this.serviceClient.retrieveWithResponseAsync(knowledgeBaseName, retrievalRequest, requestOptions); } + + /** + * KnowledgeBase retrieves relevant data from backing stores. + * + * @param knowledgeBaseName The name of the knowledge base. + * @param retrievalRequest The retrieval request to process. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the output contract for the retrieval response on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono retrieve(String knowledgeBaseName, + KnowledgeBaseRetrievalRequest retrievalRequest, CreateOrUpdateRequestAccept48 accept) { + // Generated convenience method for hiddenGeneratedRetrieveWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedRetrieveWithResponse(knowledgeBaseName, BinaryData.fromObject(retrievalRequest), + requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(KnowledgeBaseRetrievalResponse.class)); + } } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/KnowledgeBaseRetrievalClient.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/KnowledgeBaseRetrievalClient.java index d7946a03f431..1f1c9feb19f4 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/KnowledgeBaseRetrievalClient.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/KnowledgeBaseRetrievalClient.java @@ -21,6 +21,7 @@ import com.azure.search.documents.implementation.KnowledgeBaseRetrievalClientImpl; import com.azure.search.documents.knowledgebases.models.KnowledgeBaseRetrievalRequest; import com.azure.search.documents.knowledgebases.models.KnowledgeBaseRetrievalResponse; +import com.azure.search.documents.models.CreateOrUpdateRequestAccept48; /** * Initializes a new instance of the synchronous KnowledgeBaseRetrievalClient type. @@ -68,35 +69,6 @@ public SearchServiceVersion getServiceVersion() { return serviceClient.getServiceVersion(); } - /** - * KnowledgeBase retrieves relevant data from backing stores. - * - * @param knowledgeBaseName The name of the knowledge base. - * @param retrievalRequest The retrieval request to process. - * @param querySourceAuthorization Token identifying the user for which the query is being executed. This token is - * used to enforce security restrictions on documents. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the output contract for the retrieval response. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public KnowledgeBaseRetrievalResponse retrieve(String knowledgeBaseName, - KnowledgeBaseRetrievalRequest retrievalRequest, String querySourceAuthorization) { - // Generated convenience method for hiddenGeneratedRetrieveWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (querySourceAuthorization != null) { - requestOptions.setHeader(HttpHeaderName.fromString("x-ms-query-source-authorization"), - querySourceAuthorization); - } - return hiddenGeneratedRetrieveWithResponse(knowledgeBaseName, BinaryData.fromObject(retrievalRequest), - requestOptions).getValue().toObject(KnowledgeBaseRetrievalResponse.class); - } - /** * KnowledgeBase retrieves relevant data from backing stores. * @@ -153,8 +125,8 @@ public Response retrieveWithResponse(String know * * * - * + * *
Header Parameters
NameTypeRequiredDescription
x-ms-query-source-authorizationStringNoToken identifying the user for which - * the query is being executed. This token is used to enforce security restrictions on documents.
AcceptStringNoThe Accept header. Allowed values: + * "application/json;odata.metadata=minimal".
* You can add these to a request with {@link RequestOptions#addHeader} *

Request Body Schema

@@ -178,19 +150,14 @@ public Response retrieveWithResponse(String know * } * ] * maxRuntimeInSeconds: Integer (Optional) - * maxOutputSize: Integer (Optional) - * retrievalReasoningEffort (Optional): { - * kind: String(minimal/low/medium) (Required) - * } + * maxOutputSizeInTokens: Integer (Optional) * includeActivity: Boolean (Optional) - * outputMode: String(extractiveData/answerSynthesis) (Optional) * knowledgeSourceParams (Optional): [ * (Optional){ - * kind: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required) + * kind: String(searchIndex/azureBlob/indexedOneLake/web) (Required) * knowledgeSourceName: String (Required) * includeReferences: Boolean (Optional) * includeReferenceSourceData: Boolean (Optional) - * alwaysQuerySource: Boolean (Optional) * rerankerThreshold: Float (Optional) * } * ] @@ -215,7 +182,7 @@ public Response retrieveWithResponse(String know * ] * activity (Optional): [ * (Optional){ - * type: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint/modelQueryPlanning/modelAnswerSynthesis/agenticReasoning) (Required) + * type: String(searchIndex/azureBlob/indexedOneLake/web/agenticReasoning) (Required) * id: int (Required) * elapsedMs: Integer (Optional) * error (Optional): { @@ -238,7 +205,7 @@ public Response retrieveWithResponse(String know * ] * references (Optional): [ * (Optional){ - * type: String(searchIndex/azureBlob/indexedSharePoint/indexedOneLake/web/remoteSharePoint) (Required) + * type: String(searchIndex/azureBlob/indexedOneLake/web) (Required) * id: String (Required) * activitySource: int (Required) * sourceData (Optional): { @@ -266,4 +233,31 @@ Response hiddenGeneratedRetrieveWithResponse(String knowledgeBaseNam RequestOptions requestOptions) { return this.serviceClient.retrieveWithResponse(knowledgeBaseName, retrievalRequest, requestOptions); } + + /** + * KnowledgeBase retrieves relevant data from backing stores. + * + * @param knowledgeBaseName The name of the knowledge base. + * @param retrievalRequest The retrieval request to process. + * @param accept The Accept header. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the output contract for the retrieval response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public KnowledgeBaseRetrievalResponse retrieve(String knowledgeBaseName, + KnowledgeBaseRetrievalRequest retrievalRequest, CreateOrUpdateRequestAccept48 accept) { + // Generated convenience method for hiddenGeneratedRetrieveWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (accept != null) { + requestOptions.setHeader(HttpHeaderName.ACCEPT, accept.toString()); + } + return hiddenGeneratedRetrieveWithResponse(knowledgeBaseName, BinaryData.fromObject(retrievalRequest), + requestOptions).getValue().toObject(KnowledgeBaseRetrievalResponse.class); + } } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/AzureBlobKnowledgeSourceParams.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/AzureBlobKnowledgeSourceParams.java index f13b5941d71d..5cc0ad33a4dc 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/AzureBlobKnowledgeSourceParams.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/AzureBlobKnowledgeSourceParams.java @@ -64,16 +64,6 @@ public AzureBlobKnowledgeSourceParams setIncludeReferenceSourceData(Boolean incl return this; } - /** - * {@inheritDoc} - */ - @Generated - @Override - public AzureBlobKnowledgeSourceParams setAlwaysQuerySource(Boolean alwaysQuerySource) { - super.setAlwaysQuerySource(alwaysQuerySource); - return this; - } - /** * {@inheritDoc} */ @@ -94,7 +84,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("knowledgeSourceName", getKnowledgeSourceName()); jsonWriter.writeBooleanField("includeReferences", isIncludeReferences()); jsonWriter.writeBooleanField("includeReferenceSourceData", isIncludeReferenceSourceData()); - jsonWriter.writeBooleanField("alwaysQuerySource", isAlwaysQuerySource()); jsonWriter.writeNumberField("rerankerThreshold", getRerankerThreshold()); jsonWriter.writeStringField("kind", this.kind == null ? null : this.kind.toString()); return jsonWriter.writeEndObject(); @@ -115,7 +104,6 @@ public static AzureBlobKnowledgeSourceParams fromJson(JsonReader jsonReader) thr String knowledgeSourceName = null; Boolean includeReferences = null; Boolean includeReferenceSourceData = null; - Boolean alwaysQuerySource = null; Float rerankerThreshold = null; KnowledgeSourceKind kind = KnowledgeSourceKind.AZURE_BLOB; while (reader.nextToken() != JsonToken.END_OBJECT) { @@ -127,8 +115,6 @@ public static AzureBlobKnowledgeSourceParams fromJson(JsonReader jsonReader) thr includeReferences = reader.getNullable(JsonReader::getBoolean); } else if ("includeReferenceSourceData".equals(fieldName)) { includeReferenceSourceData = reader.getNullable(JsonReader::getBoolean); - } else if ("alwaysQuerySource".equals(fieldName)) { - alwaysQuerySource = reader.getNullable(JsonReader::getBoolean); } else if ("rerankerThreshold".equals(fieldName)) { rerankerThreshold = reader.getNullable(JsonReader::getFloat); } else if ("kind".equals(fieldName)) { @@ -141,7 +127,6 @@ public static AzureBlobKnowledgeSourceParams fromJson(JsonReader jsonReader) thr = new AzureBlobKnowledgeSourceParams(knowledgeSourceName); deserializedAzureBlobKnowledgeSourceParams.setIncludeReferences(includeReferences); deserializedAzureBlobKnowledgeSourceParams.setIncludeReferenceSourceData(includeReferenceSourceData); - deserializedAzureBlobKnowledgeSourceParams.setAlwaysQuerySource(alwaysQuerySource); deserializedAzureBlobKnowledgeSourceParams.setRerankerThreshold(rerankerThreshold); deserializedAzureBlobKnowledgeSourceParams.kind = kind; return deserializedAzureBlobKnowledgeSourceParams; diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/IndexedOneLakeKnowledgeSourceParams.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/IndexedOneLakeKnowledgeSourceParams.java index 526450d5a24a..fd5182308dfb 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/IndexedOneLakeKnowledgeSourceParams.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/IndexedOneLakeKnowledgeSourceParams.java @@ -64,16 +64,6 @@ public IndexedOneLakeKnowledgeSourceParams setIncludeReferenceSourceData(Boolean return this; } - /** - * {@inheritDoc} - */ - @Generated - @Override - public IndexedOneLakeKnowledgeSourceParams setAlwaysQuerySource(Boolean alwaysQuerySource) { - super.setAlwaysQuerySource(alwaysQuerySource); - return this; - } - /** * {@inheritDoc} */ @@ -94,7 +84,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("knowledgeSourceName", getKnowledgeSourceName()); jsonWriter.writeBooleanField("includeReferences", isIncludeReferences()); jsonWriter.writeBooleanField("includeReferenceSourceData", isIncludeReferenceSourceData()); - jsonWriter.writeBooleanField("alwaysQuerySource", isAlwaysQuerySource()); jsonWriter.writeNumberField("rerankerThreshold", getRerankerThreshold()); jsonWriter.writeStringField("kind", this.kind == null ? null : this.kind.toString()); return jsonWriter.writeEndObject(); @@ -115,7 +104,6 @@ public static IndexedOneLakeKnowledgeSourceParams fromJson(JsonReader jsonReader String knowledgeSourceName = null; Boolean includeReferences = null; Boolean includeReferenceSourceData = null; - Boolean alwaysQuerySource = null; Float rerankerThreshold = null; KnowledgeSourceKind kind = KnowledgeSourceKind.INDEXED_ONE_LAKE; while (reader.nextToken() != JsonToken.END_OBJECT) { @@ -127,8 +115,6 @@ public static IndexedOneLakeKnowledgeSourceParams fromJson(JsonReader jsonReader includeReferences = reader.getNullable(JsonReader::getBoolean); } else if ("includeReferenceSourceData".equals(fieldName)) { includeReferenceSourceData = reader.getNullable(JsonReader::getBoolean); - } else if ("alwaysQuerySource".equals(fieldName)) { - alwaysQuerySource = reader.getNullable(JsonReader::getBoolean); } else if ("rerankerThreshold".equals(fieldName)) { rerankerThreshold = reader.getNullable(JsonReader::getFloat); } else if ("kind".equals(fieldName)) { @@ -141,7 +127,6 @@ public static IndexedOneLakeKnowledgeSourceParams fromJson(JsonReader jsonReader = new IndexedOneLakeKnowledgeSourceParams(knowledgeSourceName); deserializedIndexedOneLakeKnowledgeSourceParams.setIncludeReferences(includeReferences); deserializedIndexedOneLakeKnowledgeSourceParams.setIncludeReferenceSourceData(includeReferenceSourceData); - deserializedIndexedOneLakeKnowledgeSourceParams.setAlwaysQuerySource(alwaysQuerySource); deserializedIndexedOneLakeKnowledgeSourceParams.setRerankerThreshold(rerankerThreshold); deserializedIndexedOneLakeKnowledgeSourceParams.kind = kind; return deserializedIndexedOneLakeKnowledgeSourceParams; diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/IndexedSharePointKnowledgeSourceParams.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/IndexedSharePointKnowledgeSourceParams.java deleted file mode 100644 index 4b36e1b8f917..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/IndexedSharePointKnowledgeSourceParams.java +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.knowledgebases.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import com.azure.search.documents.indexes.models.KnowledgeSourceKind; -import java.io.IOException; - -/** - * Specifies runtime parameters for a indexed SharePoint knowledge source. - */ -@Fluent -public final class IndexedSharePointKnowledgeSourceParams extends KnowledgeSourceParams { - - /* - * The type of the knowledge source. - */ - @Generated - private KnowledgeSourceKind kind = KnowledgeSourceKind.INDEXED_SHARE_POINT; - - /** - * Creates an instance of IndexedSharePointKnowledgeSourceParams class. - * - * @param knowledgeSourceName the knowledgeSourceName value to set. - */ - @Generated - public IndexedSharePointKnowledgeSourceParams(String knowledgeSourceName) { - super(knowledgeSourceName); - } - - /** - * Get the kind property: The type of the knowledge source. - * - * @return the kind value. - */ - @Generated - @Override - public KnowledgeSourceKind getKind() { - return this.kind; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public IndexedSharePointKnowledgeSourceParams setIncludeReferences(Boolean includeReferences) { - super.setIncludeReferences(includeReferences); - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public IndexedSharePointKnowledgeSourceParams setIncludeReferenceSourceData(Boolean includeReferenceSourceData) { - super.setIncludeReferenceSourceData(includeReferenceSourceData); - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public IndexedSharePointKnowledgeSourceParams setAlwaysQuerySource(Boolean alwaysQuerySource) { - super.setAlwaysQuerySource(alwaysQuerySource); - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public IndexedSharePointKnowledgeSourceParams setRerankerThreshold(Float rerankerThreshold) { - super.setRerankerThreshold(rerankerThreshold); - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("knowledgeSourceName", getKnowledgeSourceName()); - jsonWriter.writeBooleanField("includeReferences", isIncludeReferences()); - jsonWriter.writeBooleanField("includeReferenceSourceData", isIncludeReferenceSourceData()); - jsonWriter.writeBooleanField("alwaysQuerySource", isAlwaysQuerySource()); - jsonWriter.writeNumberField("rerankerThreshold", getRerankerThreshold()); - jsonWriter.writeStringField("kind", this.kind == null ? null : this.kind.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of IndexedSharePointKnowledgeSourceParams from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of IndexedSharePointKnowledgeSourceParams if the JsonReader was pointing to an instance of - * it, or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the IndexedSharePointKnowledgeSourceParams. - */ - @Generated - public static IndexedSharePointKnowledgeSourceParams fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String knowledgeSourceName = null; - Boolean includeReferences = null; - Boolean includeReferenceSourceData = null; - Boolean alwaysQuerySource = null; - Float rerankerThreshold = null; - KnowledgeSourceKind kind = KnowledgeSourceKind.INDEXED_SHARE_POINT; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("knowledgeSourceName".equals(fieldName)) { - knowledgeSourceName = reader.getString(); - } else if ("includeReferences".equals(fieldName)) { - includeReferences = reader.getNullable(JsonReader::getBoolean); - } else if ("includeReferenceSourceData".equals(fieldName)) { - includeReferenceSourceData = reader.getNullable(JsonReader::getBoolean); - } else if ("alwaysQuerySource".equals(fieldName)) { - alwaysQuerySource = reader.getNullable(JsonReader::getBoolean); - } else if ("rerankerThreshold".equals(fieldName)) { - rerankerThreshold = reader.getNullable(JsonReader::getFloat); - } else if ("kind".equals(fieldName)) { - kind = KnowledgeSourceKind.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - IndexedSharePointKnowledgeSourceParams deserializedIndexedSharePointKnowledgeSourceParams - = new IndexedSharePointKnowledgeSourceParams(knowledgeSourceName); - deserializedIndexedSharePointKnowledgeSourceParams.setIncludeReferences(includeReferences); - deserializedIndexedSharePointKnowledgeSourceParams - .setIncludeReferenceSourceData(includeReferenceSourceData); - deserializedIndexedSharePointKnowledgeSourceParams.setAlwaysQuerySource(alwaysQuerySource); - deserializedIndexedSharePointKnowledgeSourceParams.setRerankerThreshold(rerankerThreshold); - deserializedIndexedSharePointKnowledgeSourceParams.kind = kind; - return deserializedIndexedSharePointKnowledgeSourceParams; - }); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseActivityRecord.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseActivityRecord.java index 38cfe2d12d3e..922508669d9e 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseActivityRecord.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseActivityRecord.java @@ -160,11 +160,7 @@ public static KnowledgeBaseActivityRecord fromJson(JsonReader jsonReader) throws } } // Use the discriminator value to determine which subtype should be deserialized. - if ("modelQueryPlanning".equals(discriminatorValue)) { - return KnowledgeBaseModelQueryPlanningActivityRecord.fromJson(readerToUse.reset()); - } else if ("modelAnswerSynthesis".equals(discriminatorValue)) { - return KnowledgeBaseModelAnswerSynthesisActivityRecord.fromJson(readerToUse.reset()); - } else if ("agenticReasoning".equals(discriminatorValue)) { + if ("agenticReasoning".equals(discriminatorValue)) { return KnowledgeBaseAgenticReasoningActivityRecord.fromJson(readerToUse.reset()); } else { return fromJsonKnownDiscriminator(readerToUse.reset()); diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseActivityRecordType.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseActivityRecordType.java index 463bfa50f26e..106ea269b783 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseActivityRecordType.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseActivityRecordType.java @@ -24,12 +24,6 @@ public final class KnowledgeBaseActivityRecordType extends ExpandableStringEnum< @Generated public static final KnowledgeBaseActivityRecordType AZURE_BLOB = fromString("azureBlob"); - /** - * Indexed SharePoint retrieval activity. - */ - @Generated - public static final KnowledgeBaseActivityRecordType INDEXED_SHARE_POINT = fromString("indexedSharePoint"); - /** * Indexed OneLake retrieval activity. */ @@ -42,24 +36,6 @@ public final class KnowledgeBaseActivityRecordType extends ExpandableStringEnum< @Generated public static final KnowledgeBaseActivityRecordType WEB = fromString("web"); - /** - * Remote SharePoint retrieval activity. - */ - @Generated - public static final KnowledgeBaseActivityRecordType REMOTE_SHARE_POINT = fromString("remoteSharePoint"); - - /** - * LLM query planning activity. - */ - @Generated - public static final KnowledgeBaseActivityRecordType MODEL_QUERY_PLANNING = fromString("modelQueryPlanning"); - - /** - * LLM answer synthesis activity. - */ - @Generated - public static final KnowledgeBaseActivityRecordType MODEL_ANSWER_SYNTHESIS = fromString("modelAnswerSynthesis"); - /** * Agentic reasoning activity. */ diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseIndexedSharePointReference.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseIndexedSharePointReference.java deleted file mode 100644 index 858f48b1e633..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseIndexedSharePointReference.java +++ /dev/null @@ -1,126 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.knowledgebases.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.Map; - -/** - * Represents an indexed SharePoint document reference. - */ -@Immutable -public final class KnowledgeBaseIndexedSharePointReference extends KnowledgeBaseReference { - - /* - * The type of the reference. - */ - @Generated - private KnowledgeBaseReferenceType type = KnowledgeBaseReferenceType.INDEXED_SHARE_POINT; - - /* - * The document URL for the reference. - */ - @Generated - private String docUrl; - - /** - * Creates an instance of KnowledgeBaseIndexedSharePointReference class. - * - * @param id the id value to set. - * @param activitySource the activitySource value to set. - */ - @Generated - private KnowledgeBaseIndexedSharePointReference(String id, int activitySource) { - super(id, activitySource); - } - - /** - * Get the type property: The type of the reference. - * - * @return the type value. - */ - @Generated - @Override - public KnowledgeBaseReferenceType getType() { - return this.type; - } - - /** - * Get the docUrl property: The document URL for the reference. - * - * @return the docUrl value. - */ - @Generated - public String getDocUrl() { - return this.docUrl; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", getId()); - jsonWriter.writeIntField("activitySource", getActivitySource()); - jsonWriter.writeMapField("sourceData", getSourceData(), (writer, element) -> writer.writeUntyped(element)); - jsonWriter.writeNumberField("rerankerScore", getRerankerScore()); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("docUrl", this.docUrl); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of KnowledgeBaseIndexedSharePointReference from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of KnowledgeBaseIndexedSharePointReference if the JsonReader was pointing to an instance of - * it, or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the KnowledgeBaseIndexedSharePointReference. - */ - @Generated - public static KnowledgeBaseIndexedSharePointReference fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String id = null; - int activitySource = 0; - Map sourceData = null; - Float rerankerScore = null; - KnowledgeBaseReferenceType type = KnowledgeBaseReferenceType.INDEXED_SHARE_POINT; - String docUrl = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("activitySource".equals(fieldName)) { - activitySource = reader.getInt(); - } else if ("sourceData".equals(fieldName)) { - sourceData = reader.readMap(reader1 -> reader1.readUntyped()); - } else if ("rerankerScore".equals(fieldName)) { - rerankerScore = reader.getNullable(JsonReader::getFloat); - } else if ("type".equals(fieldName)) { - type = KnowledgeBaseReferenceType.fromString(reader.getString()); - } else if ("docUrl".equals(fieldName)) { - docUrl = reader.getString(); - } else { - reader.skipChildren(); - } - } - KnowledgeBaseIndexedSharePointReference deserializedKnowledgeBaseIndexedSharePointReference - = new KnowledgeBaseIndexedSharePointReference(id, activitySource); - deserializedKnowledgeBaseIndexedSharePointReference.setSourceData(sourceData); - deserializedKnowledgeBaseIndexedSharePointReference.setRerankerScore(rerankerScore); - deserializedKnowledgeBaseIndexedSharePointReference.type = type; - deserializedKnowledgeBaseIndexedSharePointReference.docUrl = docUrl; - return deserializedKnowledgeBaseIndexedSharePointReference; - }); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseModelAnswerSynthesisActivityRecord.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseModelAnswerSynthesisActivityRecord.java deleted file mode 100644 index d4a1c0703836..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseModelAnswerSynthesisActivityRecord.java +++ /dev/null @@ -1,141 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.knowledgebases.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Represents an LLM answer synthesis activity record. - */ -@Immutable -public final class KnowledgeBaseModelAnswerSynthesisActivityRecord extends KnowledgeBaseActivityRecord { - - /* - * The type of the activity record. - */ - @Generated - private KnowledgeBaseActivityRecordType type = KnowledgeBaseActivityRecordType.MODEL_ANSWER_SYNTHESIS; - - /* - * The number of input tokens for the LLM answer synthesis activity. - */ - @Generated - private Integer inputTokens; - - /* - * The number of output tokens for the LLM answer synthesis activity. - */ - @Generated - private Integer outputTokens; - - /** - * Creates an instance of KnowledgeBaseModelAnswerSynthesisActivityRecord class. - * - * @param id the id value to set. - */ - @Generated - private KnowledgeBaseModelAnswerSynthesisActivityRecord(int id) { - super(id); - } - - /** - * Get the type property: The type of the activity record. - * - * @return the type value. - */ - @Generated - @Override - public KnowledgeBaseActivityRecordType getType() { - return this.type; - } - - /** - * Get the inputTokens property: The number of input tokens for the LLM answer synthesis activity. - * - * @return the inputTokens value. - */ - @Generated - public Integer getInputTokens() { - return this.inputTokens; - } - - /** - * Get the outputTokens property: The number of output tokens for the LLM answer synthesis activity. - * - * @return the outputTokens value. - */ - @Generated - public Integer getOutputTokens() { - return this.outputTokens; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeIntField("id", getId()); - jsonWriter.writeNumberField("elapsedMs", getElapsedMs()); - jsonWriter.writeJsonField("error", getError()); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeNumberField("inputTokens", this.inputTokens); - jsonWriter.writeNumberField("outputTokens", this.outputTokens); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of KnowledgeBaseModelAnswerSynthesisActivityRecord from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of KnowledgeBaseModelAnswerSynthesisActivityRecord if the JsonReader was pointing to an - * instance of it, or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the KnowledgeBaseModelAnswerSynthesisActivityRecord. - */ - @Generated - public static KnowledgeBaseModelAnswerSynthesisActivityRecord fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - int id = 0; - Integer elapsedMs = null; - KnowledgeBaseErrorDetail error = null; - KnowledgeBaseActivityRecordType type = KnowledgeBaseActivityRecordType.MODEL_ANSWER_SYNTHESIS; - Integer inputTokens = null; - Integer outputTokens = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("id".equals(fieldName)) { - id = reader.getInt(); - } else if ("elapsedMs".equals(fieldName)) { - elapsedMs = reader.getNullable(JsonReader::getInt); - } else if ("error".equals(fieldName)) { - error = KnowledgeBaseErrorDetail.fromJson(reader); - } else if ("type".equals(fieldName)) { - type = KnowledgeBaseActivityRecordType.fromString(reader.getString()); - } else if ("inputTokens".equals(fieldName)) { - inputTokens = reader.getNullable(JsonReader::getInt); - } else if ("outputTokens".equals(fieldName)) { - outputTokens = reader.getNullable(JsonReader::getInt); - } else { - reader.skipChildren(); - } - } - KnowledgeBaseModelAnswerSynthesisActivityRecord deserializedKnowledgeBaseModelAnswerSynthesisActivityRecord - = new KnowledgeBaseModelAnswerSynthesisActivityRecord(id); - deserializedKnowledgeBaseModelAnswerSynthesisActivityRecord.setElapsedMs(elapsedMs); - deserializedKnowledgeBaseModelAnswerSynthesisActivityRecord.setError(error); - deserializedKnowledgeBaseModelAnswerSynthesisActivityRecord.type = type; - deserializedKnowledgeBaseModelAnswerSynthesisActivityRecord.inputTokens = inputTokens; - deserializedKnowledgeBaseModelAnswerSynthesisActivityRecord.outputTokens = outputTokens; - return deserializedKnowledgeBaseModelAnswerSynthesisActivityRecord; - }); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseModelQueryPlanningActivityRecord.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseModelQueryPlanningActivityRecord.java deleted file mode 100644 index d29606c5f856..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseModelQueryPlanningActivityRecord.java +++ /dev/null @@ -1,141 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.knowledgebases.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Represents an LLM query planning activity record. - */ -@Immutable -public final class KnowledgeBaseModelQueryPlanningActivityRecord extends KnowledgeBaseActivityRecord { - - /* - * The type of the activity record. - */ - @Generated - private KnowledgeBaseActivityRecordType type = KnowledgeBaseActivityRecordType.MODEL_QUERY_PLANNING; - - /* - * The number of input tokens for the LLM query planning activity. - */ - @Generated - private Integer inputTokens; - - /* - * The number of output tokens for the LLM query planning activity. - */ - @Generated - private Integer outputTokens; - - /** - * Creates an instance of KnowledgeBaseModelQueryPlanningActivityRecord class. - * - * @param id the id value to set. - */ - @Generated - private KnowledgeBaseModelQueryPlanningActivityRecord(int id) { - super(id); - } - - /** - * Get the type property: The type of the activity record. - * - * @return the type value. - */ - @Generated - @Override - public KnowledgeBaseActivityRecordType getType() { - return this.type; - } - - /** - * Get the inputTokens property: The number of input tokens for the LLM query planning activity. - * - * @return the inputTokens value. - */ - @Generated - public Integer getInputTokens() { - return this.inputTokens; - } - - /** - * Get the outputTokens property: The number of output tokens for the LLM query planning activity. - * - * @return the outputTokens value. - */ - @Generated - public Integer getOutputTokens() { - return this.outputTokens; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeIntField("id", getId()); - jsonWriter.writeNumberField("elapsedMs", getElapsedMs()); - jsonWriter.writeJsonField("error", getError()); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeNumberField("inputTokens", this.inputTokens); - jsonWriter.writeNumberField("outputTokens", this.outputTokens); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of KnowledgeBaseModelQueryPlanningActivityRecord from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of KnowledgeBaseModelQueryPlanningActivityRecord if the JsonReader was pointing to an - * instance of it, or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the KnowledgeBaseModelQueryPlanningActivityRecord. - */ - @Generated - public static KnowledgeBaseModelQueryPlanningActivityRecord fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - int id = 0; - Integer elapsedMs = null; - KnowledgeBaseErrorDetail error = null; - KnowledgeBaseActivityRecordType type = KnowledgeBaseActivityRecordType.MODEL_QUERY_PLANNING; - Integer inputTokens = null; - Integer outputTokens = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("id".equals(fieldName)) { - id = reader.getInt(); - } else if ("elapsedMs".equals(fieldName)) { - elapsedMs = reader.getNullable(JsonReader::getInt); - } else if ("error".equals(fieldName)) { - error = KnowledgeBaseErrorDetail.fromJson(reader); - } else if ("type".equals(fieldName)) { - type = KnowledgeBaseActivityRecordType.fromString(reader.getString()); - } else if ("inputTokens".equals(fieldName)) { - inputTokens = reader.getNullable(JsonReader::getInt); - } else if ("outputTokens".equals(fieldName)) { - outputTokens = reader.getNullable(JsonReader::getInt); - } else { - reader.skipChildren(); - } - } - KnowledgeBaseModelQueryPlanningActivityRecord deserializedKnowledgeBaseModelQueryPlanningActivityRecord - = new KnowledgeBaseModelQueryPlanningActivityRecord(id); - deserializedKnowledgeBaseModelQueryPlanningActivityRecord.setElapsedMs(elapsedMs); - deserializedKnowledgeBaseModelQueryPlanningActivityRecord.setError(error); - deserializedKnowledgeBaseModelQueryPlanningActivityRecord.type = type; - deserializedKnowledgeBaseModelQueryPlanningActivityRecord.inputTokens = inputTokens; - deserializedKnowledgeBaseModelQueryPlanningActivityRecord.outputTokens = outputTokens; - return deserializedKnowledgeBaseModelQueryPlanningActivityRecord; - }); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseReference.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseReference.java index 70f670e3b31b..e73471a58ddb 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseReference.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseReference.java @@ -180,14 +180,10 @@ public static KnowledgeBaseReference fromJson(JsonReader jsonReader) throws IOEx return KnowledgeBaseSearchIndexReference.fromJson(readerToUse.reset()); } else if ("azureBlob".equals(discriminatorValue)) { return KnowledgeBaseAzureBlobReference.fromJson(readerToUse.reset()); - } else if ("indexedSharePoint".equals(discriminatorValue)) { - return KnowledgeBaseIndexedSharePointReference.fromJson(readerToUse.reset()); } else if ("indexedOneLake".equals(discriminatorValue)) { return KnowledgeBaseIndexedOneLakeReference.fromJson(readerToUse.reset()); } else if ("web".equals(discriminatorValue)) { return KnowledgeBaseWebReference.fromJson(readerToUse.reset()); - } else if ("remoteSharePoint".equals(discriminatorValue)) { - return KnowledgeBaseRemoteSharePointReference.fromJson(readerToUse.reset()); } else { return fromJsonKnownDiscriminator(readerToUse.reset()); } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseReferenceType.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseReferenceType.java index 293e0b1d17e6..4dbe722c4fea 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseReferenceType.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseReferenceType.java @@ -24,12 +24,6 @@ public final class KnowledgeBaseReferenceType extends ExpandableStringEnum writer.writeUntyped(element)); - jsonWriter.writeNumberField("rerankerScore", getRerankerScore()); - jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeStringField("webUrl", this.webUrl); - jsonWriter.writeJsonField("searchSensitivityLabelInfo", this.searchSensitivityLabelInfo); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of KnowledgeBaseRemoteSharePointReference from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of KnowledgeBaseRemoteSharePointReference if the JsonReader was pointing to an instance of - * it, or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the KnowledgeBaseRemoteSharePointReference. - */ - @Generated - public static KnowledgeBaseRemoteSharePointReference fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String id = null; - int activitySource = 0; - Map sourceData = null; - Float rerankerScore = null; - KnowledgeBaseReferenceType type = KnowledgeBaseReferenceType.REMOTE_SHARE_POINT; - String webUrl = null; - SharePointSensitivityLabelInfo searchSensitivityLabelInfo = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("id".equals(fieldName)) { - id = reader.getString(); - } else if ("activitySource".equals(fieldName)) { - activitySource = reader.getInt(); - } else if ("sourceData".equals(fieldName)) { - sourceData = reader.readMap(reader1 -> reader1.readUntyped()); - } else if ("rerankerScore".equals(fieldName)) { - rerankerScore = reader.getNullable(JsonReader::getFloat); - } else if ("type".equals(fieldName)) { - type = KnowledgeBaseReferenceType.fromString(reader.getString()); - } else if ("webUrl".equals(fieldName)) { - webUrl = reader.getString(); - } else if ("searchSensitivityLabelInfo".equals(fieldName)) { - searchSensitivityLabelInfo = SharePointSensitivityLabelInfo.fromJson(reader); - } else { - reader.skipChildren(); - } - } - KnowledgeBaseRemoteSharePointReference deserializedKnowledgeBaseRemoteSharePointReference - = new KnowledgeBaseRemoteSharePointReference(id, activitySource); - deserializedKnowledgeBaseRemoteSharePointReference.setSourceData(sourceData); - deserializedKnowledgeBaseRemoteSharePointReference.setRerankerScore(rerankerScore); - deserializedKnowledgeBaseRemoteSharePointReference.type = type; - deserializedKnowledgeBaseRemoteSharePointReference.webUrl = webUrl; - deserializedKnowledgeBaseRemoteSharePointReference.searchSensitivityLabelInfo = searchSensitivityLabelInfo; - return deserializedKnowledgeBaseRemoteSharePointReference; - }); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseRetrievalRequest.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseRetrievalRequest.java index 44c53c0b1786..e7124ec78c42 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseRetrievalRequest.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseRetrievalRequest.java @@ -37,30 +37,12 @@ public final class KnowledgeBaseRetrievalRequest implements JsonSerializable writer.writeJson(element)); jsonWriter.writeArrayField("intents", this.intents, (writer, element) -> writer.writeJson(element)); jsonWriter.writeNumberField("maxRuntimeInSeconds", this.maxRuntimeInSeconds); - jsonWriter.writeNumberField("maxOutputSize", this.maxOutputSize); - jsonWriter.writeJsonField("retrievalReasoningEffort", this.retrievalReasoningEffort); + jsonWriter.writeNumberField("maxOutputSizeInTokens", this.maxOutputSizeInTokens); jsonWriter.writeBooleanField("includeActivity", this.includeActivity); - jsonWriter.writeStringField("outputMode", this.outputMode == null ? null : this.outputMode.toString()); jsonWriter.writeArrayField("knowledgeSourceParams", this.knowledgeSourceParams, (writer, element) -> writer.writeJson(element)); return jsonWriter.writeEndObject(); @@ -319,17 +232,12 @@ public static KnowledgeBaseRetrievalRequest fromJson(JsonReader jsonReader) thro } else if ("maxRuntimeInSeconds".equals(fieldName)) { deserializedKnowledgeBaseRetrievalRequest.maxRuntimeInSeconds = reader.getNullable(JsonReader::getInt); - } else if ("maxOutputSize".equals(fieldName)) { - deserializedKnowledgeBaseRetrievalRequest.maxOutputSize = reader.getNullable(JsonReader::getInt); - } else if ("retrievalReasoningEffort".equals(fieldName)) { - deserializedKnowledgeBaseRetrievalRequest.retrievalReasoningEffort - = KnowledgeRetrievalReasoningEffort.fromJson(reader); + } else if ("maxOutputSizeInTokens".equals(fieldName)) { + deserializedKnowledgeBaseRetrievalRequest.maxOutputSizeInTokens + = reader.getNullable(JsonReader::getInt); } else if ("includeActivity".equals(fieldName)) { deserializedKnowledgeBaseRetrievalRequest.includeActivity = reader.getNullable(JsonReader::getBoolean); - } else if ("outputMode".equals(fieldName)) { - deserializedKnowledgeBaseRetrievalRequest.outputMode - = KnowledgeRetrievalOutputMode.fromString(reader.getString()); } else if ("knowledgeSourceParams".equals(fieldName)) { List knowledgeSourceParams = reader.readArray(reader1 -> KnowledgeSourceParams.fromJson(reader1)); @@ -341,4 +249,32 @@ public static KnowledgeBaseRetrievalRequest fromJson(JsonReader jsonReader) thro return deserializedKnowledgeBaseRetrievalRequest; }); } + + /* + * Limits the maximum size of the content in the output. + */ + @Generated + private Integer maxOutputSizeInTokens; + + /** + * Get the maxOutputSizeInTokens property: Limits the maximum size of the content in the output. + * + * @return the maxOutputSizeInTokens value. + */ + @Generated + public Integer getMaxOutputSizeInTokens() { + return this.maxOutputSizeInTokens; + } + + /** + * Set the maxOutputSizeInTokens property: Limits the maximum size of the content in the output. + * + * @param maxOutputSizeInTokens the maxOutputSizeInTokens value to set. + * @return the KnowledgeBaseRetrievalRequest object itself. + */ + @Generated + public KnowledgeBaseRetrievalRequest setMaxOutputSizeInTokens(Integer maxOutputSizeInTokens) { + this.maxOutputSizeInTokens = maxOutputSizeInTokens; + return this; + } } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalLowReasoningEffort.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalLowReasoningEffort.java deleted file mode 100644 index 06461e970eaa..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalLowReasoningEffort.java +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.knowledgebases.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Run knowledge retrieval with low reasoning effort. - */ -@Immutable -public final class KnowledgeRetrievalLowReasoningEffort extends KnowledgeRetrievalReasoningEffort { - - /* - * The kind of reasoning effort. - */ - @Generated - private KnowledgeRetrievalReasoningEffortKind kind = KnowledgeRetrievalReasoningEffortKind.LOW; - - /** - * Creates an instance of KnowledgeRetrievalLowReasoningEffort class. - */ - @Generated - public KnowledgeRetrievalLowReasoningEffort() { - } - - /** - * Get the kind property: The kind of reasoning effort. - * - * @return the kind value. - */ - @Generated - @Override - public KnowledgeRetrievalReasoningEffortKind getKind() { - return this.kind; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("kind", this.kind == null ? null : this.kind.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of KnowledgeRetrievalLowReasoningEffort from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of KnowledgeRetrievalLowReasoningEffort if the JsonReader was pointing to an instance of it, - * or null if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the KnowledgeRetrievalLowReasoningEffort. - */ - @Generated - public static KnowledgeRetrievalLowReasoningEffort fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - KnowledgeRetrievalLowReasoningEffort deserializedKnowledgeRetrievalLowReasoningEffort - = new KnowledgeRetrievalLowReasoningEffort(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("kind".equals(fieldName)) { - deserializedKnowledgeRetrievalLowReasoningEffort.kind - = KnowledgeRetrievalReasoningEffortKind.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedKnowledgeRetrievalLowReasoningEffort; - }); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalMediumReasoningEffort.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalMediumReasoningEffort.java deleted file mode 100644 index 7e2332ab4a0e..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalMediumReasoningEffort.java +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.knowledgebases.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Run knowledge retrieval with medium reasoning effort. - */ -@Immutable -public final class KnowledgeRetrievalMediumReasoningEffort extends KnowledgeRetrievalReasoningEffort { - - /* - * The kind of reasoning effort. - */ - @Generated - private KnowledgeRetrievalReasoningEffortKind kind = KnowledgeRetrievalReasoningEffortKind.MEDIUM; - - /** - * Creates an instance of KnowledgeRetrievalMediumReasoningEffort class. - */ - @Generated - public KnowledgeRetrievalMediumReasoningEffort() { - } - - /** - * Get the kind property: The kind of reasoning effort. - * - * @return the kind value. - */ - @Generated - @Override - public KnowledgeRetrievalReasoningEffortKind getKind() { - return this.kind; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("kind", this.kind == null ? null : this.kind.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of KnowledgeRetrievalMediumReasoningEffort from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of KnowledgeRetrievalMediumReasoningEffort if the JsonReader was pointing to an instance of - * it, or null if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the KnowledgeRetrievalMediumReasoningEffort. - */ - @Generated - public static KnowledgeRetrievalMediumReasoningEffort fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - KnowledgeRetrievalMediumReasoningEffort deserializedKnowledgeRetrievalMediumReasoningEffort - = new KnowledgeRetrievalMediumReasoningEffort(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("kind".equals(fieldName)) { - deserializedKnowledgeRetrievalMediumReasoningEffort.kind - = KnowledgeRetrievalReasoningEffortKind.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedKnowledgeRetrievalMediumReasoningEffort; - }); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalMinimalReasoningEffort.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalMinimalReasoningEffort.java index 987a7051170e..8daa10486d82 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalMinimalReasoningEffort.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalMinimalReasoningEffort.java @@ -26,7 +26,7 @@ public final class KnowledgeRetrievalMinimalReasoningEffort extends KnowledgeRet * Creates an instance of KnowledgeRetrievalMinimalReasoningEffort class. */ @Generated - public KnowledgeRetrievalMinimalReasoningEffort() { + private KnowledgeRetrievalMinimalReasoningEffort() { } /** diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalOutputMode.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalOutputMode.java deleted file mode 100644 index 80eb03e33897..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalOutputMode.java +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.knowledgebases.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * The output configuration for this retrieval. - */ -public final class KnowledgeRetrievalOutputMode extends ExpandableStringEnum { - - /** - * Return data from the knowledge sources directly without generative alteration. - */ - @Generated - public static final KnowledgeRetrievalOutputMode EXTRACTIVE_DATA = fromString("extractiveData"); - - /** - * Synthesize an answer for the response payload. - */ - @Generated - public static final KnowledgeRetrievalOutputMode ANSWER_SYNTHESIS = fromString("answerSynthesis"); - - /** - * Creates a new instance of KnowledgeRetrievalOutputMode value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public KnowledgeRetrievalOutputMode() { - } - - /** - * Creates or finds a KnowledgeRetrievalOutputMode from its string representation. - * - * @param name a name to look for. - * @return the corresponding KnowledgeRetrievalOutputMode. - */ - @Generated - public static KnowledgeRetrievalOutputMode fromString(String name) { - return fromString(name, KnowledgeRetrievalOutputMode.class); - } - - /** - * Gets known KnowledgeRetrievalOutputMode values. - * - * @return known KnowledgeRetrievalOutputMode values. - */ - @Generated - public static Collection values() { - return values(KnowledgeRetrievalOutputMode.class); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalReasoningEffort.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalReasoningEffort.java index d799957c6be1..33f7f0edd729 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalReasoningEffort.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalReasoningEffort.java @@ -28,7 +28,7 @@ public class KnowledgeRetrievalReasoningEffort implements JsonSerializable { KnowledgeSourceSynchronizationStatus synchronizationStatus = null; + KnowledgeSourceKind kind = null; String synchronizationInterval = null; SynchronizationState currentSynchronizationState = null; CompletedSynchronizationState lastSynchronizationState = null; @@ -198,6 +201,8 @@ public static KnowledgeSourceStatus fromJson(JsonReader jsonReader) throws IOExc reader.nextToken(); if ("synchronizationStatus".equals(fieldName)) { synchronizationStatus = KnowledgeSourceSynchronizationStatus.fromString(reader.getString()); + } else if ("kind".equals(fieldName)) { + kind = KnowledgeSourceKind.fromString(reader.getString()); } else if ("synchronizationInterval".equals(fieldName)) { synchronizationInterval = reader.getString(); } else if ("currentSynchronizationState".equals(fieldName)) { @@ -211,6 +216,7 @@ public static KnowledgeSourceStatus fromJson(JsonReader jsonReader) throws IOExc } } KnowledgeSourceStatus deserializedKnowledgeSourceStatus = new KnowledgeSourceStatus(synchronizationStatus); + deserializedKnowledgeSourceStatus.kind = kind; deserializedKnowledgeSourceStatus.synchronizationInterval = synchronizationInterval; deserializedKnowledgeSourceStatus.currentSynchronizationState = currentSynchronizationState; deserializedKnowledgeSourceStatus.lastSynchronizationState = lastSynchronizationState; @@ -218,4 +224,32 @@ public static KnowledgeSourceStatus fromJson(JsonReader jsonReader) throws IOExc return deserializedKnowledgeSourceStatus; }); } + + /* + * Identifies the Knowledge Source kind directly from the Status response. + */ + @Generated + private KnowledgeSourceKind kind; + + /** + * Get the kind property: Identifies the Knowledge Source kind directly from the Status response. + * + * @return the kind value. + */ + @Generated + public KnowledgeSourceKind getKind() { + return this.kind; + } + + /** + * Set the kind property: Identifies the Knowledge Source kind directly from the Status response. + * + * @param kind the kind value to set. + * @return the KnowledgeSourceStatus object itself. + */ + @Generated + public KnowledgeSourceStatus setKind(KnowledgeSourceKind kind) { + this.kind = kind; + return this; + } } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeSourceSynchronizationError.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeSourceSynchronizationError.java new file mode 100644 index 000000000000..4670a5bf48a5 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeSourceSynchronizationError.java @@ -0,0 +1,252 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.knowledgebases.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Represents a document-level indexing error encountered during a knowledge source synchronization run. + */ +@Fluent +public final class KnowledgeSourceSynchronizationError + implements JsonSerializable { + /* + * The unique identifier for the failed document or item within the synchronization run. + */ + @Generated + private String docId; + + /* + * HTTP-like status code representing the failure category (e.g., 400). + */ + @Generated + private Integer statusCode; + + /* + * Name of the ingestion or processing component reporting the error. + */ + @Generated + private String name; + + /* + * Human-readable, customer-visible error message. + */ + @Generated + private final String errorMessage; + + /* + * Additional contextual information about the failure. + */ + @Generated + private String details; + + /* + * A link to relevant troubleshooting documentation. + */ + @Generated + private String documentationLink; + + /** + * Creates an instance of KnowledgeSourceSynchronizationError class. + * + * @param errorMessage the errorMessage value to set. + */ + @Generated + public KnowledgeSourceSynchronizationError(String errorMessage) { + this.errorMessage = errorMessage; + } + + /** + * Get the docId property: The unique identifier for the failed document or item within the synchronization run. + * + * @return the docId value. + */ + @Generated + public String getDocId() { + return this.docId; + } + + /** + * Set the docId property: The unique identifier for the failed document or item within the synchronization run. + * + * @param docId the docId value to set. + * @return the KnowledgeSourceSynchronizationError object itself. + */ + @Generated + public KnowledgeSourceSynchronizationError setDocId(String docId) { + this.docId = docId; + return this; + } + + /** + * Get the statusCode property: HTTP-like status code representing the failure category (e.g., 400). + * + * @return the statusCode value. + */ + @Generated + public Integer getStatusCode() { + return this.statusCode; + } + + /** + * Set the statusCode property: HTTP-like status code representing the failure category (e.g., 400). + * + * @param statusCode the statusCode value to set. + * @return the KnowledgeSourceSynchronizationError object itself. + */ + @Generated + public KnowledgeSourceSynchronizationError setStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * Get the name property: Name of the ingestion or processing component reporting the error. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Set the name property: Name of the ingestion or processing component reporting the error. + * + * @param name the name value to set. + * @return the KnowledgeSourceSynchronizationError object itself. + */ + @Generated + public KnowledgeSourceSynchronizationError setName(String name) { + this.name = name; + return this; + } + + /** + * Get the errorMessage property: Human-readable, customer-visible error message. + * + * @return the errorMessage value. + */ + @Generated + public String getErrorMessage() { + return this.errorMessage; + } + + /** + * Get the details property: Additional contextual information about the failure. + * + * @return the details value. + */ + @Generated + public String getDetails() { + return this.details; + } + + /** + * Set the details property: Additional contextual information about the failure. + * + * @param details the details value to set. + * @return the KnowledgeSourceSynchronizationError object itself. + */ + @Generated + public KnowledgeSourceSynchronizationError setDetails(String details) { + this.details = details; + return this; + } + + /** + * Get the documentationLink property: A link to relevant troubleshooting documentation. + * + * @return the documentationLink value. + */ + @Generated + public String getDocumentationLink() { + return this.documentationLink; + } + + /** + * Set the documentationLink property: A link to relevant troubleshooting documentation. + * + * @param documentationLink the documentationLink value to set. + * @return the KnowledgeSourceSynchronizationError object itself. + */ + @Generated + public KnowledgeSourceSynchronizationError setDocumentationLink(String documentationLink) { + this.documentationLink = documentationLink; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("errorMessage", this.errorMessage); + jsonWriter.writeStringField("docId", this.docId); + jsonWriter.writeNumberField("statusCode", this.statusCode); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("details", this.details); + jsonWriter.writeStringField("documentationLink", this.documentationLink); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of KnowledgeSourceSynchronizationError from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of KnowledgeSourceSynchronizationError if the JsonReader was pointing to an instance of it, + * or null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the KnowledgeSourceSynchronizationError. + */ + @Generated + public static KnowledgeSourceSynchronizationError fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String errorMessage = null; + String docId = null; + Integer statusCode = null; + String name = null; + String details = null; + String documentationLink = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("errorMessage".equals(fieldName)) { + errorMessage = reader.getString(); + } else if ("docId".equals(fieldName)) { + docId = reader.getString(); + } else if ("statusCode".equals(fieldName)) { + statusCode = reader.getNullable(JsonReader::getInt); + } else if ("name".equals(fieldName)) { + name = reader.getString(); + } else if ("details".equals(fieldName)) { + details = reader.getString(); + } else if ("documentationLink".equals(fieldName)) { + documentationLink = reader.getString(); + } else { + reader.skipChildren(); + } + } + KnowledgeSourceSynchronizationError deserializedKnowledgeSourceSynchronizationError + = new KnowledgeSourceSynchronizationError(errorMessage); + deserializedKnowledgeSourceSynchronizationError.docId = docId; + deserializedKnowledgeSourceSynchronizationError.statusCode = statusCode; + deserializedKnowledgeSourceSynchronizationError.name = name; + deserializedKnowledgeSourceSynchronizationError.details = details; + deserializedKnowledgeSourceSynchronizationError.documentationLink = documentationLink; + + return deserializedKnowledgeSourceSynchronizationError; + }); + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/RemoteSharePointKnowledgeSourceParams.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/RemoteSharePointKnowledgeSourceParams.java deleted file mode 100644 index 63a18f9a1725..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/RemoteSharePointKnowledgeSourceParams.java +++ /dev/null @@ -1,189 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.knowledgebases.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import com.azure.search.documents.indexes.models.KnowledgeSourceKind; -import java.io.IOException; - -/** - * Specifies runtime parameters for a remote SharePoint knowledge source. - */ -@Fluent -public final class RemoteSharePointKnowledgeSourceParams extends KnowledgeSourceParams { - - /* - * The type of the knowledge source. - */ - @Generated - private KnowledgeSourceKind kind = KnowledgeSourceKind.REMOTE_SHARE_POINT; - - /* - * A filter condition applied to the SharePoint data source. It must be specified in the Keyword Query Language - * syntax. It will be combined as a conjunction with the filter expression specified in the knowledge source - * definition. - */ - @Generated - private String filterExpressionAddOn; - - /** - * Creates an instance of RemoteSharePointKnowledgeSourceParams class. - * - * @param knowledgeSourceName the knowledgeSourceName value to set. - */ - @Generated - public RemoteSharePointKnowledgeSourceParams(String knowledgeSourceName) { - super(knowledgeSourceName); - } - - /** - * Get the kind property: The type of the knowledge source. - * - * @return the kind value. - */ - @Generated - @Override - public KnowledgeSourceKind getKind() { - return this.kind; - } - - /** - * Get the filterExpressionAddOn property: A filter condition applied to the SharePoint data source. It must be - * specified in the Keyword Query Language syntax. It will be combined as a conjunction with the filter expression - * specified in the knowledge source definition. - * - * @return the filterExpressionAddOn value. - */ - @Generated - public String getFilterExpressionAddOn() { - return this.filterExpressionAddOn; - } - - /** - * Set the filterExpressionAddOn property: A filter condition applied to the SharePoint data source. It must be - * specified in the Keyword Query Language syntax. It will be combined as a conjunction with the filter expression - * specified in the knowledge source definition. - * - * @param filterExpressionAddOn the filterExpressionAddOn value to set. - * @return the RemoteSharePointKnowledgeSourceParams object itself. - */ - @Generated - public RemoteSharePointKnowledgeSourceParams setFilterExpressionAddOn(String filterExpressionAddOn) { - this.filterExpressionAddOn = filterExpressionAddOn; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public RemoteSharePointKnowledgeSourceParams setIncludeReferences(Boolean includeReferences) { - super.setIncludeReferences(includeReferences); - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public RemoteSharePointKnowledgeSourceParams setIncludeReferenceSourceData(Boolean includeReferenceSourceData) { - super.setIncludeReferenceSourceData(includeReferenceSourceData); - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public RemoteSharePointKnowledgeSourceParams setAlwaysQuerySource(Boolean alwaysQuerySource) { - super.setAlwaysQuerySource(alwaysQuerySource); - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public RemoteSharePointKnowledgeSourceParams setRerankerThreshold(Float rerankerThreshold) { - super.setRerankerThreshold(rerankerThreshold); - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("knowledgeSourceName", getKnowledgeSourceName()); - jsonWriter.writeBooleanField("includeReferences", isIncludeReferences()); - jsonWriter.writeBooleanField("includeReferenceSourceData", isIncludeReferenceSourceData()); - jsonWriter.writeBooleanField("alwaysQuerySource", isAlwaysQuerySource()); - jsonWriter.writeNumberField("rerankerThreshold", getRerankerThreshold()); - jsonWriter.writeStringField("kind", this.kind == null ? null : this.kind.toString()); - jsonWriter.writeStringField("filterExpressionAddOn", this.filterExpressionAddOn); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of RemoteSharePointKnowledgeSourceParams from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of RemoteSharePointKnowledgeSourceParams if the JsonReader was pointing to an instance of it, - * or null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the RemoteSharePointKnowledgeSourceParams. - */ - @Generated - public static RemoteSharePointKnowledgeSourceParams fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - String knowledgeSourceName = null; - Boolean includeReferences = null; - Boolean includeReferenceSourceData = null; - Boolean alwaysQuerySource = null; - Float rerankerThreshold = null; - KnowledgeSourceKind kind = KnowledgeSourceKind.REMOTE_SHARE_POINT; - String filterExpressionAddOn = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("knowledgeSourceName".equals(fieldName)) { - knowledgeSourceName = reader.getString(); - } else if ("includeReferences".equals(fieldName)) { - includeReferences = reader.getNullable(JsonReader::getBoolean); - } else if ("includeReferenceSourceData".equals(fieldName)) { - includeReferenceSourceData = reader.getNullable(JsonReader::getBoolean); - } else if ("alwaysQuerySource".equals(fieldName)) { - alwaysQuerySource = reader.getNullable(JsonReader::getBoolean); - } else if ("rerankerThreshold".equals(fieldName)) { - rerankerThreshold = reader.getNullable(JsonReader::getFloat); - } else if ("kind".equals(fieldName)) { - kind = KnowledgeSourceKind.fromString(reader.getString()); - } else if ("filterExpressionAddOn".equals(fieldName)) { - filterExpressionAddOn = reader.getString(); - } else { - reader.skipChildren(); - } - } - RemoteSharePointKnowledgeSourceParams deserializedRemoteSharePointKnowledgeSourceParams - = new RemoteSharePointKnowledgeSourceParams(knowledgeSourceName); - deserializedRemoteSharePointKnowledgeSourceParams.setIncludeReferences(includeReferences); - deserializedRemoteSharePointKnowledgeSourceParams.setIncludeReferenceSourceData(includeReferenceSourceData); - deserializedRemoteSharePointKnowledgeSourceParams.setAlwaysQuerySource(alwaysQuerySource); - deserializedRemoteSharePointKnowledgeSourceParams.setRerankerThreshold(rerankerThreshold); - deserializedRemoteSharePointKnowledgeSourceParams.kind = kind; - deserializedRemoteSharePointKnowledgeSourceParams.filterExpressionAddOn = filterExpressionAddOn; - return deserializedRemoteSharePointKnowledgeSourceParams; - }); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/SearchIndexKnowledgeSourceParams.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/SearchIndexKnowledgeSourceParams.java index 069621b5b9b6..6c777dd13a24 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/SearchIndexKnowledgeSourceParams.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/SearchIndexKnowledgeSourceParams.java @@ -92,16 +92,6 @@ public SearchIndexKnowledgeSourceParams setIncludeReferenceSourceData(Boolean in return this; } - /** - * {@inheritDoc} - */ - @Generated - @Override - public SearchIndexKnowledgeSourceParams setAlwaysQuerySource(Boolean alwaysQuerySource) { - super.setAlwaysQuerySource(alwaysQuerySource); - return this; - } - /** * {@inheritDoc} */ @@ -122,7 +112,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("knowledgeSourceName", getKnowledgeSourceName()); jsonWriter.writeBooleanField("includeReferences", isIncludeReferences()); jsonWriter.writeBooleanField("includeReferenceSourceData", isIncludeReferenceSourceData()); - jsonWriter.writeBooleanField("alwaysQuerySource", isAlwaysQuerySource()); jsonWriter.writeNumberField("rerankerThreshold", getRerankerThreshold()); jsonWriter.writeStringField("kind", this.kind == null ? null : this.kind.toString()); jsonWriter.writeStringField("filterAddOn", this.filterAddOn); @@ -144,7 +133,6 @@ public static SearchIndexKnowledgeSourceParams fromJson(JsonReader jsonReader) t String knowledgeSourceName = null; Boolean includeReferences = null; Boolean includeReferenceSourceData = null; - Boolean alwaysQuerySource = null; Float rerankerThreshold = null; KnowledgeSourceKind kind = KnowledgeSourceKind.SEARCH_INDEX; String filterAddOn = null; @@ -157,8 +145,6 @@ public static SearchIndexKnowledgeSourceParams fromJson(JsonReader jsonReader) t includeReferences = reader.getNullable(JsonReader::getBoolean); } else if ("includeReferenceSourceData".equals(fieldName)) { includeReferenceSourceData = reader.getNullable(JsonReader::getBoolean); - } else if ("alwaysQuerySource".equals(fieldName)) { - alwaysQuerySource = reader.getNullable(JsonReader::getBoolean); } else if ("rerankerThreshold".equals(fieldName)) { rerankerThreshold = reader.getNullable(JsonReader::getFloat); } else if ("kind".equals(fieldName)) { @@ -173,7 +159,6 @@ public static SearchIndexKnowledgeSourceParams fromJson(JsonReader jsonReader) t = new SearchIndexKnowledgeSourceParams(knowledgeSourceName); deserializedSearchIndexKnowledgeSourceParams.setIncludeReferences(includeReferences); deserializedSearchIndexKnowledgeSourceParams.setIncludeReferenceSourceData(includeReferenceSourceData); - deserializedSearchIndexKnowledgeSourceParams.setAlwaysQuerySource(alwaysQuerySource); deserializedSearchIndexKnowledgeSourceParams.setRerankerThreshold(rerankerThreshold); deserializedSearchIndexKnowledgeSourceParams.kind = kind; deserializedSearchIndexKnowledgeSourceParams.filterAddOn = filterAddOn; diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/SharePointSensitivityLabelInfo.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/SharePointSensitivityLabelInfo.java deleted file mode 100644 index 212ef68692e3..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/SharePointSensitivityLabelInfo.java +++ /dev/null @@ -1,174 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.knowledgebases.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Information about the sensitivity label applied to a SharePoint document. - */ -@Immutable -public final class SharePointSensitivityLabelInfo implements JsonSerializable { - - /* - * The display name for the sensitivity label. - */ - @Generated - private String displayName; - - /* - * The ID of the sensitivity label. - */ - @Generated - private String sensitivityLabelId; - - /* - * The tooltip that should be displayed for the label in a UI. - */ - @Generated - private String tooltip; - - /* - * The priority in which the sensitivity label is applied. - */ - @Generated - private Integer priority; - - /* - * The color that the UI should display for the label, if configured. - */ - @Generated - private String color; - - /* - * Indicates whether the sensitivity label enforces encryption. - */ - @Generated - private Boolean isEncrypted; - - /** - * Creates an instance of SharePointSensitivityLabelInfo class. - */ - @Generated - private SharePointSensitivityLabelInfo() { - } - - /** - * Get the displayName property: The display name for the sensitivity label. - * - * @return the displayName value. - */ - @Generated - public String getDisplayName() { - return this.displayName; - } - - /** - * Get the sensitivityLabelId property: The ID of the sensitivity label. - * - * @return the sensitivityLabelId value. - */ - @Generated - public String getSensitivityLabelId() { - return this.sensitivityLabelId; - } - - /** - * Get the tooltip property: The tooltip that should be displayed for the label in a UI. - * - * @return the tooltip value. - */ - @Generated - public String getTooltip() { - return this.tooltip; - } - - /** - * Get the priority property: The priority in which the sensitivity label is applied. - * - * @return the priority value. - */ - @Generated - public Integer getPriority() { - return this.priority; - } - - /** - * Get the color property: The color that the UI should display for the label, if configured. - * - * @return the color value. - */ - @Generated - public String getColor() { - return this.color; - } - - /** - * Get the isEncrypted property: Indicates whether the sensitivity label enforces encryption. - * - * @return the isEncrypted value. - */ - @Generated - public Boolean isEncrypted() { - return this.isEncrypted; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("displayName", this.displayName); - jsonWriter.writeStringField("sensitivityLabelId", this.sensitivityLabelId); - jsonWriter.writeStringField("tooltip", this.tooltip); - jsonWriter.writeNumberField("priority", this.priority); - jsonWriter.writeStringField("color", this.color); - jsonWriter.writeBooleanField("isEncrypted", this.isEncrypted); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of SharePointSensitivityLabelInfo from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of SharePointSensitivityLabelInfo if the JsonReader was pointing to an instance of it, or - * null if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the SharePointSensitivityLabelInfo. - */ - @Generated - public static SharePointSensitivityLabelInfo fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - SharePointSensitivityLabelInfo deserializedSharePointSensitivityLabelInfo - = new SharePointSensitivityLabelInfo(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("displayName".equals(fieldName)) { - deserializedSharePointSensitivityLabelInfo.displayName = reader.getString(); - } else if ("sensitivityLabelId".equals(fieldName)) { - deserializedSharePointSensitivityLabelInfo.sensitivityLabelId = reader.getString(); - } else if ("tooltip".equals(fieldName)) { - deserializedSharePointSensitivityLabelInfo.tooltip = reader.getString(); - } else if ("priority".equals(fieldName)) { - deserializedSharePointSensitivityLabelInfo.priority = reader.getNullable(JsonReader::getInt); - } else if ("color".equals(fieldName)) { - deserializedSharePointSensitivityLabelInfo.color = reader.getString(); - } else if ("isEncrypted".equals(fieldName)) { - deserializedSharePointSensitivityLabelInfo.isEncrypted = reader.getNullable(JsonReader::getBoolean); - } else { - reader.skipChildren(); - } - } - return deserializedSharePointSensitivityLabelInfo; - }); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/SynchronizationState.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/SynchronizationState.java index 140131e69581..8cd41cc38b67 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/SynchronizationState.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/SynchronizationState.java @@ -3,8 +3,8 @@ // Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.search.documents.knowledgebases.models; +import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; import com.azure.core.util.CoreUtils; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -13,11 +13,12 @@ import java.io.IOException; import java.time.OffsetDateTime; import java.time.format.DateTimeFormatter; +import java.util.List; /** * Represents the current state of an ongoing synchronization that spans multiple indexer runs. */ -@Immutable +@Fluent public final class SynchronizationState implements JsonSerializable { /* @@ -114,6 +115,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeIntField("itemsUpdatesProcessed", this.itemsUpdatesProcessed); jsonWriter.writeIntField("itemsUpdatesFailed", this.itemsUpdatesFailed); jsonWriter.writeIntField("itemsSkipped", this.itemsSkipped); + jsonWriter.writeArrayField("errors", this.errors, (writer, element) -> writer.writeJson(element)); return jsonWriter.writeEndObject(); } @@ -133,6 +135,7 @@ public static SynchronizationState fromJson(JsonReader jsonReader) throws IOExce int itemsUpdatesProcessed = 0; int itemsUpdatesFailed = 0; int itemsSkipped = 0; + List errors = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -145,11 +148,47 @@ public static SynchronizationState fromJson(JsonReader jsonReader) throws IOExce itemsUpdatesFailed = reader.getInt(); } else if ("itemsSkipped".equals(fieldName)) { itemsSkipped = reader.getInt(); + } else if ("errors".equals(fieldName)) { + errors = reader.readArray(reader1 -> KnowledgeSourceSynchronizationError.fromJson(reader1)); } else { reader.skipChildren(); } } - return new SynchronizationState(startTime, itemsUpdatesProcessed, itemsUpdatesFailed, itemsSkipped); + SynchronizationState deserializedSynchronizationState + = new SynchronizationState(startTime, itemsUpdatesProcessed, itemsUpdatesFailed, itemsSkipped); + deserializedSynchronizationState.errors = errors; + return deserializedSynchronizationState; }); } + + /* + * Collection of document-level indexing errors encountered during the current synchronization run. Returned only + * when errors are present. + */ + @Generated + private List errors; + + /** + * Get the errors property: Collection of document-level indexing errors encountered during the current + * synchronization run. Returned only when errors are present. + * + * @return the errors value. + */ + @Generated + public List getErrors() { + return this.errors; + } + + /** + * Set the errors property: Collection of document-level indexing errors encountered during the current + * synchronization run. Returned only when errors are present. + * + * @param errors the errors value to set. + * @return the SynchronizationState object itself. + */ + @Generated + public SynchronizationState setErrors(List errors) { + this.errors = errors; + return this; + } } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/WebKnowledgeSourceParams.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/WebKnowledgeSourceParams.java index a525c1fd32b8..e5842f570607 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/WebKnowledgeSourceParams.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/knowledgebases/models/WebKnowledgeSourceParams.java @@ -176,16 +176,6 @@ public WebKnowledgeSourceParams setIncludeReferenceSourceData(Boolean includeRef return this; } - /** - * {@inheritDoc} - */ - @Generated - @Override - public WebKnowledgeSourceParams setAlwaysQuerySource(Boolean alwaysQuerySource) { - super.setAlwaysQuerySource(alwaysQuerySource); - return this; - } - /** * {@inheritDoc} */ @@ -206,7 +196,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("knowledgeSourceName", getKnowledgeSourceName()); jsonWriter.writeBooleanField("includeReferences", isIncludeReferences()); jsonWriter.writeBooleanField("includeReferenceSourceData", isIncludeReferenceSourceData()); - jsonWriter.writeBooleanField("alwaysQuerySource", isAlwaysQuerySource()); jsonWriter.writeNumberField("rerankerThreshold", getRerankerThreshold()); jsonWriter.writeStringField("kind", this.kind == null ? null : this.kind.toString()); jsonWriter.writeStringField("language", this.language); @@ -231,7 +220,6 @@ public static WebKnowledgeSourceParams fromJson(JsonReader jsonReader) throws IO String knowledgeSourceName = null; Boolean includeReferences = null; Boolean includeReferenceSourceData = null; - Boolean alwaysQuerySource = null; Float rerankerThreshold = null; KnowledgeSourceKind kind = KnowledgeSourceKind.WEB; String language = null; @@ -247,8 +235,6 @@ public static WebKnowledgeSourceParams fromJson(JsonReader jsonReader) throws IO includeReferences = reader.getNullable(JsonReader::getBoolean); } else if ("includeReferenceSourceData".equals(fieldName)) { includeReferenceSourceData = reader.getNullable(JsonReader::getBoolean); - } else if ("alwaysQuerySource".equals(fieldName)) { - alwaysQuerySource = reader.getNullable(JsonReader::getBoolean); } else if ("rerankerThreshold".equals(fieldName)) { rerankerThreshold = reader.getNullable(JsonReader::getFloat); } else if ("kind".equals(fieldName)) { @@ -269,7 +255,6 @@ public static WebKnowledgeSourceParams fromJson(JsonReader jsonReader) throws IO = new WebKnowledgeSourceParams(knowledgeSourceName); deserializedWebKnowledgeSourceParams.setIncludeReferences(includeReferences); deserializedWebKnowledgeSourceParams.setIncludeReferenceSourceData(includeReferenceSourceData); - deserializedWebKnowledgeSourceParams.setAlwaysQuerySource(alwaysQuerySource); deserializedWebKnowledgeSourceParams.setRerankerThreshold(rerankerThreshold); deserializedWebKnowledgeSourceParams.kind = kind; deserializedWebKnowledgeSourceParams.language = language; diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CountRequestAccept.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CountRequestAccept.java new file mode 100644 index 000000000000..ed40fd8461b6 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CountRequestAccept.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CountRequestAccept. + */ +public enum CountRequestAccept { + /** + * Enum value application/json;odata.metadata=none. + */ + APPLICATION_JSON_ODATA_METADATA_NONE("application/json;odata.metadata=none"); + + /** + * The actual serialized value for a CountRequestAccept instance. + */ + private final String value; + + CountRequestAccept(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CountRequestAccept instance. + * + * @param value the serialized value to parse. + * @return the parsed CountRequestAccept object, or null if unable to parse. + */ + public static CountRequestAccept fromString(String value) { + if (value == null) { + return null; + } + CountRequestAccept[] items = CountRequestAccept.values(); + for (CountRequestAccept item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CountRequestAccept2.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CountRequestAccept2.java new file mode 100644 index 000000000000..a98334f46714 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CountRequestAccept2.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CountRequestAccept2. + */ +public enum CountRequestAccept2 { + /** + * Enum value application/json;odata.metadata=none. + */ + APPLICATION_JSON_ODATA_METADATA_NONE("application/json;odata.metadata=none"); + + /** + * The actual serialized value for a CountRequestAccept2 instance. + */ + private final String value; + + CountRequestAccept2(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CountRequestAccept2 instance. + * + * @param value the serialized value to parse. + * @return the parsed CountRequestAccept2 object, or null if unable to parse. + */ + public static CountRequestAccept2 fromString(String value) { + if (value == null) { + return null; + } + CountRequestAccept2[] items = CountRequestAccept2.values(); + for (CountRequestAccept2 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CountRequestAccept3.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CountRequestAccept3.java new file mode 100644 index 000000000000..ad807db1880b --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CountRequestAccept3.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CountRequestAccept3. + */ +public enum CountRequestAccept3 { + /** + * Enum value application/json;odata.metadata=none. + */ + APPLICATION_JSON_ODATA_METADATA_NONE("application/json;odata.metadata=none"); + + /** + * The actual serialized value for a CountRequestAccept3 instance. + */ + private final String value; + + CountRequestAccept3(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CountRequestAccept3 instance. + * + * @param value the serialized value to parse. + * @return the parsed CountRequestAccept3 object, or null if unable to parse. + */ + public static CountRequestAccept3 fromString(String value) { + if (value == null) { + return null; + } + CountRequestAccept3[] items = CountRequestAccept3.values(); + for (CountRequestAccept3 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CountRequestAccept5.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CountRequestAccept5.java new file mode 100644 index 000000000000..80868c3f6d09 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CountRequestAccept5.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CountRequestAccept5. + */ +public enum CountRequestAccept5 { + /** + * Enum value application/json;odata.metadata=none. + */ + APPLICATION_JSON_ODATA_METADATA_NONE("application/json;odata.metadata=none"); + + /** + * The actual serialized value for a CountRequestAccept5 instance. + */ + private final String value; + + CountRequestAccept5(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CountRequestAccept5 instance. + * + * @param value the serialized value to parse. + * @return the parsed CountRequestAccept5 object, or null if unable to parse. + */ + public static CountRequestAccept5 fromString(String value) { + if (value == null) { + return null; + } + CountRequestAccept5[] items = CountRequestAccept5.values(); + for (CountRequestAccept5 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CountRequestAccept8.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CountRequestAccept8.java new file mode 100644 index 000000000000..e2f48f6d165e --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CountRequestAccept8.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CountRequestAccept8. + */ +public enum CountRequestAccept8 { + /** + * Enum value application/json;odata.metadata=none. + */ + APPLICATION_JSON_ODATA_METADATA_NONE("application/json;odata.metadata=none"); + + /** + * The actual serialized value for a CountRequestAccept8 instance. + */ + private final String value; + + CountRequestAccept8(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CountRequestAccept8 instance. + * + * @param value the serialized value to parse. + * @return the parsed CountRequestAccept8 object, or null if unable to parse. + */ + public static CountRequestAccept8 fromString(String value) { + if (value == null) { + return null; + } + CountRequestAccept8[] items = CountRequestAccept8.values(); + for (CountRequestAccept8 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept1.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept1.java new file mode 100644 index 000000000000..8cc344f90dc9 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept1.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept1. + */ +public enum CreateOrUpdateRequestAccept1 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept1 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept1(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept1 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept1 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept1 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept1[] items = CreateOrUpdateRequestAccept1.values(); + for (CreateOrUpdateRequestAccept1 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept10.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept10.java new file mode 100644 index 000000000000..d0182873e744 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept10.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept10. + */ +public enum CreateOrUpdateRequestAccept10 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept10 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept10(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept10 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept10 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept10 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept10[] items = CreateOrUpdateRequestAccept10.values(); + for (CreateOrUpdateRequestAccept10 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept11.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept11.java new file mode 100644 index 000000000000..4002c0acfc62 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept11.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept11. + */ +public enum CreateOrUpdateRequestAccept11 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept11 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept11(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept11 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept11 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept11 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept11[] items = CreateOrUpdateRequestAccept11.values(); + for (CreateOrUpdateRequestAccept11 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept12.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept12.java new file mode 100644 index 000000000000..cddbddc51fe4 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept12.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept12. + */ +public enum CreateOrUpdateRequestAccept12 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept12 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept12(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept12 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept12 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept12 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept12[] items = CreateOrUpdateRequestAccept12.values(); + for (CreateOrUpdateRequestAccept12 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept14.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept14.java new file mode 100644 index 000000000000..e2f56c6d9d4c --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept14.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept14. + */ +public enum CreateOrUpdateRequestAccept14 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept14 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept14(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept14 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept14 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept14 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept14[] items = CreateOrUpdateRequestAccept14.values(); + for (CreateOrUpdateRequestAccept14 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept15.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept15.java new file mode 100644 index 000000000000..d3396416240d --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept15.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept15. + */ +public enum CreateOrUpdateRequestAccept15 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept15 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept15(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept15 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept15 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept15 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept15[] items = CreateOrUpdateRequestAccept15.values(); + for (CreateOrUpdateRequestAccept15 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept16.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept16.java new file mode 100644 index 000000000000..938f37c3cdc7 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept16.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept16. + */ +public enum CreateOrUpdateRequestAccept16 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept16 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept16(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept16 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept16 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept16 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept16[] items = CreateOrUpdateRequestAccept16.values(); + for (CreateOrUpdateRequestAccept16 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept17.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept17.java new file mode 100644 index 000000000000..c8f8e99a5bba --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept17.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept17. + */ +public enum CreateOrUpdateRequestAccept17 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept17 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept17(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept17 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept17 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept17 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept17[] items = CreateOrUpdateRequestAccept17.values(); + for (CreateOrUpdateRequestAccept17 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept19.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept19.java new file mode 100644 index 000000000000..6e44ae839ebd --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept19.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept19. + */ +public enum CreateOrUpdateRequestAccept19 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept19 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept19(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept19 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept19 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept19 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept19[] items = CreateOrUpdateRequestAccept19.values(); + for (CreateOrUpdateRequestAccept19 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept2.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept2.java new file mode 100644 index 000000000000..95ed1aac079c --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept2.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept2. + */ +public enum CreateOrUpdateRequestAccept2 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept2 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept2(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept2 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept2 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept2 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept2[] items = CreateOrUpdateRequestAccept2.values(); + for (CreateOrUpdateRequestAccept2 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept20.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept20.java new file mode 100644 index 000000000000..8bdbb9a50347 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept20.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept20. + */ +public enum CreateOrUpdateRequestAccept20 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept20 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept20(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept20 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept20 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept20 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept20[] items = CreateOrUpdateRequestAccept20.values(); + for (CreateOrUpdateRequestAccept20 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept21.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept21.java new file mode 100644 index 000000000000..bdf9f2eb3f95 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept21.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept21. + */ +public enum CreateOrUpdateRequestAccept21 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept21 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept21(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept21 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept21 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept21 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept21[] items = CreateOrUpdateRequestAccept21.values(); + for (CreateOrUpdateRequestAccept21 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept22.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept22.java new file mode 100644 index 000000000000..29a4293ac43b --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept22.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept22. + */ +public enum CreateOrUpdateRequestAccept22 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept22 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept22(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept22 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept22 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept22 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept22[] items = CreateOrUpdateRequestAccept22.values(); + for (CreateOrUpdateRequestAccept22 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept24.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept24.java new file mode 100644 index 000000000000..df0cfa7917a6 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept24.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept24. + */ +public enum CreateOrUpdateRequestAccept24 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept24 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept24(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept24 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept24 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept24 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept24[] items = CreateOrUpdateRequestAccept24.values(); + for (CreateOrUpdateRequestAccept24 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept25.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept25.java new file mode 100644 index 000000000000..ea85e1cad473 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept25.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept25. + */ +public enum CreateOrUpdateRequestAccept25 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept25 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept25(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept25 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept25 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept25 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept25[] items = CreateOrUpdateRequestAccept25.values(); + for (CreateOrUpdateRequestAccept25 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept26.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept26.java new file mode 100644 index 000000000000..eccf79c6a5f4 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept26.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept26. + */ +public enum CreateOrUpdateRequestAccept26 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept26 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept26(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept26 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept26 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept26 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept26[] items = CreateOrUpdateRequestAccept26.values(); + for (CreateOrUpdateRequestAccept26 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept27.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept27.java new file mode 100644 index 000000000000..ff05e8576e5d --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept27.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept27. + */ +public enum CreateOrUpdateRequestAccept27 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept27 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept27(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept27 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept27 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept27 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept27[] items = CreateOrUpdateRequestAccept27.values(); + for (CreateOrUpdateRequestAccept27 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept28.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept28.java new file mode 100644 index 000000000000..c5efc72768ae --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept28.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept28. + */ +public enum CreateOrUpdateRequestAccept28 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept28 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept28(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept28 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept28 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept28 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept28[] items = CreateOrUpdateRequestAccept28.values(); + for (CreateOrUpdateRequestAccept28 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept29.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept29.java new file mode 100644 index 000000000000..e5e1e3790bd7 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept29.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept29. + */ +public enum CreateOrUpdateRequestAccept29 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept29 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept29(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept29 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept29 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept29 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept29[] items = CreateOrUpdateRequestAccept29.values(); + for (CreateOrUpdateRequestAccept29 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept31.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept31.java new file mode 100644 index 000000000000..dd4221611b11 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept31.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept31. + */ +public enum CreateOrUpdateRequestAccept31 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept31 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept31(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept31 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept31 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept31 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept31[] items = CreateOrUpdateRequestAccept31.values(); + for (CreateOrUpdateRequestAccept31 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept32.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept32.java new file mode 100644 index 000000000000..aaf6cc4a7b3d --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept32.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept32. + */ +public enum CreateOrUpdateRequestAccept32 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept32 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept32(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept32 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept32 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept32 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept32[] items = CreateOrUpdateRequestAccept32.values(); + for (CreateOrUpdateRequestAccept32 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept34.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept34.java new file mode 100644 index 000000000000..c75c5e63b332 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept34.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept34. + */ +public enum CreateOrUpdateRequestAccept34 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept34 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept34(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept34 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept34 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept34 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept34[] items = CreateOrUpdateRequestAccept34.values(); + for (CreateOrUpdateRequestAccept34 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept35.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept35.java new file mode 100644 index 000000000000..610877376ca0 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept35.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept35. + */ +public enum CreateOrUpdateRequestAccept35 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept35 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept35(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept35 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept35 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept35 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept35[] items = CreateOrUpdateRequestAccept35.values(); + for (CreateOrUpdateRequestAccept35 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept36.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept36.java new file mode 100644 index 000000000000..aa3288b83bb6 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept36.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept36. + */ +public enum CreateOrUpdateRequestAccept36 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept36 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept36(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept36 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept36 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept36 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept36[] items = CreateOrUpdateRequestAccept36.values(); + for (CreateOrUpdateRequestAccept36 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept38.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept38.java new file mode 100644 index 000000000000..f4369420f900 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept38.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept38. + */ +public enum CreateOrUpdateRequestAccept38 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept38 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept38(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept38 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept38 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept38 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept38[] items = CreateOrUpdateRequestAccept38.values(); + for (CreateOrUpdateRequestAccept38 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept39.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept39.java new file mode 100644 index 000000000000..20c663f767a7 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept39.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept39. + */ +public enum CreateOrUpdateRequestAccept39 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept39 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept39(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept39 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept39 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept39 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept39[] items = CreateOrUpdateRequestAccept39.values(); + for (CreateOrUpdateRequestAccept39 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept4.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept4.java new file mode 100644 index 000000000000..7a5717c971ef --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept4.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept4. + */ +public enum CreateOrUpdateRequestAccept4 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept4 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept4(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept4 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept4 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept4 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept4[] items = CreateOrUpdateRequestAccept4.values(); + for (CreateOrUpdateRequestAccept4 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept41.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept41.java new file mode 100644 index 000000000000..49660bd92505 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept41.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept41. + */ +public enum CreateOrUpdateRequestAccept41 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept41 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept41(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept41 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept41 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept41 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept41[] items = CreateOrUpdateRequestAccept41.values(); + for (CreateOrUpdateRequestAccept41 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept42.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept42.java new file mode 100644 index 000000000000..4bee6ccf8647 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept42.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept42. + */ +public enum CreateOrUpdateRequestAccept42 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept42 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept42(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept42 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept42 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept42 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept42[] items = CreateOrUpdateRequestAccept42.values(); + for (CreateOrUpdateRequestAccept42 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept44.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept44.java new file mode 100644 index 000000000000..d1ea818756a9 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept44.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept44. + */ +public enum CreateOrUpdateRequestAccept44 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept44 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept44(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept44 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept44 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept44 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept44[] items = CreateOrUpdateRequestAccept44.values(); + for (CreateOrUpdateRequestAccept44 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept45.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept45.java new file mode 100644 index 000000000000..921bc24fda23 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept45.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept45. + */ +public enum CreateOrUpdateRequestAccept45 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept45 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept45(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept45 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept45 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept45 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept45[] items = CreateOrUpdateRequestAccept45.values(); + for (CreateOrUpdateRequestAccept45 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept47.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept47.java new file mode 100644 index 000000000000..f77805ef884a --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept47.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept47. + */ +public enum CreateOrUpdateRequestAccept47 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept47 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept47(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept47 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept47 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept47 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept47[] items = CreateOrUpdateRequestAccept47.values(); + for (CreateOrUpdateRequestAccept47 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept48.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept48.java new file mode 100644 index 000000000000..dacebbee2332 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept48.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept48. + */ +public enum CreateOrUpdateRequestAccept48 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept48 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept48(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept48 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept48 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept48 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept48[] items = CreateOrUpdateRequestAccept48.values(); + for (CreateOrUpdateRequestAccept48 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept6.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept6.java new file mode 100644 index 000000000000..0e8389e16007 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept6.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept6. + */ +public enum CreateOrUpdateRequestAccept6 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept6 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept6(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept6 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept6 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept6 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept6[] items = CreateOrUpdateRequestAccept6.values(); + for (CreateOrUpdateRequestAccept6 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept7.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept7.java new file mode 100644 index 000000000000..471ef601fb73 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept7.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept7. + */ +public enum CreateOrUpdateRequestAccept7 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept7 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept7(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept7 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept7 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept7 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept7[] items = CreateOrUpdateRequestAccept7.values(); + for (CreateOrUpdateRequestAccept7 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept8.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept8.java new file mode 100644 index 000000000000..cf13ec144c16 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept8.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept8. + */ +public enum CreateOrUpdateRequestAccept8 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept8 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept8(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept8 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept8 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept8 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept8[] items = CreateOrUpdateRequestAccept8.values(); + for (CreateOrUpdateRequestAccept8 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept9.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept9.java new file mode 100644 index 000000000000..bd0e7ed6ca00 --- /dev/null +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept9.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.search.documents.models; + +/** + * Defines values for CreateOrUpdateRequestAccept9. + */ +public enum CreateOrUpdateRequestAccept9 { + /** + * Enum value application/json;odata.metadata=minimal. + */ + APPLICATION_JSON_ODATA_METADATA_MINIMAL("application/json;odata.metadata=minimal"); + + /** + * The actual serialized value for a CreateOrUpdateRequestAccept9 instance. + */ + private final String value; + + CreateOrUpdateRequestAccept9(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a CreateOrUpdateRequestAccept9 instance. + * + * @param value the serialized value to parse. + * @return the parsed CreateOrUpdateRequestAccept9 object, or null if unable to parse. + */ + public static CreateOrUpdateRequestAccept9 fromString(String value) { + if (value == null) { + return null; + } + CreateOrUpdateRequestAccept9[] items = CreateOrUpdateRequestAccept9.values(); + for (CreateOrUpdateRequestAccept9 item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/DebugInfo.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/DebugInfo.java index 30f833c19590..a18afe6ed354 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/DebugInfo.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/DebugInfo.java @@ -17,12 +17,6 @@ @Immutable public final class DebugInfo implements JsonSerializable { - /* - * Contains debugging information specific to query rewrites. - */ - @Generated - private QueryRewritesDebugInfo queryRewrites; - /** * Creates an instance of DebugInfo class. */ @@ -30,16 +24,6 @@ public final class DebugInfo implements JsonSerializable { public DebugInfo() { } - /** - * Get the queryRewrites property: Contains debugging information specific to query rewrites. - * - * @return the queryRewrites value. - */ - @Generated - public QueryRewritesDebugInfo getQueryRewrites() { - return this.queryRewrites; - } - /** * {@inheritDoc} */ @@ -65,11 +49,7 @@ public static DebugInfo fromJson(JsonReader jsonReader) throws IOException { while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("queryRewrites".equals(fieldName)) { - deserializedDebugInfo.queryRewrites = QueryRewritesDebugInfo.fromJson(reader); - } else { - reader.skipChildren(); - } + reader.skipChildren(); } return deserializedDebugInfo; }); diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/DocumentDebugInfo.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/DocumentDebugInfo.java index 3dd80d331772..0aca8e4a45e2 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/DocumentDebugInfo.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/DocumentDebugInfo.java @@ -19,12 +19,6 @@ @Immutable public final class DocumentDebugInfo implements JsonSerializable { - /* - * Contains debugging information specific to semantic ranking requests. - */ - @Generated - private SemanticDebugInfo semantic; - /* * Contains debugging information specific to vector and hybrid search. */ @@ -44,16 +38,6 @@ public final class DocumentDebugInfo implements JsonSerializable> innerHits = reader.readMap( diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/HybridCountAndFacetMode.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/HybridCountAndFacetMode.java deleted file mode 100644 index 985054fec167..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/HybridCountAndFacetMode.java +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Determines whether the count and facets should includes all documents that matched the search query, or only the - * documents that are retrieved within the 'maxTextRecallSize' window. The default value is 'countAllResults'. - */ -public final class HybridCountAndFacetMode extends ExpandableStringEnum { - - /** - * Only include documents that were matched within the 'maxTextRecallSize' retrieval window when computing 'count' - * and 'facets'. - */ - @Generated - public static final HybridCountAndFacetMode COUNT_RETRIEVABLE_RESULTS = fromString("countRetrievableResults"); - - /** - * Include all documents that were matched by the search query when computing 'count' and 'facets', regardless of - * whether or not those documents are within the 'maxTextRecallSize' retrieval window. - */ - @Generated - public static final HybridCountAndFacetMode COUNT_ALL_RESULTS = fromString("countAllResults"); - - /** - * Creates a new instance of HybridCountAndFacetMode value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public HybridCountAndFacetMode() { - } - - /** - * Creates or finds a HybridCountAndFacetMode from its string representation. - * - * @param name a name to look for. - * @return the corresponding HybridCountAndFacetMode. - */ - @Generated - public static HybridCountAndFacetMode fromString(String name) { - return fromString(name, HybridCountAndFacetMode.class); - } - - /** - * Gets known HybridCountAndFacetMode values. - * - * @return known HybridCountAndFacetMode values. - */ - @Generated - public static Collection values() { - return values(HybridCountAndFacetMode.class); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/HybridSearch.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/HybridSearch.java deleted file mode 100644 index a8cf7ce213a2..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/HybridSearch.java +++ /dev/null @@ -1,137 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * TThe query parameters to configure hybrid search behaviors. - */ -@Fluent -public final class HybridSearch implements JsonSerializable { - - /* - * Determines the maximum number of documents to be retrieved by the text query portion of a hybrid search request. - * Those documents will be combined with the documents matching the vector queries to produce a single final list of - * results. Choosing a larger maxTextRecallSize value will allow retrieving and paging through more documents (using - * the top and skip parameters), at the cost of higher resource utilization and higher latency. The value needs to - * be between 1 and 10,000. Default is 1000. - */ - @Generated - private Integer maxTextRecallSize; - - /* - * Determines whether the count and facets should includes all documents that matched the search query, or only the - * documents that are retrieved within the 'maxTextRecallSize' window. - */ - @Generated - private HybridCountAndFacetMode countAndFacetMode; - - /** - * Creates an instance of HybridSearch class. - */ - @Generated - public HybridSearch() { - } - - /** - * Get the maxTextRecallSize property: Determines the maximum number of documents to be retrieved by the text query - * portion of a hybrid search request. Those documents will be combined with the documents matching the vector - * queries to produce a single final list of results. Choosing a larger maxTextRecallSize value will allow - * retrieving and paging through more documents (using the top and skip parameters), at the cost of higher resource - * utilization and higher latency. The value needs to be between 1 and 10,000. Default is 1000. - * - * @return the maxTextRecallSize value. - */ - @Generated - public Integer getMaxTextRecallSize() { - return this.maxTextRecallSize; - } - - /** - * Set the maxTextRecallSize property: Determines the maximum number of documents to be retrieved by the text query - * portion of a hybrid search request. Those documents will be combined with the documents matching the vector - * queries to produce a single final list of results. Choosing a larger maxTextRecallSize value will allow - * retrieving and paging through more documents (using the top and skip parameters), at the cost of higher resource - * utilization and higher latency. The value needs to be between 1 and 10,000. Default is 1000. - * - * @param maxTextRecallSize the maxTextRecallSize value to set. - * @return the HybridSearch object itself. - */ - @Generated - public HybridSearch setMaxTextRecallSize(Integer maxTextRecallSize) { - this.maxTextRecallSize = maxTextRecallSize; - return this; - } - - /** - * Get the countAndFacetMode property: Determines whether the count and facets should includes all documents that - * matched the search query, or only the documents that are retrieved within the 'maxTextRecallSize' window. - * - * @return the countAndFacetMode value. - */ - @Generated - public HybridCountAndFacetMode getCountAndFacetMode() { - return this.countAndFacetMode; - } - - /** - * Set the countAndFacetMode property: Determines whether the count and facets should includes all documents that - * matched the search query, or only the documents that are retrieved within the 'maxTextRecallSize' window. - * - * @param countAndFacetMode the countAndFacetMode value to set. - * @return the HybridSearch object itself. - */ - @Generated - public HybridSearch setCountAndFacetMode(HybridCountAndFacetMode countAndFacetMode) { - this.countAndFacetMode = countAndFacetMode; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeNumberField("maxTextRecallSize", this.maxTextRecallSize); - jsonWriter.writeStringField("countAndFacetMode", - this.countAndFacetMode == null ? null : this.countAndFacetMode.toString()); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of HybridSearch from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of HybridSearch if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IOException If an error occurs while reading the HybridSearch. - */ - @Generated - public static HybridSearch fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - HybridSearch deserializedHybridSearch = new HybridSearch(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("maxTextRecallSize".equals(fieldName)) { - deserializedHybridSearch.maxTextRecallSize = reader.getNullable(JsonReader::getInt); - } else if ("countAndFacetMode".equals(fieldName)) { - deserializedHybridSearch.countAndFacetMode = HybridCountAndFacetMode.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedHybridSearch; - }); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QueryLanguage.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QueryLanguage.java deleted file mode 100644 index 4229b9855cab..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QueryLanguage.java +++ /dev/null @@ -1,477 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * The language of the query. - */ -public final class QueryLanguage extends ExpandableStringEnum { - - /** - * Query language not specified. - */ - @Generated - public static final QueryLanguage NONE = fromString("none"); - - /** - * Query language value for English (United States). - */ - @Generated - public static final QueryLanguage EN_US = fromString("en-us"); - - /** - * Query language value for English (Great Britain). - */ - @Generated - public static final QueryLanguage EN_GB = fromString("en-gb"); - - /** - * Query language value for English (India). - */ - @Generated - public static final QueryLanguage EN_IN = fromString("en-in"); - - /** - * Query language value for English (Canada). - */ - @Generated - public static final QueryLanguage EN_CA = fromString("en-ca"); - - /** - * Query language value for English (Australia). - */ - @Generated - public static final QueryLanguage EN_AU = fromString("en-au"); - - /** - * Query language value for French (France). - */ - @Generated - public static final QueryLanguage FR_FR = fromString("fr-fr"); - - /** - * Query language value for French (Canada). - */ - @Generated - public static final QueryLanguage FR_CA = fromString("fr-ca"); - - /** - * Query language value for German (Germany). - */ - @Generated - public static final QueryLanguage DE_DE = fromString("de-de"); - - /** - * Query language value for Spanish (Spain). - */ - @Generated - public static final QueryLanguage ES_ES = fromString("es-es"); - - /** - * Query language value for Spanish (Mexico). - */ - @Generated - public static final QueryLanguage ES_MX = fromString("es-mx"); - - /** - * Query language value for Chinese (China). - */ - @Generated - public static final QueryLanguage ZH_CN = fromString("zh-cn"); - - /** - * Query language value for Chinese (Taiwan). - */ - @Generated - public static final QueryLanguage ZH_TW = fromString("zh-tw"); - - /** - * Query language value for Portuguese (Brazil). - */ - @Generated - public static final QueryLanguage PT_BR = fromString("pt-br"); - - /** - * Query language value for Portuguese (Portugal). - */ - @Generated - public static final QueryLanguage PT_PT = fromString("pt-pt"); - - /** - * Query language value for Italian (Italy). - */ - @Generated - public static final QueryLanguage IT_IT = fromString("it-it"); - - /** - * Query language value for Japanese (Japan). - */ - @Generated - public static final QueryLanguage JA_JP = fromString("ja-jp"); - - /** - * Query language value for Korean (Korea). - */ - @Generated - public static final QueryLanguage KO_KR = fromString("ko-kr"); - - /** - * Query language value for Russian (Russia). - */ - @Generated - public static final QueryLanguage RU_RU = fromString("ru-ru"); - - /** - * Query language value for Czech (Czech Republic). - */ - @Generated - public static final QueryLanguage CS_CZ = fromString("cs-cz"); - - /** - * Query language value for Dutch (Belgium). - */ - @Generated - public static final QueryLanguage NL_BE = fromString("nl-be"); - - /** - * Query language value for Dutch (Netherlands). - */ - @Generated - public static final QueryLanguage NL_NL = fromString("nl-nl"); - - /** - * Query language value for Hungarian (Hungary). - */ - @Generated - public static final QueryLanguage HU_HU = fromString("hu-hu"); - - /** - * Query language value for Polish (Poland). - */ - @Generated - public static final QueryLanguage PL_PL = fromString("pl-pl"); - - /** - * Query language value for Swedish (Sweden). - */ - @Generated - public static final QueryLanguage SV_SE = fromString("sv-se"); - - /** - * Query language value for Turkish (Turkey). - */ - @Generated - public static final QueryLanguage TR_TR = fromString("tr-tr"); - - /** - * Query language value for Hindi (India). - */ - @Generated - public static final QueryLanguage HI_IN = fromString("hi-in"); - - /** - * Query language value for Arabic (Saudi Arabia). - */ - @Generated - public static final QueryLanguage AR_SA = fromString("ar-sa"); - - /** - * Query language value for Arabic (Egypt). - */ - @Generated - public static final QueryLanguage AR_EG = fromString("ar-eg"); - - /** - * Query language value for Arabic (Morocco). - */ - @Generated - public static final QueryLanguage AR_MA = fromString("ar-ma"); - - /** - * Query language value for Arabic (Kuwait). - */ - @Generated - public static final QueryLanguage AR_KW = fromString("ar-kw"); - - /** - * Query language value for Arabic (Jordan). - */ - @Generated - public static final QueryLanguage AR_JO = fromString("ar-jo"); - - /** - * Query language value for Danish (Denmark). - */ - @Generated - public static final QueryLanguage DA_DK = fromString("da-dk"); - - /** - * Query language value for Norwegian (Norway). - */ - @Generated - public static final QueryLanguage NO_NO = fromString("no-no"); - - /** - * Query language value for Bulgarian (Bulgaria). - */ - @Generated - public static final QueryLanguage BG_BG = fromString("bg-bg"); - - /** - * Query language value for Croatian (Croatia). - */ - @Generated - public static final QueryLanguage HR_HR = fromString("hr-hr"); - - /** - * Query language value for Croatian (Bosnia and Herzegovina). - */ - @Generated - public static final QueryLanguage HR_BA = fromString("hr-ba"); - - /** - * Query language value for Malay (Malaysia). - */ - @Generated - public static final QueryLanguage MS_MY = fromString("ms-my"); - - /** - * Query language value for Malay (Brunei Darussalam). - */ - @Generated - public static final QueryLanguage MS_BN = fromString("ms-bn"); - - /** - * Query language value for Slovenian (Slovenia). - */ - @Generated - public static final QueryLanguage SL_SL = fromString("sl-sl"); - - /** - * Query language value for Tamil (India). - */ - @Generated - public static final QueryLanguage TA_IN = fromString("ta-in"); - - /** - * Query language value for Vietnamese (Viet Nam). - */ - @Generated - public static final QueryLanguage VI_VN = fromString("vi-vn"); - - /** - * Query language value for Greek (Greece). - */ - @Generated - public static final QueryLanguage EL_GR = fromString("el-gr"); - - /** - * Query language value for Romanian (Romania). - */ - @Generated - public static final QueryLanguage RO_RO = fromString("ro-ro"); - - /** - * Query language value for Icelandic (Iceland). - */ - @Generated - public static final QueryLanguage IS_IS = fromString("is-is"); - - /** - * Query language value for Indonesian (Indonesia). - */ - @Generated - public static final QueryLanguage ID_ID = fromString("id-id"); - - /** - * Query language value for Thai (Thailand). - */ - @Generated - public static final QueryLanguage TH_TH = fromString("th-th"); - - /** - * Query language value for Lithuanian (Lithuania). - */ - @Generated - public static final QueryLanguage LT_LT = fromString("lt-lt"); - - /** - * Query language value for Ukrainian (Ukraine). - */ - @Generated - public static final QueryLanguage UK_UA = fromString("uk-ua"); - - /** - * Query language value for Latvian (Latvia). - */ - @Generated - public static final QueryLanguage LV_LV = fromString("lv-lv"); - - /** - * Query language value for Estonian (Estonia). - */ - @Generated - public static final QueryLanguage ET_EE = fromString("et-ee"); - - /** - * Query language value for Catalan. - */ - @Generated - public static final QueryLanguage CA_ES = fromString("ca-es"); - - /** - * Query language value for Finnish (Finland). - */ - @Generated - public static final QueryLanguage FI_FI = fromString("fi-fi"); - - /** - * Query language value for Serbian (Bosnia and Herzegovina). - */ - @Generated - public static final QueryLanguage SR_BA = fromString("sr-ba"); - - /** - * Query language value for Serbian (Montenegro). - */ - @Generated - public static final QueryLanguage SR_ME = fromString("sr-me"); - - /** - * Query language value for Serbian (Serbia). - */ - @Generated - public static final QueryLanguage SR_RS = fromString("sr-rs"); - - /** - * Query language value for Slovak (Slovakia). - */ - @Generated - public static final QueryLanguage SK_SK = fromString("sk-sk"); - - /** - * Query language value for Norwegian (Norway). - */ - @Generated - public static final QueryLanguage NB_NO = fromString("nb-no"); - - /** - * Query language value for Armenian (Armenia). - */ - @Generated - public static final QueryLanguage HY_AM = fromString("hy-am"); - - /** - * Query language value for Bengali (India). - */ - @Generated - public static final QueryLanguage BN_IN = fromString("bn-in"); - - /** - * Query language value for Basque. - */ - @Generated - public static final QueryLanguage EU_ES = fromString("eu-es"); - - /** - * Query language value for Galician. - */ - @Generated - public static final QueryLanguage GL_ES = fromString("gl-es"); - - /** - * Query language value for Gujarati (India). - */ - @Generated - public static final QueryLanguage GU_IN = fromString("gu-in"); - - /** - * Query language value for Hebrew (Israel). - */ - @Generated - public static final QueryLanguage HE_IL = fromString("he-il"); - - /** - * Query language value for Irish (Ireland). - */ - @Generated - public static final QueryLanguage GA_IE = fromString("ga-ie"); - - /** - * Query language value for Kannada (India). - */ - @Generated - public static final QueryLanguage KN_IN = fromString("kn-in"); - - /** - * Query language value for Malayalam (India). - */ - @Generated - public static final QueryLanguage ML_IN = fromString("ml-in"); - - /** - * Query language value for Marathi (India). - */ - @Generated - public static final QueryLanguage MR_IN = fromString("mr-in"); - - /** - * Query language value for Persian (U.A.E.). - */ - @Generated - public static final QueryLanguage FA_AE = fromString("fa-ae"); - - /** - * Query language value for Punjabi (India). - */ - @Generated - public static final QueryLanguage PA_IN = fromString("pa-in"); - - /** - * Query language value for Telugu (India). - */ - @Generated - public static final QueryLanguage TE_IN = fromString("te-in"); - - /** - * Query language value for Urdu (Pakistan). - */ - @Generated - public static final QueryLanguage UR_PK = fromString("ur-pk"); - - /** - * Creates a new instance of QueryLanguage value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public QueryLanguage() { - } - - /** - * Creates or finds a QueryLanguage from its string representation. - * - * @param name a name to look for. - * @return the corresponding QueryLanguage. - */ - @Generated - public static QueryLanguage fromString(String name) { - return fromString(name, QueryLanguage.class); - } - - /** - * Gets known QueryLanguage values. - * - * @return known QueryLanguage values. - */ - @Generated - public static Collection values() { - return values(QueryLanguage.class); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QueryResultDocumentRerankerInput.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QueryResultDocumentRerankerInput.java deleted file mode 100644 index af60b6ba9d83..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QueryResultDocumentRerankerInput.java +++ /dev/null @@ -1,116 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * The raw concatenated strings that were sent to the semantic enrichment process. - */ -@Immutable -public final class QueryResultDocumentRerankerInput implements JsonSerializable { - - /* - * The raw string for the title field that was used for semantic enrichment. - */ - @Generated - private String title; - - /* - * The raw concatenated strings for the content fields that were used for semantic enrichment. - */ - @Generated - private String content; - - /* - * The raw concatenated strings for the keyword fields that were used for semantic enrichment. - */ - @Generated - private String keywords; - - /** - * Creates an instance of QueryResultDocumentRerankerInput class. - */ - @Generated - private QueryResultDocumentRerankerInput() { - } - - /** - * Get the title property: The raw string for the title field that was used for semantic enrichment. - * - * @return the title value. - */ - @Generated - public String getTitle() { - return this.title; - } - - /** - * Get the content property: The raw concatenated strings for the content fields that were used for semantic - * enrichment. - * - * @return the content value. - */ - @Generated - public String getContent() { - return this.content; - } - - /** - * Get the keywords property: The raw concatenated strings for the keyword fields that were used for semantic - * enrichment. - * - * @return the keywords value. - */ - @Generated - public String getKeywords() { - return this.keywords; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of QueryResultDocumentRerankerInput from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of QueryResultDocumentRerankerInput if the JsonReader was pointing to an instance of it, or - * null if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the QueryResultDocumentRerankerInput. - */ - @Generated - public static QueryResultDocumentRerankerInput fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - QueryResultDocumentRerankerInput deserializedQueryResultDocumentRerankerInput - = new QueryResultDocumentRerankerInput(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("title".equals(fieldName)) { - deserializedQueryResultDocumentRerankerInput.title = reader.getString(); - } else if ("content".equals(fieldName)) { - deserializedQueryResultDocumentRerankerInput.content = reader.getString(); - } else if ("keywords".equals(fieldName)) { - deserializedQueryResultDocumentRerankerInput.keywords = reader.getString(); - } else { - reader.skipChildren(); - } - } - return deserializedQueryResultDocumentRerankerInput; - }); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QueryResultDocumentSemanticField.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QueryResultDocumentSemanticField.java deleted file mode 100644 index 966051909abf..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QueryResultDocumentSemanticField.java +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Description of fields that were sent to the semantic enrichment process, as well as how they were used. - */ -@Immutable -public final class QueryResultDocumentSemanticField implements JsonSerializable { - - /* - * The name of the field that was sent to the semantic enrichment process - */ - @Generated - private String name; - - /* - * The way the field was used for the semantic enrichment process (fully used, partially used, or unused) - */ - @Generated - private SemanticFieldState state; - - /** - * Creates an instance of QueryResultDocumentSemanticField class. - */ - @Generated - private QueryResultDocumentSemanticField() { - } - - /** - * Get the name property: The name of the field that was sent to the semantic enrichment process. - * - * @return the name value. - */ - @Generated - public String getName() { - return this.name; - } - - /** - * Get the state property: The way the field was used for the semantic enrichment process (fully used, partially - * used, or unused). - * - * @return the state value. - */ - @Generated - public SemanticFieldState getState() { - return this.state; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of QueryResultDocumentSemanticField from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of QueryResultDocumentSemanticField if the JsonReader was pointing to an instance of it, or - * null if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the QueryResultDocumentSemanticField. - */ - @Generated - public static QueryResultDocumentSemanticField fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - QueryResultDocumentSemanticField deserializedQueryResultDocumentSemanticField - = new QueryResultDocumentSemanticField(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("name".equals(fieldName)) { - deserializedQueryResultDocumentSemanticField.name = reader.getString(); - } else if ("state".equals(fieldName)) { - deserializedQueryResultDocumentSemanticField.state - = SemanticFieldState.fromString(reader.getString()); - } else { - reader.skipChildren(); - } - } - return deserializedQueryResultDocumentSemanticField; - }); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QueryRewritesDebugInfo.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QueryRewritesDebugInfo.java deleted file mode 100644 index 7a59a6f5c842..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QueryRewritesDebugInfo.java +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * Contains debugging information specific to query rewrites. - */ -@Immutable -public final class QueryRewritesDebugInfo implements JsonSerializable { - - /* - * List of query rewrites generated for the text query. - */ - @Generated - private QueryRewritesValuesDebugInfo text; - - /* - * List of query rewrites generated for the vectorizable text queries. - */ - @Generated - private List vectors; - - /** - * Creates an instance of QueryRewritesDebugInfo class. - */ - @Generated - private QueryRewritesDebugInfo() { - } - - /** - * Get the text property: List of query rewrites generated for the text query. - * - * @return the text value. - */ - @Generated - public QueryRewritesValuesDebugInfo getText() { - return this.text; - } - - /** - * Get the vectors property: List of query rewrites generated for the vectorizable text queries. - * - * @return the vectors value. - */ - @Generated - public List getVectors() { - return this.vectors; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of QueryRewritesDebugInfo from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of QueryRewritesDebugInfo if the JsonReader was pointing to an instance of it, or null if it - * was pointing to JSON null. - * @throws IOException If an error occurs while reading the QueryRewritesDebugInfo. - */ - @Generated - public static QueryRewritesDebugInfo fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - QueryRewritesDebugInfo deserializedQueryRewritesDebugInfo = new QueryRewritesDebugInfo(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("text".equals(fieldName)) { - deserializedQueryRewritesDebugInfo.text = QueryRewritesValuesDebugInfo.fromJson(reader); - } else if ("vectors".equals(fieldName)) { - List vectors - = reader.readArray(reader1 -> QueryRewritesValuesDebugInfo.fromJson(reader1)); - deserializedQueryRewritesDebugInfo.vectors = vectors; - } else { - reader.skipChildren(); - } - } - return deserializedQueryRewritesDebugInfo; - }); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QueryRewritesType.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QueryRewritesType.java deleted file mode 100644 index 894a2e3d4bf0..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QueryRewritesType.java +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * This parameter is only valid if the query type is `semantic`. When QueryRewrites is set to `generative`, the query - * terms are sent to a generate model which will produce 10 (default) rewrites to help increase the recall of the - * request. The requested count can be configured by appending the pipe character `|` followed by the `count-<number - * of rewrites>` option, such as `generative|count-3`. Defaults to `None`. - */ -public final class QueryRewritesType extends ExpandableStringEnum { - - /** - * Do not generate additional query rewrites for this query. - */ - @Generated - public static final QueryRewritesType NONE = fromString("none"); - - /** - * Generate alternative query terms to increase the recall of a search request. - */ - @Generated - public static final QueryRewritesType GENERATIVE = fromString("generative"); - - /** - * Creates a new instance of QueryRewritesType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public QueryRewritesType() { - } - - /** - * Creates or finds a QueryRewritesType from its string representation. - * - * @param name a name to look for. - * @return the corresponding QueryRewritesType. - */ - @Generated - public static QueryRewritesType fromString(String name) { - return fromString(name, QueryRewritesType.class); - } - - /** - * Gets known QueryRewritesType values. - * - * @return known QueryRewritesType values. - */ - @Generated - public static Collection values() { - return values(QueryRewritesType.class); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QueryRewritesValuesDebugInfo.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QueryRewritesValuesDebugInfo.java deleted file mode 100644 index 668ef0c9a3d9..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QueryRewritesValuesDebugInfo.java +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * Contains debugging information specific to query rewrites. - */ -@Immutable -public final class QueryRewritesValuesDebugInfo implements JsonSerializable { - - /* - * The input text to the generative query rewriting model. There may be cases where the user query and the input to - * the generative model are not identical. - */ - @Generated - private String inputQuery; - - /* - * List of query rewrites. - */ - @Generated - private List rewrites; - - /** - * Creates an instance of QueryRewritesValuesDebugInfo class. - */ - @Generated - private QueryRewritesValuesDebugInfo() { - } - - /** - * Get the inputQuery property: The input text to the generative query rewriting model. There may be cases where the - * user query and the input to the generative model are not identical. - * - * @return the inputQuery value. - */ - @Generated - public String getInputQuery() { - return this.inputQuery; - } - - /** - * Get the rewrites property: List of query rewrites. - * - * @return the rewrites value. - */ - @Generated - public List getRewrites() { - return this.rewrites; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of QueryRewritesValuesDebugInfo from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of QueryRewritesValuesDebugInfo if the JsonReader was pointing to an instance of it, or null - * if it was pointing to JSON null. - * @throws IOException If an error occurs while reading the QueryRewritesValuesDebugInfo. - */ - @Generated - public static QueryRewritesValuesDebugInfo fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - QueryRewritesValuesDebugInfo deserializedQueryRewritesValuesDebugInfo = new QueryRewritesValuesDebugInfo(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("inputQuery".equals(fieldName)) { - deserializedQueryRewritesValuesDebugInfo.inputQuery = reader.getString(); - } else if ("rewrites".equals(fieldName)) { - List rewrites = reader.readArray(reader1 -> reader1.getString()); - deserializedQueryRewritesValuesDebugInfo.rewrites = rewrites; - } else { - reader.skipChildren(); - } - } - return deserializedQueryRewritesValuesDebugInfo; - }); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QuerySpellerType.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QuerySpellerType.java deleted file mode 100644 index 740fee60f3fc..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/QuerySpellerType.java +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Improve search recall by spell-correcting individual search query terms. - */ -public final class QuerySpellerType extends ExpandableStringEnum { - - /** - * Speller not enabled. - */ - @Generated - public static final QuerySpellerType NONE = fromString("none"); - - /** - * Speller corrects individual query terms using a static lexicon for the language specified by the queryLanguage - * parameter. - */ - @Generated - public static final QuerySpellerType LEXICON = fromString("lexicon"); - - /** - * Creates a new instance of QuerySpellerType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public QuerySpellerType() { - } - - /** - * Creates or finds a QuerySpellerType from its string representation. - * - * @param name a name to look for. - * @return the corresponding QuerySpellerType. - */ - @Generated - public static QuerySpellerType fromString(String name) { - return fromString(name, QuerySpellerType.class); - } - - /** - * Gets known QuerySpellerType values. - * - * @return known QuerySpellerType values. - */ - @Generated - public static Collection values() { - return values(QuerySpellerType.class); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/SearchDocumentsResult.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/SearchDocumentsResult.java index 8c8282a080c3..75e6ebfaff8d 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/SearchDocumentsResult.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/SearchDocumentsResult.java @@ -87,12 +87,6 @@ public final class SearchDocumentsResult implements JsonSerializable semanticFields; - /* * The query parameters for vector and hybrid search queries. */ @@ -250,12 +213,6 @@ public final class SearchOptions { @Generated private VectorFilterMode vectorFilterMode; - /* - * The query parameters to configure hybrid search behaviors. - */ - @Generated - private HybridSearch hybridSearch; - /** * Creates an instance of SearchOptions class. */ @@ -263,54 +220,6 @@ public final class SearchOptions { public SearchOptions() { } - /** - * Get the querySourceAuthorization property: Token identifying the user for which the query is being executed. This - * token is used to enforce security restrictions on documents. - * - * @return the querySourceAuthorization value. - */ - @Generated - public String getQuerySourceAuthorization() { - return this.querySourceAuthorization; - } - - /** - * Set the querySourceAuthorization property: Token identifying the user for which the query is being executed. This - * token is used to enforce security restrictions on documents. - * - * @param querySourceAuthorization the querySourceAuthorization value to set. - * @return the SearchOptions object itself. - */ - @Generated - public SearchOptions setQuerySourceAuthorization(String querySourceAuthorization) { - this.querySourceAuthorization = querySourceAuthorization; - return this; - } - - /** - * Get the enableElevatedRead property: A value that enables elevated read that bypass document level permission - * checks for the query operation. - * - * @return the enableElevatedRead value. - */ - @Generated - public Boolean isEnableElevatedRead() { - return this.enableElevatedRead; - } - - /** - * Set the enableElevatedRead property: A value that enables elevated read that bypass document level permission - * checks for the query operation. - * - * @param enableElevatedRead the enableElevatedRead value to set. - * @return the SearchOptions object itself. - */ - @Generated - public SearchOptions setEnableElevatedRead(Boolean enableElevatedRead) { - this.enableElevatedRead = enableElevatedRead; - return this; - } - /** * Get the includeTotalCount property: A value that specifies whether to fetch the total count of results. Default * is false. Setting this value to true may have a performance impact. Note that the count returned is an @@ -804,52 +713,6 @@ public SearchOptions setSearchMode(SearchMode searchMode) { return this; } - /** - * Get the queryLanguage property: A value that specifies the language of the search query. - * - * @return the queryLanguage value. - */ - @Generated - public QueryLanguage getQueryLanguage() { - return this.queryLanguage; - } - - /** - * Set the queryLanguage property: A value that specifies the language of the search query. - * - * @param queryLanguage the queryLanguage value to set. - * @return the SearchOptions object itself. - */ - @Generated - public SearchOptions setQueryLanguage(QueryLanguage queryLanguage) { - this.queryLanguage = queryLanguage; - return this; - } - - /** - * Get the querySpeller property: A value that specifies the type of the speller to use to spell-correct individual - * search query terms. - * - * @return the querySpeller value. - */ - @Generated - public QuerySpellerType getQuerySpeller() { - return this.querySpeller; - } - - /** - * Set the querySpeller property: A value that specifies the type of the speller to use to spell-correct individual - * search query terms. - * - * @param querySpeller the querySpeller value to set. - * @return the SearchOptions object itself. - */ - @Generated - public SearchOptions setQuerySpeller(QuerySpellerType querySpeller) { - this.querySpeller = querySpeller; - return this; - } - /** * Get the select property: The comma-separated list of fields to retrieve. If unspecified, all fields marked as * retrievable in the schema are included. @@ -1084,40 +947,6 @@ public SearchOptions setCaptions(QueryCaptionType captions) { return this; } - /** - * Get the queryRewrites property: A value that specifies whether query rewrites should be generated to augment the - * search query. - * - * @return the queryRewrites value. - */ - @Generated - public QueryRewritesType getQueryRewrites() { - return this.queryRewrites; - } - - /** - * Set the queryRewrites property: A value that specifies whether query rewrites should be generated to augment the - * search query. - * - * @param queryRewrites the queryRewrites value to set. - * @return the SearchOptions object itself. - */ - @Generated - public SearchOptions setQueryRewrites(QueryRewritesType queryRewrites) { - this.queryRewrites = queryRewrites; - return this; - } - - /** - * Get the semanticFields property: The comma-separated list of field names used for semantic ranking. - * - * @return the semanticFields value. - */ - @Generated - public List getSemanticFields() { - return this.semanticFields; - } - /** * Set the semanticFields property: The comma-separated list of field names used for semantic ranking. * @@ -1129,18 +958,6 @@ public SearchOptions setSemanticFields(String... semanticFields) { return this; } - /** - * Set the semanticFields property: The comma-separated list of field names used for semantic ranking. - * - * @param semanticFields the semanticFields value to set. - * @return the SearchOptions object itself. - */ - @Generated - public SearchOptions setSemanticFields(List semanticFields) { - this.semanticFields = semanticFields; - return this; - } - /** * Get the vectorQueries property: The query parameters for vector and hybrid search queries. * @@ -1197,26 +1014,4 @@ public SearchOptions setVectorFilterMode(VectorFilterMode vectorFilterMode) { this.vectorFilterMode = vectorFilterMode; return this; } - - /** - * Get the hybridSearch property: The query parameters to configure hybrid search behaviors. - * - * @return the hybridSearch value. - */ - @Generated - public HybridSearch getHybridSearch() { - return this.hybridSearch; - } - - /** - * Set the hybridSearch property: The query parameters to configure hybrid search behaviors. - * - * @param hybridSearch the hybridSearch value to set. - * @return the SearchOptions object itself. - */ - @Generated - public SearchOptions setHybridSearch(HybridSearch hybridSearch) { - this.hybridSearch = hybridSearch; - return this; - } } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/SearchRequest.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/SearchRequest.java index 72315de053c5..1ff075ccb529 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/SearchRequest.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/SearchRequest.java @@ -144,18 +144,6 @@ public final class SearchRequest implements JsonSerializable { @Generated private SearchMode searchMode; - /* - * A value that specifies the language of the search query. - */ - @Generated - private QueryLanguage queryLanguage; - - /* - * A value that specifies the type of the speller to use to spell-correct individual search query terms. - */ - @Generated - private QuerySpellerType querySpeller; - /* * The comma-separated list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema * are included. @@ -219,18 +207,6 @@ public final class SearchRequest implements JsonSerializable { @Generated private QueryCaptionType captions; - /* - * A value that specifies whether query rewrites should be generated to augment the search query. - */ - @Generated - private QueryRewritesType queryRewrites; - - /* - * The comma-separated list of field names used for semantic ranking. - */ - @Generated - private List semanticFields; - /* * The query parameters for vector and hybrid search queries. */ @@ -244,12 +220,6 @@ public final class SearchRequest implements JsonSerializable { @Generated private VectorFilterMode vectorFilterMode; - /* - * The query parameters to configure hybrid search behaviors. - */ - @Generated - private HybridSearch hybridSearch; - /** * Creates an instance of SearchRequest class. */ @@ -454,27 +424,6 @@ public SearchMode getSearchMode() { return this.searchMode; } - /** - * Get the queryLanguage property: A value that specifies the language of the search query. - * - * @return the queryLanguage value. - */ - @Generated - public QueryLanguage getQueryLanguage() { - return this.queryLanguage; - } - - /** - * Get the querySpeller property: A value that specifies the type of the speller to use to spell-correct individual - * search query terms. - * - * @return the querySpeller value. - */ - @Generated - public QuerySpellerType getQuerySpeller() { - return this.querySpeller; - } - /** * Get the select property: The comma-separated list of fields to retrieve. If unspecified, all fields marked as * retrievable in the schema are included. @@ -577,27 +526,6 @@ public QueryCaptionType getCaptions() { return this.captions; } - /** - * Get the queryRewrites property: A value that specifies whether query rewrites should be generated to augment the - * search query. - * - * @return the queryRewrites value. - */ - @Generated - public QueryRewritesType getQueryRewrites() { - return this.queryRewrites; - } - - /** - * Get the semanticFields property: The comma-separated list of field names used for semantic ranking. - * - * @return the semanticFields value. - */ - @Generated - public List getSemanticFields() { - return this.semanticFields; - } - /** * Get the vectorQueries property: The query parameters for vector and hybrid search queries. * @@ -619,16 +547,6 @@ public VectorFilterMode getVectorFilterMode() { return this.vectorFilterMode; } - /** - * Get the hybridSearch property: The query parameters to configure hybrid search behaviors. - * - * @return the hybridSearch value. - */ - @Generated - public HybridSearch getHybridSearch() { - return this.hybridSearch; - } - /** * {@inheritDoc} */ @@ -668,8 +586,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { .collect(Collectors.joining(","))); } jsonWriter.writeStringField("searchMode", this.searchMode == null ? null : this.searchMode.toString()); - jsonWriter.writeStringField("queryLanguage", this.queryLanguage == null ? null : this.queryLanguage.toString()); - jsonWriter.writeStringField("speller", this.querySpeller == null ? null : this.querySpeller.toString()); if (this.select != null) { jsonWriter.writeStringField("select", this.select.stream().map(element -> element == null ? "" : element).collect(Collectors.joining(","))); @@ -683,17 +599,9 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("semanticQuery", this.semanticQuery); jsonWriter.writeStringField("answers", this.answers == null ? null : this.answers.toString()); jsonWriter.writeStringField("captions", this.captions == null ? null : this.captions.toString()); - jsonWriter.writeStringField("queryRewrites", this.queryRewrites == null ? null : this.queryRewrites.toString()); - if (this.semanticFields != null) { - jsonWriter.writeStringField("semanticFields", - this.semanticFields.stream() - .map(element -> element == null ? "" : element) - .collect(Collectors.joining(","))); - } jsonWriter.writeArrayField("vectorQueries", this.vectorQueries, (writer, element) -> writer.writeJson(element)); jsonWriter.writeStringField("vectorFilterMode", this.vectorFilterMode == null ? null : this.vectorFilterMode.toString()); - jsonWriter.writeJsonField("hybridSearch", this.hybridSearch); return jsonWriter.writeEndObject(); } @@ -766,10 +674,6 @@ public static SearchRequest fromJson(JsonReader jsonReader) throws IOException { deserializedSearchRequest.searchFields = searchFields; } else if ("searchMode".equals(fieldName)) { deserializedSearchRequest.searchMode = SearchMode.fromString(reader.getString()); - } else if ("queryLanguage".equals(fieldName)) { - deserializedSearchRequest.queryLanguage = QueryLanguage.fromString(reader.getString()); - } else if ("speller".equals(fieldName)) { - deserializedSearchRequest.querySpeller = QuerySpellerType.fromString(reader.getString()); } else if ("select".equals(fieldName)) { List select = reader.getNullable(nonNullReader -> { String selectEncodedAsString = nonNullReader.getString(); @@ -794,23 +698,11 @@ public static SearchRequest fromJson(JsonReader jsonReader) throws IOException { deserializedSearchRequest.answers = QueryAnswerType.fromString(reader.getString()); } else if ("captions".equals(fieldName)) { deserializedSearchRequest.captions = QueryCaptionType.fromString(reader.getString()); - } else if ("queryRewrites".equals(fieldName)) { - deserializedSearchRequest.queryRewrites = QueryRewritesType.fromString(reader.getString()); - } else if ("semanticFields".equals(fieldName)) { - List semanticFields = reader.getNullable(nonNullReader -> { - String semanticFieldsEncodedAsString = nonNullReader.getString(); - return semanticFieldsEncodedAsString.isEmpty() - ? new LinkedList<>() - : new LinkedList<>(Arrays.asList(semanticFieldsEncodedAsString.split(",", -1))); - }); - deserializedSearchRequest.semanticFields = semanticFields; } else if ("vectorQueries".equals(fieldName)) { List vectorQueries = reader.readArray(reader1 -> VectorQuery.fromJson(reader1)); deserializedSearchRequest.vectorQueries = vectorQueries; } else if ("vectorFilterMode".equals(fieldName)) { deserializedSearchRequest.vectorFilterMode = VectorFilterMode.fromString(reader.getString()); - } else if ("hybridSearch".equals(fieldName)) { - deserializedSearchRequest.hybridSearch = HybridSearch.fromJson(reader); } else { reader.skipChildren(); } @@ -1050,31 +942,6 @@ public SearchRequest setSearchMode(SearchMode searchMode) { return this; } - /** - * Set the queryLanguage property: A value that specifies the language of the search query. - * - * @param queryLanguage the queryLanguage value to set. - * @return the SearchRequest object itself. - */ - @Generated - public SearchRequest setQueryLanguage(QueryLanguage queryLanguage) { - this.queryLanguage = queryLanguage; - return this; - } - - /** - * Set the querySpeller property: A value that specifies the type of the speller to use to spell-correct individual - * search query terms. - * - * @param querySpeller the querySpeller value to set. - * @return the SearchRequest object itself. - */ - @Generated - public SearchRequest setQuerySpeller(QuerySpellerType querySpeller) { - this.querySpeller = querySpeller; - return this; - } - /** * Set the select property: The comma-separated list of fields to retrieve. If unspecified, all fields marked as * retrievable in the schema are included. @@ -1195,31 +1062,6 @@ public SearchRequest setCaptions(QueryCaptionType captions) { return this; } - /** - * Set the queryRewrites property: A value that specifies whether query rewrites should be generated to augment the - * search query. - * - * @param queryRewrites the queryRewrites value to set. - * @return the SearchRequest object itself. - */ - @Generated - public SearchRequest setQueryRewrites(QueryRewritesType queryRewrites) { - this.queryRewrites = queryRewrites; - return this; - } - - /** - * Set the semanticFields property: The comma-separated list of field names used for semantic ranking. - * - * @param semanticFields the semanticFields value to set. - * @return the SearchRequest object itself. - */ - @Generated - public SearchRequest setSemanticFields(List semanticFields) { - this.semanticFields = semanticFields; - return this; - } - /** * Set the vectorQueries property: The query parameters for vector and hybrid search queries. * @@ -1244,16 +1086,4 @@ public SearchRequest setVectorFilterMode(VectorFilterMode vectorFilterMode) { this.vectorFilterMode = vectorFilterMode; return this; } - - /** - * Set the hybridSearch property: The query parameters to configure hybrid search behaviors. - * - * @param hybridSearch the hybridSearch value to set. - * @return the SearchRequest object itself. - */ - @Generated - public SearchRequest setHybridSearch(HybridSearch hybridSearch) { - this.hybridSearch = hybridSearch; - return this; - } } diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/SemanticDebugInfo.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/SemanticDebugInfo.java deleted file mode 100644 index 5514e28b6aa0..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/SemanticDebugInfo.java +++ /dev/null @@ -1,139 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.List; - -/** - * Contains debugging information specific to semantic ranking requests. - */ -@Immutable -public final class SemanticDebugInfo implements JsonSerializable { - - /* - * The title field that was sent to the semantic enrichment process, as well as how it was used - */ - @Generated - private QueryResultDocumentSemanticField titleField; - - /* - * The content fields that were sent to the semantic enrichment process, as well as how they were used - */ - @Generated - private List contentFields; - - /* - * The keyword fields that were sent to the semantic enrichment process, as well as how they were used - */ - @Generated - private List keywordFields; - - /* - * The raw concatenated strings that were sent to the semantic enrichment process. - */ - @Generated - private QueryResultDocumentRerankerInput rerankerInput; - - /** - * Creates an instance of SemanticDebugInfo class. - */ - @Generated - private SemanticDebugInfo() { - } - - /** - * Get the titleField property: The title field that was sent to the semantic enrichment process, as well as how it - * was used. - * - * @return the titleField value. - */ - @Generated - public QueryResultDocumentSemanticField getTitleField() { - return this.titleField; - } - - /** - * Get the contentFields property: The content fields that were sent to the semantic enrichment process, as well as - * how they were used. - * - * @return the contentFields value. - */ - @Generated - public List getContentFields() { - return this.contentFields; - } - - /** - * Get the keywordFields property: The keyword fields that were sent to the semantic enrichment process, as well as - * how they were used. - * - * @return the keywordFields value. - */ - @Generated - public List getKeywordFields() { - return this.keywordFields; - } - - /** - * Get the rerankerInput property: The raw concatenated strings that were sent to the semantic enrichment process. - * - * @return the rerankerInput value. - */ - @Generated - public QueryResultDocumentRerankerInput getRerankerInput() { - return this.rerankerInput; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of SemanticDebugInfo from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of SemanticDebugInfo if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IOException If an error occurs while reading the SemanticDebugInfo. - */ - @Generated - public static SemanticDebugInfo fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - SemanticDebugInfo deserializedSemanticDebugInfo = new SemanticDebugInfo(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - if ("titleField".equals(fieldName)) { - deserializedSemanticDebugInfo.titleField = QueryResultDocumentSemanticField.fromJson(reader); - } else if ("contentFields".equals(fieldName)) { - List contentFields - = reader.readArray(reader1 -> QueryResultDocumentSemanticField.fromJson(reader1)); - deserializedSemanticDebugInfo.contentFields = contentFields; - } else if ("keywordFields".equals(fieldName)) { - List keywordFields - = reader.readArray(reader1 -> QueryResultDocumentSemanticField.fromJson(reader1)); - deserializedSemanticDebugInfo.keywordFields = keywordFields; - } else if ("rerankerInput".equals(fieldName)) { - deserializedSemanticDebugInfo.rerankerInput = QueryResultDocumentRerankerInput.fromJson(reader); - } else { - reader.skipChildren(); - } - } - return deserializedSemanticDebugInfo; - }); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/SemanticFieldState.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/SemanticFieldState.java deleted file mode 100644 index 8539f8a24876..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/SemanticFieldState.java +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * The way the field was used for the semantic enrichment process. - */ -public final class SemanticFieldState extends ExpandableStringEnum { - - /** - * The field was fully used for semantic enrichment. - */ - @Generated - public static final SemanticFieldState USED = fromString("used"); - - /** - * The field was not used for semantic enrichment. - */ - @Generated - public static final SemanticFieldState UNUSED = fromString("unused"); - - /** - * The field was partially used for semantic enrichment. - */ - @Generated - public static final SemanticFieldState PARTIAL = fromString("partial"); - - /** - * Creates a new instance of SemanticFieldState value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public SemanticFieldState() { - } - - /** - * Creates or finds a SemanticFieldState from its string representation. - * - * @param name a name to look for. - * @return the corresponding SemanticFieldState. - */ - @Generated - public static SemanticFieldState fromString(String name) { - return fromString(name, SemanticFieldState.class); - } - - /** - * Gets known SemanticFieldState values. - * - * @return known SemanticFieldState values. - */ - @Generated - public static Collection values() { - return values(SemanticFieldState.class); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/SemanticQueryRewritesResultType.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/SemanticQueryRewritesResultType.java deleted file mode 100644 index 9b48ff67006e..000000000000 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/SemanticQueryRewritesResultType.java +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.search.documents.models; - -import com.azure.core.annotation.Generated; -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * Type of query rewrite that was used for this request. - */ -public final class SemanticQueryRewritesResultType extends ExpandableStringEnum { - - /** - * Query rewrites were not successfully generated for this request. Only the original query was used to retrieve the - * results. - */ - @Generated - public static final SemanticQueryRewritesResultType ORIGINAL_QUERY_ONLY = fromString("originalQueryOnly"); - - /** - * Creates a new instance of SemanticQueryRewritesResultType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Generated - @Deprecated - public SemanticQueryRewritesResultType() { - } - - /** - * Creates or finds a SemanticQueryRewritesResultType from its string representation. - * - * @param name a name to look for. - * @return the corresponding SemanticQueryRewritesResultType. - */ - @Generated - public static SemanticQueryRewritesResultType fromString(String name) { - return fromString(name, SemanticQueryRewritesResultType.class); - } - - /** - * Gets known SemanticQueryRewritesResultType values. - * - * @return known SemanticQueryRewritesResultType values. - */ - @Generated - public static Collection values() { - return values(SemanticQueryRewritesResultType.class); - } -} diff --git a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/VectorizableTextQuery.java b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/VectorizableTextQuery.java index 130a449f37cb..e03de8a24cc4 100644 --- a/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/VectorizableTextQuery.java +++ b/sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/models/VectorizableTextQuery.java @@ -28,12 +28,6 @@ public final class VectorizableTextQuery extends VectorQuery { @Generated private final String text; - /* - * Can be configured to let a generative model rewrite the query before sending it to be vectorized. - */ - @Generated - private QueryRewritesType queryRewrites; - /** * Creates an instance of VectorizableTextQuery class. * @@ -65,30 +59,6 @@ public String getText() { return this.text; } - /** - * Get the queryRewrites property: Can be configured to let a generative model rewrite the query before sending it - * to be vectorized. - * - * @return the queryRewrites value. - */ - @Generated - public QueryRewritesType getQueryRewrites() { - return this.queryRewrites; - } - - /** - * Set the queryRewrites property: Can be configured to let a generative model rewrite the query before sending it - * to be vectorized. - * - * @param queryRewrites the queryRewrites value to set. - * @return the VectorizableTextQuery object itself. - */ - @Generated - public VectorizableTextQuery setQueryRewrites(QueryRewritesType queryRewrites) { - this.queryRewrites = queryRewrites; - return this; - } - /** * {@inheritDoc} */ @@ -176,7 +146,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeNumberField("perDocumentVectorLimit", getPerDocumentVectorLimit()); jsonWriter.writeStringField("text", this.text); jsonWriter.writeStringField("kind", this.kind == null ? null : this.kind.toString()); - jsonWriter.writeStringField("queryRewrites", this.queryRewrites == null ? null : this.queryRewrites.toString()); return jsonWriter.writeEndObject(); } @@ -202,7 +171,6 @@ public static VectorizableTextQuery fromJson(JsonReader jsonReader) throws IOExc Integer perDocumentVectorLimit = null; String text = null; VectorQueryKind kind = VectorQueryKind.TEXT; - QueryRewritesType queryRewrites = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -226,8 +194,6 @@ public static VectorizableTextQuery fromJson(JsonReader jsonReader) throws IOExc text = reader.getString(); } else if ("kind".equals(fieldName)) { kind = VectorQueryKind.fromString(reader.getString()); - } else if ("queryRewrites".equals(fieldName)) { - queryRewrites = QueryRewritesType.fromString(reader.getString()); } else { reader.skipChildren(); } @@ -242,7 +208,6 @@ public static VectorizableTextQuery fromJson(JsonReader jsonReader) throws IOExc deserializedVectorizableTextQuery.setFilterOverride(filterOverride); deserializedVectorizableTextQuery.setPerDocumentVectorLimit(perDocumentVectorLimit); deserializedVectorizableTextQuery.kind = kind; - deserializedVectorizableTextQuery.queryRewrites = queryRewrites; return deserializedVectorizableTextQuery; }); } diff --git a/sdk/search/azure-search-documents/src/main/resources/META-INF/azure-search-documents_metadata.json b/sdk/search/azure-search-documents/src/main/resources/META-INF/azure-search-documents_metadata.json index 31c9c2cef6ae..d7675ad5fd4b 100644 --- a/sdk/search/azure-search-documents/src/main/resources/META-INF/azure-search-documents_metadata.json +++ b/sdk/search/azure-search-documents/src/main/resources/META-INF/azure-search-documents_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Search":"2025-11-01-preview"},"crossLanguageDefinitions":{"com.azure.search.documents.SearchAsyncClient":"Customizations.SearchClient","com.azure.search.documents.SearchAsyncClient.autocomplete":"Customizations.SearchClient.Documents.autocompletePost","com.azure.search.documents.SearchAsyncClient.autocompleteGet":"Customizations.SearchClient.Documents.autocompleteGet","com.azure.search.documents.SearchAsyncClient.autocompleteGetWithResponse":"Customizations.SearchClient.Documents.autocompleteGet","com.azure.search.documents.SearchAsyncClient.autocompleteWithResponse":"Customizations.SearchClient.Documents.autocompletePost","com.azure.search.documents.SearchAsyncClient.getDocument":"Customizations.SearchClient.Documents.get","com.azure.search.documents.SearchAsyncClient.getDocumentCount":"Customizations.SearchClient.Documents.count","com.azure.search.documents.SearchAsyncClient.getDocumentCountWithResponse":"Customizations.SearchClient.Documents.count","com.azure.search.documents.SearchAsyncClient.getDocumentWithResponse":"Customizations.SearchClient.Documents.get","com.azure.search.documents.SearchAsyncClient.index":"Customizations.SearchClient.Documents.index","com.azure.search.documents.SearchAsyncClient.indexWithResponse":"Customizations.SearchClient.Documents.index","com.azure.search.documents.SearchAsyncClient.search":"Customizations.SearchClient.Documents.searchPost","com.azure.search.documents.SearchAsyncClient.searchGet":"Customizations.SearchClient.Documents.searchGet","com.azure.search.documents.SearchAsyncClient.searchGetWithResponse":"Customizations.SearchClient.Documents.searchGet","com.azure.search.documents.SearchAsyncClient.searchWithResponse":"Customizations.SearchClient.Documents.searchPost","com.azure.search.documents.SearchAsyncClient.suggest":"Customizations.SearchClient.Documents.suggestPost","com.azure.search.documents.SearchAsyncClient.suggestGet":"Customizations.SearchClient.Documents.suggestGet","com.azure.search.documents.SearchAsyncClient.suggestGetWithResponse":"Customizations.SearchClient.Documents.suggestGet","com.azure.search.documents.SearchAsyncClient.suggestWithResponse":"Customizations.SearchClient.Documents.suggestPost","com.azure.search.documents.SearchClient":"Customizations.SearchClient","com.azure.search.documents.SearchClient.autocomplete":"Customizations.SearchClient.Documents.autocompletePost","com.azure.search.documents.SearchClient.autocompleteGet":"Customizations.SearchClient.Documents.autocompleteGet","com.azure.search.documents.SearchClient.autocompleteGetWithResponse":"Customizations.SearchClient.Documents.autocompleteGet","com.azure.search.documents.SearchClient.autocompleteWithResponse":"Customizations.SearchClient.Documents.autocompletePost","com.azure.search.documents.SearchClient.getDocument":"Customizations.SearchClient.Documents.get","com.azure.search.documents.SearchClient.getDocumentCount":"Customizations.SearchClient.Documents.count","com.azure.search.documents.SearchClient.getDocumentCountWithResponse":"Customizations.SearchClient.Documents.count","com.azure.search.documents.SearchClient.getDocumentWithResponse":"Customizations.SearchClient.Documents.get","com.azure.search.documents.SearchClient.index":"Customizations.SearchClient.Documents.index","com.azure.search.documents.SearchClient.indexWithResponse":"Customizations.SearchClient.Documents.index","com.azure.search.documents.SearchClient.search":"Customizations.SearchClient.Documents.searchPost","com.azure.search.documents.SearchClient.searchGet":"Customizations.SearchClient.Documents.searchGet","com.azure.search.documents.SearchClient.searchGetWithResponse":"Customizations.SearchClient.Documents.searchGet","com.azure.search.documents.SearchClient.searchWithResponse":"Customizations.SearchClient.Documents.searchPost","com.azure.search.documents.SearchClient.suggest":"Customizations.SearchClient.Documents.suggestPost","com.azure.search.documents.SearchClient.suggestGet":"Customizations.SearchClient.Documents.suggestGet","com.azure.search.documents.SearchClient.suggestGetWithResponse":"Customizations.SearchClient.Documents.suggestGet","com.azure.search.documents.SearchClient.suggestWithResponse":"Customizations.SearchClient.Documents.suggestPost","com.azure.search.documents.SearchClientBuilder":"Customizations.SearchClient","com.azure.search.documents.implementation.models.AutocompletePostRequest":"Customizations.SearchClient.autocompletePost.Request.anonymous","com.azure.search.documents.implementation.models.SearchPostRequest":"Customizations.SearchClient.searchPost.Request.anonymous","com.azure.search.documents.implementation.models.SuggestPostRequest":"Customizations.SearchClient.suggestPost.Request.anonymous","com.azure.search.documents.indexes.SearchIndexAsyncClient":"Customizations.SearchIndexClient","com.azure.search.documents.indexes.SearchIndexAsyncClient.analyzeText":"Customizations.SearchIndexClient.Indexes.analyze","com.azure.search.documents.indexes.SearchIndexAsyncClient.analyzeTextWithResponse":"Customizations.SearchIndexClient.Indexes.analyze","com.azure.search.documents.indexes.SearchIndexAsyncClient.createAlias":"Customizations.SearchIndexClient.Aliases.create","com.azure.search.documents.indexes.SearchIndexAsyncClient.createAliasWithResponse":"Customizations.SearchIndexClient.Aliases.create","com.azure.search.documents.indexes.SearchIndexAsyncClient.createIndex":"Customizations.SearchIndexClient.Indexes.create","com.azure.search.documents.indexes.SearchIndexAsyncClient.createIndexWithResponse":"Customizations.SearchIndexClient.Indexes.create","com.azure.search.documents.indexes.SearchIndexAsyncClient.createKnowledgeBase":"Customizations.SearchIndexClient.KnowledgeBases.create","com.azure.search.documents.indexes.SearchIndexAsyncClient.createKnowledgeBaseWithResponse":"Customizations.SearchIndexClient.KnowledgeBases.create","com.azure.search.documents.indexes.SearchIndexAsyncClient.createKnowledgeSource":"Customizations.SearchIndexClient.Sources.create","com.azure.search.documents.indexes.SearchIndexAsyncClient.createKnowledgeSourceWithResponse":"Customizations.SearchIndexClient.Sources.create","com.azure.search.documents.indexes.SearchIndexAsyncClient.createOrUpdateAlias":"Customizations.SearchIndexClient.Aliases.createOrUpdate","com.azure.search.documents.indexes.SearchIndexAsyncClient.createOrUpdateAliasWithResponse":"Customizations.SearchIndexClient.Aliases.createOrUpdate","com.azure.search.documents.indexes.SearchIndexAsyncClient.createOrUpdateIndex":"Customizations.SearchIndexClient.Indexes.createOrUpdate","com.azure.search.documents.indexes.SearchIndexAsyncClient.createOrUpdateIndexWithResponse":"Customizations.SearchIndexClient.Indexes.createOrUpdate","com.azure.search.documents.indexes.SearchIndexAsyncClient.createOrUpdateKnowledgeBase":"Customizations.SearchIndexClient.KnowledgeBases.createOrUpdate","com.azure.search.documents.indexes.SearchIndexAsyncClient.createOrUpdateKnowledgeBaseWithResponse":"Customizations.SearchIndexClient.KnowledgeBases.createOrUpdate","com.azure.search.documents.indexes.SearchIndexAsyncClient.createOrUpdateKnowledgeSource":"Customizations.SearchIndexClient.Sources.createOrUpdate","com.azure.search.documents.indexes.SearchIndexAsyncClient.createOrUpdateKnowledgeSourceWithResponse":"Customizations.SearchIndexClient.Sources.createOrUpdate","com.azure.search.documents.indexes.SearchIndexAsyncClient.createOrUpdateSynonymMap":"Customizations.SearchIndexClient.SynonymMaps.createOrUpdate","com.azure.search.documents.indexes.SearchIndexAsyncClient.createOrUpdateSynonymMapWithResponse":"Customizations.SearchIndexClient.SynonymMaps.createOrUpdate","com.azure.search.documents.indexes.SearchIndexAsyncClient.createSynonymMap":"Customizations.SearchIndexClient.SynonymMaps.create","com.azure.search.documents.indexes.SearchIndexAsyncClient.createSynonymMapWithResponse":"Customizations.SearchIndexClient.SynonymMaps.create","com.azure.search.documents.indexes.SearchIndexAsyncClient.deleteAlias":"Customizations.SearchIndexClient.Aliases.delete","com.azure.search.documents.indexes.SearchIndexAsyncClient.deleteAliasWithResponse":"Customizations.SearchIndexClient.Aliases.delete","com.azure.search.documents.indexes.SearchIndexAsyncClient.deleteIndex":"Customizations.SearchIndexClient.Indexes.delete","com.azure.search.documents.indexes.SearchIndexAsyncClient.deleteIndexWithResponse":"Customizations.SearchIndexClient.Indexes.delete","com.azure.search.documents.indexes.SearchIndexAsyncClient.deleteKnowledgeBase":"Customizations.SearchIndexClient.KnowledgeBases.delete","com.azure.search.documents.indexes.SearchIndexAsyncClient.deleteKnowledgeBaseWithResponse":"Customizations.SearchIndexClient.KnowledgeBases.delete","com.azure.search.documents.indexes.SearchIndexAsyncClient.deleteKnowledgeSource":"Customizations.SearchIndexClient.Sources.delete","com.azure.search.documents.indexes.SearchIndexAsyncClient.deleteKnowledgeSourceWithResponse":"Customizations.SearchIndexClient.Sources.delete","com.azure.search.documents.indexes.SearchIndexAsyncClient.deleteSynonymMap":"Customizations.SearchIndexClient.SynonymMaps.delete","com.azure.search.documents.indexes.SearchIndexAsyncClient.deleteSynonymMapWithResponse":"Customizations.SearchIndexClient.SynonymMaps.delete","com.azure.search.documents.indexes.SearchIndexAsyncClient.getAlias":"Customizations.SearchIndexClient.Aliases.get","com.azure.search.documents.indexes.SearchIndexAsyncClient.getAliasWithResponse":"Customizations.SearchIndexClient.Aliases.get","com.azure.search.documents.indexes.SearchIndexAsyncClient.getIndex":"Customizations.SearchIndexClient.Indexes.get","com.azure.search.documents.indexes.SearchIndexAsyncClient.getIndexStatistics":"Customizations.SearchIndexClient.Indexes.getStatistics","com.azure.search.documents.indexes.SearchIndexAsyncClient.getIndexStatisticsWithResponse":"Customizations.SearchIndexClient.Indexes.getStatistics","com.azure.search.documents.indexes.SearchIndexAsyncClient.getIndexWithResponse":"Customizations.SearchIndexClient.Indexes.get","com.azure.search.documents.indexes.SearchIndexAsyncClient.getKnowledgeBase":"Customizations.SearchIndexClient.KnowledgeBases.get","com.azure.search.documents.indexes.SearchIndexAsyncClient.getKnowledgeBaseWithResponse":"Customizations.SearchIndexClient.KnowledgeBases.get","com.azure.search.documents.indexes.SearchIndexAsyncClient.getKnowledgeSource":"Customizations.SearchIndexClient.Sources.get","com.azure.search.documents.indexes.SearchIndexAsyncClient.getKnowledgeSourceStatus":"Customizations.SearchIndexClient.Sources.getStatus","com.azure.search.documents.indexes.SearchIndexAsyncClient.getKnowledgeSourceStatusWithResponse":"Customizations.SearchIndexClient.Sources.getStatus","com.azure.search.documents.indexes.SearchIndexAsyncClient.getKnowledgeSourceWithResponse":"Customizations.SearchIndexClient.Sources.get","com.azure.search.documents.indexes.SearchIndexAsyncClient.getServiceStatistics":"Customizations.SearchIndexClient.Root.getServiceStatistics","com.azure.search.documents.indexes.SearchIndexAsyncClient.getServiceStatisticsWithResponse":"Customizations.SearchIndexClient.Root.getServiceStatistics","com.azure.search.documents.indexes.SearchIndexAsyncClient.getSynonymMap":"Customizations.SearchIndexClient.SynonymMaps.get","com.azure.search.documents.indexes.SearchIndexAsyncClient.getSynonymMapWithResponse":"Customizations.SearchIndexClient.SynonymMaps.get","com.azure.search.documents.indexes.SearchIndexAsyncClient.getSynonymMaps":"Customizations.SearchIndexClient.SynonymMaps.list","com.azure.search.documents.indexes.SearchIndexAsyncClient.getSynonymMapsWithResponse":"Customizations.SearchIndexClient.SynonymMaps.list","com.azure.search.documents.indexes.SearchIndexAsyncClient.listAliases":"Customizations.SearchIndexClient.Aliases.list","com.azure.search.documents.indexes.SearchIndexAsyncClient.listIndexStatsSummary":"Customizations.SearchIndexClient.Root.getIndexStatsSummary","com.azure.search.documents.indexes.SearchIndexAsyncClient.listIndexes":"Customizations.SearchIndexClient.Indexes.list","com.azure.search.documents.indexes.SearchIndexAsyncClient.listKnowledgeBases":"Customizations.SearchIndexClient.KnowledgeBases.list","com.azure.search.documents.indexes.SearchIndexAsyncClient.listKnowledgeSources":"Customizations.SearchIndexClient.Sources.list","com.azure.search.documents.indexes.SearchIndexClient":"Customizations.SearchIndexClient","com.azure.search.documents.indexes.SearchIndexClient.analyzeText":"Customizations.SearchIndexClient.Indexes.analyze","com.azure.search.documents.indexes.SearchIndexClient.analyzeTextWithResponse":"Customizations.SearchIndexClient.Indexes.analyze","com.azure.search.documents.indexes.SearchIndexClient.createAlias":"Customizations.SearchIndexClient.Aliases.create","com.azure.search.documents.indexes.SearchIndexClient.createAliasWithResponse":"Customizations.SearchIndexClient.Aliases.create","com.azure.search.documents.indexes.SearchIndexClient.createIndex":"Customizations.SearchIndexClient.Indexes.create","com.azure.search.documents.indexes.SearchIndexClient.createIndexWithResponse":"Customizations.SearchIndexClient.Indexes.create","com.azure.search.documents.indexes.SearchIndexClient.createKnowledgeBase":"Customizations.SearchIndexClient.KnowledgeBases.create","com.azure.search.documents.indexes.SearchIndexClient.createKnowledgeBaseWithResponse":"Customizations.SearchIndexClient.KnowledgeBases.create","com.azure.search.documents.indexes.SearchIndexClient.createKnowledgeSource":"Customizations.SearchIndexClient.Sources.create","com.azure.search.documents.indexes.SearchIndexClient.createKnowledgeSourceWithResponse":"Customizations.SearchIndexClient.Sources.create","com.azure.search.documents.indexes.SearchIndexClient.createOrUpdateAlias":"Customizations.SearchIndexClient.Aliases.createOrUpdate","com.azure.search.documents.indexes.SearchIndexClient.createOrUpdateAliasWithResponse":"Customizations.SearchIndexClient.Aliases.createOrUpdate","com.azure.search.documents.indexes.SearchIndexClient.createOrUpdateIndex":"Customizations.SearchIndexClient.Indexes.createOrUpdate","com.azure.search.documents.indexes.SearchIndexClient.createOrUpdateIndexWithResponse":"Customizations.SearchIndexClient.Indexes.createOrUpdate","com.azure.search.documents.indexes.SearchIndexClient.createOrUpdateKnowledgeBase":"Customizations.SearchIndexClient.KnowledgeBases.createOrUpdate","com.azure.search.documents.indexes.SearchIndexClient.createOrUpdateKnowledgeBaseWithResponse":"Customizations.SearchIndexClient.KnowledgeBases.createOrUpdate","com.azure.search.documents.indexes.SearchIndexClient.createOrUpdateKnowledgeSource":"Customizations.SearchIndexClient.Sources.createOrUpdate","com.azure.search.documents.indexes.SearchIndexClient.createOrUpdateKnowledgeSourceWithResponse":"Customizations.SearchIndexClient.Sources.createOrUpdate","com.azure.search.documents.indexes.SearchIndexClient.createOrUpdateSynonymMap":"Customizations.SearchIndexClient.SynonymMaps.createOrUpdate","com.azure.search.documents.indexes.SearchIndexClient.createOrUpdateSynonymMapWithResponse":"Customizations.SearchIndexClient.SynonymMaps.createOrUpdate","com.azure.search.documents.indexes.SearchIndexClient.createSynonymMap":"Customizations.SearchIndexClient.SynonymMaps.create","com.azure.search.documents.indexes.SearchIndexClient.createSynonymMapWithResponse":"Customizations.SearchIndexClient.SynonymMaps.create","com.azure.search.documents.indexes.SearchIndexClient.deleteAlias":"Customizations.SearchIndexClient.Aliases.delete","com.azure.search.documents.indexes.SearchIndexClient.deleteAliasWithResponse":"Customizations.SearchIndexClient.Aliases.delete","com.azure.search.documents.indexes.SearchIndexClient.deleteIndex":"Customizations.SearchIndexClient.Indexes.delete","com.azure.search.documents.indexes.SearchIndexClient.deleteIndexWithResponse":"Customizations.SearchIndexClient.Indexes.delete","com.azure.search.documents.indexes.SearchIndexClient.deleteKnowledgeBase":"Customizations.SearchIndexClient.KnowledgeBases.delete","com.azure.search.documents.indexes.SearchIndexClient.deleteKnowledgeBaseWithResponse":"Customizations.SearchIndexClient.KnowledgeBases.delete","com.azure.search.documents.indexes.SearchIndexClient.deleteKnowledgeSource":"Customizations.SearchIndexClient.Sources.delete","com.azure.search.documents.indexes.SearchIndexClient.deleteKnowledgeSourceWithResponse":"Customizations.SearchIndexClient.Sources.delete","com.azure.search.documents.indexes.SearchIndexClient.deleteSynonymMap":"Customizations.SearchIndexClient.SynonymMaps.delete","com.azure.search.documents.indexes.SearchIndexClient.deleteSynonymMapWithResponse":"Customizations.SearchIndexClient.SynonymMaps.delete","com.azure.search.documents.indexes.SearchIndexClient.getAlias":"Customizations.SearchIndexClient.Aliases.get","com.azure.search.documents.indexes.SearchIndexClient.getAliasWithResponse":"Customizations.SearchIndexClient.Aliases.get","com.azure.search.documents.indexes.SearchIndexClient.getIndex":"Customizations.SearchIndexClient.Indexes.get","com.azure.search.documents.indexes.SearchIndexClient.getIndexStatistics":"Customizations.SearchIndexClient.Indexes.getStatistics","com.azure.search.documents.indexes.SearchIndexClient.getIndexStatisticsWithResponse":"Customizations.SearchIndexClient.Indexes.getStatistics","com.azure.search.documents.indexes.SearchIndexClient.getIndexWithResponse":"Customizations.SearchIndexClient.Indexes.get","com.azure.search.documents.indexes.SearchIndexClient.getKnowledgeBase":"Customizations.SearchIndexClient.KnowledgeBases.get","com.azure.search.documents.indexes.SearchIndexClient.getKnowledgeBaseWithResponse":"Customizations.SearchIndexClient.KnowledgeBases.get","com.azure.search.documents.indexes.SearchIndexClient.getKnowledgeSource":"Customizations.SearchIndexClient.Sources.get","com.azure.search.documents.indexes.SearchIndexClient.getKnowledgeSourceStatus":"Customizations.SearchIndexClient.Sources.getStatus","com.azure.search.documents.indexes.SearchIndexClient.getKnowledgeSourceStatusWithResponse":"Customizations.SearchIndexClient.Sources.getStatus","com.azure.search.documents.indexes.SearchIndexClient.getKnowledgeSourceWithResponse":"Customizations.SearchIndexClient.Sources.get","com.azure.search.documents.indexes.SearchIndexClient.getServiceStatistics":"Customizations.SearchIndexClient.Root.getServiceStatistics","com.azure.search.documents.indexes.SearchIndexClient.getServiceStatisticsWithResponse":"Customizations.SearchIndexClient.Root.getServiceStatistics","com.azure.search.documents.indexes.SearchIndexClient.getSynonymMap":"Customizations.SearchIndexClient.SynonymMaps.get","com.azure.search.documents.indexes.SearchIndexClient.getSynonymMapWithResponse":"Customizations.SearchIndexClient.SynonymMaps.get","com.azure.search.documents.indexes.SearchIndexClient.getSynonymMaps":"Customizations.SearchIndexClient.SynonymMaps.list","com.azure.search.documents.indexes.SearchIndexClient.getSynonymMapsWithResponse":"Customizations.SearchIndexClient.SynonymMaps.list","com.azure.search.documents.indexes.SearchIndexClient.listAliases":"Customizations.SearchIndexClient.Aliases.list","com.azure.search.documents.indexes.SearchIndexClient.listIndexStatsSummary":"Customizations.SearchIndexClient.Root.getIndexStatsSummary","com.azure.search.documents.indexes.SearchIndexClient.listIndexes":"Customizations.SearchIndexClient.Indexes.list","com.azure.search.documents.indexes.SearchIndexClient.listKnowledgeBases":"Customizations.SearchIndexClient.KnowledgeBases.list","com.azure.search.documents.indexes.SearchIndexClient.listKnowledgeSources":"Customizations.SearchIndexClient.Sources.list","com.azure.search.documents.indexes.SearchIndexClientBuilder":"Customizations.SearchIndexClient","com.azure.search.documents.indexes.SearchIndexerAsyncClient":"Customizations.SearchIndexerClient","com.azure.search.documents.indexes.SearchIndexerAsyncClient.createDataSourceConnection":"Customizations.SearchIndexerClient.DataSources.create","com.azure.search.documents.indexes.SearchIndexerAsyncClient.createDataSourceConnectionWithResponse":"Customizations.SearchIndexerClient.DataSources.create","com.azure.search.documents.indexes.SearchIndexerAsyncClient.createIndexer":"Customizations.SearchIndexerClient.Indexers.create","com.azure.search.documents.indexes.SearchIndexerAsyncClient.createIndexerWithResponse":"Customizations.SearchIndexerClient.Indexers.create","com.azure.search.documents.indexes.SearchIndexerAsyncClient.createOrUpdateDataSourceConnection":"Customizations.SearchIndexerClient.DataSources.createOrUpdate","com.azure.search.documents.indexes.SearchIndexerAsyncClient.createOrUpdateDataSourceConnectionWithResponse":"Customizations.SearchIndexerClient.DataSources.createOrUpdate","com.azure.search.documents.indexes.SearchIndexerAsyncClient.createOrUpdateIndexer":"Customizations.SearchIndexerClient.Indexers.createOrUpdate","com.azure.search.documents.indexes.SearchIndexerAsyncClient.createOrUpdateIndexerWithResponse":"Customizations.SearchIndexerClient.Indexers.createOrUpdate","com.azure.search.documents.indexes.SearchIndexerAsyncClient.createOrUpdateSkillset":"Customizations.SearchIndexerClient.Skillsets.createOrUpdate","com.azure.search.documents.indexes.SearchIndexerAsyncClient.createOrUpdateSkillsetWithResponse":"Customizations.SearchIndexerClient.Skillsets.createOrUpdate","com.azure.search.documents.indexes.SearchIndexerAsyncClient.createSkillset":"Customizations.SearchIndexerClient.Skillsets.create","com.azure.search.documents.indexes.SearchIndexerAsyncClient.createSkillsetWithResponse":"Customizations.SearchIndexerClient.Skillsets.create","com.azure.search.documents.indexes.SearchIndexerAsyncClient.deleteDataSourceConnection":"Customizations.SearchIndexerClient.DataSources.delete","com.azure.search.documents.indexes.SearchIndexerAsyncClient.deleteDataSourceConnectionWithResponse":"Customizations.SearchIndexerClient.DataSources.delete","com.azure.search.documents.indexes.SearchIndexerAsyncClient.deleteIndexer":"Customizations.SearchIndexerClient.Indexers.delete","com.azure.search.documents.indexes.SearchIndexerAsyncClient.deleteIndexerWithResponse":"Customizations.SearchIndexerClient.Indexers.delete","com.azure.search.documents.indexes.SearchIndexerAsyncClient.deleteSkillset":"Customizations.SearchIndexerClient.Skillsets.delete","com.azure.search.documents.indexes.SearchIndexerAsyncClient.deleteSkillsetWithResponse":"Customizations.SearchIndexerClient.Skillsets.delete","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getDataSourceConnection":"Customizations.SearchIndexerClient.DataSources.get","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getDataSourceConnectionWithResponse":"Customizations.SearchIndexerClient.DataSources.get","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getDataSourceConnections":"Customizations.SearchIndexerClient.DataSources.list","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getDataSourceConnectionsWithResponse":"Customizations.SearchIndexerClient.DataSources.list","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getIndexer":"Customizations.SearchIndexerClient.Indexers.get","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getIndexerStatus":"Customizations.SearchIndexerClient.Indexers.getStatus","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getIndexerStatusWithResponse":"Customizations.SearchIndexerClient.Indexers.getStatus","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getIndexerWithResponse":"Customizations.SearchIndexerClient.Indexers.get","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getIndexers":"Customizations.SearchIndexerClient.Indexers.list","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getIndexersWithResponse":"Customizations.SearchIndexerClient.Indexers.list","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getSkillset":"Customizations.SearchIndexerClient.Skillsets.get","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getSkillsetWithResponse":"Customizations.SearchIndexerClient.Skillsets.get","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getSkillsets":"Customizations.SearchIndexerClient.Skillsets.list","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getSkillsetsWithResponse":"Customizations.SearchIndexerClient.Skillsets.list","com.azure.search.documents.indexes.SearchIndexerAsyncClient.resetDocuments":"Customizations.SearchIndexerClient.Indexers.resetDocs","com.azure.search.documents.indexes.SearchIndexerAsyncClient.resetDocumentsWithResponse":"Customizations.SearchIndexerClient.Indexers.resetDocs","com.azure.search.documents.indexes.SearchIndexerAsyncClient.resetIndexer":"Customizations.SearchIndexerClient.Indexers.reset","com.azure.search.documents.indexes.SearchIndexerAsyncClient.resetIndexerWithResponse":"Customizations.SearchIndexerClient.Indexers.reset","com.azure.search.documents.indexes.SearchIndexerAsyncClient.resetSkills":"Customizations.SearchIndexerClient.Skillsets.resetSkills","com.azure.search.documents.indexes.SearchIndexerAsyncClient.resetSkillsWithResponse":"Customizations.SearchIndexerClient.Skillsets.resetSkills","com.azure.search.documents.indexes.SearchIndexerAsyncClient.resync":"Customizations.SearchIndexerClient.Indexers.resync","com.azure.search.documents.indexes.SearchIndexerAsyncClient.resyncWithResponse":"Customizations.SearchIndexerClient.Indexers.resync","com.azure.search.documents.indexes.SearchIndexerAsyncClient.runIndexer":"Customizations.SearchIndexerClient.Indexers.run","com.azure.search.documents.indexes.SearchIndexerAsyncClient.runIndexerWithResponse":"Customizations.SearchIndexerClient.Indexers.run","com.azure.search.documents.indexes.SearchIndexerClient":"Customizations.SearchIndexerClient","com.azure.search.documents.indexes.SearchIndexerClient.createDataSourceConnection":"Customizations.SearchIndexerClient.DataSources.create","com.azure.search.documents.indexes.SearchIndexerClient.createDataSourceConnectionWithResponse":"Customizations.SearchIndexerClient.DataSources.create","com.azure.search.documents.indexes.SearchIndexerClient.createIndexer":"Customizations.SearchIndexerClient.Indexers.create","com.azure.search.documents.indexes.SearchIndexerClient.createIndexerWithResponse":"Customizations.SearchIndexerClient.Indexers.create","com.azure.search.documents.indexes.SearchIndexerClient.createOrUpdateDataSourceConnection":"Customizations.SearchIndexerClient.DataSources.createOrUpdate","com.azure.search.documents.indexes.SearchIndexerClient.createOrUpdateDataSourceConnectionWithResponse":"Customizations.SearchIndexerClient.DataSources.createOrUpdate","com.azure.search.documents.indexes.SearchIndexerClient.createOrUpdateIndexer":"Customizations.SearchIndexerClient.Indexers.createOrUpdate","com.azure.search.documents.indexes.SearchIndexerClient.createOrUpdateIndexerWithResponse":"Customizations.SearchIndexerClient.Indexers.createOrUpdate","com.azure.search.documents.indexes.SearchIndexerClient.createOrUpdateSkillset":"Customizations.SearchIndexerClient.Skillsets.createOrUpdate","com.azure.search.documents.indexes.SearchIndexerClient.createOrUpdateSkillsetWithResponse":"Customizations.SearchIndexerClient.Skillsets.createOrUpdate","com.azure.search.documents.indexes.SearchIndexerClient.createSkillset":"Customizations.SearchIndexerClient.Skillsets.create","com.azure.search.documents.indexes.SearchIndexerClient.createSkillsetWithResponse":"Customizations.SearchIndexerClient.Skillsets.create","com.azure.search.documents.indexes.SearchIndexerClient.deleteDataSourceConnection":"Customizations.SearchIndexerClient.DataSources.delete","com.azure.search.documents.indexes.SearchIndexerClient.deleteDataSourceConnectionWithResponse":"Customizations.SearchIndexerClient.DataSources.delete","com.azure.search.documents.indexes.SearchIndexerClient.deleteIndexer":"Customizations.SearchIndexerClient.Indexers.delete","com.azure.search.documents.indexes.SearchIndexerClient.deleteIndexerWithResponse":"Customizations.SearchIndexerClient.Indexers.delete","com.azure.search.documents.indexes.SearchIndexerClient.deleteSkillset":"Customizations.SearchIndexerClient.Skillsets.delete","com.azure.search.documents.indexes.SearchIndexerClient.deleteSkillsetWithResponse":"Customizations.SearchIndexerClient.Skillsets.delete","com.azure.search.documents.indexes.SearchIndexerClient.getDataSourceConnection":"Customizations.SearchIndexerClient.DataSources.get","com.azure.search.documents.indexes.SearchIndexerClient.getDataSourceConnectionWithResponse":"Customizations.SearchIndexerClient.DataSources.get","com.azure.search.documents.indexes.SearchIndexerClient.getDataSourceConnections":"Customizations.SearchIndexerClient.DataSources.list","com.azure.search.documents.indexes.SearchIndexerClient.getDataSourceConnectionsWithResponse":"Customizations.SearchIndexerClient.DataSources.list","com.azure.search.documents.indexes.SearchIndexerClient.getIndexer":"Customizations.SearchIndexerClient.Indexers.get","com.azure.search.documents.indexes.SearchIndexerClient.getIndexerStatus":"Customizations.SearchIndexerClient.Indexers.getStatus","com.azure.search.documents.indexes.SearchIndexerClient.getIndexerStatusWithResponse":"Customizations.SearchIndexerClient.Indexers.getStatus","com.azure.search.documents.indexes.SearchIndexerClient.getIndexerWithResponse":"Customizations.SearchIndexerClient.Indexers.get","com.azure.search.documents.indexes.SearchIndexerClient.getIndexers":"Customizations.SearchIndexerClient.Indexers.list","com.azure.search.documents.indexes.SearchIndexerClient.getIndexersWithResponse":"Customizations.SearchIndexerClient.Indexers.list","com.azure.search.documents.indexes.SearchIndexerClient.getSkillset":"Customizations.SearchIndexerClient.Skillsets.get","com.azure.search.documents.indexes.SearchIndexerClient.getSkillsetWithResponse":"Customizations.SearchIndexerClient.Skillsets.get","com.azure.search.documents.indexes.SearchIndexerClient.getSkillsets":"Customizations.SearchIndexerClient.Skillsets.list","com.azure.search.documents.indexes.SearchIndexerClient.getSkillsetsWithResponse":"Customizations.SearchIndexerClient.Skillsets.list","com.azure.search.documents.indexes.SearchIndexerClient.resetDocuments":"Customizations.SearchIndexerClient.Indexers.resetDocs","com.azure.search.documents.indexes.SearchIndexerClient.resetDocumentsWithResponse":"Customizations.SearchIndexerClient.Indexers.resetDocs","com.azure.search.documents.indexes.SearchIndexerClient.resetIndexer":"Customizations.SearchIndexerClient.Indexers.reset","com.azure.search.documents.indexes.SearchIndexerClient.resetIndexerWithResponse":"Customizations.SearchIndexerClient.Indexers.reset","com.azure.search.documents.indexes.SearchIndexerClient.resetSkills":"Customizations.SearchIndexerClient.Skillsets.resetSkills","com.azure.search.documents.indexes.SearchIndexerClient.resetSkillsWithResponse":"Customizations.SearchIndexerClient.Skillsets.resetSkills","com.azure.search.documents.indexes.SearchIndexerClient.resync":"Customizations.SearchIndexerClient.Indexers.resync","com.azure.search.documents.indexes.SearchIndexerClient.resyncWithResponse":"Customizations.SearchIndexerClient.Indexers.resync","com.azure.search.documents.indexes.SearchIndexerClient.runIndexer":"Customizations.SearchIndexerClient.Indexers.run","com.azure.search.documents.indexes.SearchIndexerClient.runIndexerWithResponse":"Customizations.SearchIndexerClient.Indexers.run","com.azure.search.documents.indexes.SearchIndexerClientBuilder":"Customizations.SearchIndexerClient","com.azure.search.documents.indexes.models.AIFoundryModelCatalogName":"Search.AIFoundryModelCatalogName","com.azure.search.documents.indexes.models.AIServicesAccountIdentity":"Search.AIServicesAccountIdentity","com.azure.search.documents.indexes.models.AIServicesAccountKey":"Search.AIServicesAccountKey","com.azure.search.documents.indexes.models.AIServicesVisionParameters":"Search.AIServicesVisionParameters","com.azure.search.documents.indexes.models.AIServicesVisionVectorizer":"Search.AIServicesVisionVectorizer","com.azure.search.documents.indexes.models.AnalyzeResult":"Search.AnalyzeResult","com.azure.search.documents.indexes.models.AnalyzeTextOptions":"Search.AnalyzeRequest","com.azure.search.documents.indexes.models.AnalyzedTokenInfo":"Search.AnalyzedTokenInfo","com.azure.search.documents.indexes.models.AsciiFoldingTokenFilter":"Search.AsciiFoldingTokenFilter","com.azure.search.documents.indexes.models.AzureActiveDirectoryApplicationCredentials":"Search.AzureActiveDirectoryApplicationCredentials","com.azure.search.documents.indexes.models.AzureBlobKnowledgeSource":"Search.AzureBlobKnowledgeSource","com.azure.search.documents.indexes.models.AzureBlobKnowledgeSourceParameters":"Search.AzureBlobKnowledgeSourceParameters","com.azure.search.documents.indexes.models.AzureMachineLearningParameters":"Search.AMLParameters","com.azure.search.documents.indexes.models.AzureMachineLearningSkill":"Search.AzureMachineLearningSkill","com.azure.search.documents.indexes.models.AzureMachineLearningVectorizer":"Search.AMLVectorizer","com.azure.search.documents.indexes.models.AzureOpenAIEmbeddingSkill":"Search.AzureOpenAIEmbeddingSkill","com.azure.search.documents.indexes.models.AzureOpenAIModelName":"Search.AzureOpenAIModelName","com.azure.search.documents.indexes.models.AzureOpenAITokenizerParameters":"Search.AzureOpenAITokenizerParameters","com.azure.search.documents.indexes.models.AzureOpenAIVectorizer":"Search.AzureOpenAIVectorizer","com.azure.search.documents.indexes.models.AzureOpenAIVectorizerParameters":"Search.AzureOpenAIVectorizerParameters","com.azure.search.documents.indexes.models.BM25SimilarityAlgorithm":"Search.BM25SimilarityAlgorithm","com.azure.search.documents.indexes.models.BinaryQuantizationCompression":"Search.BinaryQuantizationCompression","com.azure.search.documents.indexes.models.BlobIndexerDataToExtract":"Search.BlobIndexerDataToExtract","com.azure.search.documents.indexes.models.BlobIndexerImageAction":"Search.BlobIndexerImageAction","com.azure.search.documents.indexes.models.BlobIndexerPDFTextRotationAlgorithm":"Search.BlobIndexerPDFTextRotationAlgorithm","com.azure.search.documents.indexes.models.BlobIndexerParsingMode":"Search.BlobIndexerParsingMode","com.azure.search.documents.indexes.models.CharFilter":"Search.CharFilter","com.azure.search.documents.indexes.models.CharFilterName":"Search.CharFilterName","com.azure.search.documents.indexes.models.ChatCompletionCommonModelParameters":"Search.ChatCompletionCommonModelParameters","com.azure.search.documents.indexes.models.ChatCompletionExtraParametersBehavior":"Search.ChatCompletionExtraParametersBehavior","com.azure.search.documents.indexes.models.ChatCompletionResponseFormat":"Search.ChatCompletionResponseFormat","com.azure.search.documents.indexes.models.ChatCompletionResponseFormatType":"Search.ChatCompletionResponseFormatType","com.azure.search.documents.indexes.models.ChatCompletionSchema":"Search.ChatCompletionSchema","com.azure.search.documents.indexes.models.ChatCompletionSchemaProperties":"Search.ChatCompletionSchemaProperties","com.azure.search.documents.indexes.models.ChatCompletionSkill":"Search.ChatCompletionSkill","com.azure.search.documents.indexes.models.CjkBigramTokenFilter":"Search.CjkBigramTokenFilter","com.azure.search.documents.indexes.models.CjkBigramTokenFilterScripts":"Search.CjkBigramTokenFilterScripts","com.azure.search.documents.indexes.models.ClassicSimilarityAlgorithm":"Search.ClassicSimilarityAlgorithm","com.azure.search.documents.indexes.models.ClassicTokenizer":"Search.ClassicTokenizer","com.azure.search.documents.indexes.models.CognitiveServicesAccount":"Search.CognitiveServicesAccount","com.azure.search.documents.indexes.models.CognitiveServicesAccountKey":"Search.CognitiveServicesAccountKey","com.azure.search.documents.indexes.models.CommonGramTokenFilter":"Search.CommonGramTokenFilter","com.azure.search.documents.indexes.models.ConditionalSkill":"Search.ConditionalSkill","com.azure.search.documents.indexes.models.ContentUnderstandingSkill":"Search.ContentUnderstandingSkill","com.azure.search.documents.indexes.models.ContentUnderstandingSkillChunkingProperties":"Search.ContentUnderstandingSkillChunkingProperties","com.azure.search.documents.indexes.models.ContentUnderstandingSkillChunkingUnit":"Search.ContentUnderstandingSkillChunkingUnit","com.azure.search.documents.indexes.models.ContentUnderstandingSkillExtractionOptions":"Search.ContentUnderstandingSkillExtractionOptions","com.azure.search.documents.indexes.models.CorsOptions":"Search.CorsOptions","com.azure.search.documents.indexes.models.CreatedResources":"Search.CreatedResources","com.azure.search.documents.indexes.models.CustomAnalyzer":"Search.CustomAnalyzer","com.azure.search.documents.indexes.models.CustomEntity":"Search.CustomEntity","com.azure.search.documents.indexes.models.CustomEntityAlias":"Search.CustomEntityAlias","com.azure.search.documents.indexes.models.CustomEntityLookupSkill":"Search.CustomEntityLookupSkill","com.azure.search.documents.indexes.models.CustomEntityLookupSkillLanguage":"Search.CustomEntityLookupSkillLanguage","com.azure.search.documents.indexes.models.CustomNormalizer":"Search.CustomNormalizer","com.azure.search.documents.indexes.models.DataChangeDetectionPolicy":"Search.DataChangeDetectionPolicy","com.azure.search.documents.indexes.models.DataDeletionDetectionPolicy":"Search.DataDeletionDetectionPolicy","com.azure.search.documents.indexes.models.DataSourceCredentials":"Search.DataSourceCredentials","com.azure.search.documents.indexes.models.DefaultCognitiveServicesAccount":"Search.DefaultCognitiveServicesAccount","com.azure.search.documents.indexes.models.DictionaryDecompounderTokenFilter":"Search.DictionaryDecompounderTokenFilter","com.azure.search.documents.indexes.models.DistanceScoringFunction":"Search.DistanceScoringFunction","com.azure.search.documents.indexes.models.DistanceScoringParameters":"Search.DistanceScoringParameters","com.azure.search.documents.indexes.models.DocumentExtractionSkill":"Search.DocumentExtractionSkill","com.azure.search.documents.indexes.models.DocumentIntelligenceLayoutSkill":"Search.DocumentIntelligenceLayoutSkill","com.azure.search.documents.indexes.models.DocumentIntelligenceLayoutSkillChunkingProperties":"Search.DocumentIntelligenceLayoutSkillChunkingProperties","com.azure.search.documents.indexes.models.DocumentIntelligenceLayoutSkillChunkingUnit":"Search.DocumentIntelligenceLayoutSkillChunkingUnit","com.azure.search.documents.indexes.models.DocumentIntelligenceLayoutSkillExtractionOptions":"Search.DocumentIntelligenceLayoutSkillExtractionOptions","com.azure.search.documents.indexes.models.DocumentIntelligenceLayoutSkillMarkdownHeaderDepth":"Search.DocumentIntelligenceLayoutSkillMarkdownHeaderDepth","com.azure.search.documents.indexes.models.DocumentIntelligenceLayoutSkillOutputFormat":"Search.DocumentIntelligenceLayoutSkillOutputFormat","com.azure.search.documents.indexes.models.DocumentIntelligenceLayoutSkillOutputMode":"Search.DocumentIntelligenceLayoutSkillOutputMode","com.azure.search.documents.indexes.models.DocumentKeysOrIds":"Search.DocumentKeysOrIds","com.azure.search.documents.indexes.models.EdgeNGramTokenFilter":"Search.EdgeNGramTokenFilter","com.azure.search.documents.indexes.models.EdgeNGramTokenFilterSide":"Search.EdgeNGramTokenFilterSide","com.azure.search.documents.indexes.models.EdgeNGramTokenFilterV2":"Search.EdgeNGramTokenFilterV2","com.azure.search.documents.indexes.models.EdgeNGramTokenizer":"Search.EdgeNGramTokenizer","com.azure.search.documents.indexes.models.ElisionTokenFilter":"Search.ElisionTokenFilter","com.azure.search.documents.indexes.models.EntityLinkingSkill":"Search.EntityLinkingSkill","com.azure.search.documents.indexes.models.EntityRecognitionSkillV3":"Search.EntityRecognitionSkillV3","com.azure.search.documents.indexes.models.ExhaustiveKnnAlgorithmConfiguration":"Search.ExhaustiveKnnAlgorithmConfiguration","com.azure.search.documents.indexes.models.ExhaustiveKnnParameters":"Search.ExhaustiveKnnParameters","com.azure.search.documents.indexes.models.FieldMapping":"Search.FieldMapping","com.azure.search.documents.indexes.models.FieldMappingFunction":"Search.FieldMappingFunction","com.azure.search.documents.indexes.models.FreshnessScoringFunction":"Search.FreshnessScoringFunction","com.azure.search.documents.indexes.models.FreshnessScoringParameters":"Search.FreshnessScoringParameters","com.azure.search.documents.indexes.models.GetIndexStatisticsResult":"Search.GetIndexStatisticsResult","com.azure.search.documents.indexes.models.HighWaterMarkChangeDetectionPolicy":"Search.HighWaterMarkChangeDetectionPolicy","com.azure.search.documents.indexes.models.HnswAlgorithmConfiguration":"Search.HnswAlgorithmConfiguration","com.azure.search.documents.indexes.models.HnswParameters":"Search.HnswParameters","com.azure.search.documents.indexes.models.ImageAnalysisSkill":"Search.ImageAnalysisSkill","com.azure.search.documents.indexes.models.ImageAnalysisSkillLanguage":"Search.ImageAnalysisSkillLanguage","com.azure.search.documents.indexes.models.ImageDetail":"Search.ImageDetail","com.azure.search.documents.indexes.models.IndexProjectionMode":"Search.IndexProjectionMode","com.azure.search.documents.indexes.models.IndexStatisticsSummary":"Search.IndexStatisticsSummary","com.azure.search.documents.indexes.models.IndexedOneLakeKnowledgeSource":"Search.IndexedOneLakeKnowledgeSource","com.azure.search.documents.indexes.models.IndexedOneLakeKnowledgeSourceParameters":"Search.IndexedOneLakeKnowledgeSourceParameters","com.azure.search.documents.indexes.models.IndexedSharePointContainerName":"Search.IndexedSharePointContainerName","com.azure.search.documents.indexes.models.IndexedSharePointKnowledgeSource":"Search.IndexedSharePointKnowledgeSource","com.azure.search.documents.indexes.models.IndexedSharePointKnowledgeSourceParameters":"Search.IndexedSharePointKnowledgeSourceParameters","com.azure.search.documents.indexes.models.IndexerCurrentState":"Search.IndexerCurrentState","com.azure.search.documents.indexes.models.IndexerExecutionEnvironment":"Search.IndexerExecutionEnvironment","com.azure.search.documents.indexes.models.IndexerExecutionResult":"Search.IndexerExecutionResult","com.azure.search.documents.indexes.models.IndexerExecutionStatus":"Search.IndexerExecutionStatus","com.azure.search.documents.indexes.models.IndexerExecutionStatusDetail":"Search.IndexerExecutionStatusDetail","com.azure.search.documents.indexes.models.IndexerPermissionOption":"Search.IndexerPermissionOption","com.azure.search.documents.indexes.models.IndexerResyncBody":"Search.IndexerResyncBody","com.azure.search.documents.indexes.models.IndexerResyncOption":"Search.IndexerResyncOption","com.azure.search.documents.indexes.models.IndexerRuntime":"Search.IndexerRuntime","com.azure.search.documents.indexes.models.IndexerStatus":"Search.IndexerStatus","com.azure.search.documents.indexes.models.IndexingMode":"Search.IndexingMode","com.azure.search.documents.indexes.models.IndexingParameters":"Search.IndexingParameters","com.azure.search.documents.indexes.models.IndexingParametersConfiguration":"Search.IndexingParametersConfiguration","com.azure.search.documents.indexes.models.IndexingSchedule":"Search.IndexingSchedule","com.azure.search.documents.indexes.models.InputFieldMappingEntry":"Search.InputFieldMappingEntry","com.azure.search.documents.indexes.models.KeepTokenFilter":"Search.KeepTokenFilter","com.azure.search.documents.indexes.models.KeyPhraseExtractionSkill":"Search.KeyPhraseExtractionSkill","com.azure.search.documents.indexes.models.KeyPhraseExtractionSkillLanguage":"Search.KeyPhraseExtractionSkillLanguage","com.azure.search.documents.indexes.models.KeywordMarkerTokenFilter":"Search.KeywordMarkerTokenFilter","com.azure.search.documents.indexes.models.KeywordTokenizer":"Search.KeywordTokenizer","com.azure.search.documents.indexes.models.KeywordTokenizerV2":"Search.KeywordTokenizerV2","com.azure.search.documents.indexes.models.KnowledgeBase":"Search.KnowledgeBase","com.azure.search.documents.indexes.models.KnowledgeBaseAzureOpenAIModel":"Search.KnowledgeBaseAzureOpenAIModel","com.azure.search.documents.indexes.models.KnowledgeBaseModel":"Search.KnowledgeBaseModel","com.azure.search.documents.indexes.models.KnowledgeBaseModelKind":"Search.KnowledgeBaseModelKind","com.azure.search.documents.indexes.models.KnowledgeSource":"Search.KnowledgeSource","com.azure.search.documents.indexes.models.KnowledgeSourceContentExtractionMode":"Search.KnowledgeSourceContentExtractionMode","com.azure.search.documents.indexes.models.KnowledgeSourceIngestionPermissionOption":"Search.KnowledgeSourceIngestionPermissionOption","com.azure.search.documents.indexes.models.KnowledgeSourceKind":"Search.KnowledgeSourceKind","com.azure.search.documents.indexes.models.KnowledgeSourceReference":"Search.KnowledgeSourceReference","com.azure.search.documents.indexes.models.KnowledgeSourceSynchronizationStatus":"Search.KnowledgeSourceSynchronizationStatus","com.azure.search.documents.indexes.models.LanguageDetectionSkill":"Search.LanguageDetectionSkill","com.azure.search.documents.indexes.models.LengthTokenFilter":"Search.LengthTokenFilter","com.azure.search.documents.indexes.models.LexicalAnalyzer":"Search.LexicalAnalyzer","com.azure.search.documents.indexes.models.LexicalAnalyzerName":"Search.LexicalAnalyzerName","com.azure.search.documents.indexes.models.LexicalNormalizer":"Search.LexicalNormalizer","com.azure.search.documents.indexes.models.LexicalNormalizerName":"Search.LexicalNormalizerName","com.azure.search.documents.indexes.models.LexicalTokenizer":"Search.LexicalTokenizer","com.azure.search.documents.indexes.models.LexicalTokenizerName":"Search.LexicalTokenizerName","com.azure.search.documents.indexes.models.LimitTokenFilter":"Search.LimitTokenFilter","com.azure.search.documents.indexes.models.ListDataSourcesResult":"Search.ListDataSourcesResult","com.azure.search.documents.indexes.models.ListIndexersResult":"Search.ListIndexersResult","com.azure.search.documents.indexes.models.ListSkillsetsResult":"Search.ListSkillsetsResult","com.azure.search.documents.indexes.models.ListSynonymMapsResult":"Search.ListSynonymMapsResult","com.azure.search.documents.indexes.models.LuceneStandardAnalyzer":"Search.LuceneStandardAnalyzer","com.azure.search.documents.indexes.models.LuceneStandardTokenizer":"Search.LuceneStandardTokenizer","com.azure.search.documents.indexes.models.LuceneStandardTokenizerV2":"Search.LuceneStandardTokenizerV2","com.azure.search.documents.indexes.models.MagnitudeScoringFunction":"Search.MagnitudeScoringFunction","com.azure.search.documents.indexes.models.MagnitudeScoringParameters":"Search.MagnitudeScoringParameters","com.azure.search.documents.indexes.models.MappingCharFilter":"Search.MappingCharFilter","com.azure.search.documents.indexes.models.MarkdownHeaderDepth":"Search.MarkdownHeaderDepth","com.azure.search.documents.indexes.models.MarkdownParsingSubmode":"Search.MarkdownParsingSubmode","com.azure.search.documents.indexes.models.MergeSkill":"Search.MergeSkill","com.azure.search.documents.indexes.models.MicrosoftLanguageStemmingTokenizer":"Search.MicrosoftLanguageStemmingTokenizer","com.azure.search.documents.indexes.models.MicrosoftLanguageTokenizer":"Search.MicrosoftLanguageTokenizer","com.azure.search.documents.indexes.models.MicrosoftStemmingTokenizerLanguage":"Search.MicrosoftStemmingTokenizerLanguage","com.azure.search.documents.indexes.models.MicrosoftTokenizerLanguage":"Search.MicrosoftTokenizerLanguage","com.azure.search.documents.indexes.models.NGramTokenFilter":"Search.NGramTokenFilter","com.azure.search.documents.indexes.models.NGramTokenFilterV2":"Search.NGramTokenFilterV2","com.azure.search.documents.indexes.models.NGramTokenizer":"Search.NGramTokenizer","com.azure.search.documents.indexes.models.NativeBlobSoftDeleteDeletionDetectionPolicy":"Search.NativeBlobSoftDeleteDeletionDetectionPolicy","com.azure.search.documents.indexes.models.OcrLineEnding":"Search.OcrLineEnding","com.azure.search.documents.indexes.models.OcrSkill":"Search.OcrSkill","com.azure.search.documents.indexes.models.OcrSkillLanguage":"Search.OcrSkillLanguage","com.azure.search.documents.indexes.models.OutputFieldMappingEntry":"Search.OutputFieldMappingEntry","com.azure.search.documents.indexes.models.PIIDetectionSkill":"Search.PIIDetectionSkill","com.azure.search.documents.indexes.models.PIIDetectionSkillMaskingMode":"Search.PIIDetectionSkillMaskingMode","com.azure.search.documents.indexes.models.PathHierarchyTokenizerV2":"Search.PathHierarchyTokenizerV2","com.azure.search.documents.indexes.models.PatternAnalyzer":"Search.PatternAnalyzer","com.azure.search.documents.indexes.models.PatternCaptureTokenFilter":"Search.PatternCaptureTokenFilter","com.azure.search.documents.indexes.models.PatternReplaceCharFilter":"Search.PatternReplaceCharFilter","com.azure.search.documents.indexes.models.PatternReplaceTokenFilter":"Search.PatternReplaceTokenFilter","com.azure.search.documents.indexes.models.PatternTokenizer":"Search.PatternTokenizer","com.azure.search.documents.indexes.models.PermissionFilter":"Search.PermissionFilter","com.azure.search.documents.indexes.models.PhoneticEncoder":"Search.PhoneticEncoder","com.azure.search.documents.indexes.models.PhoneticTokenFilter":"Search.PhoneticTokenFilter","com.azure.search.documents.indexes.models.RankingOrder":"Search.RankingOrder","com.azure.search.documents.indexes.models.RegexFlags":"Search.RegexFlags","com.azure.search.documents.indexes.models.RemoteSharePointKnowledgeSource":"Search.RemoteSharePointKnowledgeSource","com.azure.search.documents.indexes.models.RemoteSharePointKnowledgeSourceParameters":"Search.RemoteSharePointKnowledgeSourceParameters","com.azure.search.documents.indexes.models.RescoringOptions":"Search.RescoringOptions","com.azure.search.documents.indexes.models.ResourceCounter":"Search.ResourceCounter","com.azure.search.documents.indexes.models.ScalarQuantizationCompression":"Search.ScalarQuantizationCompression","com.azure.search.documents.indexes.models.ScalarQuantizationParameters":"Search.ScalarQuantizationParameters","com.azure.search.documents.indexes.models.ScoringFunction":"Search.ScoringFunction","com.azure.search.documents.indexes.models.ScoringFunctionAggregation":"Search.ScoringFunctionAggregation","com.azure.search.documents.indexes.models.ScoringFunctionInterpolation":"Search.ScoringFunctionInterpolation","com.azure.search.documents.indexes.models.ScoringProfile":"Search.ScoringProfile","com.azure.search.documents.indexes.models.SearchAlias":"Search.SearchAlias","com.azure.search.documents.indexes.models.SearchField":"Search.SearchField","com.azure.search.documents.indexes.models.SearchFieldDataType":"Search.SearchFieldDataType","com.azure.search.documents.indexes.models.SearchIndex":"Search.SearchIndex","com.azure.search.documents.indexes.models.SearchIndexFieldReference":"Search.SearchIndexFieldReference","com.azure.search.documents.indexes.models.SearchIndexKnowledgeSource":"Search.SearchIndexKnowledgeSource","com.azure.search.documents.indexes.models.SearchIndexKnowledgeSourceParameters":"Search.SearchIndexKnowledgeSourceParameters","com.azure.search.documents.indexes.models.SearchIndexPermissionFilterOption":"Search.SearchIndexPermissionFilterOption","com.azure.search.documents.indexes.models.SearchIndexer":"Search.SearchIndexer","com.azure.search.documents.indexes.models.SearchIndexerCache":"Search.SearchIndexerCache","com.azure.search.documents.indexes.models.SearchIndexerDataContainer":"Search.SearchIndexerDataContainer","com.azure.search.documents.indexes.models.SearchIndexerDataIdentity":"Search.SearchIndexerDataIdentity","com.azure.search.documents.indexes.models.SearchIndexerDataNoneIdentity":"Search.SearchIndexerDataNoneIdentity","com.azure.search.documents.indexes.models.SearchIndexerDataSourceConnection":"Search.SearchIndexerDataSource","com.azure.search.documents.indexes.models.SearchIndexerDataSourceType":"Search.SearchIndexerDataSourceType","com.azure.search.documents.indexes.models.SearchIndexerDataUserAssignedIdentity":"Search.SearchIndexerDataUserAssignedIdentity","com.azure.search.documents.indexes.models.SearchIndexerError":"Search.SearchIndexerError","com.azure.search.documents.indexes.models.SearchIndexerIndexProjection":"Search.SearchIndexerIndexProjection","com.azure.search.documents.indexes.models.SearchIndexerIndexProjectionSelector":"Search.SearchIndexerIndexProjectionSelector","com.azure.search.documents.indexes.models.SearchIndexerIndexProjectionsParameters":"Search.SearchIndexerIndexProjectionsParameters","com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStore":"Search.SearchIndexerKnowledgeStore","com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStoreBlobProjectionSelector":"Search.SearchIndexerKnowledgeStoreBlobProjectionSelector","com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStoreFileProjectionSelector":"Search.SearchIndexerKnowledgeStoreFileProjectionSelector","com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStoreObjectProjectionSelector":"Search.SearchIndexerKnowledgeStoreObjectProjectionSelector","com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStoreParameters":"Search.SearchIndexerKnowledgeStoreParameters","com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStoreProjection":"Search.SearchIndexerKnowledgeStoreProjection","com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStoreProjectionSelector":"Search.SearchIndexerKnowledgeStoreProjectionSelector","com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStoreTableProjectionSelector":"Search.SearchIndexerKnowledgeStoreTableProjectionSelector","com.azure.search.documents.indexes.models.SearchIndexerLimits":"Search.SearchIndexerLimits","com.azure.search.documents.indexes.models.SearchIndexerSkill":"Search.SearchIndexerSkill","com.azure.search.documents.indexes.models.SearchIndexerSkillset":"Search.SearchIndexerSkillset","com.azure.search.documents.indexes.models.SearchIndexerStatus":"Search.SearchIndexerStatus","com.azure.search.documents.indexes.models.SearchIndexerWarning":"Search.SearchIndexerWarning","com.azure.search.documents.indexes.models.SearchResourceEncryptionKey":"Search.SearchResourceEncryptionKey","com.azure.search.documents.indexes.models.SearchServiceCounters":"Search.SearchServiceCounters","com.azure.search.documents.indexes.models.SearchServiceLimits":"Search.SearchServiceLimits","com.azure.search.documents.indexes.models.SearchServiceStatistics":"Search.SearchServiceStatistics","com.azure.search.documents.indexes.models.SearchSuggester":"Search.SearchSuggester","com.azure.search.documents.indexes.models.SemanticConfiguration":"Search.SemanticConfiguration","com.azure.search.documents.indexes.models.SemanticField":"Search.SemanticField","com.azure.search.documents.indexes.models.SemanticPrioritizedFields":"Search.SemanticPrioritizedFields","com.azure.search.documents.indexes.models.SemanticSearch":"Search.SemanticSearch","com.azure.search.documents.indexes.models.SentimentSkillV3":"Search.SentimentSkillV3","com.azure.search.documents.indexes.models.ServiceIndexersRuntime":"Search.ServiceIndexersRuntime","com.azure.search.documents.indexes.models.ShaperSkill":"Search.ShaperSkill","com.azure.search.documents.indexes.models.ShingleTokenFilter":"Search.ShingleTokenFilter","com.azure.search.documents.indexes.models.SimilarityAlgorithm":"Search.SimilarityAlgorithm","com.azure.search.documents.indexes.models.SkillNames":"Search.SkillNames","com.azure.search.documents.indexes.models.SnowballTokenFilter":"Search.SnowballTokenFilter","com.azure.search.documents.indexes.models.SnowballTokenFilterLanguage":"Search.SnowballTokenFilterLanguage","com.azure.search.documents.indexes.models.SoftDeleteColumnDeletionDetectionPolicy":"Search.SoftDeleteColumnDeletionDetectionPolicy","com.azure.search.documents.indexes.models.SplitSkill":"Search.SplitSkill","com.azure.search.documents.indexes.models.SplitSkillEncoderModelName":"Search.SplitSkillEncoderModelName","com.azure.search.documents.indexes.models.SplitSkillLanguage":"Search.SplitSkillLanguage","com.azure.search.documents.indexes.models.SplitSkillUnit":"Search.SplitSkillUnit","com.azure.search.documents.indexes.models.SqlIntegratedChangeTrackingPolicy":"Search.SqlIntegratedChangeTrackingPolicy","com.azure.search.documents.indexes.models.StemmerOverrideTokenFilter":"Search.StemmerOverrideTokenFilter","com.azure.search.documents.indexes.models.StemmerTokenFilter":"Search.StemmerTokenFilter","com.azure.search.documents.indexes.models.StemmerTokenFilterLanguage":"Search.StemmerTokenFilterLanguage","com.azure.search.documents.indexes.models.StopAnalyzer":"Search.StopAnalyzer","com.azure.search.documents.indexes.models.StopwordsList":"Search.StopwordsList","com.azure.search.documents.indexes.models.StopwordsTokenFilter":"Search.StopwordsTokenFilter","com.azure.search.documents.indexes.models.SynonymMap":"Search.SynonymMap","com.azure.search.documents.indexes.models.SynonymTokenFilter":"Search.SynonymTokenFilter","com.azure.search.documents.indexes.models.TagScoringFunction":"Search.TagScoringFunction","com.azure.search.documents.indexes.models.TagScoringParameters":"Search.TagScoringParameters","com.azure.search.documents.indexes.models.TextSplitMode":"Search.TextSplitMode","com.azure.search.documents.indexes.models.TextTranslationSkill":"Search.TextTranslationSkill","com.azure.search.documents.indexes.models.TextTranslationSkillLanguage":"Search.TextTranslationSkillLanguage","com.azure.search.documents.indexes.models.TextWeights":"Search.TextWeights","com.azure.search.documents.indexes.models.TokenCharacterKind":"Search.TokenCharacterKind","com.azure.search.documents.indexes.models.TokenFilter":"Search.TokenFilter","com.azure.search.documents.indexes.models.TokenFilterName":"Search.TokenFilterName","com.azure.search.documents.indexes.models.TruncateTokenFilter":"Search.TruncateTokenFilter","com.azure.search.documents.indexes.models.UaxUrlEmailTokenizer":"Search.UaxUrlEmailTokenizer","com.azure.search.documents.indexes.models.UniqueTokenFilter":"Search.UniqueTokenFilter","com.azure.search.documents.indexes.models.VectorEncodingFormat":"Search.VectorEncodingFormat","com.azure.search.documents.indexes.models.VectorSearch":"Search.VectorSearch","com.azure.search.documents.indexes.models.VectorSearchAlgorithmConfiguration":"Search.VectorSearchAlgorithmConfiguration","com.azure.search.documents.indexes.models.VectorSearchAlgorithmKind":"Search.VectorSearchAlgorithmKind","com.azure.search.documents.indexes.models.VectorSearchAlgorithmMetric":"Search.VectorSearchAlgorithmMetric","com.azure.search.documents.indexes.models.VectorSearchCompression":"Search.VectorSearchCompression","com.azure.search.documents.indexes.models.VectorSearchCompressionKind":"Search.VectorSearchCompressionKind","com.azure.search.documents.indexes.models.VectorSearchCompressionRescoreStorageMethod":"Search.VectorSearchCompressionRescoreStorageMethod","com.azure.search.documents.indexes.models.VectorSearchCompressionTarget":"Search.VectorSearchCompressionTarget","com.azure.search.documents.indexes.models.VectorSearchProfile":"Search.VectorSearchProfile","com.azure.search.documents.indexes.models.VectorSearchVectorizer":"Search.VectorSearchVectorizer","com.azure.search.documents.indexes.models.VectorSearchVectorizerKind":"Search.VectorSearchVectorizerKind","com.azure.search.documents.indexes.models.VisionVectorizeSkill":"Search.VisionVectorizeSkill","com.azure.search.documents.indexes.models.VisualFeature":"Search.VisualFeature","com.azure.search.documents.indexes.models.WebApiHttpHeaders":"Search.WebApiHttpHeaders","com.azure.search.documents.indexes.models.WebApiSkill":"Search.WebApiSkill","com.azure.search.documents.indexes.models.WebApiVectorizer":"Search.WebApiVectorizer","com.azure.search.documents.indexes.models.WebApiVectorizerParameters":"Search.WebApiVectorizerParameters","com.azure.search.documents.indexes.models.WebKnowledgeSource":"Search.WebKnowledgeSource","com.azure.search.documents.indexes.models.WebKnowledgeSourceDomain":"Search.WebKnowledgeSourceDomain","com.azure.search.documents.indexes.models.WebKnowledgeSourceDomains":"Search.WebKnowledgeSourceDomains","com.azure.search.documents.indexes.models.WebKnowledgeSourceParameters":"Search.WebKnowledgeSourceParameters","com.azure.search.documents.indexes.models.WordDelimiterTokenFilter":"Search.WordDelimiterTokenFilter","com.azure.search.documents.knowledgebases.KnowledgeBaseRetrievalAsyncClient":"Customizations.KnowledgeBaseRetrievalClient","com.azure.search.documents.knowledgebases.KnowledgeBaseRetrievalAsyncClient.retrieve":"Customizations.KnowledgeBaseRetrievalClient.KnowledgeRetrieval.retrieve","com.azure.search.documents.knowledgebases.KnowledgeBaseRetrievalAsyncClient.retrieveWithResponse":"Customizations.KnowledgeBaseRetrievalClient.KnowledgeRetrieval.retrieve","com.azure.search.documents.knowledgebases.KnowledgeBaseRetrievalClient":"Customizations.KnowledgeBaseRetrievalClient","com.azure.search.documents.knowledgebases.KnowledgeBaseRetrievalClient.retrieve":"Customizations.KnowledgeBaseRetrievalClient.KnowledgeRetrieval.retrieve","com.azure.search.documents.knowledgebases.KnowledgeBaseRetrievalClient.retrieveWithResponse":"Customizations.KnowledgeBaseRetrievalClient.KnowledgeRetrieval.retrieve","com.azure.search.documents.knowledgebases.KnowledgeBaseRetrievalClientBuilder":"Customizations.KnowledgeBaseRetrievalClient","com.azure.search.documents.knowledgebases.models.AIServices":"Search.AIServices","com.azure.search.documents.knowledgebases.models.AzureBlobKnowledgeSourceParams":"Search.AzureBlobKnowledgeSourceParams","com.azure.search.documents.knowledgebases.models.CompletedSynchronizationState":"Search.CompletedSynchronizationState","com.azure.search.documents.knowledgebases.models.IndexedOneLakeKnowledgeSourceParams":"Search.IndexedOneLakeKnowledgeSourceParams","com.azure.search.documents.knowledgebases.models.IndexedSharePointKnowledgeSourceParams":"Search.IndexedSharePointKnowledgeSourceParams","com.azure.search.documents.knowledgebases.models.KnowledgeBaseActivityRecord":"Search.KnowledgeBaseActivityRecord","com.azure.search.documents.knowledgebases.models.KnowledgeBaseActivityRecordType":"Search.KnowledgeBaseActivityRecordType","com.azure.search.documents.knowledgebases.models.KnowledgeBaseAgenticReasoningActivityRecord":"Search.KnowledgeBaseAgenticReasoningActivityRecord","com.azure.search.documents.knowledgebases.models.KnowledgeBaseAzureBlobReference":"Search.KnowledgeBaseAzureBlobReference","com.azure.search.documents.knowledgebases.models.KnowledgeBaseErrorAdditionalInfo":"Search.KnowledgeBaseErrorAdditionalInfo","com.azure.search.documents.knowledgebases.models.KnowledgeBaseErrorDetail":"Search.KnowledgeBaseErrorDetail","com.azure.search.documents.knowledgebases.models.KnowledgeBaseImageContent":"Search.KnowledgeBaseImageContent","com.azure.search.documents.knowledgebases.models.KnowledgeBaseIndexedOneLakeReference":"Search.KnowledgeBaseIndexedOneLakeReference","com.azure.search.documents.knowledgebases.models.KnowledgeBaseIndexedSharePointReference":"Search.KnowledgeBaseIndexedSharePointReference","com.azure.search.documents.knowledgebases.models.KnowledgeBaseMessage":"Search.KnowledgeBaseMessage","com.azure.search.documents.knowledgebases.models.KnowledgeBaseMessageContent":"Search.KnowledgeBaseMessageContent","com.azure.search.documents.knowledgebases.models.KnowledgeBaseMessageContentType":"Search.KnowledgeBaseMessageContentType","com.azure.search.documents.knowledgebases.models.KnowledgeBaseMessageImageContent":"Search.KnowledgeBaseMessageImageContent","com.azure.search.documents.knowledgebases.models.KnowledgeBaseMessageTextContent":"Search.KnowledgeBaseMessageTextContent","com.azure.search.documents.knowledgebases.models.KnowledgeBaseModelAnswerSynthesisActivityRecord":"Search.KnowledgeBaseModelAnswerSynthesisActivityRecord","com.azure.search.documents.knowledgebases.models.KnowledgeBaseModelQueryPlanningActivityRecord":"Search.KnowledgeBaseModelQueryPlanningActivityRecord","com.azure.search.documents.knowledgebases.models.KnowledgeBaseReference":"Search.KnowledgeBaseReference","com.azure.search.documents.knowledgebases.models.KnowledgeBaseReferenceType":"Search.KnowledgeBaseReferenceType","com.azure.search.documents.knowledgebases.models.KnowledgeBaseRemoteSharePointReference":"Search.KnowledgeBaseRemoteSharePointReference","com.azure.search.documents.knowledgebases.models.KnowledgeBaseRetrievalRequest":"Search.KnowledgeBaseRetrievalRequest","com.azure.search.documents.knowledgebases.models.KnowledgeBaseRetrievalResponse":"Search.KnowledgeBaseRetrievalResponse","com.azure.search.documents.knowledgebases.models.KnowledgeBaseSearchIndexReference":"Search.KnowledgeBaseSearchIndexReference","com.azure.search.documents.knowledgebases.models.KnowledgeBaseWebReference":"Search.KnowledgeBaseWebReference","com.azure.search.documents.knowledgebases.models.KnowledgeRetrievalIntent":"Search.KnowledgeRetrievalIntent","com.azure.search.documents.knowledgebases.models.KnowledgeRetrievalIntentType":"Search.KnowledgeRetrievalIntentType","com.azure.search.documents.knowledgebases.models.KnowledgeRetrievalLowReasoningEffort":"Search.KnowledgeRetrievalLowReasoningEffort","com.azure.search.documents.knowledgebases.models.KnowledgeRetrievalMediumReasoningEffort":"Search.KnowledgeRetrievalMediumReasoningEffort","com.azure.search.documents.knowledgebases.models.KnowledgeRetrievalMinimalReasoningEffort":"Search.KnowledgeRetrievalMinimalReasoningEffort","com.azure.search.documents.knowledgebases.models.KnowledgeRetrievalOutputMode":"Search.KnowledgeRetrievalOutputMode","com.azure.search.documents.knowledgebases.models.KnowledgeRetrievalReasoningEffort":"Search.KnowledgeRetrievalReasoningEffort","com.azure.search.documents.knowledgebases.models.KnowledgeRetrievalReasoningEffortKind":"Search.KnowledgeRetrievalReasoningEffortKind","com.azure.search.documents.knowledgebases.models.KnowledgeRetrievalSemanticIntent":"Search.KnowledgeRetrievalSemanticIntent","com.azure.search.documents.knowledgebases.models.KnowledgeSourceAzureOpenAIVectorizer":"Search.KnowledgeSourceAzureOpenAIVectorizer","com.azure.search.documents.knowledgebases.models.KnowledgeSourceIngestionParameters":"Search.KnowledgeSourceIngestionParameters","com.azure.search.documents.knowledgebases.models.KnowledgeSourceParams":"Search.KnowledgeSourceParams","com.azure.search.documents.knowledgebases.models.KnowledgeSourceStatistics":"Search.KnowledgeSourceStatistics","com.azure.search.documents.knowledgebases.models.KnowledgeSourceStatus":"Search.KnowledgeSourceStatus","com.azure.search.documents.knowledgebases.models.KnowledgeSourceVectorizer":"Search.KnowledgeSourceVectorizer","com.azure.search.documents.knowledgebases.models.RemoteSharePointKnowledgeSourceParams":"Search.RemoteSharePointKnowledgeSourceParams","com.azure.search.documents.knowledgebases.models.SearchIndexKnowledgeSourceParams":"Search.SearchIndexKnowledgeSourceParams","com.azure.search.documents.knowledgebases.models.SharePointSensitivityLabelInfo":"Search.SharePointSensitivityLabelInfo","com.azure.search.documents.knowledgebases.models.SynchronizationState":"Search.SynchronizationState","com.azure.search.documents.knowledgebases.models.WebKnowledgeSourceParams":"Search.WebKnowledgeSourceParams","com.azure.search.documents.models.AutocompleteItem":"Search.AutocompleteItem","com.azure.search.documents.models.AutocompleteMode":"Search.AutocompleteMode","com.azure.search.documents.models.AutocompleteOptions":null,"com.azure.search.documents.models.AutocompleteResult":"Search.AutocompleteResult","com.azure.search.documents.models.DebugInfo":"Search.DebugInfo","com.azure.search.documents.models.DocumentDebugInfo":"Search.DocumentDebugInfo","com.azure.search.documents.models.FacetResult":"Search.FacetResult","com.azure.search.documents.models.HybridCountAndFacetMode":"Search.HybridCountAndFacetMode","com.azure.search.documents.models.HybridSearch":"Search.HybridSearch","com.azure.search.documents.models.IndexAction":"Search.IndexAction","com.azure.search.documents.models.IndexActionType":"Search.IndexActionType","com.azure.search.documents.models.IndexDocumentsBatch":"Search.IndexBatch","com.azure.search.documents.models.IndexDocumentsResult":"Search.IndexDocumentsResult","com.azure.search.documents.models.IndexingResult":"Search.IndexingResult","com.azure.search.documents.models.LookupDocument":"Search.LookupDocument","com.azure.search.documents.models.QueryAnswerResult":"Search.QueryAnswerResult","com.azure.search.documents.models.QueryAnswerType":"Search.QueryAnswerType","com.azure.search.documents.models.QueryCaptionResult":"Search.QueryCaptionResult","com.azure.search.documents.models.QueryCaptionType":"Search.QueryCaptionType","com.azure.search.documents.models.QueryDebugMode":"Search.QueryDebugMode","com.azure.search.documents.models.QueryLanguage":"Search.QueryLanguage","com.azure.search.documents.models.QueryResultDocumentInnerHit":"Search.QueryResultDocumentInnerHit","com.azure.search.documents.models.QueryResultDocumentRerankerInput":"Search.QueryResultDocumentRerankerInput","com.azure.search.documents.models.QueryResultDocumentSemanticField":"Search.QueryResultDocumentSemanticField","com.azure.search.documents.models.QueryResultDocumentSubscores":"Search.QueryResultDocumentSubscores","com.azure.search.documents.models.QueryRewritesDebugInfo":"Search.QueryRewritesDebugInfo","com.azure.search.documents.models.QueryRewritesType":"Search.QueryRewritesType","com.azure.search.documents.models.QueryRewritesValuesDebugInfo":"Search.QueryRewritesValuesDebugInfo","com.azure.search.documents.models.QuerySpellerType":"Search.QuerySpellerType","com.azure.search.documents.models.QueryType":"Search.QueryType","com.azure.search.documents.models.ScoringStatistics":"Search.ScoringStatistics","com.azure.search.documents.models.SearchDocumentsResult":"Search.SearchDocumentsResult","com.azure.search.documents.models.SearchMode":"Search.SearchMode","com.azure.search.documents.models.SearchOptions":null,"com.azure.search.documents.models.SearchRequest":"Search.SearchRequest","com.azure.search.documents.models.SearchResult":"Search.SearchResult","com.azure.search.documents.models.SearchScoreThreshold":"Search.SearchScoreThreshold","com.azure.search.documents.models.SemanticDebugInfo":"Search.SemanticDebugInfo","com.azure.search.documents.models.SemanticErrorMode":"Search.SemanticErrorMode","com.azure.search.documents.models.SemanticErrorReason":"Search.SemanticErrorReason","com.azure.search.documents.models.SemanticFieldState":"Search.SemanticFieldState","com.azure.search.documents.models.SemanticQueryRewritesResultType":"Search.SemanticQueryRewritesResultType","com.azure.search.documents.models.SemanticSearchResultsType":"Search.SemanticSearchResultsType","com.azure.search.documents.models.SingleVectorFieldResult":"Search.SingleVectorFieldResult","com.azure.search.documents.models.SuggestDocumentsResult":"Search.SuggestDocumentsResult","com.azure.search.documents.models.SuggestOptions":null,"com.azure.search.documents.models.SuggestResult":"Search.SuggestResult","com.azure.search.documents.models.TextResult":"Search.TextResult","com.azure.search.documents.models.VectorFilterMode":"Search.VectorFilterMode","com.azure.search.documents.models.VectorQuery":"Search.VectorQuery","com.azure.search.documents.models.VectorQueryKind":"Search.VectorQueryKind","com.azure.search.documents.models.VectorSimilarityThreshold":"Search.VectorSimilarityThreshold","com.azure.search.documents.models.VectorThreshold":"Search.VectorThreshold","com.azure.search.documents.models.VectorThresholdKind":"Search.VectorThresholdKind","com.azure.search.documents.models.VectorizableImageBinaryQuery":"Search.VectorizableImageBinaryQuery","com.azure.search.documents.models.VectorizableImageUrlQuery":"Search.VectorizableImageUrlQuery","com.azure.search.documents.models.VectorizableTextQuery":"Search.VectorizableTextQuery","com.azure.search.documents.models.VectorizedQuery":"Search.VectorizedQuery","com.azure.search.documents.models.VectorsDebugInfo":"Search.VectorsDebugInfo"},"generatedFiles":["src/main/java/com/azure/search/documents/SearchAsyncClient.java","src/main/java/com/azure/search/documents/SearchClient.java","src/main/java/com/azure/search/documents/SearchClientBuilder.java","src/main/java/com/azure/search/documents/SearchServiceVersion.java","src/main/java/com/azure/search/documents/SearchServiceVersion.java","src/main/java/com/azure/search/documents/SearchServiceVersion.java","src/main/java/com/azure/search/documents/SearchServiceVersion.java","src/main/java/com/azure/search/documents/implementation/KnowledgeBaseRetrievalClientImpl.java","src/main/java/com/azure/search/documents/implementation/SearchClientImpl.java","src/main/java/com/azure/search/documents/implementation/SearchIndexClientImpl.java","src/main/java/com/azure/search/documents/implementation/SearchIndexerClientImpl.java","src/main/java/com/azure/search/documents/implementation/models/AutocompletePostRequest.java","src/main/java/com/azure/search/documents/implementation/models/SearchPostRequest.java","src/main/java/com/azure/search/documents/implementation/models/SuggestPostRequest.java","src/main/java/com/azure/search/documents/implementation/models/package-info.java","src/main/java/com/azure/search/documents/implementation/package-info.java","src/main/java/com/azure/search/documents/indexes/SearchIndexAsyncClient.java","src/main/java/com/azure/search/documents/indexes/SearchIndexClient.java","src/main/java/com/azure/search/documents/indexes/SearchIndexClientBuilder.java","src/main/java/com/azure/search/documents/indexes/SearchIndexerAsyncClient.java","src/main/java/com/azure/search/documents/indexes/SearchIndexerClient.java","src/main/java/com/azure/search/documents/indexes/SearchIndexerClientBuilder.java","src/main/java/com/azure/search/documents/indexes/models/AIFoundryModelCatalogName.java","src/main/java/com/azure/search/documents/indexes/models/AIServicesAccountIdentity.java","src/main/java/com/azure/search/documents/indexes/models/AIServicesAccountKey.java","src/main/java/com/azure/search/documents/indexes/models/AIServicesVisionParameters.java","src/main/java/com/azure/search/documents/indexes/models/AIServicesVisionVectorizer.java","src/main/java/com/azure/search/documents/indexes/models/AnalyzeResult.java","src/main/java/com/azure/search/documents/indexes/models/AnalyzeTextOptions.java","src/main/java/com/azure/search/documents/indexes/models/AnalyzedTokenInfo.java","src/main/java/com/azure/search/documents/indexes/models/AsciiFoldingTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/AzureActiveDirectoryApplicationCredentials.java","src/main/java/com/azure/search/documents/indexes/models/AzureBlobKnowledgeSource.java","src/main/java/com/azure/search/documents/indexes/models/AzureBlobKnowledgeSourceParameters.java","src/main/java/com/azure/search/documents/indexes/models/AzureMachineLearningParameters.java","src/main/java/com/azure/search/documents/indexes/models/AzureMachineLearningSkill.java","src/main/java/com/azure/search/documents/indexes/models/AzureMachineLearningVectorizer.java","src/main/java/com/azure/search/documents/indexes/models/AzureOpenAIEmbeddingSkill.java","src/main/java/com/azure/search/documents/indexes/models/AzureOpenAIModelName.java","src/main/java/com/azure/search/documents/indexes/models/AzureOpenAITokenizerParameters.java","src/main/java/com/azure/search/documents/indexes/models/AzureOpenAIVectorizer.java","src/main/java/com/azure/search/documents/indexes/models/AzureOpenAIVectorizerParameters.java","src/main/java/com/azure/search/documents/indexes/models/BM25SimilarityAlgorithm.java","src/main/java/com/azure/search/documents/indexes/models/BinaryQuantizationCompression.java","src/main/java/com/azure/search/documents/indexes/models/BlobIndexerDataToExtract.java","src/main/java/com/azure/search/documents/indexes/models/BlobIndexerImageAction.java","src/main/java/com/azure/search/documents/indexes/models/BlobIndexerPDFTextRotationAlgorithm.java","src/main/java/com/azure/search/documents/indexes/models/BlobIndexerParsingMode.java","src/main/java/com/azure/search/documents/indexes/models/CharFilter.java","src/main/java/com/azure/search/documents/indexes/models/CharFilterName.java","src/main/java/com/azure/search/documents/indexes/models/ChatCompletionCommonModelParameters.java","src/main/java/com/azure/search/documents/indexes/models/ChatCompletionExtraParametersBehavior.java","src/main/java/com/azure/search/documents/indexes/models/ChatCompletionResponseFormat.java","src/main/java/com/azure/search/documents/indexes/models/ChatCompletionResponseFormatType.java","src/main/java/com/azure/search/documents/indexes/models/ChatCompletionSchema.java","src/main/java/com/azure/search/documents/indexes/models/ChatCompletionSchemaProperties.java","src/main/java/com/azure/search/documents/indexes/models/ChatCompletionSkill.java","src/main/java/com/azure/search/documents/indexes/models/CjkBigramTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/CjkBigramTokenFilterScripts.java","src/main/java/com/azure/search/documents/indexes/models/ClassicSimilarityAlgorithm.java","src/main/java/com/azure/search/documents/indexes/models/ClassicTokenizer.java","src/main/java/com/azure/search/documents/indexes/models/CognitiveServicesAccount.java","src/main/java/com/azure/search/documents/indexes/models/CognitiveServicesAccountKey.java","src/main/java/com/azure/search/documents/indexes/models/CommonGramTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/ConditionalSkill.java","src/main/java/com/azure/search/documents/indexes/models/ContentUnderstandingSkill.java","src/main/java/com/azure/search/documents/indexes/models/ContentUnderstandingSkillChunkingProperties.java","src/main/java/com/azure/search/documents/indexes/models/ContentUnderstandingSkillChunkingUnit.java","src/main/java/com/azure/search/documents/indexes/models/ContentUnderstandingSkillExtractionOptions.java","src/main/java/com/azure/search/documents/indexes/models/CorsOptions.java","src/main/java/com/azure/search/documents/indexes/models/CreatedResources.java","src/main/java/com/azure/search/documents/indexes/models/CustomAnalyzer.java","src/main/java/com/azure/search/documents/indexes/models/CustomEntity.java","src/main/java/com/azure/search/documents/indexes/models/CustomEntityAlias.java","src/main/java/com/azure/search/documents/indexes/models/CustomEntityLookupSkill.java","src/main/java/com/azure/search/documents/indexes/models/CustomEntityLookupSkillLanguage.java","src/main/java/com/azure/search/documents/indexes/models/CustomNormalizer.java","src/main/java/com/azure/search/documents/indexes/models/DataChangeDetectionPolicy.java","src/main/java/com/azure/search/documents/indexes/models/DataDeletionDetectionPolicy.java","src/main/java/com/azure/search/documents/indexes/models/DataSourceCredentials.java","src/main/java/com/azure/search/documents/indexes/models/DefaultCognitiveServicesAccount.java","src/main/java/com/azure/search/documents/indexes/models/DictionaryDecompounderTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/DistanceScoringFunction.java","src/main/java/com/azure/search/documents/indexes/models/DistanceScoringParameters.java","src/main/java/com/azure/search/documents/indexes/models/DocumentExtractionSkill.java","src/main/java/com/azure/search/documents/indexes/models/DocumentIntelligenceLayoutSkill.java","src/main/java/com/azure/search/documents/indexes/models/DocumentIntelligenceLayoutSkillChunkingProperties.java","src/main/java/com/azure/search/documents/indexes/models/DocumentIntelligenceLayoutSkillChunkingUnit.java","src/main/java/com/azure/search/documents/indexes/models/DocumentIntelligenceLayoutSkillExtractionOptions.java","src/main/java/com/azure/search/documents/indexes/models/DocumentIntelligenceLayoutSkillMarkdownHeaderDepth.java","src/main/java/com/azure/search/documents/indexes/models/DocumentIntelligenceLayoutSkillOutputFormat.java","src/main/java/com/azure/search/documents/indexes/models/DocumentIntelligenceLayoutSkillOutputMode.java","src/main/java/com/azure/search/documents/indexes/models/DocumentKeysOrIds.java","src/main/java/com/azure/search/documents/indexes/models/EdgeNGramTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/EdgeNGramTokenFilterSide.java","src/main/java/com/azure/search/documents/indexes/models/EdgeNGramTokenFilterV2.java","src/main/java/com/azure/search/documents/indexes/models/EdgeNGramTokenizer.java","src/main/java/com/azure/search/documents/indexes/models/ElisionTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/EntityLinkingSkill.java","src/main/java/com/azure/search/documents/indexes/models/EntityRecognitionSkillV3.java","src/main/java/com/azure/search/documents/indexes/models/ExhaustiveKnnAlgorithmConfiguration.java","src/main/java/com/azure/search/documents/indexes/models/ExhaustiveKnnParameters.java","src/main/java/com/azure/search/documents/indexes/models/FieldMapping.java","src/main/java/com/azure/search/documents/indexes/models/FieldMappingFunction.java","src/main/java/com/azure/search/documents/indexes/models/FreshnessScoringFunction.java","src/main/java/com/azure/search/documents/indexes/models/FreshnessScoringParameters.java","src/main/java/com/azure/search/documents/indexes/models/GetIndexStatisticsResult.java","src/main/java/com/azure/search/documents/indexes/models/HighWaterMarkChangeDetectionPolicy.java","src/main/java/com/azure/search/documents/indexes/models/HnswAlgorithmConfiguration.java","src/main/java/com/azure/search/documents/indexes/models/HnswParameters.java","src/main/java/com/azure/search/documents/indexes/models/ImageAnalysisSkill.java","src/main/java/com/azure/search/documents/indexes/models/ImageAnalysisSkillLanguage.java","src/main/java/com/azure/search/documents/indexes/models/ImageDetail.java","src/main/java/com/azure/search/documents/indexes/models/IndexProjectionMode.java","src/main/java/com/azure/search/documents/indexes/models/IndexStatisticsSummary.java","src/main/java/com/azure/search/documents/indexes/models/IndexedOneLakeKnowledgeSource.java","src/main/java/com/azure/search/documents/indexes/models/IndexedOneLakeKnowledgeSourceParameters.java","src/main/java/com/azure/search/documents/indexes/models/IndexedSharePointContainerName.java","src/main/java/com/azure/search/documents/indexes/models/IndexedSharePointKnowledgeSource.java","src/main/java/com/azure/search/documents/indexes/models/IndexedSharePointKnowledgeSourceParameters.java","src/main/java/com/azure/search/documents/indexes/models/IndexerCurrentState.java","src/main/java/com/azure/search/documents/indexes/models/IndexerExecutionEnvironment.java","src/main/java/com/azure/search/documents/indexes/models/IndexerExecutionResult.java","src/main/java/com/azure/search/documents/indexes/models/IndexerExecutionStatus.java","src/main/java/com/azure/search/documents/indexes/models/IndexerExecutionStatusDetail.java","src/main/java/com/azure/search/documents/indexes/models/IndexerPermissionOption.java","src/main/java/com/azure/search/documents/indexes/models/IndexerResyncBody.java","src/main/java/com/azure/search/documents/indexes/models/IndexerResyncOption.java","src/main/java/com/azure/search/documents/indexes/models/IndexerRuntime.java","src/main/java/com/azure/search/documents/indexes/models/IndexerStatus.java","src/main/java/com/azure/search/documents/indexes/models/IndexingMode.java","src/main/java/com/azure/search/documents/indexes/models/IndexingParameters.java","src/main/java/com/azure/search/documents/indexes/models/IndexingParametersConfiguration.java","src/main/java/com/azure/search/documents/indexes/models/IndexingSchedule.java","src/main/java/com/azure/search/documents/indexes/models/InputFieldMappingEntry.java","src/main/java/com/azure/search/documents/indexes/models/KeepTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/KeyPhraseExtractionSkill.java","src/main/java/com/azure/search/documents/indexes/models/KeyPhraseExtractionSkillLanguage.java","src/main/java/com/azure/search/documents/indexes/models/KeywordMarkerTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/KeywordTokenizer.java","src/main/java/com/azure/search/documents/indexes/models/KeywordTokenizerV2.java","src/main/java/com/azure/search/documents/indexes/models/KnowledgeBase.java","src/main/java/com/azure/search/documents/indexes/models/KnowledgeBaseAzureOpenAIModel.java","src/main/java/com/azure/search/documents/indexes/models/KnowledgeBaseModel.java","src/main/java/com/azure/search/documents/indexes/models/KnowledgeBaseModelKind.java","src/main/java/com/azure/search/documents/indexes/models/KnowledgeSource.java","src/main/java/com/azure/search/documents/indexes/models/KnowledgeSourceContentExtractionMode.java","src/main/java/com/azure/search/documents/indexes/models/KnowledgeSourceIngestionPermissionOption.java","src/main/java/com/azure/search/documents/indexes/models/KnowledgeSourceKind.java","src/main/java/com/azure/search/documents/indexes/models/KnowledgeSourceReference.java","src/main/java/com/azure/search/documents/indexes/models/KnowledgeSourceSynchronizationStatus.java","src/main/java/com/azure/search/documents/indexes/models/LanguageDetectionSkill.java","src/main/java/com/azure/search/documents/indexes/models/LengthTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/LexicalAnalyzer.java","src/main/java/com/azure/search/documents/indexes/models/LexicalAnalyzerName.java","src/main/java/com/azure/search/documents/indexes/models/LexicalNormalizer.java","src/main/java/com/azure/search/documents/indexes/models/LexicalNormalizerName.java","src/main/java/com/azure/search/documents/indexes/models/LexicalTokenizer.java","src/main/java/com/azure/search/documents/indexes/models/LexicalTokenizerName.java","src/main/java/com/azure/search/documents/indexes/models/LimitTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/ListDataSourcesResult.java","src/main/java/com/azure/search/documents/indexes/models/ListIndexersResult.java","src/main/java/com/azure/search/documents/indexes/models/ListSkillsetsResult.java","src/main/java/com/azure/search/documents/indexes/models/ListSynonymMapsResult.java","src/main/java/com/azure/search/documents/indexes/models/LuceneStandardAnalyzer.java","src/main/java/com/azure/search/documents/indexes/models/LuceneStandardTokenizer.java","src/main/java/com/azure/search/documents/indexes/models/LuceneStandardTokenizerV2.java","src/main/java/com/azure/search/documents/indexes/models/MagnitudeScoringFunction.java","src/main/java/com/azure/search/documents/indexes/models/MagnitudeScoringParameters.java","src/main/java/com/azure/search/documents/indexes/models/MappingCharFilter.java","src/main/java/com/azure/search/documents/indexes/models/MarkdownHeaderDepth.java","src/main/java/com/azure/search/documents/indexes/models/MarkdownParsingSubmode.java","src/main/java/com/azure/search/documents/indexes/models/MergeSkill.java","src/main/java/com/azure/search/documents/indexes/models/MicrosoftLanguageStemmingTokenizer.java","src/main/java/com/azure/search/documents/indexes/models/MicrosoftLanguageTokenizer.java","src/main/java/com/azure/search/documents/indexes/models/MicrosoftStemmingTokenizerLanguage.java","src/main/java/com/azure/search/documents/indexes/models/MicrosoftTokenizerLanguage.java","src/main/java/com/azure/search/documents/indexes/models/NGramTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/NGramTokenFilterV2.java","src/main/java/com/azure/search/documents/indexes/models/NGramTokenizer.java","src/main/java/com/azure/search/documents/indexes/models/NativeBlobSoftDeleteDeletionDetectionPolicy.java","src/main/java/com/azure/search/documents/indexes/models/OcrLineEnding.java","src/main/java/com/azure/search/documents/indexes/models/OcrSkill.java","src/main/java/com/azure/search/documents/indexes/models/OcrSkillLanguage.java","src/main/java/com/azure/search/documents/indexes/models/OutputFieldMappingEntry.java","src/main/java/com/azure/search/documents/indexes/models/PIIDetectionSkill.java","src/main/java/com/azure/search/documents/indexes/models/PIIDetectionSkillMaskingMode.java","src/main/java/com/azure/search/documents/indexes/models/PathHierarchyTokenizerV2.java","src/main/java/com/azure/search/documents/indexes/models/PatternAnalyzer.java","src/main/java/com/azure/search/documents/indexes/models/PatternCaptureTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/PatternReplaceCharFilter.java","src/main/java/com/azure/search/documents/indexes/models/PatternReplaceTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/PatternTokenizer.java","src/main/java/com/azure/search/documents/indexes/models/PermissionFilter.java","src/main/java/com/azure/search/documents/indexes/models/PhoneticEncoder.java","src/main/java/com/azure/search/documents/indexes/models/PhoneticTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/RankingOrder.java","src/main/java/com/azure/search/documents/indexes/models/RegexFlags.java","src/main/java/com/azure/search/documents/indexes/models/RemoteSharePointKnowledgeSource.java","src/main/java/com/azure/search/documents/indexes/models/RemoteSharePointKnowledgeSourceParameters.java","src/main/java/com/azure/search/documents/indexes/models/RescoringOptions.java","src/main/java/com/azure/search/documents/indexes/models/ResourceCounter.java","src/main/java/com/azure/search/documents/indexes/models/ScalarQuantizationCompression.java","src/main/java/com/azure/search/documents/indexes/models/ScalarQuantizationParameters.java","src/main/java/com/azure/search/documents/indexes/models/ScoringFunction.java","src/main/java/com/azure/search/documents/indexes/models/ScoringFunctionAggregation.java","src/main/java/com/azure/search/documents/indexes/models/ScoringFunctionInterpolation.java","src/main/java/com/azure/search/documents/indexes/models/ScoringProfile.java","src/main/java/com/azure/search/documents/indexes/models/SearchAlias.java","src/main/java/com/azure/search/documents/indexes/models/SearchField.java","src/main/java/com/azure/search/documents/indexes/models/SearchFieldDataType.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndex.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexFieldReference.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexKnowledgeSource.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexKnowledgeSourceParameters.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexPermissionFilterOption.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexer.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerCache.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerDataContainer.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerDataIdentity.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerDataNoneIdentity.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerDataSourceConnection.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerDataSourceType.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerDataUserAssignedIdentity.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerError.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerIndexProjection.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerIndexProjectionSelector.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerIndexProjectionsParameters.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerKnowledgeStore.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerKnowledgeStoreBlobProjectionSelector.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerKnowledgeStoreFileProjectionSelector.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerKnowledgeStoreObjectProjectionSelector.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerKnowledgeStoreParameters.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerKnowledgeStoreProjection.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerKnowledgeStoreProjectionSelector.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerKnowledgeStoreTableProjectionSelector.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerLimits.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerSkill.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerSkillset.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerStatus.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerWarning.java","src/main/java/com/azure/search/documents/indexes/models/SearchResourceEncryptionKey.java","src/main/java/com/azure/search/documents/indexes/models/SearchServiceCounters.java","src/main/java/com/azure/search/documents/indexes/models/SearchServiceLimits.java","src/main/java/com/azure/search/documents/indexes/models/SearchServiceStatistics.java","src/main/java/com/azure/search/documents/indexes/models/SearchSuggester.java","src/main/java/com/azure/search/documents/indexes/models/SemanticConfiguration.java","src/main/java/com/azure/search/documents/indexes/models/SemanticField.java","src/main/java/com/azure/search/documents/indexes/models/SemanticPrioritizedFields.java","src/main/java/com/azure/search/documents/indexes/models/SemanticSearch.java","src/main/java/com/azure/search/documents/indexes/models/SentimentSkillV3.java","src/main/java/com/azure/search/documents/indexes/models/ServiceIndexersRuntime.java","src/main/java/com/azure/search/documents/indexes/models/ShaperSkill.java","src/main/java/com/azure/search/documents/indexes/models/ShingleTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/SimilarityAlgorithm.java","src/main/java/com/azure/search/documents/indexes/models/SkillNames.java","src/main/java/com/azure/search/documents/indexes/models/SnowballTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/SnowballTokenFilterLanguage.java","src/main/java/com/azure/search/documents/indexes/models/SoftDeleteColumnDeletionDetectionPolicy.java","src/main/java/com/azure/search/documents/indexes/models/SplitSkill.java","src/main/java/com/azure/search/documents/indexes/models/SplitSkillEncoderModelName.java","src/main/java/com/azure/search/documents/indexes/models/SplitSkillLanguage.java","src/main/java/com/azure/search/documents/indexes/models/SplitSkillUnit.java","src/main/java/com/azure/search/documents/indexes/models/SqlIntegratedChangeTrackingPolicy.java","src/main/java/com/azure/search/documents/indexes/models/StemmerOverrideTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/StemmerTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/StemmerTokenFilterLanguage.java","src/main/java/com/azure/search/documents/indexes/models/StopAnalyzer.java","src/main/java/com/azure/search/documents/indexes/models/StopwordsList.java","src/main/java/com/azure/search/documents/indexes/models/StopwordsTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/SynonymMap.java","src/main/java/com/azure/search/documents/indexes/models/SynonymTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/TagScoringFunction.java","src/main/java/com/azure/search/documents/indexes/models/TagScoringParameters.java","src/main/java/com/azure/search/documents/indexes/models/TextSplitMode.java","src/main/java/com/azure/search/documents/indexes/models/TextTranslationSkill.java","src/main/java/com/azure/search/documents/indexes/models/TextTranslationSkillLanguage.java","src/main/java/com/azure/search/documents/indexes/models/TextWeights.java","src/main/java/com/azure/search/documents/indexes/models/TokenCharacterKind.java","src/main/java/com/azure/search/documents/indexes/models/TokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/TokenFilterName.java","src/main/java/com/azure/search/documents/indexes/models/TruncateTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/UaxUrlEmailTokenizer.java","src/main/java/com/azure/search/documents/indexes/models/UniqueTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/VectorEncodingFormat.java","src/main/java/com/azure/search/documents/indexes/models/VectorSearch.java","src/main/java/com/azure/search/documents/indexes/models/VectorSearchAlgorithmConfiguration.java","src/main/java/com/azure/search/documents/indexes/models/VectorSearchAlgorithmKind.java","src/main/java/com/azure/search/documents/indexes/models/VectorSearchAlgorithmMetric.java","src/main/java/com/azure/search/documents/indexes/models/VectorSearchCompression.java","src/main/java/com/azure/search/documents/indexes/models/VectorSearchCompressionKind.java","src/main/java/com/azure/search/documents/indexes/models/VectorSearchCompressionRescoreStorageMethod.java","src/main/java/com/azure/search/documents/indexes/models/VectorSearchCompressionTarget.java","src/main/java/com/azure/search/documents/indexes/models/VectorSearchProfile.java","src/main/java/com/azure/search/documents/indexes/models/VectorSearchVectorizer.java","src/main/java/com/azure/search/documents/indexes/models/VectorSearchVectorizerKind.java","src/main/java/com/azure/search/documents/indexes/models/VisionVectorizeSkill.java","src/main/java/com/azure/search/documents/indexes/models/VisualFeature.java","src/main/java/com/azure/search/documents/indexes/models/WebApiHttpHeaders.java","src/main/java/com/azure/search/documents/indexes/models/WebApiSkill.java","src/main/java/com/azure/search/documents/indexes/models/WebApiVectorizer.java","src/main/java/com/azure/search/documents/indexes/models/WebApiVectorizerParameters.java","src/main/java/com/azure/search/documents/indexes/models/WebKnowledgeSource.java","src/main/java/com/azure/search/documents/indexes/models/WebKnowledgeSourceDomain.java","src/main/java/com/azure/search/documents/indexes/models/WebKnowledgeSourceDomains.java","src/main/java/com/azure/search/documents/indexes/models/WebKnowledgeSourceParameters.java","src/main/java/com/azure/search/documents/indexes/models/WordDelimiterTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/package-info.java","src/main/java/com/azure/search/documents/indexes/package-info.java","src/main/java/com/azure/search/documents/knowledgebases/KnowledgeBaseRetrievalAsyncClient.java","src/main/java/com/azure/search/documents/knowledgebases/KnowledgeBaseRetrievalClient.java","src/main/java/com/azure/search/documents/knowledgebases/KnowledgeBaseRetrievalClientBuilder.java","src/main/java/com/azure/search/documents/knowledgebases/models/AIServices.java","src/main/java/com/azure/search/documents/knowledgebases/models/AzureBlobKnowledgeSourceParams.java","src/main/java/com/azure/search/documents/knowledgebases/models/CompletedSynchronizationState.java","src/main/java/com/azure/search/documents/knowledgebases/models/IndexedOneLakeKnowledgeSourceParams.java","src/main/java/com/azure/search/documents/knowledgebases/models/IndexedSharePointKnowledgeSourceParams.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseActivityRecord.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseActivityRecordType.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseAgenticReasoningActivityRecord.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseAzureBlobReference.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseErrorAdditionalInfo.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseErrorDetail.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseImageContent.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseIndexedOneLakeReference.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseIndexedSharePointReference.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseMessage.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseMessageContent.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseMessageContentType.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseMessageImageContent.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseMessageTextContent.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseModelAnswerSynthesisActivityRecord.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseModelQueryPlanningActivityRecord.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseReference.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseReferenceType.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseRemoteSharePointReference.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseRetrievalRequest.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseRetrievalResponse.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseSearchIndexReference.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseWebReference.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalIntent.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalIntentType.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalLowReasoningEffort.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalMediumReasoningEffort.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalMinimalReasoningEffort.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalOutputMode.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalReasoningEffort.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalReasoningEffortKind.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalSemanticIntent.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeSourceAzureOpenAIVectorizer.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeSourceIngestionParameters.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeSourceParams.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeSourceStatistics.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeSourceStatus.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeSourceVectorizer.java","src/main/java/com/azure/search/documents/knowledgebases/models/RemoteSharePointKnowledgeSourceParams.java","src/main/java/com/azure/search/documents/knowledgebases/models/SearchIndexKnowledgeSourceParams.java","src/main/java/com/azure/search/documents/knowledgebases/models/SharePointSensitivityLabelInfo.java","src/main/java/com/azure/search/documents/knowledgebases/models/SynchronizationState.java","src/main/java/com/azure/search/documents/knowledgebases/models/WebKnowledgeSourceParams.java","src/main/java/com/azure/search/documents/knowledgebases/models/package-info.java","src/main/java/com/azure/search/documents/knowledgebases/package-info.java","src/main/java/com/azure/search/documents/models/AutocompleteItem.java","src/main/java/com/azure/search/documents/models/AutocompleteMode.java","src/main/java/com/azure/search/documents/models/AutocompleteOptions.java","src/main/java/com/azure/search/documents/models/AutocompleteResult.java","src/main/java/com/azure/search/documents/models/DebugInfo.java","src/main/java/com/azure/search/documents/models/DocumentDebugInfo.java","src/main/java/com/azure/search/documents/models/FacetResult.java","src/main/java/com/azure/search/documents/models/HybridCountAndFacetMode.java","src/main/java/com/azure/search/documents/models/HybridSearch.java","src/main/java/com/azure/search/documents/models/IndexAction.java","src/main/java/com/azure/search/documents/models/IndexActionType.java","src/main/java/com/azure/search/documents/models/IndexDocumentsBatch.java","src/main/java/com/azure/search/documents/models/IndexDocumentsResult.java","src/main/java/com/azure/search/documents/models/IndexingResult.java","src/main/java/com/azure/search/documents/models/LookupDocument.java","src/main/java/com/azure/search/documents/models/QueryAnswerResult.java","src/main/java/com/azure/search/documents/models/QueryAnswerType.java","src/main/java/com/azure/search/documents/models/QueryCaptionResult.java","src/main/java/com/azure/search/documents/models/QueryCaptionType.java","src/main/java/com/azure/search/documents/models/QueryDebugMode.java","src/main/java/com/azure/search/documents/models/QueryLanguage.java","src/main/java/com/azure/search/documents/models/QueryResultDocumentInnerHit.java","src/main/java/com/azure/search/documents/models/QueryResultDocumentRerankerInput.java","src/main/java/com/azure/search/documents/models/QueryResultDocumentSemanticField.java","src/main/java/com/azure/search/documents/models/QueryResultDocumentSubscores.java","src/main/java/com/azure/search/documents/models/QueryRewritesDebugInfo.java","src/main/java/com/azure/search/documents/models/QueryRewritesType.java","src/main/java/com/azure/search/documents/models/QueryRewritesValuesDebugInfo.java","src/main/java/com/azure/search/documents/models/QuerySpellerType.java","src/main/java/com/azure/search/documents/models/QueryType.java","src/main/java/com/azure/search/documents/models/ScoringStatistics.java","src/main/java/com/azure/search/documents/models/SearchDocumentsResult.java","src/main/java/com/azure/search/documents/models/SearchMode.java","src/main/java/com/azure/search/documents/models/SearchOptions.java","src/main/java/com/azure/search/documents/models/SearchRequest.java","src/main/java/com/azure/search/documents/models/SearchResult.java","src/main/java/com/azure/search/documents/models/SearchScoreThreshold.java","src/main/java/com/azure/search/documents/models/SemanticDebugInfo.java","src/main/java/com/azure/search/documents/models/SemanticErrorMode.java","src/main/java/com/azure/search/documents/models/SemanticErrorReason.java","src/main/java/com/azure/search/documents/models/SemanticFieldState.java","src/main/java/com/azure/search/documents/models/SemanticQueryRewritesResultType.java","src/main/java/com/azure/search/documents/models/SemanticSearchResultsType.java","src/main/java/com/azure/search/documents/models/SingleVectorFieldResult.java","src/main/java/com/azure/search/documents/models/SuggestDocumentsResult.java","src/main/java/com/azure/search/documents/models/SuggestOptions.java","src/main/java/com/azure/search/documents/models/SuggestResult.java","src/main/java/com/azure/search/documents/models/TextResult.java","src/main/java/com/azure/search/documents/models/VectorFilterMode.java","src/main/java/com/azure/search/documents/models/VectorQuery.java","src/main/java/com/azure/search/documents/models/VectorQueryKind.java","src/main/java/com/azure/search/documents/models/VectorSimilarityThreshold.java","src/main/java/com/azure/search/documents/models/VectorThreshold.java","src/main/java/com/azure/search/documents/models/VectorThresholdKind.java","src/main/java/com/azure/search/documents/models/VectorizableImageBinaryQuery.java","src/main/java/com/azure/search/documents/models/VectorizableImageUrlQuery.java","src/main/java/com/azure/search/documents/models/VectorizableTextQuery.java","src/main/java/com/azure/search/documents/models/VectorizedQuery.java","src/main/java/com/azure/search/documents/models/VectorsDebugInfo.java","src/main/java/com/azure/search/documents/models/package-info.java","src/main/java/com/azure/search/documents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Search":"2026-04-01"},"crossLanguageDefinitions":{"com.azure.search.documents.SearchAsyncClient":"Customizations.SearchClient","com.azure.search.documents.SearchAsyncClient.autocomplete":"Customizations.SearchClient.Documents.autocompletePost","com.azure.search.documents.SearchAsyncClient.autocompleteGet":"Customizations.SearchClient.Documents.autocompleteGet","com.azure.search.documents.SearchAsyncClient.autocompleteGetWithResponse":"Customizations.SearchClient.Documents.autocompleteGet","com.azure.search.documents.SearchAsyncClient.autocompleteWithResponse":"Customizations.SearchClient.Documents.autocompletePost","com.azure.search.documents.SearchAsyncClient.getDocument":"Customizations.SearchClient.Documents.get","com.azure.search.documents.SearchAsyncClient.getDocumentCount":"Customizations.SearchClient.Documents.count","com.azure.search.documents.SearchAsyncClient.getDocumentCountWithResponse":"Customizations.SearchClient.Documents.count","com.azure.search.documents.SearchAsyncClient.getDocumentWithResponse":"Customizations.SearchClient.Documents.get","com.azure.search.documents.SearchAsyncClient.index":"Customizations.SearchClient.Documents.index","com.azure.search.documents.SearchAsyncClient.indexWithResponse":"Customizations.SearchClient.Documents.index","com.azure.search.documents.SearchAsyncClient.search":"Customizations.SearchClient.Documents.searchPost","com.azure.search.documents.SearchAsyncClient.searchGet":"Customizations.SearchClient.Documents.searchGet","com.azure.search.documents.SearchAsyncClient.searchGetWithResponse":"Customizations.SearchClient.Documents.searchGet","com.azure.search.documents.SearchAsyncClient.searchWithResponse":"Customizations.SearchClient.Documents.searchPost","com.azure.search.documents.SearchAsyncClient.suggest":"Customizations.SearchClient.Documents.suggestPost","com.azure.search.documents.SearchAsyncClient.suggestGet":"Customizations.SearchClient.Documents.suggestGet","com.azure.search.documents.SearchAsyncClient.suggestGetWithResponse":"Customizations.SearchClient.Documents.suggestGet","com.azure.search.documents.SearchAsyncClient.suggestWithResponse":"Customizations.SearchClient.Documents.suggestPost","com.azure.search.documents.SearchClient":"Customizations.SearchClient","com.azure.search.documents.SearchClient.autocomplete":"Customizations.SearchClient.Documents.autocompletePost","com.azure.search.documents.SearchClient.autocompleteGet":"Customizations.SearchClient.Documents.autocompleteGet","com.azure.search.documents.SearchClient.autocompleteGetWithResponse":"Customizations.SearchClient.Documents.autocompleteGet","com.azure.search.documents.SearchClient.autocompleteWithResponse":"Customizations.SearchClient.Documents.autocompletePost","com.azure.search.documents.SearchClient.getDocument":"Customizations.SearchClient.Documents.get","com.azure.search.documents.SearchClient.getDocumentCount":"Customizations.SearchClient.Documents.count","com.azure.search.documents.SearchClient.getDocumentCountWithResponse":"Customizations.SearchClient.Documents.count","com.azure.search.documents.SearchClient.getDocumentWithResponse":"Customizations.SearchClient.Documents.get","com.azure.search.documents.SearchClient.index":"Customizations.SearchClient.Documents.index","com.azure.search.documents.SearchClient.indexWithResponse":"Customizations.SearchClient.Documents.index","com.azure.search.documents.SearchClient.search":"Customizations.SearchClient.Documents.searchPost","com.azure.search.documents.SearchClient.searchGet":"Customizations.SearchClient.Documents.searchGet","com.azure.search.documents.SearchClient.searchGetWithResponse":"Customizations.SearchClient.Documents.searchGet","com.azure.search.documents.SearchClient.searchWithResponse":"Customizations.SearchClient.Documents.searchPost","com.azure.search.documents.SearchClient.suggest":"Customizations.SearchClient.Documents.suggestPost","com.azure.search.documents.SearchClient.suggestGet":"Customizations.SearchClient.Documents.suggestGet","com.azure.search.documents.SearchClient.suggestGetWithResponse":"Customizations.SearchClient.Documents.suggestGet","com.azure.search.documents.SearchClient.suggestWithResponse":"Customizations.SearchClient.Documents.suggestPost","com.azure.search.documents.SearchClientBuilder":"Customizations.SearchClient","com.azure.search.documents.implementation.models.AutocompletePostRequest":"Customizations.SearchClient.autocompletePost.Request.anonymous","com.azure.search.documents.implementation.models.CountRequestAccept1":null,"com.azure.search.documents.implementation.models.CountRequestAccept4":null,"com.azure.search.documents.implementation.models.CountRequestAccept6":null,"com.azure.search.documents.implementation.models.CountRequestAccept7":null,"com.azure.search.documents.implementation.models.CreateOrUpdateRequestAccept":null,"com.azure.search.documents.implementation.models.CreateOrUpdateRequestAccept13":null,"com.azure.search.documents.implementation.models.CreateOrUpdateRequestAccept18":null,"com.azure.search.documents.implementation.models.CreateOrUpdateRequestAccept23":null,"com.azure.search.documents.implementation.models.CreateOrUpdateRequestAccept3":null,"com.azure.search.documents.implementation.models.CreateOrUpdateRequestAccept30":null,"com.azure.search.documents.implementation.models.CreateOrUpdateRequestAccept33":null,"com.azure.search.documents.implementation.models.CreateOrUpdateRequestAccept37":null,"com.azure.search.documents.implementation.models.CreateOrUpdateRequestAccept40":null,"com.azure.search.documents.implementation.models.CreateOrUpdateRequestAccept43":null,"com.azure.search.documents.implementation.models.CreateOrUpdateRequestAccept46":null,"com.azure.search.documents.implementation.models.CreateOrUpdateRequestAccept5":null,"com.azure.search.documents.implementation.models.SearchPostRequest":"Customizations.SearchClient.searchPost.Request.anonymous","com.azure.search.documents.implementation.models.SuggestPostRequest":"Customizations.SearchClient.suggestPost.Request.anonymous","com.azure.search.documents.indexes.SearchIndexAsyncClient":"Customizations.SearchIndexClient","com.azure.search.documents.indexes.SearchIndexAsyncClient.analyzeText":"Customizations.SearchIndexClient.Indexes.analyze","com.azure.search.documents.indexes.SearchIndexAsyncClient.analyzeTextWithResponse":"Customizations.SearchIndexClient.Indexes.analyze","com.azure.search.documents.indexes.SearchIndexAsyncClient.createAlias":"Customizations.SearchIndexClient.Aliases.create","com.azure.search.documents.indexes.SearchIndexAsyncClient.createAliasWithResponse":"Customizations.SearchIndexClient.Aliases.create","com.azure.search.documents.indexes.SearchIndexAsyncClient.createIndex":"Customizations.SearchIndexClient.Indexes.create","com.azure.search.documents.indexes.SearchIndexAsyncClient.createIndexWithResponse":"Customizations.SearchIndexClient.Indexes.create","com.azure.search.documents.indexes.SearchIndexAsyncClient.createKnowledgeBase":"Customizations.SearchIndexClient.KnowledgeBases.create","com.azure.search.documents.indexes.SearchIndexAsyncClient.createKnowledgeBaseWithResponse":"Customizations.SearchIndexClient.KnowledgeBases.create","com.azure.search.documents.indexes.SearchIndexAsyncClient.createKnowledgeSource":"Customizations.SearchIndexClient.Sources.create","com.azure.search.documents.indexes.SearchIndexAsyncClient.createKnowledgeSourceWithResponse":"Customizations.SearchIndexClient.Sources.create","com.azure.search.documents.indexes.SearchIndexAsyncClient.createOrUpdateAlias":"Customizations.SearchIndexClient.Aliases.createOrUpdate","com.azure.search.documents.indexes.SearchIndexAsyncClient.createOrUpdateAliasWithResponse":"Customizations.SearchIndexClient.Aliases.createOrUpdate","com.azure.search.documents.indexes.SearchIndexAsyncClient.createOrUpdateIndex":"Customizations.SearchIndexClient.Indexes.createOrUpdate","com.azure.search.documents.indexes.SearchIndexAsyncClient.createOrUpdateIndexWithResponse":"Customizations.SearchIndexClient.Indexes.createOrUpdate","com.azure.search.documents.indexes.SearchIndexAsyncClient.createOrUpdateKnowledgeBase":"Customizations.SearchIndexClient.KnowledgeBases.createOrUpdate","com.azure.search.documents.indexes.SearchIndexAsyncClient.createOrUpdateKnowledgeBaseWithResponse":"Customizations.SearchIndexClient.KnowledgeBases.createOrUpdate","com.azure.search.documents.indexes.SearchIndexAsyncClient.createOrUpdateKnowledgeSource":"Customizations.SearchIndexClient.Sources.createOrUpdate","com.azure.search.documents.indexes.SearchIndexAsyncClient.createOrUpdateKnowledgeSourceWithResponse":"Customizations.SearchIndexClient.Sources.createOrUpdate","com.azure.search.documents.indexes.SearchIndexAsyncClient.createOrUpdateSynonymMap":"Customizations.SearchIndexClient.SynonymMaps.createOrUpdate","com.azure.search.documents.indexes.SearchIndexAsyncClient.createOrUpdateSynonymMapWithResponse":"Customizations.SearchIndexClient.SynonymMaps.createOrUpdate","com.azure.search.documents.indexes.SearchIndexAsyncClient.createSynonymMap":"Customizations.SearchIndexClient.SynonymMaps.create","com.azure.search.documents.indexes.SearchIndexAsyncClient.createSynonymMapWithResponse":"Customizations.SearchIndexClient.SynonymMaps.create","com.azure.search.documents.indexes.SearchIndexAsyncClient.deleteAlias":"Customizations.SearchIndexClient.Aliases.delete","com.azure.search.documents.indexes.SearchIndexAsyncClient.deleteAliasWithResponse":"Customizations.SearchIndexClient.Aliases.delete","com.azure.search.documents.indexes.SearchIndexAsyncClient.deleteIndex":"Customizations.SearchIndexClient.Indexes.delete","com.azure.search.documents.indexes.SearchIndexAsyncClient.deleteIndexWithResponse":"Customizations.SearchIndexClient.Indexes.delete","com.azure.search.documents.indexes.SearchIndexAsyncClient.deleteKnowledgeBase":"Customizations.SearchIndexClient.KnowledgeBases.delete","com.azure.search.documents.indexes.SearchIndexAsyncClient.deleteKnowledgeBaseWithResponse":"Customizations.SearchIndexClient.KnowledgeBases.delete","com.azure.search.documents.indexes.SearchIndexAsyncClient.deleteKnowledgeSource":"Customizations.SearchIndexClient.Sources.delete","com.azure.search.documents.indexes.SearchIndexAsyncClient.deleteKnowledgeSourceWithResponse":"Customizations.SearchIndexClient.Sources.delete","com.azure.search.documents.indexes.SearchIndexAsyncClient.deleteSynonymMap":"Customizations.SearchIndexClient.SynonymMaps.delete","com.azure.search.documents.indexes.SearchIndexAsyncClient.deleteSynonymMapWithResponse":"Customizations.SearchIndexClient.SynonymMaps.delete","com.azure.search.documents.indexes.SearchIndexAsyncClient.getAlias":"Customizations.SearchIndexClient.Aliases.get","com.azure.search.documents.indexes.SearchIndexAsyncClient.getAliasWithResponse":"Customizations.SearchIndexClient.Aliases.get","com.azure.search.documents.indexes.SearchIndexAsyncClient.getIndex":"Customizations.SearchIndexClient.Indexes.get","com.azure.search.documents.indexes.SearchIndexAsyncClient.getIndexStatistics":"Customizations.SearchIndexClient.Indexes.getStatistics","com.azure.search.documents.indexes.SearchIndexAsyncClient.getIndexStatisticsWithResponse":"Customizations.SearchIndexClient.Indexes.getStatistics","com.azure.search.documents.indexes.SearchIndexAsyncClient.getIndexWithResponse":"Customizations.SearchIndexClient.Indexes.get","com.azure.search.documents.indexes.SearchIndexAsyncClient.getKnowledgeBase":"Customizations.SearchIndexClient.KnowledgeBases.get","com.azure.search.documents.indexes.SearchIndexAsyncClient.getKnowledgeBaseWithResponse":"Customizations.SearchIndexClient.KnowledgeBases.get","com.azure.search.documents.indexes.SearchIndexAsyncClient.getKnowledgeSource":"Customizations.SearchIndexClient.Sources.get","com.azure.search.documents.indexes.SearchIndexAsyncClient.getKnowledgeSourceStatus":"Customizations.SearchIndexClient.Sources.getStatus","com.azure.search.documents.indexes.SearchIndexAsyncClient.getKnowledgeSourceStatusWithResponse":"Customizations.SearchIndexClient.Sources.getStatus","com.azure.search.documents.indexes.SearchIndexAsyncClient.getKnowledgeSourceWithResponse":"Customizations.SearchIndexClient.Sources.get","com.azure.search.documents.indexes.SearchIndexAsyncClient.getServiceStatistics":"Customizations.SearchIndexClient.Root.getServiceStatistics","com.azure.search.documents.indexes.SearchIndexAsyncClient.getServiceStatisticsWithResponse":"Customizations.SearchIndexClient.Root.getServiceStatistics","com.azure.search.documents.indexes.SearchIndexAsyncClient.getSynonymMap":"Customizations.SearchIndexClient.SynonymMaps.get","com.azure.search.documents.indexes.SearchIndexAsyncClient.getSynonymMapWithResponse":"Customizations.SearchIndexClient.SynonymMaps.get","com.azure.search.documents.indexes.SearchIndexAsyncClient.getSynonymMaps":"Customizations.SearchIndexClient.SynonymMaps.list","com.azure.search.documents.indexes.SearchIndexAsyncClient.getSynonymMapsWithResponse":"Customizations.SearchIndexClient.SynonymMaps.list","com.azure.search.documents.indexes.SearchIndexAsyncClient.listAliases":"Customizations.SearchIndexClient.Aliases.list","com.azure.search.documents.indexes.SearchIndexAsyncClient.listIndexes":"Customizations.SearchIndexClient.Indexes.list","com.azure.search.documents.indexes.SearchIndexAsyncClient.listIndexesWithSelectedProperties":"Customizations.SearchIndexClient.Indexes.listWithSelectedProperties","com.azure.search.documents.indexes.SearchIndexAsyncClient.listKnowledgeBases":"Customizations.SearchIndexClient.KnowledgeBases.list","com.azure.search.documents.indexes.SearchIndexAsyncClient.listKnowledgeSources":"Customizations.SearchIndexClient.Sources.list","com.azure.search.documents.indexes.SearchIndexClient":"Customizations.SearchIndexClient","com.azure.search.documents.indexes.SearchIndexClient.analyzeText":"Customizations.SearchIndexClient.Indexes.analyze","com.azure.search.documents.indexes.SearchIndexClient.analyzeTextWithResponse":"Customizations.SearchIndexClient.Indexes.analyze","com.azure.search.documents.indexes.SearchIndexClient.createAlias":"Customizations.SearchIndexClient.Aliases.create","com.azure.search.documents.indexes.SearchIndexClient.createAliasWithResponse":"Customizations.SearchIndexClient.Aliases.create","com.azure.search.documents.indexes.SearchIndexClient.createIndex":"Customizations.SearchIndexClient.Indexes.create","com.azure.search.documents.indexes.SearchIndexClient.createIndexWithResponse":"Customizations.SearchIndexClient.Indexes.create","com.azure.search.documents.indexes.SearchIndexClient.createKnowledgeBase":"Customizations.SearchIndexClient.KnowledgeBases.create","com.azure.search.documents.indexes.SearchIndexClient.createKnowledgeBaseWithResponse":"Customizations.SearchIndexClient.KnowledgeBases.create","com.azure.search.documents.indexes.SearchIndexClient.createKnowledgeSource":"Customizations.SearchIndexClient.Sources.create","com.azure.search.documents.indexes.SearchIndexClient.createKnowledgeSourceWithResponse":"Customizations.SearchIndexClient.Sources.create","com.azure.search.documents.indexes.SearchIndexClient.createOrUpdateAlias":"Customizations.SearchIndexClient.Aliases.createOrUpdate","com.azure.search.documents.indexes.SearchIndexClient.createOrUpdateAliasWithResponse":"Customizations.SearchIndexClient.Aliases.createOrUpdate","com.azure.search.documents.indexes.SearchIndexClient.createOrUpdateIndex":"Customizations.SearchIndexClient.Indexes.createOrUpdate","com.azure.search.documents.indexes.SearchIndexClient.createOrUpdateIndexWithResponse":"Customizations.SearchIndexClient.Indexes.createOrUpdate","com.azure.search.documents.indexes.SearchIndexClient.createOrUpdateKnowledgeBase":"Customizations.SearchIndexClient.KnowledgeBases.createOrUpdate","com.azure.search.documents.indexes.SearchIndexClient.createOrUpdateKnowledgeBaseWithResponse":"Customizations.SearchIndexClient.KnowledgeBases.createOrUpdate","com.azure.search.documents.indexes.SearchIndexClient.createOrUpdateKnowledgeSource":"Customizations.SearchIndexClient.Sources.createOrUpdate","com.azure.search.documents.indexes.SearchIndexClient.createOrUpdateKnowledgeSourceWithResponse":"Customizations.SearchIndexClient.Sources.createOrUpdate","com.azure.search.documents.indexes.SearchIndexClient.createOrUpdateSynonymMap":"Customizations.SearchIndexClient.SynonymMaps.createOrUpdate","com.azure.search.documents.indexes.SearchIndexClient.createOrUpdateSynonymMapWithResponse":"Customizations.SearchIndexClient.SynonymMaps.createOrUpdate","com.azure.search.documents.indexes.SearchIndexClient.createSynonymMap":"Customizations.SearchIndexClient.SynonymMaps.create","com.azure.search.documents.indexes.SearchIndexClient.createSynonymMapWithResponse":"Customizations.SearchIndexClient.SynonymMaps.create","com.azure.search.documents.indexes.SearchIndexClient.deleteAlias":"Customizations.SearchIndexClient.Aliases.delete","com.azure.search.documents.indexes.SearchIndexClient.deleteAliasWithResponse":"Customizations.SearchIndexClient.Aliases.delete","com.azure.search.documents.indexes.SearchIndexClient.deleteIndex":"Customizations.SearchIndexClient.Indexes.delete","com.azure.search.documents.indexes.SearchIndexClient.deleteIndexWithResponse":"Customizations.SearchIndexClient.Indexes.delete","com.azure.search.documents.indexes.SearchIndexClient.deleteKnowledgeBase":"Customizations.SearchIndexClient.KnowledgeBases.delete","com.azure.search.documents.indexes.SearchIndexClient.deleteKnowledgeBaseWithResponse":"Customizations.SearchIndexClient.KnowledgeBases.delete","com.azure.search.documents.indexes.SearchIndexClient.deleteKnowledgeSource":"Customizations.SearchIndexClient.Sources.delete","com.azure.search.documents.indexes.SearchIndexClient.deleteKnowledgeSourceWithResponse":"Customizations.SearchIndexClient.Sources.delete","com.azure.search.documents.indexes.SearchIndexClient.deleteSynonymMap":"Customizations.SearchIndexClient.SynonymMaps.delete","com.azure.search.documents.indexes.SearchIndexClient.deleteSynonymMapWithResponse":"Customizations.SearchIndexClient.SynonymMaps.delete","com.azure.search.documents.indexes.SearchIndexClient.getAlias":"Customizations.SearchIndexClient.Aliases.get","com.azure.search.documents.indexes.SearchIndexClient.getAliasWithResponse":"Customizations.SearchIndexClient.Aliases.get","com.azure.search.documents.indexes.SearchIndexClient.getIndex":"Customizations.SearchIndexClient.Indexes.get","com.azure.search.documents.indexes.SearchIndexClient.getIndexStatistics":"Customizations.SearchIndexClient.Indexes.getStatistics","com.azure.search.documents.indexes.SearchIndexClient.getIndexStatisticsWithResponse":"Customizations.SearchIndexClient.Indexes.getStatistics","com.azure.search.documents.indexes.SearchIndexClient.getIndexWithResponse":"Customizations.SearchIndexClient.Indexes.get","com.azure.search.documents.indexes.SearchIndexClient.getKnowledgeBase":"Customizations.SearchIndexClient.KnowledgeBases.get","com.azure.search.documents.indexes.SearchIndexClient.getKnowledgeBaseWithResponse":"Customizations.SearchIndexClient.KnowledgeBases.get","com.azure.search.documents.indexes.SearchIndexClient.getKnowledgeSource":"Customizations.SearchIndexClient.Sources.get","com.azure.search.documents.indexes.SearchIndexClient.getKnowledgeSourceStatus":"Customizations.SearchIndexClient.Sources.getStatus","com.azure.search.documents.indexes.SearchIndexClient.getKnowledgeSourceStatusWithResponse":"Customizations.SearchIndexClient.Sources.getStatus","com.azure.search.documents.indexes.SearchIndexClient.getKnowledgeSourceWithResponse":"Customizations.SearchIndexClient.Sources.get","com.azure.search.documents.indexes.SearchIndexClient.getServiceStatistics":"Customizations.SearchIndexClient.Root.getServiceStatistics","com.azure.search.documents.indexes.SearchIndexClient.getServiceStatisticsWithResponse":"Customizations.SearchIndexClient.Root.getServiceStatistics","com.azure.search.documents.indexes.SearchIndexClient.getSynonymMap":"Customizations.SearchIndexClient.SynonymMaps.get","com.azure.search.documents.indexes.SearchIndexClient.getSynonymMapWithResponse":"Customizations.SearchIndexClient.SynonymMaps.get","com.azure.search.documents.indexes.SearchIndexClient.getSynonymMaps":"Customizations.SearchIndexClient.SynonymMaps.list","com.azure.search.documents.indexes.SearchIndexClient.getSynonymMapsWithResponse":"Customizations.SearchIndexClient.SynonymMaps.list","com.azure.search.documents.indexes.SearchIndexClient.listAliases":"Customizations.SearchIndexClient.Aliases.list","com.azure.search.documents.indexes.SearchIndexClient.listIndexes":"Customizations.SearchIndexClient.Indexes.list","com.azure.search.documents.indexes.SearchIndexClient.listIndexesWithSelectedProperties":"Customizations.SearchIndexClient.Indexes.listWithSelectedProperties","com.azure.search.documents.indexes.SearchIndexClient.listKnowledgeBases":"Customizations.SearchIndexClient.KnowledgeBases.list","com.azure.search.documents.indexes.SearchIndexClient.listKnowledgeSources":"Customizations.SearchIndexClient.Sources.list","com.azure.search.documents.indexes.SearchIndexClientBuilder":"Customizations.SearchIndexClient","com.azure.search.documents.indexes.SearchIndexerAsyncClient":"Customizations.SearchIndexerClient","com.azure.search.documents.indexes.SearchIndexerAsyncClient.createDataSourceConnection":"Customizations.SearchIndexerClient.DataSources.create","com.azure.search.documents.indexes.SearchIndexerAsyncClient.createDataSourceConnectionWithResponse":"Customizations.SearchIndexerClient.DataSources.create","com.azure.search.documents.indexes.SearchIndexerAsyncClient.createIndexer":"Customizations.SearchIndexerClient.Indexers.create","com.azure.search.documents.indexes.SearchIndexerAsyncClient.createIndexerWithResponse":"Customizations.SearchIndexerClient.Indexers.create","com.azure.search.documents.indexes.SearchIndexerAsyncClient.createOrUpdateDataSourceConnection":"Customizations.SearchIndexerClient.DataSources.createOrUpdate","com.azure.search.documents.indexes.SearchIndexerAsyncClient.createOrUpdateDataSourceConnectionWithResponse":"Customizations.SearchIndexerClient.DataSources.createOrUpdate","com.azure.search.documents.indexes.SearchIndexerAsyncClient.createOrUpdateIndexer":"Customizations.SearchIndexerClient.Indexers.createOrUpdate","com.azure.search.documents.indexes.SearchIndexerAsyncClient.createOrUpdateIndexerWithResponse":"Customizations.SearchIndexerClient.Indexers.createOrUpdate","com.azure.search.documents.indexes.SearchIndexerAsyncClient.createOrUpdateSkillset":"Customizations.SearchIndexerClient.Skillsets.createOrUpdate","com.azure.search.documents.indexes.SearchIndexerAsyncClient.createOrUpdateSkillsetWithResponse":"Customizations.SearchIndexerClient.Skillsets.createOrUpdate","com.azure.search.documents.indexes.SearchIndexerAsyncClient.createSkillset":"Customizations.SearchIndexerClient.Skillsets.create","com.azure.search.documents.indexes.SearchIndexerAsyncClient.createSkillsetWithResponse":"Customizations.SearchIndexerClient.Skillsets.create","com.azure.search.documents.indexes.SearchIndexerAsyncClient.deleteDataSourceConnection":"Customizations.SearchIndexerClient.DataSources.delete","com.azure.search.documents.indexes.SearchIndexerAsyncClient.deleteDataSourceConnectionWithResponse":"Customizations.SearchIndexerClient.DataSources.delete","com.azure.search.documents.indexes.SearchIndexerAsyncClient.deleteIndexer":"Customizations.SearchIndexerClient.Indexers.delete","com.azure.search.documents.indexes.SearchIndexerAsyncClient.deleteIndexerWithResponse":"Customizations.SearchIndexerClient.Indexers.delete","com.azure.search.documents.indexes.SearchIndexerAsyncClient.deleteSkillset":"Customizations.SearchIndexerClient.Skillsets.delete","com.azure.search.documents.indexes.SearchIndexerAsyncClient.deleteSkillsetWithResponse":"Customizations.SearchIndexerClient.Skillsets.delete","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getDataSourceConnection":"Customizations.SearchIndexerClient.DataSources.get","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getDataSourceConnectionWithResponse":"Customizations.SearchIndexerClient.DataSources.get","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getDataSourceConnections":"Customizations.SearchIndexerClient.DataSources.list","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getDataSourceConnectionsWithResponse":"Customizations.SearchIndexerClient.DataSources.list","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getIndexer":"Customizations.SearchIndexerClient.Indexers.get","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getIndexerStatus":"Customizations.SearchIndexerClient.Indexers.getStatus","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getIndexerStatusWithResponse":"Customizations.SearchIndexerClient.Indexers.getStatus","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getIndexerWithResponse":"Customizations.SearchIndexerClient.Indexers.get","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getIndexers":"Customizations.SearchIndexerClient.Indexers.list","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getIndexersWithResponse":"Customizations.SearchIndexerClient.Indexers.list","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getSkillset":"Customizations.SearchIndexerClient.Skillsets.get","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getSkillsetWithResponse":"Customizations.SearchIndexerClient.Skillsets.get","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getSkillsets":"Customizations.SearchIndexerClient.Skillsets.list","com.azure.search.documents.indexes.SearchIndexerAsyncClient.getSkillsetsWithResponse":"Customizations.SearchIndexerClient.Skillsets.list","com.azure.search.documents.indexes.SearchIndexerAsyncClient.resetIndexer":"Customizations.SearchIndexerClient.Indexers.reset","com.azure.search.documents.indexes.SearchIndexerAsyncClient.resetIndexerWithResponse":"Customizations.SearchIndexerClient.Indexers.reset","com.azure.search.documents.indexes.SearchIndexerAsyncClient.runIndexer":"Customizations.SearchIndexerClient.Indexers.run","com.azure.search.documents.indexes.SearchIndexerAsyncClient.runIndexerWithResponse":"Customizations.SearchIndexerClient.Indexers.run","com.azure.search.documents.indexes.SearchIndexerClient":"Customizations.SearchIndexerClient","com.azure.search.documents.indexes.SearchIndexerClient.createDataSourceConnection":"Customizations.SearchIndexerClient.DataSources.create","com.azure.search.documents.indexes.SearchIndexerClient.createDataSourceConnectionWithResponse":"Customizations.SearchIndexerClient.DataSources.create","com.azure.search.documents.indexes.SearchIndexerClient.createIndexer":"Customizations.SearchIndexerClient.Indexers.create","com.azure.search.documents.indexes.SearchIndexerClient.createIndexerWithResponse":"Customizations.SearchIndexerClient.Indexers.create","com.azure.search.documents.indexes.SearchIndexerClient.createOrUpdateDataSourceConnection":"Customizations.SearchIndexerClient.DataSources.createOrUpdate","com.azure.search.documents.indexes.SearchIndexerClient.createOrUpdateDataSourceConnectionWithResponse":"Customizations.SearchIndexerClient.DataSources.createOrUpdate","com.azure.search.documents.indexes.SearchIndexerClient.createOrUpdateIndexer":"Customizations.SearchIndexerClient.Indexers.createOrUpdate","com.azure.search.documents.indexes.SearchIndexerClient.createOrUpdateIndexerWithResponse":"Customizations.SearchIndexerClient.Indexers.createOrUpdate","com.azure.search.documents.indexes.SearchIndexerClient.createOrUpdateSkillset":"Customizations.SearchIndexerClient.Skillsets.createOrUpdate","com.azure.search.documents.indexes.SearchIndexerClient.createOrUpdateSkillsetWithResponse":"Customizations.SearchIndexerClient.Skillsets.createOrUpdate","com.azure.search.documents.indexes.SearchIndexerClient.createSkillset":"Customizations.SearchIndexerClient.Skillsets.create","com.azure.search.documents.indexes.SearchIndexerClient.createSkillsetWithResponse":"Customizations.SearchIndexerClient.Skillsets.create","com.azure.search.documents.indexes.SearchIndexerClient.deleteDataSourceConnection":"Customizations.SearchIndexerClient.DataSources.delete","com.azure.search.documents.indexes.SearchIndexerClient.deleteDataSourceConnectionWithResponse":"Customizations.SearchIndexerClient.DataSources.delete","com.azure.search.documents.indexes.SearchIndexerClient.deleteIndexer":"Customizations.SearchIndexerClient.Indexers.delete","com.azure.search.documents.indexes.SearchIndexerClient.deleteIndexerWithResponse":"Customizations.SearchIndexerClient.Indexers.delete","com.azure.search.documents.indexes.SearchIndexerClient.deleteSkillset":"Customizations.SearchIndexerClient.Skillsets.delete","com.azure.search.documents.indexes.SearchIndexerClient.deleteSkillsetWithResponse":"Customizations.SearchIndexerClient.Skillsets.delete","com.azure.search.documents.indexes.SearchIndexerClient.getDataSourceConnection":"Customizations.SearchIndexerClient.DataSources.get","com.azure.search.documents.indexes.SearchIndexerClient.getDataSourceConnectionWithResponse":"Customizations.SearchIndexerClient.DataSources.get","com.azure.search.documents.indexes.SearchIndexerClient.getDataSourceConnections":"Customizations.SearchIndexerClient.DataSources.list","com.azure.search.documents.indexes.SearchIndexerClient.getDataSourceConnectionsWithResponse":"Customizations.SearchIndexerClient.DataSources.list","com.azure.search.documents.indexes.SearchIndexerClient.getIndexer":"Customizations.SearchIndexerClient.Indexers.get","com.azure.search.documents.indexes.SearchIndexerClient.getIndexerStatus":"Customizations.SearchIndexerClient.Indexers.getStatus","com.azure.search.documents.indexes.SearchIndexerClient.getIndexerStatusWithResponse":"Customizations.SearchIndexerClient.Indexers.getStatus","com.azure.search.documents.indexes.SearchIndexerClient.getIndexerWithResponse":"Customizations.SearchIndexerClient.Indexers.get","com.azure.search.documents.indexes.SearchIndexerClient.getIndexers":"Customizations.SearchIndexerClient.Indexers.list","com.azure.search.documents.indexes.SearchIndexerClient.getIndexersWithResponse":"Customizations.SearchIndexerClient.Indexers.list","com.azure.search.documents.indexes.SearchIndexerClient.getSkillset":"Customizations.SearchIndexerClient.Skillsets.get","com.azure.search.documents.indexes.SearchIndexerClient.getSkillsetWithResponse":"Customizations.SearchIndexerClient.Skillsets.get","com.azure.search.documents.indexes.SearchIndexerClient.getSkillsets":"Customizations.SearchIndexerClient.Skillsets.list","com.azure.search.documents.indexes.SearchIndexerClient.getSkillsetsWithResponse":"Customizations.SearchIndexerClient.Skillsets.list","com.azure.search.documents.indexes.SearchIndexerClient.resetIndexer":"Customizations.SearchIndexerClient.Indexers.reset","com.azure.search.documents.indexes.SearchIndexerClient.resetIndexerWithResponse":"Customizations.SearchIndexerClient.Indexers.reset","com.azure.search.documents.indexes.SearchIndexerClient.runIndexer":"Customizations.SearchIndexerClient.Indexers.run","com.azure.search.documents.indexes.SearchIndexerClient.runIndexerWithResponse":"Customizations.SearchIndexerClient.Indexers.run","com.azure.search.documents.indexes.SearchIndexerClientBuilder":"Customizations.SearchIndexerClient","com.azure.search.documents.indexes.models.AIFoundryModelCatalogName":"Search.AIFoundryModelCatalogName","com.azure.search.documents.indexes.models.AIServicesAccountIdentity":"Search.AIServicesAccountIdentity","com.azure.search.documents.indexes.models.AIServicesAccountKey":"Search.AIServicesAccountKey","com.azure.search.documents.indexes.models.AIServicesVisionParameters":"Search.AIServicesVisionParameters","com.azure.search.documents.indexes.models.AIServicesVisionVectorizer":"Search.AIServicesVisionVectorizer","com.azure.search.documents.indexes.models.AnalyzeResult":"Search.AnalyzeResult","com.azure.search.documents.indexes.models.AnalyzeTextOptions":"Search.AnalyzeRequest","com.azure.search.documents.indexes.models.AnalyzedTokenInfo":"Search.AnalyzedTokenInfo","com.azure.search.documents.indexes.models.AsciiFoldingTokenFilter":"Search.AsciiFoldingTokenFilter","com.azure.search.documents.indexes.models.AzureActiveDirectoryApplicationCredentials":"Search.AzureActiveDirectoryApplicationCredentials","com.azure.search.documents.indexes.models.AzureBlobKnowledgeSource":"Search.AzureBlobKnowledgeSource","com.azure.search.documents.indexes.models.AzureBlobKnowledgeSourceParameters":"Search.AzureBlobKnowledgeSourceParameters","com.azure.search.documents.indexes.models.AzureMachineLearningParameters":"Search.AMLParameters","com.azure.search.documents.indexes.models.AzureMachineLearningSkill":"Search.AzureMachineLearningSkill","com.azure.search.documents.indexes.models.AzureMachineLearningVectorizer":"Search.AMLVectorizer","com.azure.search.documents.indexes.models.AzureOpenAIEmbeddingSkill":"Search.AzureOpenAIEmbeddingSkill","com.azure.search.documents.indexes.models.AzureOpenAIModelName":"Search.AzureOpenAIModelName","com.azure.search.documents.indexes.models.AzureOpenAITokenizerParameters":"Search.AzureOpenAITokenizerParameters","com.azure.search.documents.indexes.models.AzureOpenAIVectorizer":"Search.AzureOpenAIVectorizer","com.azure.search.documents.indexes.models.AzureOpenAIVectorizerParameters":"Search.AzureOpenAIVectorizerParameters","com.azure.search.documents.indexes.models.BM25SimilarityAlgorithm":"Search.BM25SimilarityAlgorithm","com.azure.search.documents.indexes.models.BinaryQuantizationCompression":"Search.BinaryQuantizationCompression","com.azure.search.documents.indexes.models.BlobIndexerDataToExtract":"Search.BlobIndexerDataToExtract","com.azure.search.documents.indexes.models.BlobIndexerImageAction":"Search.BlobIndexerImageAction","com.azure.search.documents.indexes.models.BlobIndexerPDFTextRotationAlgorithm":"Search.BlobIndexerPDFTextRotationAlgorithm","com.azure.search.documents.indexes.models.BlobIndexerParsingMode":"Search.BlobIndexerParsingMode","com.azure.search.documents.indexes.models.CharFilter":"Search.CharFilter","com.azure.search.documents.indexes.models.CharFilterName":"Search.CharFilterName","com.azure.search.documents.indexes.models.ChatCompletionCommonModelParameters":"Search.ChatCompletionCommonModelParameters","com.azure.search.documents.indexes.models.ChatCompletionExtraParametersBehavior":"Search.ChatCompletionExtraParametersBehavior","com.azure.search.documents.indexes.models.ChatCompletionResponseFormat":"Search.ChatCompletionResponseFormat","com.azure.search.documents.indexes.models.ChatCompletionResponseFormatType":"Search.ChatCompletionResponseFormatType","com.azure.search.documents.indexes.models.ChatCompletionSchema":"Search.ChatCompletionSchema","com.azure.search.documents.indexes.models.ChatCompletionSchemaProperties":"Search.ChatCompletionSchemaProperties","com.azure.search.documents.indexes.models.ChatCompletionSkill":"Search.ChatCompletionSkill","com.azure.search.documents.indexes.models.CjkBigramTokenFilter":"Search.CjkBigramTokenFilter","com.azure.search.documents.indexes.models.CjkBigramTokenFilterScripts":"Search.CjkBigramTokenFilterScripts","com.azure.search.documents.indexes.models.ClassicSimilarityAlgorithm":"Search.ClassicSimilarityAlgorithm","com.azure.search.documents.indexes.models.ClassicTokenizer":"Search.ClassicTokenizer","com.azure.search.documents.indexes.models.CognitiveServicesAccount":"Search.CognitiveServicesAccount","com.azure.search.documents.indexes.models.CognitiveServicesAccountKey":"Search.CognitiveServicesAccountKey","com.azure.search.documents.indexes.models.CommonGramTokenFilter":"Search.CommonGramTokenFilter","com.azure.search.documents.indexes.models.ConditionalSkill":"Search.ConditionalSkill","com.azure.search.documents.indexes.models.ContentUnderstandingSkill":"Search.ContentUnderstandingSkill","com.azure.search.documents.indexes.models.ContentUnderstandingSkillChunkingProperties":"Search.ContentUnderstandingSkillChunkingProperties","com.azure.search.documents.indexes.models.ContentUnderstandingSkillChunkingUnit":"Search.ContentUnderstandingSkillChunkingUnit","com.azure.search.documents.indexes.models.ContentUnderstandingSkillExtractionOptions":"Search.ContentUnderstandingSkillExtractionOptions","com.azure.search.documents.indexes.models.CorsOptions":"Search.CorsOptions","com.azure.search.documents.indexes.models.CreatedResources":"Search.CreatedResources","com.azure.search.documents.indexes.models.CustomAnalyzer":"Search.CustomAnalyzer","com.azure.search.documents.indexes.models.CustomEntity":"Search.CustomEntity","com.azure.search.documents.indexes.models.CustomEntityAlias":"Search.CustomEntityAlias","com.azure.search.documents.indexes.models.CustomEntityLookupSkill":"Search.CustomEntityLookupSkill","com.azure.search.documents.indexes.models.CustomEntityLookupSkillLanguage":"Search.CustomEntityLookupSkillLanguage","com.azure.search.documents.indexes.models.CustomNormalizer":"Search.CustomNormalizer","com.azure.search.documents.indexes.models.DataChangeDetectionPolicy":"Search.DataChangeDetectionPolicy","com.azure.search.documents.indexes.models.DataDeletionDetectionPolicy":"Search.DataDeletionDetectionPolicy","com.azure.search.documents.indexes.models.DataSourceCredentials":"Search.DataSourceCredentials","com.azure.search.documents.indexes.models.DefaultCognitiveServicesAccount":"Search.DefaultCognitiveServicesAccount","com.azure.search.documents.indexes.models.DictionaryDecompounderTokenFilter":"Search.DictionaryDecompounderTokenFilter","com.azure.search.documents.indexes.models.DistanceScoringFunction":"Search.DistanceScoringFunction","com.azure.search.documents.indexes.models.DistanceScoringParameters":"Search.DistanceScoringParameters","com.azure.search.documents.indexes.models.DocumentExtractionSkill":"Search.DocumentExtractionSkill","com.azure.search.documents.indexes.models.DocumentIntelligenceLayoutSkill":"Search.DocumentIntelligenceLayoutSkill","com.azure.search.documents.indexes.models.DocumentIntelligenceLayoutSkillChunkingProperties":"Search.DocumentIntelligenceLayoutSkillChunkingProperties","com.azure.search.documents.indexes.models.DocumentIntelligenceLayoutSkillChunkingUnit":"Search.DocumentIntelligenceLayoutSkillChunkingUnit","com.azure.search.documents.indexes.models.DocumentIntelligenceLayoutSkillExtractionOptions":"Search.DocumentIntelligenceLayoutSkillExtractionOptions","com.azure.search.documents.indexes.models.DocumentIntelligenceLayoutSkillMarkdownHeaderDepth":"Search.DocumentIntelligenceLayoutSkillMarkdownHeaderDepth","com.azure.search.documents.indexes.models.DocumentIntelligenceLayoutSkillOutputFormat":"Search.DocumentIntelligenceLayoutSkillOutputFormat","com.azure.search.documents.indexes.models.DocumentIntelligenceLayoutSkillOutputMode":"Search.DocumentIntelligenceLayoutSkillOutputMode","com.azure.search.documents.indexes.models.DocumentKeysOrIds":"Search.DocumentKeysOrIds","com.azure.search.documents.indexes.models.EdgeNGramTokenFilter":"Search.EdgeNGramTokenFilter","com.azure.search.documents.indexes.models.EdgeNGramTokenFilterSide":"Search.EdgeNGramTokenFilterSide","com.azure.search.documents.indexes.models.EdgeNGramTokenFilterV2":"Search.EdgeNGramTokenFilterV2","com.azure.search.documents.indexes.models.EdgeNGramTokenizer":"Search.EdgeNGramTokenizer","com.azure.search.documents.indexes.models.ElisionTokenFilter":"Search.ElisionTokenFilter","com.azure.search.documents.indexes.models.EntityCategory":"Search.EntityCategory","com.azure.search.documents.indexes.models.EntityLinkingSkill":"Search.EntityLinkingSkill","com.azure.search.documents.indexes.models.EntityRecognitionSkillLanguage":"Search.EntityRecognitionSkillLanguage","com.azure.search.documents.indexes.models.EntityRecognitionSkillV3":"Search.EntityRecognitionSkillV3","com.azure.search.documents.indexes.models.ExhaustiveKnnAlgorithmConfiguration":"Search.ExhaustiveKnnAlgorithmConfiguration","com.azure.search.documents.indexes.models.ExhaustiveKnnParameters":"Search.ExhaustiveKnnParameters","com.azure.search.documents.indexes.models.FieldMapping":"Search.FieldMapping","com.azure.search.documents.indexes.models.FieldMappingFunction":"Search.FieldMappingFunction","com.azure.search.documents.indexes.models.FreshnessScoringFunction":"Search.FreshnessScoringFunction","com.azure.search.documents.indexes.models.FreshnessScoringParameters":"Search.FreshnessScoringParameters","com.azure.search.documents.indexes.models.GetIndexStatisticsResult":"Search.GetIndexStatisticsResult","com.azure.search.documents.indexes.models.HighWaterMarkChangeDetectionPolicy":"Search.HighWaterMarkChangeDetectionPolicy","com.azure.search.documents.indexes.models.HnswAlgorithmConfiguration":"Search.HnswAlgorithmConfiguration","com.azure.search.documents.indexes.models.HnswParameters":"Search.HnswParameters","com.azure.search.documents.indexes.models.ImageAnalysisSkill":"Search.ImageAnalysisSkill","com.azure.search.documents.indexes.models.ImageAnalysisSkillLanguage":"Search.ImageAnalysisSkillLanguage","com.azure.search.documents.indexes.models.ImageDetail":"Search.ImageDetail","com.azure.search.documents.indexes.models.IndexProjectionMode":"Search.IndexProjectionMode","com.azure.search.documents.indexes.models.IndexedOneLakeKnowledgeSource":"Search.IndexedOneLakeKnowledgeSource","com.azure.search.documents.indexes.models.IndexedOneLakeKnowledgeSourceParameters":"Search.IndexedOneLakeKnowledgeSourceParameters","com.azure.search.documents.indexes.models.IndexerCurrentState":"Search.IndexerCurrentState","com.azure.search.documents.indexes.models.IndexerExecutionEnvironment":"Search.IndexerExecutionEnvironment","com.azure.search.documents.indexes.models.IndexerExecutionResult":"Search.IndexerExecutionResult","com.azure.search.documents.indexes.models.IndexerExecutionStatus":"Search.IndexerExecutionStatus","com.azure.search.documents.indexes.models.IndexerExecutionStatusDetail":"Search.IndexerExecutionStatusDetail","com.azure.search.documents.indexes.models.IndexerResyncBody":"Search.IndexerResyncBody","com.azure.search.documents.indexes.models.IndexerResyncOption":"Search.IndexerResyncOption","com.azure.search.documents.indexes.models.IndexerStatus":"Search.IndexerStatus","com.azure.search.documents.indexes.models.IndexingMode":"Search.IndexingMode","com.azure.search.documents.indexes.models.IndexingParameters":"Search.IndexingParameters","com.azure.search.documents.indexes.models.IndexingParametersConfiguration":"Search.IndexingParametersConfiguration","com.azure.search.documents.indexes.models.IndexingSchedule":"Search.IndexingSchedule","com.azure.search.documents.indexes.models.InputFieldMappingEntry":"Search.InputFieldMappingEntry","com.azure.search.documents.indexes.models.KeepTokenFilter":"Search.KeepTokenFilter","com.azure.search.documents.indexes.models.KeyPhraseExtractionSkill":"Search.KeyPhraseExtractionSkill","com.azure.search.documents.indexes.models.KeyPhraseExtractionSkillLanguage":"Search.KeyPhraseExtractionSkillLanguage","com.azure.search.documents.indexes.models.KeywordMarkerTokenFilter":"Search.KeywordMarkerTokenFilter","com.azure.search.documents.indexes.models.KeywordTokenizer":"Search.KeywordTokenizer","com.azure.search.documents.indexes.models.KeywordTokenizerV2":"Search.KeywordTokenizerV2","com.azure.search.documents.indexes.models.KnowledgeBase":"Search.KnowledgeBase","com.azure.search.documents.indexes.models.KnowledgeBaseAzureOpenAIModel":"Search.KnowledgeBaseAzureOpenAIModel","com.azure.search.documents.indexes.models.KnowledgeBaseModel":"Search.KnowledgeBaseModel","com.azure.search.documents.indexes.models.KnowledgeBaseModelKind":"Search.KnowledgeBaseModelKind","com.azure.search.documents.indexes.models.KnowledgeSource":"Search.KnowledgeSource","com.azure.search.documents.indexes.models.KnowledgeSourceContentExtractionMode":"Search.KnowledgeSourceContentExtractionMode","com.azure.search.documents.indexes.models.KnowledgeSourceIngestionPermissionOption":"Search.KnowledgeSourceIngestionPermissionOption","com.azure.search.documents.indexes.models.KnowledgeSourceKind":"Search.KnowledgeSourceKind","com.azure.search.documents.indexes.models.KnowledgeSourceReference":"Search.KnowledgeSourceReference","com.azure.search.documents.indexes.models.KnowledgeSourceSynchronizationStatus":"Search.KnowledgeSourceSynchronizationStatus","com.azure.search.documents.indexes.models.LanguageDetectionSkill":"Search.LanguageDetectionSkill","com.azure.search.documents.indexes.models.LengthTokenFilter":"Search.LengthTokenFilter","com.azure.search.documents.indexes.models.LexicalAnalyzer":"Search.LexicalAnalyzer","com.azure.search.documents.indexes.models.LexicalAnalyzerName":"Search.LexicalAnalyzerName","com.azure.search.documents.indexes.models.LexicalNormalizer":"Search.LexicalNormalizer","com.azure.search.documents.indexes.models.LexicalNormalizerName":"Search.LexicalNormalizerName","com.azure.search.documents.indexes.models.LexicalTokenizer":"Search.LexicalTokenizer","com.azure.search.documents.indexes.models.LexicalTokenizerName":"Search.LexicalTokenizerName","com.azure.search.documents.indexes.models.LimitTokenFilter":"Search.LimitTokenFilter","com.azure.search.documents.indexes.models.ListDataSourcesResult":"Search.ListDataSourcesResult","com.azure.search.documents.indexes.models.ListIndexersResult":"Search.ListIndexersResult","com.azure.search.documents.indexes.models.ListSkillsetsResult":"Search.ListSkillsetsResult","com.azure.search.documents.indexes.models.ListSynonymMapsResult":"Search.ListSynonymMapsResult","com.azure.search.documents.indexes.models.LuceneStandardAnalyzer":"Search.LuceneStandardAnalyzer","com.azure.search.documents.indexes.models.LuceneStandardTokenizer":"Search.LuceneStandardTokenizer","com.azure.search.documents.indexes.models.LuceneStandardTokenizerV2":"Search.LuceneStandardTokenizerV2","com.azure.search.documents.indexes.models.MagnitudeScoringFunction":"Search.MagnitudeScoringFunction","com.azure.search.documents.indexes.models.MagnitudeScoringParameters":"Search.MagnitudeScoringParameters","com.azure.search.documents.indexes.models.MappingCharFilter":"Search.MappingCharFilter","com.azure.search.documents.indexes.models.MarkdownHeaderDepth":"Search.MarkdownHeaderDepth","com.azure.search.documents.indexes.models.MarkdownParsingSubmode":"Search.MarkdownParsingSubmode","com.azure.search.documents.indexes.models.MergeSkill":"Search.MergeSkill","com.azure.search.documents.indexes.models.MicrosoftLanguageStemmingTokenizer":"Search.MicrosoftLanguageStemmingTokenizer","com.azure.search.documents.indexes.models.MicrosoftLanguageTokenizer":"Search.MicrosoftLanguageTokenizer","com.azure.search.documents.indexes.models.MicrosoftStemmingTokenizerLanguage":"Search.MicrosoftStemmingTokenizerLanguage","com.azure.search.documents.indexes.models.MicrosoftTokenizerLanguage":"Search.MicrosoftTokenizerLanguage","com.azure.search.documents.indexes.models.NGramTokenFilter":"Search.NGramTokenFilter","com.azure.search.documents.indexes.models.NGramTokenFilterV2":"Search.NGramTokenFilterV2","com.azure.search.documents.indexes.models.NGramTokenizer":"Search.NGramTokenizer","com.azure.search.documents.indexes.models.NativeBlobSoftDeleteDeletionDetectionPolicy":"Search.NativeBlobSoftDeleteDeletionDetectionPolicy","com.azure.search.documents.indexes.models.OcrLineEnding":"Search.OcrLineEnding","com.azure.search.documents.indexes.models.OcrSkill":"Search.OcrSkill","com.azure.search.documents.indexes.models.OcrSkillLanguage":"Search.OcrSkillLanguage","com.azure.search.documents.indexes.models.OutputFieldMappingEntry":"Search.OutputFieldMappingEntry","com.azure.search.documents.indexes.models.PIIDetectionSkill":"Search.PIIDetectionSkill","com.azure.search.documents.indexes.models.PIIDetectionSkillMaskingMode":"Search.PIIDetectionSkillMaskingMode","com.azure.search.documents.indexes.models.PathHierarchyTokenizerV2":"Search.PathHierarchyTokenizerV2","com.azure.search.documents.indexes.models.PatternAnalyzer":"Search.PatternAnalyzer","com.azure.search.documents.indexes.models.PatternCaptureTokenFilter":"Search.PatternCaptureTokenFilter","com.azure.search.documents.indexes.models.PatternReplaceCharFilter":"Search.PatternReplaceCharFilter","com.azure.search.documents.indexes.models.PatternReplaceTokenFilter":"Search.PatternReplaceTokenFilter","com.azure.search.documents.indexes.models.PatternTokenizer":"Search.PatternTokenizer","com.azure.search.documents.indexes.models.PermissionFilter":"Search.PermissionFilter","com.azure.search.documents.indexes.models.PhoneticEncoder":"Search.PhoneticEncoder","com.azure.search.documents.indexes.models.PhoneticTokenFilter":"Search.PhoneticTokenFilter","com.azure.search.documents.indexes.models.RankingOrder":"Search.RankingOrder","com.azure.search.documents.indexes.models.RegexFlags":"Search.RegexFlags","com.azure.search.documents.indexes.models.RescoringOptions":"Search.RescoringOptions","com.azure.search.documents.indexes.models.ResourceCounter":"Search.ResourceCounter","com.azure.search.documents.indexes.models.ScalarQuantizationCompression":"Search.ScalarQuantizationCompression","com.azure.search.documents.indexes.models.ScalarQuantizationParameters":"Search.ScalarQuantizationParameters","com.azure.search.documents.indexes.models.ScoringFunction":"Search.ScoringFunction","com.azure.search.documents.indexes.models.ScoringFunctionAggregation":"Search.ScoringFunctionAggregation","com.azure.search.documents.indexes.models.ScoringFunctionInterpolation":"Search.ScoringFunctionInterpolation","com.azure.search.documents.indexes.models.ScoringProfile":"Search.ScoringProfile","com.azure.search.documents.indexes.models.SearchAlias":"Search.SearchAlias","com.azure.search.documents.indexes.models.SearchField":"Search.SearchField","com.azure.search.documents.indexes.models.SearchFieldDataType":"Search.SearchFieldDataType","com.azure.search.documents.indexes.models.SearchIndex":"Search.SearchIndex","com.azure.search.documents.indexes.models.SearchIndexFieldReference":"Search.SearchIndexFieldReference","com.azure.search.documents.indexes.models.SearchIndexKnowledgeSource":"Search.SearchIndexKnowledgeSource","com.azure.search.documents.indexes.models.SearchIndexKnowledgeSourceParameters":"Search.SearchIndexKnowledgeSourceParameters","com.azure.search.documents.indexes.models.SearchIndexPermissionFilterOption":"Search.SearchIndexPermissionFilterOption","com.azure.search.documents.indexes.models.SearchIndexResponse":"Search.SearchIndexResponse","com.azure.search.documents.indexes.models.SearchIndexer":"Search.SearchIndexer","com.azure.search.documents.indexes.models.SearchIndexerDataContainer":"Search.SearchIndexerDataContainer","com.azure.search.documents.indexes.models.SearchIndexerDataIdentity":"Search.SearchIndexerDataIdentity","com.azure.search.documents.indexes.models.SearchIndexerDataNoneIdentity":"Search.SearchIndexerDataNoneIdentity","com.azure.search.documents.indexes.models.SearchIndexerDataSourceConnection":"Search.SearchIndexerDataSource","com.azure.search.documents.indexes.models.SearchIndexerDataSourceType":"Search.SearchIndexerDataSourceType","com.azure.search.documents.indexes.models.SearchIndexerDataUserAssignedIdentity":"Search.SearchIndexerDataUserAssignedIdentity","com.azure.search.documents.indexes.models.SearchIndexerError":"Search.SearchIndexerError","com.azure.search.documents.indexes.models.SearchIndexerIndexProjection":"Search.SearchIndexerIndexProjection","com.azure.search.documents.indexes.models.SearchIndexerIndexProjectionSelector":"Search.SearchIndexerIndexProjectionSelector","com.azure.search.documents.indexes.models.SearchIndexerIndexProjectionsParameters":"Search.SearchIndexerIndexProjectionsParameters","com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStore":"Search.SearchIndexerKnowledgeStore","com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStoreBlobProjectionSelector":"Search.SearchIndexerKnowledgeStoreBlobProjectionSelector","com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStoreFileProjectionSelector":"Search.SearchIndexerKnowledgeStoreFileProjectionSelector","com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStoreObjectProjectionSelector":"Search.SearchIndexerKnowledgeStoreObjectProjectionSelector","com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStoreProjection":"Search.SearchIndexerKnowledgeStoreProjection","com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStoreProjectionSelector":"Search.SearchIndexerKnowledgeStoreProjectionSelector","com.azure.search.documents.indexes.models.SearchIndexerKnowledgeStoreTableProjectionSelector":"Search.SearchIndexerKnowledgeStoreTableProjectionSelector","com.azure.search.documents.indexes.models.SearchIndexerLimits":"Search.SearchIndexerLimits","com.azure.search.documents.indexes.models.SearchIndexerSkill":"Search.SearchIndexerSkill","com.azure.search.documents.indexes.models.SearchIndexerSkillset":"Search.SearchIndexerSkillset","com.azure.search.documents.indexes.models.SearchIndexerStatus":"Search.SearchIndexerStatus","com.azure.search.documents.indexes.models.SearchIndexerWarning":"Search.SearchIndexerWarning","com.azure.search.documents.indexes.models.SearchResourceEncryptionKey":"Search.SearchResourceEncryptionKey","com.azure.search.documents.indexes.models.SearchServiceCounters":"Search.SearchServiceCounters","com.azure.search.documents.indexes.models.SearchServiceLimits":"Search.SearchServiceLimits","com.azure.search.documents.indexes.models.SearchServiceStatistics":"Search.SearchServiceStatistics","com.azure.search.documents.indexes.models.SearchSuggester":"Search.SearchSuggester","com.azure.search.documents.indexes.models.SemanticConfiguration":"Search.SemanticConfiguration","com.azure.search.documents.indexes.models.SemanticField":"Search.SemanticField","com.azure.search.documents.indexes.models.SemanticPrioritizedFields":"Search.SemanticPrioritizedFields","com.azure.search.documents.indexes.models.SemanticSearch":"Search.SemanticSearch","com.azure.search.documents.indexes.models.SentimentSkillLanguage":"Search.SentimentSkillLanguage","com.azure.search.documents.indexes.models.SentimentSkillV3":"Search.SentimentSkillV3","com.azure.search.documents.indexes.models.ShaperSkill":"Search.ShaperSkill","com.azure.search.documents.indexes.models.ShingleTokenFilter":"Search.ShingleTokenFilter","com.azure.search.documents.indexes.models.SimilarityAlgorithm":"Search.SimilarityAlgorithm","com.azure.search.documents.indexes.models.SkillNames":"Search.SkillNames","com.azure.search.documents.indexes.models.SnowballTokenFilter":"Search.SnowballTokenFilter","com.azure.search.documents.indexes.models.SnowballTokenFilterLanguage":"Search.SnowballTokenFilterLanguage","com.azure.search.documents.indexes.models.SoftDeleteColumnDeletionDetectionPolicy":"Search.SoftDeleteColumnDeletionDetectionPolicy","com.azure.search.documents.indexes.models.SplitSkill":"Search.SplitSkill","com.azure.search.documents.indexes.models.SplitSkillEncoderModelName":"Search.SplitSkillEncoderModelName","com.azure.search.documents.indexes.models.SplitSkillLanguage":"Search.SplitSkillLanguage","com.azure.search.documents.indexes.models.SplitSkillUnit":"Search.SplitSkillUnit","com.azure.search.documents.indexes.models.SqlIntegratedChangeTrackingPolicy":"Search.SqlIntegratedChangeTrackingPolicy","com.azure.search.documents.indexes.models.StemmerOverrideTokenFilter":"Search.StemmerOverrideTokenFilter","com.azure.search.documents.indexes.models.StemmerTokenFilter":"Search.StemmerTokenFilter","com.azure.search.documents.indexes.models.StemmerTokenFilterLanguage":"Search.StemmerTokenFilterLanguage","com.azure.search.documents.indexes.models.StopAnalyzer":"Search.StopAnalyzer","com.azure.search.documents.indexes.models.StopwordsList":"Search.StopwordsList","com.azure.search.documents.indexes.models.StopwordsTokenFilter":"Search.StopwordsTokenFilter","com.azure.search.documents.indexes.models.SynonymMap":"Search.SynonymMap","com.azure.search.documents.indexes.models.SynonymTokenFilter":"Search.SynonymTokenFilter","com.azure.search.documents.indexes.models.TagScoringFunction":"Search.TagScoringFunction","com.azure.search.documents.indexes.models.TagScoringParameters":"Search.TagScoringParameters","com.azure.search.documents.indexes.models.TextSplitMode":"Search.TextSplitMode","com.azure.search.documents.indexes.models.TextTranslationSkill":"Search.TextTranslationSkill","com.azure.search.documents.indexes.models.TextTranslationSkillLanguage":"Search.TextTranslationSkillLanguage","com.azure.search.documents.indexes.models.TextWeights":"Search.TextWeights","com.azure.search.documents.indexes.models.TokenCharacterKind":"Search.TokenCharacterKind","com.azure.search.documents.indexes.models.TokenFilter":"Search.TokenFilter","com.azure.search.documents.indexes.models.TokenFilterName":"Search.TokenFilterName","com.azure.search.documents.indexes.models.TruncateTokenFilter":"Search.TruncateTokenFilter","com.azure.search.documents.indexes.models.UaxUrlEmailTokenizer":"Search.UaxUrlEmailTokenizer","com.azure.search.documents.indexes.models.UniqueTokenFilter":"Search.UniqueTokenFilter","com.azure.search.documents.indexes.models.VectorEncodingFormat":"Search.VectorEncodingFormat","com.azure.search.documents.indexes.models.VectorSearch":"Search.VectorSearch","com.azure.search.documents.indexes.models.VectorSearchAlgorithmConfiguration":"Search.VectorSearchAlgorithmConfiguration","com.azure.search.documents.indexes.models.VectorSearchAlgorithmKind":"Search.VectorSearchAlgorithmKind","com.azure.search.documents.indexes.models.VectorSearchAlgorithmMetric":"Search.VectorSearchAlgorithmMetric","com.azure.search.documents.indexes.models.VectorSearchCompression":"Search.VectorSearchCompression","com.azure.search.documents.indexes.models.VectorSearchCompressionKind":"Search.VectorSearchCompressionKind","com.azure.search.documents.indexes.models.VectorSearchCompressionRescoreStorageMethod":"Search.VectorSearchCompressionRescoreStorageMethod","com.azure.search.documents.indexes.models.VectorSearchCompressionTarget":"Search.VectorSearchCompressionTarget","com.azure.search.documents.indexes.models.VectorSearchProfile":"Search.VectorSearchProfile","com.azure.search.documents.indexes.models.VectorSearchVectorizer":"Search.VectorSearchVectorizer","com.azure.search.documents.indexes.models.VectorSearchVectorizerKind":"Search.VectorSearchVectorizerKind","com.azure.search.documents.indexes.models.VisionVectorizeSkill":"Search.VisionVectorizeSkill","com.azure.search.documents.indexes.models.VisualFeature":"Search.VisualFeature","com.azure.search.documents.indexes.models.WebApiHttpHeaders":"Search.WebApiHttpHeaders","com.azure.search.documents.indexes.models.WebApiSkill":"Search.WebApiSkill","com.azure.search.documents.indexes.models.WebApiVectorizer":"Search.WebApiVectorizer","com.azure.search.documents.indexes.models.WebApiVectorizerParameters":"Search.WebApiVectorizerParameters","com.azure.search.documents.indexes.models.WebKnowledgeSource":"Search.WebKnowledgeSource","com.azure.search.documents.indexes.models.WebKnowledgeSourceDomain":"Search.WebKnowledgeSourceDomain","com.azure.search.documents.indexes.models.WebKnowledgeSourceDomains":"Search.WebKnowledgeSourceDomains","com.azure.search.documents.indexes.models.WebKnowledgeSourceParameters":"Search.WebKnowledgeSourceParameters","com.azure.search.documents.indexes.models.WordDelimiterTokenFilter":"Search.WordDelimiterTokenFilter","com.azure.search.documents.knowledgebases.KnowledgeBaseRetrievalAsyncClient":"Customizations.KnowledgeBaseRetrievalClient","com.azure.search.documents.knowledgebases.KnowledgeBaseRetrievalAsyncClient.retrieve":"Customizations.KnowledgeBaseRetrievalClient.KnowledgeRetrieval.retrieve","com.azure.search.documents.knowledgebases.KnowledgeBaseRetrievalAsyncClient.retrieveWithResponse":"Customizations.KnowledgeBaseRetrievalClient.KnowledgeRetrieval.retrieve","com.azure.search.documents.knowledgebases.KnowledgeBaseRetrievalClient":"Customizations.KnowledgeBaseRetrievalClient","com.azure.search.documents.knowledgebases.KnowledgeBaseRetrievalClient.retrieve":"Customizations.KnowledgeBaseRetrievalClient.KnowledgeRetrieval.retrieve","com.azure.search.documents.knowledgebases.KnowledgeBaseRetrievalClient.retrieveWithResponse":"Customizations.KnowledgeBaseRetrievalClient.KnowledgeRetrieval.retrieve","com.azure.search.documents.knowledgebases.KnowledgeBaseRetrievalClientBuilder":"Customizations.KnowledgeBaseRetrievalClient","com.azure.search.documents.knowledgebases.models.AIServices":"Search.AIServices","com.azure.search.documents.knowledgebases.models.AzureBlobKnowledgeSourceParams":"Search.AzureBlobKnowledgeSourceParams","com.azure.search.documents.knowledgebases.models.CompletedSynchronizationState":"Search.CompletedSynchronizationState","com.azure.search.documents.knowledgebases.models.IndexedOneLakeKnowledgeSourceParams":"Search.IndexedOneLakeKnowledgeSourceParams","com.azure.search.documents.knowledgebases.models.KnowledgeBaseActivityRecord":"Search.KnowledgeBaseActivityRecord","com.azure.search.documents.knowledgebases.models.KnowledgeBaseActivityRecordType":"Search.KnowledgeBaseActivityRecordType","com.azure.search.documents.knowledgebases.models.KnowledgeBaseAgenticReasoningActivityRecord":"Search.KnowledgeBaseAgenticReasoningActivityRecord","com.azure.search.documents.knowledgebases.models.KnowledgeBaseAzureBlobReference":"Search.KnowledgeBaseAzureBlobReference","com.azure.search.documents.knowledgebases.models.KnowledgeBaseErrorAdditionalInfo":"Search.KnowledgeBaseErrorAdditionalInfo","com.azure.search.documents.knowledgebases.models.KnowledgeBaseErrorDetail":"Search.KnowledgeBaseErrorDetail","com.azure.search.documents.knowledgebases.models.KnowledgeBaseImageContent":"Search.KnowledgeBaseImageContent","com.azure.search.documents.knowledgebases.models.KnowledgeBaseIndexedOneLakeReference":"Search.KnowledgeBaseIndexedOneLakeReference","com.azure.search.documents.knowledgebases.models.KnowledgeBaseMessage":"Search.KnowledgeBaseMessage","com.azure.search.documents.knowledgebases.models.KnowledgeBaseMessageContent":"Search.KnowledgeBaseMessageContent","com.azure.search.documents.knowledgebases.models.KnowledgeBaseMessageContentType":"Search.KnowledgeBaseMessageContentType","com.azure.search.documents.knowledgebases.models.KnowledgeBaseMessageImageContent":"Search.KnowledgeBaseMessageImageContent","com.azure.search.documents.knowledgebases.models.KnowledgeBaseMessageTextContent":"Search.KnowledgeBaseMessageTextContent","com.azure.search.documents.knowledgebases.models.KnowledgeBaseReference":"Search.KnowledgeBaseReference","com.azure.search.documents.knowledgebases.models.KnowledgeBaseReferenceType":"Search.KnowledgeBaseReferenceType","com.azure.search.documents.knowledgebases.models.KnowledgeBaseRetrievalRequest":"Search.KnowledgeBaseRetrievalRequest","com.azure.search.documents.knowledgebases.models.KnowledgeBaseRetrievalResponse":"Search.KnowledgeBaseRetrievalResponse","com.azure.search.documents.knowledgebases.models.KnowledgeBaseSearchIndexReference":"Search.KnowledgeBaseSearchIndexReference","com.azure.search.documents.knowledgebases.models.KnowledgeBaseWebReference":"Search.KnowledgeBaseWebReference","com.azure.search.documents.knowledgebases.models.KnowledgeRetrievalIntent":"Search.KnowledgeRetrievalIntent","com.azure.search.documents.knowledgebases.models.KnowledgeRetrievalIntentType":"Search.KnowledgeRetrievalIntentType","com.azure.search.documents.knowledgebases.models.KnowledgeRetrievalMinimalReasoningEffort":"Search.KnowledgeRetrievalMinimalReasoningEffort","com.azure.search.documents.knowledgebases.models.KnowledgeRetrievalReasoningEffort":"Search.KnowledgeRetrievalReasoningEffort","com.azure.search.documents.knowledgebases.models.KnowledgeRetrievalReasoningEffortKind":"Search.KnowledgeRetrievalReasoningEffortKind","com.azure.search.documents.knowledgebases.models.KnowledgeRetrievalSemanticIntent":"Search.KnowledgeRetrievalSemanticIntent","com.azure.search.documents.knowledgebases.models.KnowledgeSourceAzureOpenAIVectorizer":"Search.KnowledgeSourceAzureOpenAIVectorizer","com.azure.search.documents.knowledgebases.models.KnowledgeSourceIngestionParameters":"Search.KnowledgeSourceIngestionParameters","com.azure.search.documents.knowledgebases.models.KnowledgeSourceParams":"Search.KnowledgeSourceParams","com.azure.search.documents.knowledgebases.models.KnowledgeSourceStatistics":"Search.KnowledgeSourceStatistics","com.azure.search.documents.knowledgebases.models.KnowledgeSourceStatus":"Search.KnowledgeSourceStatus","com.azure.search.documents.knowledgebases.models.KnowledgeSourceSynchronizationError":"Search.KnowledgeSourceSynchronizationError","com.azure.search.documents.knowledgebases.models.KnowledgeSourceVectorizer":"Search.KnowledgeSourceVectorizer","com.azure.search.documents.knowledgebases.models.SearchIndexKnowledgeSourceParams":"Search.SearchIndexKnowledgeSourceParams","com.azure.search.documents.knowledgebases.models.SynchronizationState":"Search.SynchronizationState","com.azure.search.documents.knowledgebases.models.WebKnowledgeSourceParams":"Search.WebKnowledgeSourceParams","com.azure.search.documents.models.AutocompleteItem":"Search.AutocompleteItem","com.azure.search.documents.models.AutocompleteMode":"Search.AutocompleteMode","com.azure.search.documents.models.AutocompleteOptions":null,"com.azure.search.documents.models.AutocompleteResult":"Search.AutocompleteResult","com.azure.search.documents.models.CountRequestAccept":null,"com.azure.search.documents.models.CountRequestAccept2":null,"com.azure.search.documents.models.CountRequestAccept3":null,"com.azure.search.documents.models.CountRequestAccept5":null,"com.azure.search.documents.models.CountRequestAccept8":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept1":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept10":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept11":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept12":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept14":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept15":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept16":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept17":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept19":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept2":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept20":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept21":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept22":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept24":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept25":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept26":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept27":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept28":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept29":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept31":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept32":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept34":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept35":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept36":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept38":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept39":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept4":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept41":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept42":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept44":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept45":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept47":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept48":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept6":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept7":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept8":null,"com.azure.search.documents.models.CreateOrUpdateRequestAccept9":null,"com.azure.search.documents.models.DebugInfo":"Search.DebugInfo","com.azure.search.documents.models.DocumentDebugInfo":"Search.DocumentDebugInfo","com.azure.search.documents.models.FacetResult":"Search.FacetResult","com.azure.search.documents.models.IndexAction":"Search.IndexAction","com.azure.search.documents.models.IndexActionType":"Search.IndexActionType","com.azure.search.documents.models.IndexDocumentsBatch":"Search.IndexBatch","com.azure.search.documents.models.IndexDocumentsResult":"Search.IndexDocumentsResult","com.azure.search.documents.models.IndexingResult":"Search.IndexingResult","com.azure.search.documents.models.LookupDocument":"Search.LookupDocument","com.azure.search.documents.models.QueryAnswerResult":"Search.QueryAnswerResult","com.azure.search.documents.models.QueryAnswerType":"Search.QueryAnswerType","com.azure.search.documents.models.QueryCaptionResult":"Search.QueryCaptionResult","com.azure.search.documents.models.QueryCaptionType":"Search.QueryCaptionType","com.azure.search.documents.models.QueryDebugMode":"Search.QueryDebugMode","com.azure.search.documents.models.QueryResultDocumentInnerHit":"Search.QueryResultDocumentInnerHit","com.azure.search.documents.models.QueryResultDocumentSubscores":"Search.QueryResultDocumentSubscores","com.azure.search.documents.models.QueryType":"Search.QueryType","com.azure.search.documents.models.ScoringStatistics":"Search.ScoringStatistics","com.azure.search.documents.models.SearchDocumentsResult":"Search.SearchDocumentsResult","com.azure.search.documents.models.SearchMode":"Search.SearchMode","com.azure.search.documents.models.SearchOptions":null,"com.azure.search.documents.models.SearchRequest":"Search.SearchRequest","com.azure.search.documents.models.SearchResult":"Search.SearchResult","com.azure.search.documents.models.SearchScoreThreshold":"Search.SearchScoreThreshold","com.azure.search.documents.models.SemanticErrorMode":"Search.SemanticErrorMode","com.azure.search.documents.models.SemanticErrorReason":"Search.SemanticErrorReason","com.azure.search.documents.models.SemanticSearchResultsType":"Search.SemanticSearchResultsType","com.azure.search.documents.models.SingleVectorFieldResult":"Search.SingleVectorFieldResult","com.azure.search.documents.models.SuggestDocumentsResult":"Search.SuggestDocumentsResult","com.azure.search.documents.models.SuggestOptions":null,"com.azure.search.documents.models.SuggestResult":"Search.SuggestResult","com.azure.search.documents.models.TextResult":"Search.TextResult","com.azure.search.documents.models.VectorFilterMode":"Search.VectorFilterMode","com.azure.search.documents.models.VectorQuery":"Search.VectorQuery","com.azure.search.documents.models.VectorQueryKind":"Search.VectorQueryKind","com.azure.search.documents.models.VectorSimilarityThreshold":"Search.VectorSimilarityThreshold","com.azure.search.documents.models.VectorThreshold":"Search.VectorThreshold","com.azure.search.documents.models.VectorThresholdKind":"Search.VectorThresholdKind","com.azure.search.documents.models.VectorizableImageBinaryQuery":"Search.VectorizableImageBinaryQuery","com.azure.search.documents.models.VectorizableImageUrlQuery":"Search.VectorizableImageUrlQuery","com.azure.search.documents.models.VectorizableTextQuery":"Search.VectorizableTextQuery","com.azure.search.documents.models.VectorizedQuery":"Search.VectorizedQuery","com.azure.search.documents.models.VectorsDebugInfo":"Search.VectorsDebugInfo"},"generatedFiles":["src/main/java/com/azure/search/documents/SearchAsyncClient.java","src/main/java/com/azure/search/documents/SearchClient.java","src/main/java/com/azure/search/documents/SearchClientBuilder.java","src/main/java/com/azure/search/documents/SearchServiceVersion.java","src/main/java/com/azure/search/documents/SearchServiceVersion.java","src/main/java/com/azure/search/documents/SearchServiceVersion.java","src/main/java/com/azure/search/documents/SearchServiceVersion.java","src/main/java/com/azure/search/documents/implementation/KnowledgeBaseRetrievalClientImpl.java","src/main/java/com/azure/search/documents/implementation/SearchClientImpl.java","src/main/java/com/azure/search/documents/implementation/SearchIndexClientImpl.java","src/main/java/com/azure/search/documents/implementation/SearchIndexerClientImpl.java","src/main/java/com/azure/search/documents/implementation/models/AutocompletePostRequest.java","src/main/java/com/azure/search/documents/implementation/models/CountRequestAccept1.java","src/main/java/com/azure/search/documents/implementation/models/CountRequestAccept4.java","src/main/java/com/azure/search/documents/implementation/models/CountRequestAccept6.java","src/main/java/com/azure/search/documents/implementation/models/CountRequestAccept7.java","src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept.java","src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept13.java","src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept18.java","src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept23.java","src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept3.java","src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept30.java","src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept33.java","src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept37.java","src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept40.java","src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept43.java","src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept46.java","src/main/java/com/azure/search/documents/implementation/models/CreateOrUpdateRequestAccept5.java","src/main/java/com/azure/search/documents/implementation/models/SearchPostRequest.java","src/main/java/com/azure/search/documents/implementation/models/SuggestPostRequest.java","src/main/java/com/azure/search/documents/implementation/models/package-info.java","src/main/java/com/azure/search/documents/implementation/package-info.java","src/main/java/com/azure/search/documents/indexes/SearchIndexAsyncClient.java","src/main/java/com/azure/search/documents/indexes/SearchIndexClient.java","src/main/java/com/azure/search/documents/indexes/SearchIndexClientBuilder.java","src/main/java/com/azure/search/documents/indexes/SearchIndexerAsyncClient.java","src/main/java/com/azure/search/documents/indexes/SearchIndexerClient.java","src/main/java/com/azure/search/documents/indexes/SearchIndexerClientBuilder.java","src/main/java/com/azure/search/documents/indexes/models/AIFoundryModelCatalogName.java","src/main/java/com/azure/search/documents/indexes/models/AIServicesAccountIdentity.java","src/main/java/com/azure/search/documents/indexes/models/AIServicesAccountKey.java","src/main/java/com/azure/search/documents/indexes/models/AIServicesVisionParameters.java","src/main/java/com/azure/search/documents/indexes/models/AIServicesVisionVectorizer.java","src/main/java/com/azure/search/documents/indexes/models/AnalyzeResult.java","src/main/java/com/azure/search/documents/indexes/models/AnalyzeTextOptions.java","src/main/java/com/azure/search/documents/indexes/models/AnalyzedTokenInfo.java","src/main/java/com/azure/search/documents/indexes/models/AsciiFoldingTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/AzureActiveDirectoryApplicationCredentials.java","src/main/java/com/azure/search/documents/indexes/models/AzureBlobKnowledgeSource.java","src/main/java/com/azure/search/documents/indexes/models/AzureBlobKnowledgeSourceParameters.java","src/main/java/com/azure/search/documents/indexes/models/AzureMachineLearningParameters.java","src/main/java/com/azure/search/documents/indexes/models/AzureMachineLearningSkill.java","src/main/java/com/azure/search/documents/indexes/models/AzureMachineLearningVectorizer.java","src/main/java/com/azure/search/documents/indexes/models/AzureOpenAIEmbeddingSkill.java","src/main/java/com/azure/search/documents/indexes/models/AzureOpenAIModelName.java","src/main/java/com/azure/search/documents/indexes/models/AzureOpenAITokenizerParameters.java","src/main/java/com/azure/search/documents/indexes/models/AzureOpenAIVectorizer.java","src/main/java/com/azure/search/documents/indexes/models/AzureOpenAIVectorizerParameters.java","src/main/java/com/azure/search/documents/indexes/models/BM25SimilarityAlgorithm.java","src/main/java/com/azure/search/documents/indexes/models/BinaryQuantizationCompression.java","src/main/java/com/azure/search/documents/indexes/models/BlobIndexerDataToExtract.java","src/main/java/com/azure/search/documents/indexes/models/BlobIndexerImageAction.java","src/main/java/com/azure/search/documents/indexes/models/BlobIndexerPDFTextRotationAlgorithm.java","src/main/java/com/azure/search/documents/indexes/models/BlobIndexerParsingMode.java","src/main/java/com/azure/search/documents/indexes/models/CharFilter.java","src/main/java/com/azure/search/documents/indexes/models/CharFilterName.java","src/main/java/com/azure/search/documents/indexes/models/ChatCompletionCommonModelParameters.java","src/main/java/com/azure/search/documents/indexes/models/ChatCompletionExtraParametersBehavior.java","src/main/java/com/azure/search/documents/indexes/models/ChatCompletionResponseFormat.java","src/main/java/com/azure/search/documents/indexes/models/ChatCompletionResponseFormatType.java","src/main/java/com/azure/search/documents/indexes/models/ChatCompletionSchema.java","src/main/java/com/azure/search/documents/indexes/models/ChatCompletionSchemaProperties.java","src/main/java/com/azure/search/documents/indexes/models/ChatCompletionSkill.java","src/main/java/com/azure/search/documents/indexes/models/CjkBigramTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/CjkBigramTokenFilterScripts.java","src/main/java/com/azure/search/documents/indexes/models/ClassicSimilarityAlgorithm.java","src/main/java/com/azure/search/documents/indexes/models/ClassicTokenizer.java","src/main/java/com/azure/search/documents/indexes/models/CognitiveServicesAccount.java","src/main/java/com/azure/search/documents/indexes/models/CognitiveServicesAccountKey.java","src/main/java/com/azure/search/documents/indexes/models/CommonGramTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/ConditionalSkill.java","src/main/java/com/azure/search/documents/indexes/models/ContentUnderstandingSkill.java","src/main/java/com/azure/search/documents/indexes/models/ContentUnderstandingSkillChunkingProperties.java","src/main/java/com/azure/search/documents/indexes/models/ContentUnderstandingSkillChunkingUnit.java","src/main/java/com/azure/search/documents/indexes/models/ContentUnderstandingSkillExtractionOptions.java","src/main/java/com/azure/search/documents/indexes/models/CorsOptions.java","src/main/java/com/azure/search/documents/indexes/models/CreatedResources.java","src/main/java/com/azure/search/documents/indexes/models/CustomAnalyzer.java","src/main/java/com/azure/search/documents/indexes/models/CustomEntity.java","src/main/java/com/azure/search/documents/indexes/models/CustomEntityAlias.java","src/main/java/com/azure/search/documents/indexes/models/CustomEntityLookupSkill.java","src/main/java/com/azure/search/documents/indexes/models/CustomEntityLookupSkillLanguage.java","src/main/java/com/azure/search/documents/indexes/models/CustomNormalizer.java","src/main/java/com/azure/search/documents/indexes/models/DataChangeDetectionPolicy.java","src/main/java/com/azure/search/documents/indexes/models/DataDeletionDetectionPolicy.java","src/main/java/com/azure/search/documents/indexes/models/DataSourceCredentials.java","src/main/java/com/azure/search/documents/indexes/models/DefaultCognitiveServicesAccount.java","src/main/java/com/azure/search/documents/indexes/models/DictionaryDecompounderTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/DistanceScoringFunction.java","src/main/java/com/azure/search/documents/indexes/models/DistanceScoringParameters.java","src/main/java/com/azure/search/documents/indexes/models/DocumentExtractionSkill.java","src/main/java/com/azure/search/documents/indexes/models/DocumentIntelligenceLayoutSkill.java","src/main/java/com/azure/search/documents/indexes/models/DocumentIntelligenceLayoutSkillChunkingProperties.java","src/main/java/com/azure/search/documents/indexes/models/DocumentIntelligenceLayoutSkillChunkingUnit.java","src/main/java/com/azure/search/documents/indexes/models/DocumentIntelligenceLayoutSkillExtractionOptions.java","src/main/java/com/azure/search/documents/indexes/models/DocumentIntelligenceLayoutSkillMarkdownHeaderDepth.java","src/main/java/com/azure/search/documents/indexes/models/DocumentIntelligenceLayoutSkillOutputFormat.java","src/main/java/com/azure/search/documents/indexes/models/DocumentIntelligenceLayoutSkillOutputMode.java","src/main/java/com/azure/search/documents/indexes/models/DocumentKeysOrIds.java","src/main/java/com/azure/search/documents/indexes/models/EdgeNGramTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/EdgeNGramTokenFilterSide.java","src/main/java/com/azure/search/documents/indexes/models/EdgeNGramTokenFilterV2.java","src/main/java/com/azure/search/documents/indexes/models/EdgeNGramTokenizer.java","src/main/java/com/azure/search/documents/indexes/models/ElisionTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/EntityCategory.java","src/main/java/com/azure/search/documents/indexes/models/EntityLinkingSkill.java","src/main/java/com/azure/search/documents/indexes/models/EntityRecognitionSkillLanguage.java","src/main/java/com/azure/search/documents/indexes/models/EntityRecognitionSkillV3.java","src/main/java/com/azure/search/documents/indexes/models/ExhaustiveKnnAlgorithmConfiguration.java","src/main/java/com/azure/search/documents/indexes/models/ExhaustiveKnnParameters.java","src/main/java/com/azure/search/documents/indexes/models/FieldMapping.java","src/main/java/com/azure/search/documents/indexes/models/FieldMappingFunction.java","src/main/java/com/azure/search/documents/indexes/models/FreshnessScoringFunction.java","src/main/java/com/azure/search/documents/indexes/models/FreshnessScoringParameters.java","src/main/java/com/azure/search/documents/indexes/models/GetIndexStatisticsResult.java","src/main/java/com/azure/search/documents/indexes/models/HighWaterMarkChangeDetectionPolicy.java","src/main/java/com/azure/search/documents/indexes/models/HnswAlgorithmConfiguration.java","src/main/java/com/azure/search/documents/indexes/models/HnswParameters.java","src/main/java/com/azure/search/documents/indexes/models/ImageAnalysisSkill.java","src/main/java/com/azure/search/documents/indexes/models/ImageAnalysisSkillLanguage.java","src/main/java/com/azure/search/documents/indexes/models/ImageDetail.java","src/main/java/com/azure/search/documents/indexes/models/IndexProjectionMode.java","src/main/java/com/azure/search/documents/indexes/models/IndexedOneLakeKnowledgeSource.java","src/main/java/com/azure/search/documents/indexes/models/IndexedOneLakeKnowledgeSourceParameters.java","src/main/java/com/azure/search/documents/indexes/models/IndexerCurrentState.java","src/main/java/com/azure/search/documents/indexes/models/IndexerExecutionEnvironment.java","src/main/java/com/azure/search/documents/indexes/models/IndexerExecutionResult.java","src/main/java/com/azure/search/documents/indexes/models/IndexerExecutionStatus.java","src/main/java/com/azure/search/documents/indexes/models/IndexerExecutionStatusDetail.java","src/main/java/com/azure/search/documents/indexes/models/IndexerResyncBody.java","src/main/java/com/azure/search/documents/indexes/models/IndexerResyncOption.java","src/main/java/com/azure/search/documents/indexes/models/IndexerStatus.java","src/main/java/com/azure/search/documents/indexes/models/IndexingMode.java","src/main/java/com/azure/search/documents/indexes/models/IndexingParameters.java","src/main/java/com/azure/search/documents/indexes/models/IndexingParametersConfiguration.java","src/main/java/com/azure/search/documents/indexes/models/IndexingSchedule.java","src/main/java/com/azure/search/documents/indexes/models/InputFieldMappingEntry.java","src/main/java/com/azure/search/documents/indexes/models/KeepTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/KeyPhraseExtractionSkill.java","src/main/java/com/azure/search/documents/indexes/models/KeyPhraseExtractionSkillLanguage.java","src/main/java/com/azure/search/documents/indexes/models/KeywordMarkerTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/KeywordTokenizer.java","src/main/java/com/azure/search/documents/indexes/models/KeywordTokenizerV2.java","src/main/java/com/azure/search/documents/indexes/models/KnowledgeBase.java","src/main/java/com/azure/search/documents/indexes/models/KnowledgeBaseAzureOpenAIModel.java","src/main/java/com/azure/search/documents/indexes/models/KnowledgeBaseModel.java","src/main/java/com/azure/search/documents/indexes/models/KnowledgeBaseModelKind.java","src/main/java/com/azure/search/documents/indexes/models/KnowledgeSource.java","src/main/java/com/azure/search/documents/indexes/models/KnowledgeSourceContentExtractionMode.java","src/main/java/com/azure/search/documents/indexes/models/KnowledgeSourceIngestionPermissionOption.java","src/main/java/com/azure/search/documents/indexes/models/KnowledgeSourceKind.java","src/main/java/com/azure/search/documents/indexes/models/KnowledgeSourceReference.java","src/main/java/com/azure/search/documents/indexes/models/KnowledgeSourceSynchronizationStatus.java","src/main/java/com/azure/search/documents/indexes/models/LanguageDetectionSkill.java","src/main/java/com/azure/search/documents/indexes/models/LengthTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/LexicalAnalyzer.java","src/main/java/com/azure/search/documents/indexes/models/LexicalAnalyzerName.java","src/main/java/com/azure/search/documents/indexes/models/LexicalNormalizer.java","src/main/java/com/azure/search/documents/indexes/models/LexicalNormalizerName.java","src/main/java/com/azure/search/documents/indexes/models/LexicalTokenizer.java","src/main/java/com/azure/search/documents/indexes/models/LexicalTokenizerName.java","src/main/java/com/azure/search/documents/indexes/models/LimitTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/ListDataSourcesResult.java","src/main/java/com/azure/search/documents/indexes/models/ListIndexersResult.java","src/main/java/com/azure/search/documents/indexes/models/ListSkillsetsResult.java","src/main/java/com/azure/search/documents/indexes/models/ListSynonymMapsResult.java","src/main/java/com/azure/search/documents/indexes/models/LuceneStandardAnalyzer.java","src/main/java/com/azure/search/documents/indexes/models/LuceneStandardTokenizer.java","src/main/java/com/azure/search/documents/indexes/models/LuceneStandardTokenizerV2.java","src/main/java/com/azure/search/documents/indexes/models/MagnitudeScoringFunction.java","src/main/java/com/azure/search/documents/indexes/models/MagnitudeScoringParameters.java","src/main/java/com/azure/search/documents/indexes/models/MappingCharFilter.java","src/main/java/com/azure/search/documents/indexes/models/MarkdownHeaderDepth.java","src/main/java/com/azure/search/documents/indexes/models/MarkdownParsingSubmode.java","src/main/java/com/azure/search/documents/indexes/models/MergeSkill.java","src/main/java/com/azure/search/documents/indexes/models/MicrosoftLanguageStemmingTokenizer.java","src/main/java/com/azure/search/documents/indexes/models/MicrosoftLanguageTokenizer.java","src/main/java/com/azure/search/documents/indexes/models/MicrosoftStemmingTokenizerLanguage.java","src/main/java/com/azure/search/documents/indexes/models/MicrosoftTokenizerLanguage.java","src/main/java/com/azure/search/documents/indexes/models/NGramTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/NGramTokenFilterV2.java","src/main/java/com/azure/search/documents/indexes/models/NGramTokenizer.java","src/main/java/com/azure/search/documents/indexes/models/NativeBlobSoftDeleteDeletionDetectionPolicy.java","src/main/java/com/azure/search/documents/indexes/models/OcrLineEnding.java","src/main/java/com/azure/search/documents/indexes/models/OcrSkill.java","src/main/java/com/azure/search/documents/indexes/models/OcrSkillLanguage.java","src/main/java/com/azure/search/documents/indexes/models/OutputFieldMappingEntry.java","src/main/java/com/azure/search/documents/indexes/models/PIIDetectionSkill.java","src/main/java/com/azure/search/documents/indexes/models/PIIDetectionSkillMaskingMode.java","src/main/java/com/azure/search/documents/indexes/models/PathHierarchyTokenizerV2.java","src/main/java/com/azure/search/documents/indexes/models/PatternAnalyzer.java","src/main/java/com/azure/search/documents/indexes/models/PatternCaptureTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/PatternReplaceCharFilter.java","src/main/java/com/azure/search/documents/indexes/models/PatternReplaceTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/PatternTokenizer.java","src/main/java/com/azure/search/documents/indexes/models/PermissionFilter.java","src/main/java/com/azure/search/documents/indexes/models/PhoneticEncoder.java","src/main/java/com/azure/search/documents/indexes/models/PhoneticTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/RankingOrder.java","src/main/java/com/azure/search/documents/indexes/models/RegexFlags.java","src/main/java/com/azure/search/documents/indexes/models/RescoringOptions.java","src/main/java/com/azure/search/documents/indexes/models/ResourceCounter.java","src/main/java/com/azure/search/documents/indexes/models/ScalarQuantizationCompression.java","src/main/java/com/azure/search/documents/indexes/models/ScalarQuantizationParameters.java","src/main/java/com/azure/search/documents/indexes/models/ScoringFunction.java","src/main/java/com/azure/search/documents/indexes/models/ScoringFunctionAggregation.java","src/main/java/com/azure/search/documents/indexes/models/ScoringFunctionInterpolation.java","src/main/java/com/azure/search/documents/indexes/models/ScoringProfile.java","src/main/java/com/azure/search/documents/indexes/models/SearchAlias.java","src/main/java/com/azure/search/documents/indexes/models/SearchField.java","src/main/java/com/azure/search/documents/indexes/models/SearchFieldDataType.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndex.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexFieldReference.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexKnowledgeSource.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexKnowledgeSourceParameters.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexPermissionFilterOption.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexResponse.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexer.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerDataContainer.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerDataIdentity.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerDataNoneIdentity.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerDataSourceConnection.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerDataSourceType.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerDataUserAssignedIdentity.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerError.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerIndexProjection.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerIndexProjectionSelector.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerIndexProjectionsParameters.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerKnowledgeStore.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerKnowledgeStoreBlobProjectionSelector.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerKnowledgeStoreFileProjectionSelector.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerKnowledgeStoreObjectProjectionSelector.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerKnowledgeStoreProjection.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerKnowledgeStoreProjectionSelector.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerKnowledgeStoreTableProjectionSelector.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerLimits.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerSkill.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerSkillset.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerStatus.java","src/main/java/com/azure/search/documents/indexes/models/SearchIndexerWarning.java","src/main/java/com/azure/search/documents/indexes/models/SearchResourceEncryptionKey.java","src/main/java/com/azure/search/documents/indexes/models/SearchServiceCounters.java","src/main/java/com/azure/search/documents/indexes/models/SearchServiceLimits.java","src/main/java/com/azure/search/documents/indexes/models/SearchServiceStatistics.java","src/main/java/com/azure/search/documents/indexes/models/SearchSuggester.java","src/main/java/com/azure/search/documents/indexes/models/SemanticConfiguration.java","src/main/java/com/azure/search/documents/indexes/models/SemanticField.java","src/main/java/com/azure/search/documents/indexes/models/SemanticPrioritizedFields.java","src/main/java/com/azure/search/documents/indexes/models/SemanticSearch.java","src/main/java/com/azure/search/documents/indexes/models/SentimentSkillLanguage.java","src/main/java/com/azure/search/documents/indexes/models/SentimentSkillV3.java","src/main/java/com/azure/search/documents/indexes/models/ShaperSkill.java","src/main/java/com/azure/search/documents/indexes/models/ShingleTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/SimilarityAlgorithm.java","src/main/java/com/azure/search/documents/indexes/models/SkillNames.java","src/main/java/com/azure/search/documents/indexes/models/SnowballTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/SnowballTokenFilterLanguage.java","src/main/java/com/azure/search/documents/indexes/models/SoftDeleteColumnDeletionDetectionPolicy.java","src/main/java/com/azure/search/documents/indexes/models/SplitSkill.java","src/main/java/com/azure/search/documents/indexes/models/SplitSkillEncoderModelName.java","src/main/java/com/azure/search/documents/indexes/models/SplitSkillLanguage.java","src/main/java/com/azure/search/documents/indexes/models/SplitSkillUnit.java","src/main/java/com/azure/search/documents/indexes/models/SqlIntegratedChangeTrackingPolicy.java","src/main/java/com/azure/search/documents/indexes/models/StemmerOverrideTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/StemmerTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/StemmerTokenFilterLanguage.java","src/main/java/com/azure/search/documents/indexes/models/StopAnalyzer.java","src/main/java/com/azure/search/documents/indexes/models/StopwordsList.java","src/main/java/com/azure/search/documents/indexes/models/StopwordsTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/SynonymMap.java","src/main/java/com/azure/search/documents/indexes/models/SynonymTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/TagScoringFunction.java","src/main/java/com/azure/search/documents/indexes/models/TagScoringParameters.java","src/main/java/com/azure/search/documents/indexes/models/TextSplitMode.java","src/main/java/com/azure/search/documents/indexes/models/TextTranslationSkill.java","src/main/java/com/azure/search/documents/indexes/models/TextTranslationSkillLanguage.java","src/main/java/com/azure/search/documents/indexes/models/TextWeights.java","src/main/java/com/azure/search/documents/indexes/models/TokenCharacterKind.java","src/main/java/com/azure/search/documents/indexes/models/TokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/TokenFilterName.java","src/main/java/com/azure/search/documents/indexes/models/TruncateTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/UaxUrlEmailTokenizer.java","src/main/java/com/azure/search/documents/indexes/models/UniqueTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/VectorEncodingFormat.java","src/main/java/com/azure/search/documents/indexes/models/VectorSearch.java","src/main/java/com/azure/search/documents/indexes/models/VectorSearchAlgorithmConfiguration.java","src/main/java/com/azure/search/documents/indexes/models/VectorSearchAlgorithmKind.java","src/main/java/com/azure/search/documents/indexes/models/VectorSearchAlgorithmMetric.java","src/main/java/com/azure/search/documents/indexes/models/VectorSearchCompression.java","src/main/java/com/azure/search/documents/indexes/models/VectorSearchCompressionKind.java","src/main/java/com/azure/search/documents/indexes/models/VectorSearchCompressionRescoreStorageMethod.java","src/main/java/com/azure/search/documents/indexes/models/VectorSearchCompressionTarget.java","src/main/java/com/azure/search/documents/indexes/models/VectorSearchProfile.java","src/main/java/com/azure/search/documents/indexes/models/VectorSearchVectorizer.java","src/main/java/com/azure/search/documents/indexes/models/VectorSearchVectorizerKind.java","src/main/java/com/azure/search/documents/indexes/models/VisionVectorizeSkill.java","src/main/java/com/azure/search/documents/indexes/models/VisualFeature.java","src/main/java/com/azure/search/documents/indexes/models/WebApiHttpHeaders.java","src/main/java/com/azure/search/documents/indexes/models/WebApiSkill.java","src/main/java/com/azure/search/documents/indexes/models/WebApiVectorizer.java","src/main/java/com/azure/search/documents/indexes/models/WebApiVectorizerParameters.java","src/main/java/com/azure/search/documents/indexes/models/WebKnowledgeSource.java","src/main/java/com/azure/search/documents/indexes/models/WebKnowledgeSourceDomain.java","src/main/java/com/azure/search/documents/indexes/models/WebKnowledgeSourceDomains.java","src/main/java/com/azure/search/documents/indexes/models/WebKnowledgeSourceParameters.java","src/main/java/com/azure/search/documents/indexes/models/WordDelimiterTokenFilter.java","src/main/java/com/azure/search/documents/indexes/models/package-info.java","src/main/java/com/azure/search/documents/indexes/package-info.java","src/main/java/com/azure/search/documents/knowledgebases/KnowledgeBaseRetrievalAsyncClient.java","src/main/java/com/azure/search/documents/knowledgebases/KnowledgeBaseRetrievalClient.java","src/main/java/com/azure/search/documents/knowledgebases/KnowledgeBaseRetrievalClientBuilder.java","src/main/java/com/azure/search/documents/knowledgebases/models/AIServices.java","src/main/java/com/azure/search/documents/knowledgebases/models/AzureBlobKnowledgeSourceParams.java","src/main/java/com/azure/search/documents/knowledgebases/models/CompletedSynchronizationState.java","src/main/java/com/azure/search/documents/knowledgebases/models/IndexedOneLakeKnowledgeSourceParams.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseActivityRecord.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseActivityRecordType.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseAgenticReasoningActivityRecord.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseAzureBlobReference.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseErrorAdditionalInfo.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseErrorDetail.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseImageContent.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseIndexedOneLakeReference.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseMessage.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseMessageContent.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseMessageContentType.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseMessageImageContent.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseMessageTextContent.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseReference.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseReferenceType.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseRetrievalRequest.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseRetrievalResponse.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseSearchIndexReference.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseWebReference.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalIntent.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalIntentType.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalMinimalReasoningEffort.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalReasoningEffort.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalReasoningEffortKind.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalSemanticIntent.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeSourceAzureOpenAIVectorizer.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeSourceIngestionParameters.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeSourceParams.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeSourceStatistics.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeSourceStatus.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeSourceSynchronizationError.java","src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeSourceVectorizer.java","src/main/java/com/azure/search/documents/knowledgebases/models/SearchIndexKnowledgeSourceParams.java","src/main/java/com/azure/search/documents/knowledgebases/models/SynchronizationState.java","src/main/java/com/azure/search/documents/knowledgebases/models/WebKnowledgeSourceParams.java","src/main/java/com/azure/search/documents/knowledgebases/models/package-info.java","src/main/java/com/azure/search/documents/knowledgebases/package-info.java","src/main/java/com/azure/search/documents/models/AutocompleteItem.java","src/main/java/com/azure/search/documents/models/AutocompleteMode.java","src/main/java/com/azure/search/documents/models/AutocompleteOptions.java","src/main/java/com/azure/search/documents/models/AutocompleteResult.java","src/main/java/com/azure/search/documents/models/CountRequestAccept.java","src/main/java/com/azure/search/documents/models/CountRequestAccept2.java","src/main/java/com/azure/search/documents/models/CountRequestAccept3.java","src/main/java/com/azure/search/documents/models/CountRequestAccept5.java","src/main/java/com/azure/search/documents/models/CountRequestAccept8.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept1.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept10.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept11.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept12.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept14.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept15.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept16.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept17.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept19.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept2.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept20.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept21.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept22.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept24.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept25.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept26.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept27.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept28.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept29.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept31.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept32.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept34.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept35.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept36.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept38.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept39.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept4.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept41.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept42.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept44.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept45.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept47.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept48.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept6.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept7.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept8.java","src/main/java/com/azure/search/documents/models/CreateOrUpdateRequestAccept9.java","src/main/java/com/azure/search/documents/models/DebugInfo.java","src/main/java/com/azure/search/documents/models/DocumentDebugInfo.java","src/main/java/com/azure/search/documents/models/FacetResult.java","src/main/java/com/azure/search/documents/models/IndexAction.java","src/main/java/com/azure/search/documents/models/IndexActionType.java","src/main/java/com/azure/search/documents/models/IndexDocumentsBatch.java","src/main/java/com/azure/search/documents/models/IndexDocumentsResult.java","src/main/java/com/azure/search/documents/models/IndexingResult.java","src/main/java/com/azure/search/documents/models/LookupDocument.java","src/main/java/com/azure/search/documents/models/QueryAnswerResult.java","src/main/java/com/azure/search/documents/models/QueryAnswerType.java","src/main/java/com/azure/search/documents/models/QueryCaptionResult.java","src/main/java/com/azure/search/documents/models/QueryCaptionType.java","src/main/java/com/azure/search/documents/models/QueryDebugMode.java","src/main/java/com/azure/search/documents/models/QueryResultDocumentInnerHit.java","src/main/java/com/azure/search/documents/models/QueryResultDocumentSubscores.java","src/main/java/com/azure/search/documents/models/QueryType.java","src/main/java/com/azure/search/documents/models/ScoringStatistics.java","src/main/java/com/azure/search/documents/models/SearchDocumentsResult.java","src/main/java/com/azure/search/documents/models/SearchMode.java","src/main/java/com/azure/search/documents/models/SearchOptions.java","src/main/java/com/azure/search/documents/models/SearchRequest.java","src/main/java/com/azure/search/documents/models/SearchResult.java","src/main/java/com/azure/search/documents/models/SearchScoreThreshold.java","src/main/java/com/azure/search/documents/models/SemanticErrorMode.java","src/main/java/com/azure/search/documents/models/SemanticErrorReason.java","src/main/java/com/azure/search/documents/models/SemanticSearchResultsType.java","src/main/java/com/azure/search/documents/models/SingleVectorFieldResult.java","src/main/java/com/azure/search/documents/models/SuggestDocumentsResult.java","src/main/java/com/azure/search/documents/models/SuggestOptions.java","src/main/java/com/azure/search/documents/models/SuggestResult.java","src/main/java/com/azure/search/documents/models/TextResult.java","src/main/java/com/azure/search/documents/models/VectorFilterMode.java","src/main/java/com/azure/search/documents/models/VectorQuery.java","src/main/java/com/azure/search/documents/models/VectorQueryKind.java","src/main/java/com/azure/search/documents/models/VectorSimilarityThreshold.java","src/main/java/com/azure/search/documents/models/VectorThreshold.java","src/main/java/com/azure/search/documents/models/VectorThresholdKind.java","src/main/java/com/azure/search/documents/models/VectorizableImageBinaryQuery.java","src/main/java/com/azure/search/documents/models/VectorizableImageUrlQuery.java","src/main/java/com/azure/search/documents/models/VectorizableTextQuery.java","src/main/java/com/azure/search/documents/models/VectorizedQuery.java","src/main/java/com/azure/search/documents/models/VectorsDebugInfo.java","src/main/java/com/azure/search/documents/models/package-info.java","src/main/java/com/azure/search/documents/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/search/azure-search-documents/tsp-location.yaml b/sdk/search/azure-search-documents/tsp-location.yaml index 3fdf565dc43e..712789e9553d 100644 --- a/sdk/search/azure-search-documents/tsp-location.yaml +++ b/sdk/search/azure-search-documents/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/search/data-plane/Search -commit: 718b95fa93eb60c43e72d88de1b31ac11493a822 +commit: 0a405cc006a4f6ff842bb159c2fecb0a5f5455da repo: Azure/azure-rest-api-specs cleanup: true