From dd549a92ac50a40bcfa40d4ffd27fb68066ffe6c Mon Sep 17 00:00:00 2001 From: Florian Bernd Date: Fri, 21 Nov 2025 12:40:53 +0000 Subject: [PATCH] Regenerate client --- .../AsyncSearchStatusResponse.Converters.g.cs | 9 ++ .../AsyncSearchStatusResponse.g.cs | 1 + .../GetAsyncSearchResponse.Converters.g.cs | 9 ++ .../AsyncSearch/GetAsyncSearchResponse.g.cs | 1 + .../SubmitAsyncSearchResponse.Converters.g.cs | 9 ++ .../SubmitAsyncSearchResponse.g.cs | 1 + .../_Generated/Api/BulkRequest.g.cs | 21 ++++ .../_Generated/Api/ClearScrollRequest.g.cs | 4 + .../Api/ClosePointInTimeRequest.g.cs | 4 + .../Api/Cluster/AllocationExplainRequest.g.cs | 4 + .../Api/Cluster/ClusterInfoRequest.g.cs | 4 + .../Api/Cluster/ClusterStatsRequest.g.cs | 4 + .../DeleteComponentTemplateRequest.g.cs | 4 + .../DeleteVotingConfigExclusionsRequest.g.cs | 4 + .../ExistsComponentTemplateRequest.g.cs | 7 ++ .../Cluster/GetComponentTemplateRequest.g.cs | 7 ++ .../Api/Cluster/PendingTasksRequest.g.cs | 4 + .../PostVotingConfigExclusionsRequest.g.cs | 4 + .../Cluster/PutComponentTemplateRequest.g.cs | 6 ++ .../_Generated/Api/CountRequest.g.cs | 6 ++ .../FollowRequest.g.cs | 6 ++ .../ForgetFollowerRequest.g.cs | 6 ++ .../PutAutoFollowPatternRequest.g.cs | 4 + .../ResumeFollowRequest.g.cs | 6 ++ .../_Generated/Api/DeleteScriptRequest.g.cs | 4 + .../Api/Enrich/DeletePolicyRequest.g.cs | 4 + .../Api/Enrich/EnrichStatsRequest.g.cs | 4 + .../Api/Enrich/ExecutePolicyRequest.g.cs | 4 + .../Api/Enrich/GetPolicyRequest.g.cs | 4 + .../Api/Enrich/PutPolicyRequest.g.cs | 6 ++ .../_Generated/Api/Eql/EqlDeleteRequest.g.cs | 4 + .../_Generated/Api/Eql/EqlGetRequest.g.cs | 4 + .../_Generated/Api/Eql/EqlSearchRequest.g.cs | 22 +++-- .../Api/Eql/GetEqlStatusRequest.g.cs | 4 + .../Api/Esql/AsyncQueryDeleteRequest.g.cs | 4 + .../Api/Esql/AsyncQueryGetRequest.g.cs | 4 + .../Api/Esql/AsyncQueryRequest.g.cs | 6 ++ .../_Generated/Api/Esql/EsqlQueryRequest.g.cs | 6 ++ .../Api/Esql/GetEsqlQueryRequest.g.cs | 4 + .../Api/Esql/ListQueriesRequest.g.cs | 4 + .../_Generated/Api/ExplainRequest.g.cs | 6 ++ .../Api/Features/GetFeaturesRequest.g.cs | 4 + .../Api/Features/ResetFeaturesRequest.g.cs | 4 + .../_Generated/Api/GetScriptRequest.g.cs | 4 + .../_Generated/Api/Graph/ExploreRequest.g.cs | 6 ++ .../_Generated/Api/HealthReportRequest.g.cs | 4 + .../DeleteLifecycleRequest.g.cs | 4 + .../MigrateToDataTiersRequest.g.cs | 4 + .../MoveToStepRequest.g.cs | 6 ++ .../PutLifecycleRequest.g.cs | 4 + .../RemovePolicyRequest.g.cs | 6 ++ .../RetryRequest.g.cs | 6 ++ .../StartIlmRequest.g.cs | 4 + .../StopIlmRequest.g.cs | 4 + .../IndexManagement/AnalyzeIndexRequest.g.cs | 6 ++ .../IndexManagement/ClearCacheRequest.g.cs | 6 ++ .../IndexManagement/CloneIndexRequest.g.cs | 6 ++ .../IndexManagement/CloseIndexRequest.g.cs | 6 ++ .../IndexManagement/CreateIndexRequest.g.cs | 6 ++ .../IndexManagement/DeleteAliasRequest.g.cs | 6 ++ .../DeleteDataLifecycleRequest.g.cs | 4 + .../DeleteDataStreamOptionsRequest.g.cs | 4 + .../DeleteDataStreamRequest.g.cs | 4 + .../IndexManagement/DeleteIndexRequest.g.cs | 6 ++ .../DeleteIndexTemplateRequest.g.cs | 4 + .../DeleteTemplateRequest.g.cs | 4 + .../Api/IndexManagement/DiskUsageRequest.g.cs | 6 ++ .../IndexManagement/DownsampleRequest.g.cs | 6 ++ .../Api/IndexManagement/ExistsRequest.g.cs | 6 ++ .../ExistsTemplateRequest.g.cs | 7 ++ .../ExplainDataLifecycleRequest.g.cs | 12 ++- .../FieldUsageStatsRequest.g.cs | 6 ++ .../Api/IndexManagement/FlushRequest.g.cs | 6 ++ .../IndexManagement/ForcemergeRequest.g.cs | 6 ++ .../Api/IndexManagement/GetAliasRequest.g.cs | 6 ++ .../GetDataLifecycleStatsRequest.g.cs | 4 + .../GetFieldMappingRequest.g.cs | 6 ++ .../Api/IndexManagement/GetIndexRequest.g.cs | 6 ++ .../GetIndexTemplateRequest.g.cs | 11 ++- .../GetIndicesSettingsRequest.g.cs | 10 ++ .../IndexManagement/GetMappingRequest.g.cs | 6 ++ .../IndexManagement/GetTemplateRequest.g.cs | 7 ++ .../IndexManagement/IndicesStatsRequest.g.cs | 6 ++ .../MigrateToDataStreamRequest.g.cs | 6 ++ .../ModifyDataStreamRequest.g.cs | 4 + .../Api/IndexManagement/OpenIndexRequest.g.cs | 6 ++ .../PromoteDataStreamRequest.g.cs | 6 ++ .../Api/IndexManagement/PutAliasRequest.g.cs | 6 ++ .../PutDataLifecycleRequest.g.cs | 4 + .../PutDataStreamOptionsRequest.g.cs | 4 + .../PutIndexTemplateRequest.g.cs | 6 ++ .../PutIndicesSettingsRequest.g.cs | 6 ++ .../IndexManagement/PutMappingRequest.g.cs | 6 ++ .../IndexManagement/PutTemplateRequest.g.cs | 6 ++ .../Api/IndexManagement/RecoveryRequest.g.cs | 6 ++ .../Api/IndexManagement/RefreshRequest.g.cs | 6 ++ .../ReloadSearchAnalyzersRequest.g.cs | 6 ++ .../IndexManagement/ResolveIndexRequest.g.cs | 4 + .../Api/IndexManagement/RolloverRequest.g.cs | 6 ++ .../Api/IndexManagement/SegmentsRequest.g.cs | 6 ++ .../IndexManagement/ShardStoresRequest.g.cs | 6 ++ .../IndexManagement/ShrinkIndexRequest.g.cs | 6 ++ .../SimulateIndexTemplateRequest.g.cs | 6 ++ .../SimulateTemplateRequest.g.cs | 6 ++ .../IndexManagement/SplitIndexRequest.g.cs | 6 ++ .../IndexManagement/UpdateAliasesRequest.g.cs | 6 ++ .../IndexManagement/ValidateQueryRequest.g.cs | 6 ++ .../ChatCompletionUnifiedRequest.g.cs | 4 +- .../Api/Inference/CompletionRequest.g.cs | 8 +- .../Api/Inference/DeleteInferenceRequest.g.cs | 16 +++- .../Api/Inference/GetInferenceRequest.g.cs | 10 +- .../Api/Inference/PutAlibabacloudRequest.g.cs | 8 ++ .../Inference/PutAmazonbedrockRequest.g.cs | 8 ++ .../Inference/PutAmazonsagemakerRequest.g.cs | 8 ++ .../PutAnthropicRequest.Converters.g.cs | 9 -- .../Api/Inference/PutAnthropicRequest.g.cs | 46 +-------- .../Inference/PutAzureaistudioRequest.g.cs | 14 ++- .../Api/Inference/PutAzureopenaiRequest.g.cs | 8 ++ .../Api/Inference/PutCohereRequest.g.cs | 8 ++ .../PutContextualaiRequest.Converters.g.cs | 9 -- .../Api/Inference/PutContextualaiRequest.g.cs | 40 -------- .../Api/Inference/PutCustomRequest.g.cs | 8 ++ .../PutDeepseekRequest.Converters.g.cs | 9 -- .../Api/Inference/PutDeepseekRequest.g.cs | 40 -------- .../Inference/PutElasticsearchRequest.g.cs | 8 +- .../Inference/PutGoogleaistudioRequest.g.cs | 8 ++ .../Inference/PutGooglevertexaiRequest.g.cs | 8 ++ .../Api/Inference/PutHuggingFaceRequest.g.cs | 8 ++ .../Api/Inference/PutJinaaiRequest.g.cs | 8 ++ .../Api/Inference/PutLlamaRequest.g.cs | 8 ++ .../Api/Inference/PutMistralRequest.g.cs | 8 ++ .../Api/Inference/PutOpenaiRequest.g.cs | 8 ++ .../Api/Inference/PutVoyageaiRequest.g.cs | 8 ++ .../PutWatsonxRequest.Converters.g.cs | 9 ++ .../Api/Inference/PutWatsonxRequest.g.cs | 48 ++++++++++ .../Api/Inference/RerankRequest.g.cs | 4 +- .../Api/Inference/SparseEmbeddingRequest.g.cs | 8 +- .../Inference/StreamCompletionRequest.g.cs | 8 +- .../Api/Inference/TextEmbeddingRequest.g.cs | 8 +- .../_Generated/Api/InfoRequest.g.cs | 4 + .../Api/Ingest/DeletePipelineRequest.g.cs | 4 + .../Api/Ingest/GeoIpStatsRequest.g.cs | 4 + .../Api/Ingest/ProcessorGrokRequest.g.cs | 4 + .../Api/Ingest/PutPipelineRequest.g.cs | 6 ++ .../PostStartTrialRequest.g.cs | 4 + .../Api/MachineLearning/FlushJobRequest.g.cs | 4 + .../MachineLearning/GetBucketsRequest.g.cs | 6 ++ .../GetDataFrameAnalyticsRequest.g.cs | 4 + .../GetDatafeedStatsRequest.g.cs | 4 + .../MachineLearning/GetDatafeedsRequest.g.cs | 4 + .../MachineLearning/GetFiltersRequest.g.cs | 4 + .../GetInfluencersRequest.g.cs | 6 ++ .../Api/MachineLearning/GetJobsRequest.g.cs | 4 + .../GetMemoryStatsRequest.g.cs | 4 + .../MachineLearning/GetRecordsRequest.g.cs | 6 ++ .../GetTrainedModelsStatsRequest.g.cs | 4 + .../Api/MachineLearning/MlInfoRequest.g.cs | 4 + .../PreviewDataFrameAnalyticsRequest.g.cs | 6 ++ .../PutDataFrameAnalyticsRequest.g.cs | 6 ++ .../MachineLearning/PutDatafeedRequest.g.cs | 6 ++ .../Api/MachineLearning/PutFilterRequest.g.cs | 4 + .../PutJobRequest.Converters.g.cs | 9 -- .../Api/MachineLearning/PutJobRequest.g.cs | 96 +++++++++++-------- .../PutTrainedModelAliasRequest.g.cs | 4 + .../PutTrainedModelRequest.g.cs | 6 ++ .../PutTrainedModelVocabularyRequest.g.cs | 4 + .../Api/MachineLearning/ResetJobRequest.g.cs | 4 + .../RevertModelSnapshotRequest.g.cs | 4 + .../SetUpgradeModeRequest.g.cs | 4 + .../StartDataFrameAnalyticsRequest.g.cs | 4 + .../StartTrainedModelDeploymentRequest.g.cs | 4 + .../StopDataFrameAnalyticsRequest.g.cs | 4 + .../MachineLearning/StopDatafeedRequest.g.cs | 4 + .../UpdateDatafeedRequest.g.cs | 6 ++ .../MachineLearning/UpdateFilterRequest.g.cs | 4 + .../Api/MachineLearning/UpdateJobRequest.g.cs | 6 ++ .../UpdateModelSnapshotRequest.g.cs | 4 + .../UpgradeJobSnapshotRequest.g.cs | 4 + .../_Generated/Api/MultiSearchRequest.g.cs | 4 + ...earRepositoriesMeteringArchiveRequest.g.cs | 4 + .../GetRepositoriesMeteringInfoRequest.g.cs | 4 + .../Api/Nodes/HotThreadsRequest.g.cs | 4 + .../Api/Nodes/NodesStatsRequest.g.cs | 6 ++ .../_Generated/Api/PingRequest.g.cs | 4 + .../_Generated/Api/Project/TagsRequest.g.cs | 10 +- .../_Generated/Api/PutScriptRequest.g.cs | 4 + .../Api/QueryRules/DeleteRuleRequest.g.cs | 4 + .../Api/QueryRules/DeleteRulesetRequest.g.cs | 4 + .../Api/QueryRules/GetRuleRequest.g.cs | 4 + .../Api/QueryRules/GetRulesetRequest.g.cs | 4 + .../Api/QueryRules/ListRulesetsRequest.g.cs | 4 + .../Api/QueryRules/PutRuleRequest.g.cs | 4 + .../Api/QueryRules/PutRulesetRequest.g.cs | 4 + .../Api/QueryRules/TestRequest.g.cs | 4 + .../_Generated/Api/Rollup/GetJobsRequest.g.cs | 4 + .../Api/Rollup/GetRollupCapsRequest.g.cs | 4 + .../Api/Rollup/GetRollupIndexCapsRequest.g.cs | 4 + .../Api/Rollup/RollupSearchRequest.g.cs | 6 ++ .../Api/Rollup/StartJobRequest.g.cs | 4 + .../_Generated/Api/Rollup/StopJobRequest.g.cs | 4 + .../DeleteBehavioralAnalyticsRequest.g.cs | 4 + .../Api/SearchApplication/ListRequest.g.cs | 4 + .../SearchApplication/RenderQueryRequest.g.cs | 4 + .../SearchApplicationSearchRequest.g.cs | 4 + .../CacheStatsRequest.g.cs | 4 + .../ClearCacheRequest.g.cs | 6 ++ .../Api/SearchableSnapshots/MountRequest.g.cs | 4 + .../Security/BulkUpdateApiKeysRequest.g.cs | 6 ++ .../Security/PutUserRequest.Converters.g.cs | 11 +-- .../Api/Security/PutUserRequest.g.cs | 61 ++++++++---- .../Api/Simulate/IngestRequest.g.cs | 6 ++ .../Snapshot/CleanupRepositoryRequest.g.cs | 4 + .../Api/Snapshot/CloneSnapshotRequest.g.cs | 4 + .../Api/Snapshot/CreateRepositoryRequest.g.cs | 4 + .../Api/Snapshot/CreateSnapshotRequest.g.cs | 4 + .../Api/Snapshot/DeleteRepositoryRequest.g.cs | 4 + .../RepositoryVerifyIntegrityRequest.g.cs | 4 + .../Api/Snapshot/RestoreRequest.g.cs | 6 ++ .../Api/Snapshot/SnapshotStatusRequest.g.cs | 4 + .../Api/Snapshot/VerifyRepositoryRequest.g.cs | 4 + .../DeleteLifecycleRequest.g.cs | 4 + .../ExecuteLifecycleRequest.g.cs | 4 + .../ExecuteRetentionRequest.g.cs | 4 + .../GetLifecycleRequest.g.cs | 4 + .../GetStatsRequest.g.cs | 4 + .../PutLifecycleRequest.g.cs | 4 + .../StartSlmRequest.g.cs | 4 + .../StopSlmRequest.g.cs | 4 + .../Api/Sql/DeleteAsyncRequest.g.cs | 4 + .../_Generated/Api/Sql/GetAsyncRequest.g.cs | 4 + .../Api/Sql/GetAsyncStatusRequest.g.cs | 4 + .../_Generated/Api/Sql/QueryRequest.g.cs | 6 ++ .../_Generated/Api/Sql/TranslateRequest.g.cs | 6 ++ .../Synonyms/DeleteSynonymRuleRequest.g.cs | 4 + .../Api/Synonyms/GetSynonymRuleRequest.g.cs | 4 + .../Api/Synonyms/GetSynonymsSetsRequest.g.cs | 4 + .../Api/Synonyms/PutSynonymRequest.g.cs | 4 + .../Api/Synonyms/PutSynonymRuleRequest.g.cs | 4 + .../_Generated/Api/Tasks/GetTasksRequest.g.cs | 4 + .../_Generated/Api/Tasks/ListRequest.g.cs | 4 + .../FindFieldStructureRequest.g.cs | 6 ++ .../FindMessageStructureRequest.g.cs | 6 ++ .../TextStructure/TestGrokPatternRequest.g.cs | 4 + .../GetTransformRequest.g.cs | 4 + .../PreviewTransformRequest.g.cs | 6 ++ .../PutTransformRequest.g.cs | 6 ++ .../SetUpgradeModeRequest.g.cs | 4 + .../StopTransformRequest.g.cs | 4 + .../UpdateTransformRequest.g.cs | 6 ++ .../_Generated/Api/UpdateByQueryRequest.g.cs | 6 ++ .../Api/Xpack/XpackInfoRequest.g.cs | 7 ++ .../Api/Xpack/XpackUsageRequest.g.cs | 4 + .../Client/ElasticsearchClient.Ml.g.cs | 32 +++++-- .../Client/ElasticsearchClient.Security.g.cs | 16 ++-- .../GeotileGridAggregation.Converters.g.cs | 6 +- .../Aggregations/GeotileGridAggregation.g.cs | 6 +- .../Types/GeohashPrecision.Converters.g.cs | 2 +- .../_Generated/Types/GeohashPrecision.g.cs | 8 +- .../AlibabaCloudTaskType.Converters.g.cs | 14 +-- .../Types/Inference/AlibabaCloudTaskType.g.cs | 4 +- .../Inference/RequestChatCompletion.g.cs | 4 +- 261 files changed, 1466 insertions(+), 310 deletions(-) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusResponse.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusResponse.Converters.g.cs index 68a5d01d53a..1662471fed6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusResponse.Converters.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusResponse.Converters.g.cs @@ -29,6 +29,7 @@ public sealed partial class AsyncSearchStatusResponseConverter : System.Text.Jso private static readonly System.Text.Json.JsonEncodedText PropCompletionStatus = System.Text.Json.JsonEncodedText.Encode("completion_status"); private static readonly System.Text.Json.JsonEncodedText PropCompletionTime = System.Text.Json.JsonEncodedText.Encode("completion_time"); private static readonly System.Text.Json.JsonEncodedText PropCompletionTimeInMillis = System.Text.Json.JsonEncodedText.Encode("completion_time_in_millis"); + private static readonly System.Text.Json.JsonEncodedText PropError = System.Text.Json.JsonEncodedText.Encode("error"); private static readonly System.Text.Json.JsonEncodedText PropExpirationTime = System.Text.Json.JsonEncodedText.Encode("expiration_time"); private static readonly System.Text.Json.JsonEncodedText PropExpirationTimeInMillis = System.Text.Json.JsonEncodedText.Encode("expiration_time_in_millis"); private static readonly System.Text.Json.JsonEncodedText PropId = System.Text.Json.JsonEncodedText.Encode("id"); @@ -45,6 +46,7 @@ public override Elastic.Clients.Elasticsearch.AsyncSearch.AsyncSearchStatusRespo LocalJsonValue propCompletionStatus = default; LocalJsonValue propCompletionTime = default; LocalJsonValue propCompletionTimeInMillis = default; + LocalJsonValue propError = default; LocalJsonValue propExpirationTime = default; LocalJsonValue propExpirationTimeInMillis = default; LocalJsonValue propId = default; @@ -75,6 +77,11 @@ public override Elastic.Clients.Elasticsearch.AsyncSearch.AsyncSearchStatusRespo continue; } + if (propError.TryReadProperty(ref reader, options, PropError, null)) + { + continue; + } + if (propExpirationTime.TryReadProperty(ref reader, options, PropExpirationTime, static System.DateTimeOffset? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadNullableValueEx(o, typeof(Elastic.Clients.Elasticsearch.Serialization.DateTimeMarker)))) { continue; @@ -131,6 +138,7 @@ public override Elastic.Clients.Elasticsearch.AsyncSearch.AsyncSearchStatusRespo CompletionStatus = propCompletionStatus.Value, CompletionTime = propCompletionTime.Value, CompletionTimeInMillis = propCompletionTimeInMillis.Value, + Error = propError.Value, ExpirationTime = propExpirationTime.Value, ExpirationTimeInMillis = propExpirationTimeInMillis.Value, Id = propId.Value, @@ -149,6 +157,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteProperty(options, PropCompletionStatus, value.CompletionStatus, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, int? v) => w.WriteNullableValue(o, v)); writer.WriteProperty(options, PropCompletionTime, value.CompletionTime, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.DateTimeOffset? v) => w.WriteNullableValueEx(o, v, typeof(Elastic.Clients.Elasticsearch.Serialization.DateTimeMarker))); writer.WriteProperty(options, PropCompletionTimeInMillis, value.CompletionTimeInMillis, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.DateTimeOffset? v) => w.WriteNullableValueEx(o, v, typeof(Elastic.Clients.Elasticsearch.Serialization.DateTimeMillisMarker))); + writer.WriteProperty(options, PropError, value.Error, null, null); writer.WriteProperty(options, PropExpirationTime, value.ExpirationTime, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.DateTimeOffset? v) => w.WriteNullableValueEx(o, v, typeof(Elastic.Clients.Elasticsearch.Serialization.DateTimeMarker))); writer.WriteProperty(options, PropExpirationTimeInMillis, value.ExpirationTimeInMillis, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.DateTimeOffset v) => w.WriteValueEx(o, v, typeof(Elastic.Clients.Elasticsearch.Serialization.DateTimeMillisMarker))); writer.WriteProperty(options, PropId, value.Id, null, null); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusResponse.g.cs index 9610d6a9a60..a463956f8b1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusResponse.g.cs @@ -62,6 +62,7 @@ internal AsyncSearchStatusResponse(Elastic.Clients.Elasticsearch.Serialization.J /// public System.DateTimeOffset? CompletionTime { get; set; } public System.DateTimeOffset? CompletionTimeInMillis { get; set; } + public Elastic.Clients.Elasticsearch.ErrorCause? Error { get; set; } /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchResponse.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchResponse.Converters.g.cs index 1dc894d73c2..ba22190bddd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchResponse.Converters.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchResponse.Converters.g.cs @@ -27,6 +27,7 @@ public sealed partial class GetAsyncSearchResponseConverter : System. { private static readonly System.Text.Json.JsonEncodedText PropCompletionTime = System.Text.Json.JsonEncodedText.Encode("completion_time"); private static readonly System.Text.Json.JsonEncodedText PropCompletionTimeInMillis = System.Text.Json.JsonEncodedText.Encode("completion_time_in_millis"); + private static readonly System.Text.Json.JsonEncodedText PropError = System.Text.Json.JsonEncodedText.Encode("error"); private static readonly System.Text.Json.JsonEncodedText PropExpirationTime = System.Text.Json.JsonEncodedText.Encode("expiration_time"); private static readonly System.Text.Json.JsonEncodedText PropExpirationTimeInMillis = System.Text.Json.JsonEncodedText.Encode("expiration_time_in_millis"); private static readonly System.Text.Json.JsonEncodedText PropId = System.Text.Json.JsonEncodedText.Encode("id"); @@ -41,6 +42,7 @@ public override Elastic.Clients.Elasticsearch.AsyncSearch.GetAsyncSearchResponse reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propCompletionTime = default; LocalJsonValue propCompletionTimeInMillis = default; + LocalJsonValue propError = default; LocalJsonValue propExpirationTime = default; LocalJsonValue propExpirationTimeInMillis = default; LocalJsonValue propId = default; @@ -61,6 +63,11 @@ public override Elastic.Clients.Elasticsearch.AsyncSearch.GetAsyncSearchResponse continue; } + if (propError.TryReadProperty(ref reader, options, PropError, null)) + { + continue; + } + if (propExpirationTime.TryReadProperty(ref reader, options, PropExpirationTime, static System.DateTimeOffset? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadNullableValueEx(o, typeof(Elastic.Clients.Elasticsearch.Serialization.DateTimeMarker)))) { continue; @@ -115,6 +122,7 @@ public override Elastic.Clients.Elasticsearch.AsyncSearch.GetAsyncSearchResponse { CompletionTime = propCompletionTime.Value, CompletionTimeInMillis = propCompletionTimeInMillis.Value, + Error = propError.Value, ExpirationTime = propExpirationTime.Value, ExpirationTimeInMillis = propExpirationTimeInMillis.Value, Id = propId.Value, @@ -131,6 +139,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteStartObject(); writer.WriteProperty(options, PropCompletionTime, value.CompletionTime, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.DateTimeOffset? v) => w.WriteNullableValueEx(o, v, typeof(Elastic.Clients.Elasticsearch.Serialization.DateTimeMarker))); writer.WriteProperty(options, PropCompletionTimeInMillis, value.CompletionTimeInMillis, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.DateTimeOffset? v) => w.WriteNullableValueEx(o, v, typeof(Elastic.Clients.Elasticsearch.Serialization.DateTimeMillisMarker))); + writer.WriteProperty(options, PropError, value.Error, null, null); writer.WriteProperty(options, PropExpirationTime, value.ExpirationTime, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.DateTimeOffset? v) => w.WriteNullableValueEx(o, v, typeof(Elastic.Clients.Elasticsearch.Serialization.DateTimeMarker))); writer.WriteProperty(options, PropExpirationTimeInMillis, value.ExpirationTimeInMillis, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.DateTimeOffset v) => w.WriteValueEx(o, v, typeof(Elastic.Clients.Elasticsearch.Serialization.DateTimeMillisMarker))); writer.WriteProperty(options, PropId, value.Id, null, null); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchResponse.g.cs index 9d379a1f20d..836a7ac0f9e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchResponse.g.cs @@ -45,6 +45,7 @@ internal GetAsyncSearchResponse(Elastic.Clients.Elasticsearch.Serialization.Json /// public System.DateTimeOffset? CompletionTime { get; set; } public System.DateTimeOffset? CompletionTimeInMillis { get; set; } + public Elastic.Clients.Elasticsearch.ErrorCause? Error { get; set; } /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchResponse.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchResponse.Converters.g.cs index ba5eed86942..e6b5fc37708 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchResponse.Converters.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchResponse.Converters.g.cs @@ -27,6 +27,7 @@ public sealed partial class SubmitAsyncSearchResponseConverter : Syst { private static readonly System.Text.Json.JsonEncodedText PropCompletionTime = System.Text.Json.JsonEncodedText.Encode("completion_time"); private static readonly System.Text.Json.JsonEncodedText PropCompletionTimeInMillis = System.Text.Json.JsonEncodedText.Encode("completion_time_in_millis"); + private static readonly System.Text.Json.JsonEncodedText PropError = System.Text.Json.JsonEncodedText.Encode("error"); private static readonly System.Text.Json.JsonEncodedText PropExpirationTime = System.Text.Json.JsonEncodedText.Encode("expiration_time"); private static readonly System.Text.Json.JsonEncodedText PropExpirationTimeInMillis = System.Text.Json.JsonEncodedText.Encode("expiration_time_in_millis"); private static readonly System.Text.Json.JsonEncodedText PropId = System.Text.Json.JsonEncodedText.Encode("id"); @@ -41,6 +42,7 @@ public override Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRespo reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propCompletionTime = default; LocalJsonValue propCompletionTimeInMillis = default; + LocalJsonValue propError = default; LocalJsonValue propExpirationTime = default; LocalJsonValue propExpirationTimeInMillis = default; LocalJsonValue propId = default; @@ -61,6 +63,11 @@ public override Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRespo continue; } + if (propError.TryReadProperty(ref reader, options, PropError, null)) + { + continue; + } + if (propExpirationTime.TryReadProperty(ref reader, options, PropExpirationTime, static System.DateTimeOffset? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadNullableValueEx(o, typeof(Elastic.Clients.Elasticsearch.Serialization.DateTimeMarker)))) { continue; @@ -115,6 +122,7 @@ public override Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRespo { CompletionTime = propCompletionTime.Value, CompletionTimeInMillis = propCompletionTimeInMillis.Value, + Error = propError.Value, ExpirationTime = propExpirationTime.Value, ExpirationTimeInMillis = propExpirationTimeInMillis.Value, Id = propId.Value, @@ -131,6 +139,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteStartObject(); writer.WriteProperty(options, PropCompletionTime, value.CompletionTime, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.DateTimeOffset? v) => w.WriteNullableValueEx(o, v, typeof(Elastic.Clients.Elasticsearch.Serialization.DateTimeMarker))); writer.WriteProperty(options, PropCompletionTimeInMillis, value.CompletionTimeInMillis, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.DateTimeOffset? v) => w.WriteNullableValueEx(o, v, typeof(Elastic.Clients.Elasticsearch.Serialization.DateTimeMillisMarker))); + writer.WriteProperty(options, PropError, value.Error, null, null); writer.WriteProperty(options, PropExpirationTime, value.ExpirationTime, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.DateTimeOffset? v) => w.WriteNullableValueEx(o, v, typeof(Elastic.Clients.Elasticsearch.Serialization.DateTimeMarker))); writer.WriteProperty(options, PropExpirationTimeInMillis, value.ExpirationTimeInMillis, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.DateTimeOffset v) => w.WriteValueEx(o, v, typeof(Elastic.Clients.Elasticsearch.Serialization.DateTimeMillisMarker))); writer.WriteProperty(options, PropId, value.Id, null, null); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchResponse.g.cs index 30bbe4819ab..50844509f41 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchResponse.g.cs @@ -45,6 +45,7 @@ internal SubmitAsyncSearchResponse(Elastic.Clients.Elasticsearch.Serialization.J /// public System.DateTimeOffset? CompletionTime { get; set; } public System.DateTimeOffset? CompletionTimeInMillis { get; set; } + public Elastic.Clients.Elasticsearch.ErrorCause? Error { get; set; } /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/BulkRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/BulkRequest.g.cs index d0da2b9aacf..a4968fa4143 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/BulkRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/BulkRequest.g.cs @@ -127,6 +127,8 @@ public sealed partial class BulkRequestParameters : Elastic.Transport.RequestPar /// /// /// Bulk index or delete documents. +/// +/// /// Perform multiple index, create, delete, and update actions in a single request. /// This reduces overhead and can greatly increase indexing speed. /// @@ -247,6 +249,11 @@ public sealed partial class BulkRequestParameters : Elastic.Transport.RequestPar /// /// /// +/// Java: Check out co.elastic.clients.elasticsearch._helpers.bulk.BulkIngester +/// +/// +/// +/// /// .NET: Check out BulkAllObservable /// /// @@ -461,6 +468,8 @@ internal BulkRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructor /// /// /// Bulk index or delete documents. +/// +/// /// Perform multiple index, create, delete, and update actions in a single request. /// This reduces overhead and can greatly increase indexing speed. /// @@ -581,6 +590,11 @@ internal BulkRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructor /// /// /// +/// Java: Check out co.elastic.clients.elasticsearch._helpers.bulk.BulkIngester +/// +/// +/// +/// /// .NET: Check out BulkAllObservable /// /// @@ -945,6 +959,8 @@ public Elastic.Clients.Elasticsearch.BulkRequestDescriptor RequestConfiguration( /// /// /// Bulk index or delete documents. +/// +/// /// Perform multiple index, create, delete, and update actions in a single request. /// This reduces overhead and can greatly increase indexing speed. /// @@ -1065,6 +1081,11 @@ public Elastic.Clients.Elasticsearch.BulkRequestDescriptor RequestConfiguration( /// /// /// +/// Java: Check out co.elastic.clients.elasticsearch._helpers.bulk.BulkIngester +/// +/// +/// +/// /// .NET: Check out BulkAllObservable /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClearScrollRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClearScrollRequest.g.cs index 551db5d0dec..d14afa85909 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClearScrollRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClearScrollRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class ClearScrollRequestParameters : Elastic.Transport.Req /// /// /// Clear a scrolling search. +/// +/// /// Clear the search context and results for a scrolling search. /// /// @@ -72,6 +74,8 @@ internal ClearScrollRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// /// Clear a scrolling search. +/// +/// /// Clear the search context and results for a scrolling search. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClosePointInTimeRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClosePointInTimeRequest.g.cs index 792108d6d2d..3a5c1826f5e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClosePointInTimeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClosePointInTimeRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class ClosePointInTimeRequestParameters : Elastic.Transpor /// /// /// Close a point in time. +/// +/// /// A point in time must be opened explicitly before being used in search requests. /// The keep_alive parameter tells Elasticsearch how long it should persist. /// A point in time is automatically closed when the keep_alive period has elapsed. @@ -84,6 +86,8 @@ internal ClosePointInTimeRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// /// Close a point in time. +/// +/// /// A point in time must be opened explicitly before being used in search requests. /// The keep_alive parameter tells Elasticsearch how long it should persist. /// A point in time is automatically closed when the keep_alive period has elapsed. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/AllocationExplainRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/AllocationExplainRequest.g.cs index 1cd840acfe5..74d87454c35 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/AllocationExplainRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/AllocationExplainRequest.g.cs @@ -50,6 +50,8 @@ public sealed partial class AllocationExplainRequestParameters : Elastic.Transpo /// /// /// Explain the shard allocations. +/// +/// /// Get explanations for shard allocations in the cluster. /// This API accepts the current_node, index, primary and shard parameters in the request body or in query parameters, but not in both at the same time. /// For unassigned shards, it provides an explanation for why the shard is unassigned. @@ -138,6 +140,8 @@ internal AllocationExplainRequest(Elastic.Clients.Elasticsearch.Serialization.Js /// /// /// Explain the shard allocations. +/// +/// /// Get explanations for shard allocations in the cluster. /// This API accepts the current_node, index, primary and shard parameters in the request body or in query parameters, but not in both at the same time. /// For unassigned shards, it provides an explanation for why the shard is unassigned. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterInfoRequest.g.cs index 3e44f1b841e..51ca7257181 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterInfoRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class ClusterInfoRequestParameters : Elastic.Transport.Req /// /// /// Get cluster info. +/// +/// /// Returns basic information about the cluster. /// /// @@ -74,6 +76,8 @@ internal ClusterInfoRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// /// Get cluster info. +/// +/// /// Returns basic information about the cluster. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs index f298c4f22e4..4402f9ddc5a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs @@ -45,6 +45,8 @@ public sealed partial class ClusterStatsRequestParameters : Elastic.Transport.Re /// /// /// Get cluster statistics. +/// +/// /// Get basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// /// @@ -105,6 +107,8 @@ internal ClusterStatsRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// /// Get cluster statistics. +/// +/// /// Get basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs index 802dca9a737..d17945be45d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs @@ -45,6 +45,8 @@ public sealed partial class DeleteComponentTemplateRequestParameters : Elastic.T /// /// /// Delete component templates. +/// +/// /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// /// @@ -105,6 +107,8 @@ internal DeleteComponentTemplateRequest(Elastic.Clients.Elasticsearch.Serializat /// /// /// Delete component templates. +/// +/// /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteVotingConfigExclusionsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteVotingConfigExclusionsRequest.g.cs index 69be4c0fcb9..255482874d8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteVotingConfigExclusionsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteVotingConfigExclusionsRequest.g.cs @@ -48,6 +48,8 @@ public sealed partial class DeleteVotingConfigExclusionsRequestParameters : Elas /// /// /// Clear cluster voting config exclusions. +/// +/// /// Remove master-eligible nodes from the voting configuration exclusion list. /// /// @@ -101,6 +103,8 @@ internal DeleteVotingConfigExclusionsRequest(Elastic.Clients.Elasticsearch.Seria /// /// /// Clear cluster voting config exclusions. +/// +/// /// Remove master-eligible nodes from the voting configuration exclusion list. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs index e1f1e3678e0..8e20046a98b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs @@ -31,6 +31,7 @@ public sealed partial class ExistsComponentTemplateRequestParameters : Elastic.T /// Defaults to false, which means information is retrieved from the master node. /// /// + [System.Obsolete("Deprecated in '9.0.0'. This parameter has no effect, is now deprecated, and will be removed in a future version.")] public bool? Local { get => Q("local"); set => Q("local", value); } /// @@ -46,6 +47,8 @@ public sealed partial class ExistsComponentTemplateRequestParameters : Elastic.T /// /// /// Check component templates. +/// +/// /// Returns information about whether a particular component template exists. /// /// @@ -93,6 +96,7 @@ internal ExistsComponentTemplateRequest(Elastic.Clients.Elasticsearch.Serializat /// Defaults to false, which means information is retrieved from the master node. /// /// + [System.Obsolete("Deprecated in '9.0.0'. This parameter has no effect, is now deprecated, and will be removed in a future version.")] public bool? Local { get => Q("local"); set => Q("local", value); } /// @@ -108,6 +112,8 @@ internal ExistsComponentTemplateRequest(Elastic.Clients.Elasticsearch.Serializat /// /// /// Check component templates. +/// +/// /// Returns information about whether a particular component template exists. /// /// @@ -147,6 +153,7 @@ public Elastic.Clients.Elasticsearch.Cluster.ExistsComponentTemplateRequestDescr return this; } + [System.Obsolete("Deprecated in '9.0.0'. This parameter has no effect, is now deprecated, and will be removed in a future version.")] /// /// /// If true, the request retrieves information from the local node only. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs index 5bc384ee08c..de64af018ff 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs @@ -45,6 +45,7 @@ public sealed partial class GetComponentTemplateRequestParameters : Elastic.Tran /// If false, information is retrieved from the master node. /// /// + [System.Obsolete("Deprecated in '9.0.0'. This parameter has no effect, is now deprecated, and will be removed in a future version.")] public bool? Local { get => Q("local"); set => Q("local", value); } /// @@ -66,6 +67,8 @@ public sealed partial class GetComponentTemplateRequestParameters : Elastic.Tran /// /// /// Get component templates. +/// +/// /// Get information about component templates. /// /// @@ -127,6 +130,7 @@ internal GetComponentTemplateRequest(Elastic.Clients.Elasticsearch.Serialization /// If false, information is retrieved from the master node. /// /// + [System.Obsolete("Deprecated in '9.0.0'. This parameter has no effect, is now deprecated, and will be removed in a future version.")] public bool? Local { get => Q("local"); set => Q("local", value); } /// @@ -148,6 +152,8 @@ internal GetComponentTemplateRequest(Elastic.Clients.Elasticsearch.Serialization /// /// /// Get component templates. +/// +/// /// Get information about component templates. /// /// @@ -208,6 +214,7 @@ public Elastic.Clients.Elasticsearch.Cluster.GetComponentTemplateRequestDescript return this; } + [System.Obsolete("Deprecated in '9.0.0'. This parameter has no effect, is now deprecated, and will be removed in a future version.")] /// /// /// If true, the request retrieves information from the local node only. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PendingTasksRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PendingTasksRequest.g.cs index a2529554eb2..c00f71cff25 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PendingTasksRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PendingTasksRequest.g.cs @@ -45,6 +45,8 @@ public sealed partial class PendingTasksRequestParameters : Elastic.Transport.Re /// /// /// Get the pending cluster tasks. +/// +/// /// Get information about cluster-level changes (such as create index, update mapping, allocate or fail shard) that have not yet taken effect. /// /// @@ -100,6 +102,8 @@ internal PendingTasksRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// /// Get the pending cluster tasks. +/// +/// /// Get information about cluster-level changes (such as create index, update mapping, allocate or fail shard) that have not yet taken effect. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PostVotingConfigExclusionsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PostVotingConfigExclusionsRequest.g.cs index 60b2f7cff0a..3bd22f7f840 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PostVotingConfigExclusionsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PostVotingConfigExclusionsRequest.g.cs @@ -62,6 +62,8 @@ public sealed partial class PostVotingConfigExclusionsRequestParameters : Elasti /// /// /// Update voting configuration exclusions. +/// +/// /// Update the cluster voting config exclusions by node IDs or node names. /// By default, if there are more than three master-eligible nodes in the cluster and you remove fewer than half of the master-eligible nodes in the cluster at once, the voting configuration automatically shrinks. /// If you want to shrink the voting configuration to contain fewer than three nodes or to remove half or more of the master-eligible nodes in the cluster at once, use this API to remove departing nodes from the voting configuration manually. @@ -148,6 +150,8 @@ internal PostVotingConfigExclusionsRequest(Elastic.Clients.Elasticsearch.Seriali /// /// /// Update voting configuration exclusions. +/// +/// /// Update the cluster voting config exclusions by node IDs or node names. /// By default, if there are more than three master-eligible nodes in the cluster and you remove fewer than half of the master-eligible nodes in the cluster at once, the voting configuration automatically shrinks. /// If you want to shrink the voting configuration to contain fewer than three nodes or to remove half or more of the master-eligible nodes in the cluster at once, use this API to remove departing nodes from the voting configuration manually. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs index 494b035e6d0..f2bafdbf058 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs @@ -51,6 +51,8 @@ public sealed partial class PutComponentTemplateRequestParameters : Elastic.Tran /// /// /// Create or update a component template. +/// +/// /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// /// @@ -190,6 +192,8 @@ internal PutComponentTemplateRequest(Elastic.Clients.Elasticsearch.Serialization /// /// /// Create or update a component template. +/// +/// /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// /// @@ -464,6 +468,8 @@ public Elastic.Clients.Elasticsearch.Cluster.PutComponentTemplateRequestDescript /// /// /// Create or update a component template. +/// +/// /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CountRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CountRequest.g.cs index 99181f041b5..bc86de41c9f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CountRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CountRequest.g.cs @@ -146,6 +146,8 @@ public sealed partial class CountRequestParameters : Elastic.Transport.RequestPa /// /// /// Count search results. +/// +/// /// Get the number of documents matching a query. /// /// @@ -329,6 +331,8 @@ internal CountRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructo /// /// /// Count search results. +/// +/// /// Get the number of documents matching a query. /// /// @@ -661,6 +665,8 @@ public Elastic.Clients.Elasticsearch.CountRequestDescriptor RequestConfiguration /// /// /// Count search results. +/// +/// /// Get the number of documents matching a query. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowRequest.g.cs index ec7e5c0de96..f00ca38048f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowRequest.g.cs @@ -46,6 +46,8 @@ public sealed partial class FollowRequestParameters : Elastic.Transport.RequestP /// /// /// Create a follower. +/// +/// /// Create a cross-cluster replication follower index that follows a specific leader index. /// When the API returns, the follower index exists and cross-cluster replication starts replicating operations from the leader index to the follower index. /// @@ -227,6 +229,8 @@ internal FollowRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct /// /// /// Create a follower. +/// +/// /// Create a cross-cluster replication follower index that follows a specific leader index. /// When the API returns, the follower index exists and cross-cluster replication starts replicating operations from the leader index to the follower index. /// @@ -573,6 +577,8 @@ public Elastic.Clients.Elasticsearch.CrossClusterReplication.FollowRequestDescri /// /// /// Create a follower. +/// +/// /// Create a cross-cluster replication follower index that follows a specific leader index. /// When the API returns, the follower index exists and cross-cluster replication starts replicating operations from the leader index to the follower index. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ForgetFollowerRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ForgetFollowerRequest.g.cs index 0333825fb4f..4fa0d279c0e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ForgetFollowerRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ForgetFollowerRequest.g.cs @@ -36,6 +36,8 @@ public sealed partial class ForgetFollowerRequestParameters : Elastic.Transport. /// /// /// Forget a follower. +/// +/// /// Remove the cross-cluster replication follower retention leases from the leader. /// /// @@ -103,6 +105,8 @@ internal ForgetFollowerRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// /// Forget a follower. +/// +/// /// Remove the cross-cluster replication follower retention leases from the leader. /// /// @@ -242,6 +246,8 @@ public Elastic.Clients.Elasticsearch.CrossClusterReplication.ForgetFollowerReque /// /// /// Forget a follower. +/// +/// /// Remove the cross-cluster replication follower retention leases from the leader. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PutAutoFollowPatternRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PutAutoFollowPatternRequest.g.cs index aab7d3eec3e..63d9a43a2aa 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PutAutoFollowPatternRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PutAutoFollowPatternRequest.g.cs @@ -36,6 +36,8 @@ public sealed partial class PutAutoFollowPatternRequestParameters : Elastic.Tran /// /// /// Create or update auto-follow patterns. +/// +/// /// Create a collection of cross-cluster replication auto-follow patterns for a remote cluster. /// Newly created indices on the remote cluster that match any of the patterns are automatically configured as follower indices. /// Indices on the remote cluster that were created before the auto-follow pattern was created will not be auto-followed even if they match the pattern. @@ -209,6 +211,8 @@ internal PutAutoFollowPatternRequest(Elastic.Clients.Elasticsearch.Serialization /// /// /// Create or update auto-follow patterns. +/// +/// /// Create a collection of cross-cluster replication auto-follow patterns for a remote cluster. /// Newly created indices on the remote cluster that match any of the patterns are automatically configured as follower indices. /// Indices on the remote cluster that were created before the auto-follow pattern was created will not be auto-followed even if they match the pattern. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ResumeFollowRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ResumeFollowRequest.g.cs index c92ea623a24..a91fa3e0620 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ResumeFollowRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ResumeFollowRequest.g.cs @@ -36,6 +36,8 @@ public sealed partial class ResumeFollowRequestParameters : Elastic.Transport.Re /// /// /// Resume a follower. +/// +/// /// Resume a cross-cluster replication follower index that was paused. /// The follower index could have been paused with the pause follower API. /// Alternatively it could be paused due to replication that cannot be retried due to failures during following tasks. @@ -100,6 +102,8 @@ internal ResumeFollowRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// /// Resume a follower. +/// +/// /// Resume a cross-cluster replication follower index that was paused. /// The follower index could have been paused with the pause follower API. /// Alternatively it could be paused due to replication that cannot be retried due to failures during following tasks. @@ -266,6 +270,8 @@ public Elastic.Clients.Elasticsearch.CrossClusterReplication.ResumeFollowRequest /// /// /// Resume a follower. +/// +/// /// Resume a cross-cluster replication follower index that was paused. /// The follower index could have been paused with the pause follower API. /// Alternatively it could be paused due to replication that cannot be retried due to failures during following tasks. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteScriptRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteScriptRequest.g.cs index f77effddc01..d76b5ae385d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteScriptRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteScriptRequest.g.cs @@ -47,6 +47,8 @@ public sealed partial class DeleteScriptRequestParameters : Elastic.Transport.Re /// /// /// Delete a script or search template. +/// +/// /// Deletes a stored script or search template. /// /// @@ -109,6 +111,8 @@ internal DeleteScriptRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// /// Delete a script or search template. +/// +/// /// Deletes a stored script or search template. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/DeletePolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/DeletePolicyRequest.g.cs index f4edd54252a..281da499ac9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/DeletePolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/DeletePolicyRequest.g.cs @@ -36,6 +36,8 @@ public sealed partial class DeletePolicyRequestParameters : Elastic.Transport.Re /// /// /// Delete an enrich policy. +/// +/// /// Deletes an existing enrich policy and its enrich index. /// /// @@ -87,6 +89,8 @@ internal DeletePolicyRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// /// Delete an enrich policy. +/// +/// /// Deletes an existing enrich policy and its enrich index. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsRequest.g.cs index 26a0d2d669d..45af2d75c0d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsRequest.g.cs @@ -36,6 +36,8 @@ public sealed partial class EnrichStatsRequestParameters : Elastic.Transport.Req /// /// /// Get enrich stats. +/// +/// /// Returns enrich coordinator statistics and information about enrich policies that are currently executing. /// /// @@ -77,6 +79,8 @@ internal EnrichStatsRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// /// Get enrich stats. +/// +/// /// Returns enrich coordinator statistics and information about enrich policies that are currently executing. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs index 75459d21d78..b41afff9355 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs @@ -43,6 +43,8 @@ public sealed partial class ExecutePolicyRequestParameters : Elastic.Transport.R /// /// /// Run an enrich policy. +/// +/// /// Create the enrich index for an existing enrich policy. /// /// @@ -101,6 +103,8 @@ internal ExecutePolicyRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// /// /// Run an enrich policy. +/// +/// /// Create the enrich index for an existing enrich policy. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/GetPolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/GetPolicyRequest.g.cs index ae95daef120..f92b3685241 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/GetPolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/GetPolicyRequest.g.cs @@ -36,6 +36,8 @@ public sealed partial class GetPolicyRequestParameters : Elastic.Transport.Reque /// /// /// Get an enrich policy. +/// +/// /// Returns information about an enrich policy. /// /// @@ -88,6 +90,8 @@ internal GetPolicyRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// /// /// Get an enrich policy. +/// +/// /// Returns information about an enrich policy. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/PutPolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/PutPolicyRequest.g.cs index 76c218766c9..e861394fd8d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/PutPolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/PutPolicyRequest.g.cs @@ -36,6 +36,8 @@ public sealed partial class PutPolicyRequestParameters : Elastic.Transport.Reque /// /// /// Create an enrich policy. +/// +/// /// Creates an enrich policy. /// /// @@ -108,6 +110,8 @@ internal PutPolicyRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// /// /// Create an enrich policy. +/// +/// /// Creates an enrich policy. /// /// @@ -310,6 +314,8 @@ public Elastic.Clients.Elasticsearch.Enrich.PutPolicyRequestDescriptor RequestCo /// /// /// Create an enrich policy. +/// +/// /// Creates an enrich policy. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlDeleteRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlDeleteRequest.g.cs index 343504c4034..eb290517ddd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlDeleteRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlDeleteRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class EqlDeleteRequestParameters : Elastic.Transport.Reque /// /// /// Delete an async EQL search. +/// +/// /// Delete an async EQL search or a stored synchronous EQL search. /// The API also deletes results for the search. /// @@ -77,6 +79,8 @@ internal EqlDeleteRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// /// /// Delete an async EQL search. +/// +/// /// Delete an async EQL search or a stored synchronous EQL search. /// The API also deletes results for the search. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlGetRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlGetRequest.g.cs index cce053f4805..a8e57ac691a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlGetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlGetRequest.g.cs @@ -45,6 +45,8 @@ public sealed partial class EqlGetRequestParameters : Elastic.Transport.RequestP /// /// /// Get async EQL search results. +/// +/// /// Get the current status and available results for an async EQL search or a stored synchronous EQL search. /// /// @@ -105,6 +107,8 @@ internal EqlGetRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct /// /// /// Get async EQL search results. +/// +/// /// Get the current status and available results for an async EQL search or a stored synchronous EQL search. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlSearchRequest.g.cs index a58336f781b..cbaae386d4b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlSearchRequest.g.cs @@ -57,6 +57,8 @@ public sealed partial class EqlSearchRequestParameters : Elastic.Transport.Reque /// /// /// Get EQL search results. +/// +/// /// Returns search results for an Event Query Language (EQL) query. /// EQL assumes each document in a data stream or index corresponds to an event. /// @@ -96,7 +98,7 @@ internal EqlSearchRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// /// - /// The name of the index to scope the operation + /// Comma-separated list of index names to scope the operation /// /// public @@ -220,7 +222,7 @@ internal EqlSearchRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// /// - /// Field containing event timestamp. Default "@timestamp" + /// Field containing event timestamp. /// /// public Elastic.Clients.Elasticsearch.Field? TimestampField { get; set; } @@ -230,6 +232,8 @@ internal EqlSearchRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// /// /// Get EQL search results. +/// +/// /// Returns search results for an Event Query Language (EQL) query. /// EQL assumes each document in a data stream or index corresponds to an event. /// @@ -262,7 +266,7 @@ public EqlSearchRequestDescriptor() /// /// - /// The name of the index to scope the operation + /// Comma-separated list of index names to scope the operation /// /// public Elastic.Clients.Elasticsearch.Eql.EqlSearchRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Indices value) @@ -646,7 +650,7 @@ public Elastic.Clients.Elasticsearch.Eql.EqlSearchRequestDescriptor TiebreakerFi /// /// - /// Field containing event timestamp. Default "@timestamp" + /// Field containing event timestamp. /// /// public Elastic.Clients.Elasticsearch.Eql.EqlSearchRequestDescriptor TimestampField(Elastic.Clients.Elasticsearch.Field? value) @@ -657,7 +661,7 @@ public Elastic.Clients.Elasticsearch.Eql.EqlSearchRequestDescriptor TimestampFie /// /// - /// Field containing event timestamp. Default "@timestamp" + /// Field containing event timestamp. /// /// public Elastic.Clients.Elasticsearch.Eql.EqlSearchRequestDescriptor TimestampField(System.Linq.Expressions.Expression> value) @@ -726,6 +730,8 @@ public Elastic.Clients.Elasticsearch.Eql.EqlSearchRequestDescriptor RequestConfi /// /// /// Get EQL search results. +/// +/// /// Returns search results for an Event Query Language (EQL) query. /// EQL assumes each document in a data stream or index corresponds to an event. /// @@ -759,7 +765,7 @@ public EqlSearchRequestDescriptor() /// /// - /// The name of the index to scope the operation + /// Comma-separated list of index names to scope the operation /// /// public Elastic.Clients.Elasticsearch.Eql.EqlSearchRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Indices value) @@ -1089,7 +1095,7 @@ public Elastic.Clients.Elasticsearch.Eql.EqlSearchRequestDescriptor T /// /// - /// Field containing event timestamp. Default "@timestamp" + /// Field containing event timestamp. /// /// public Elastic.Clients.Elasticsearch.Eql.EqlSearchRequestDescriptor TimestampField(Elastic.Clients.Elasticsearch.Field? value) @@ -1100,7 +1106,7 @@ public Elastic.Clients.Elasticsearch.Eql.EqlSearchRequestDescriptor T /// /// - /// Field containing event timestamp. Default "@timestamp" + /// Field containing event timestamp. /// /// public Elastic.Clients.Elasticsearch.Eql.EqlSearchRequestDescriptor TimestampField(System.Linq.Expressions.Expression> value) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/GetEqlStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/GetEqlStatusRequest.g.cs index 6d96762ff0f..257f94ff86b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/GetEqlStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/GetEqlStatusRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class GetEqlStatusRequestParameters : Elastic.Transport.Re /// /// /// Get the async EQL status. +/// +/// /// Get the current status for an async EQL search or a stored synchronous EQL search without returning results. /// /// @@ -74,6 +76,8 @@ internal GetEqlStatusRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// /// Get the async EQL status. +/// +/// /// Get the current status for an async EQL search or a stored synchronous EQL search without returning results. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/AsyncQueryDeleteRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/AsyncQueryDeleteRequest.g.cs index 0f03093aeee..34f6c32e3d9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/AsyncQueryDeleteRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/AsyncQueryDeleteRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class AsyncQueryDeleteRequestParameters : Elastic.Transpor /// /// /// Delete an async ES|QL query. +/// +/// /// If the query is still running, it is cancelled. /// Otherwise, the stored results are deleted. /// @@ -92,6 +94,8 @@ internal AsyncQueryDeleteRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// /// Delete an async ES|QL query. +/// +/// /// If the query is still running, it is cancelled. /// Otherwise, the stored results are deleted. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/AsyncQueryGetRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/AsyncQueryGetRequest.g.cs index a18aa09a622..d4904cefd82 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/AsyncQueryGetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/AsyncQueryGetRequest.g.cs @@ -62,6 +62,8 @@ public sealed partial class AsyncQueryGetRequestParameters : Elastic.Transport.R /// /// /// Get async ES|QL query results. +/// +/// /// Get the current status and available results or stored results for an ES|QL asynchronous query. /// If the Elasticsearch security features are enabled, only the user who first submitted the ES|QL query can retrieve the results using this API. /// @@ -142,6 +144,8 @@ internal AsyncQueryGetRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// /// /// Get async ES|QL query results. +/// +/// /// Get the current status and available results or stored results for an ES|QL asynchronous query. /// If the Elasticsearch security features are enabled, only the user who first submitted the ES|QL query can retrieve the results using this API. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/AsyncQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/AsyncQueryRequest.g.cs index 8b71fb92b2d..ed2df6cf468 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/AsyncQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/AsyncQueryRequest.g.cs @@ -70,6 +70,8 @@ public sealed partial class AsyncQueryRequestParameters : Elastic.Transport.Requ /// /// /// Run an async ES|QL query. +/// +/// /// Asynchronously run an ES|QL (Elasticsearch query language) query, monitor its progress, and retrieve results when they become available. /// /// @@ -234,6 +236,8 @@ internal AsyncQueryRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// /// Run an async ES|QL query. +/// +/// /// Asynchronously run an ES|QL (Elasticsearch query language) query, monitor its progress, and retrieve results when they become available. /// /// @@ -519,6 +523,8 @@ public Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequestDescriptor RequestCon /// /// /// Run an async ES|QL query. +/// +/// /// Asynchronously run an ES|QL (Elasticsearch query language) query, monitor its progress, and retrieve results when they become available. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/EsqlQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/EsqlQueryRequest.g.cs index ef919d88834..37c94ab9cf0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/EsqlQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/EsqlQueryRequest.g.cs @@ -65,6 +65,8 @@ public sealed partial class EsqlQueryRequestParameters : Elastic.Transport.Reque /// /// /// Run an ES|QL query. +/// +/// /// Get search results for an ES|QL (Elasticsearch query language) query. /// /// @@ -193,6 +195,8 @@ internal EsqlQueryRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// /// /// Run an ES|QL query. +/// +/// /// Get search results for an ES|QL (Elasticsearch query language) query. /// /// @@ -430,6 +434,8 @@ public Elastic.Clients.Elasticsearch.Esql.EsqlQueryRequestDescriptor RequestConf /// /// /// Run an ES|QL query. +/// +/// /// Get search results for an ES|QL (Elasticsearch query language) query. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/GetEsqlQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/GetEsqlQueryRequest.g.cs index ceac79c6188..ca3e97fc0c0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/GetEsqlQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/GetEsqlQueryRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class GetEsqlQueryRequestParameters : Elastic.Transport.Re /// /// /// Get a specific running ES|QL query information. +/// +/// /// Returns an object extended information about a running ES|QL query. /// /// @@ -74,6 +76,8 @@ internal GetEsqlQueryRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// /// Get a specific running ES|QL query information. +/// +/// /// Returns an object extended information about a running ES|QL query. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/ListQueriesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/ListQueriesRequest.g.cs index 635f38e0483..a97ed16fe3a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/ListQueriesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/ListQueriesRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class ListQueriesRequestParameters : Elastic.Transport.Req /// /// /// Get running ES|QL queries information. +/// +/// /// Returns an object containing IDs and other information about the running ES|QL queries. /// /// @@ -64,6 +66,8 @@ internal ListQueriesRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// /// Get running ES|QL queries information. +/// +/// /// Returns an object containing IDs and other information about the running ES|QL queries. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExplainRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExplainRequest.g.cs index 811c45e11fe..8182386d5b3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExplainRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExplainRequest.g.cs @@ -124,6 +124,8 @@ public sealed partial class ExplainRequestParameters : Elastic.Transport.Request /// /// /// Explain a document match result. +/// +/// /// Get information about why a specific document matches, or doesn't match, a query. /// It computes a score explanation for a query and a specific document. /// @@ -283,6 +285,8 @@ internal ExplainRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// /// /// Explain a document match result. +/// +/// /// Get information about why a specific document matches, or doesn't match, a query. /// It computes a score explanation for a query and a specific document. /// @@ -624,6 +628,8 @@ public Elastic.Clients.Elasticsearch.ExplainRequestDescriptor RequestConfigurati /// /// /// Explain a document match result. +/// +/// /// Get information about why a specific document matches, or doesn't match, a query. /// It computes a score explanation for a query and a specific document. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Features/GetFeaturesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Features/GetFeaturesRequest.g.cs index 25933cc7443..709a8da9b6c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Features/GetFeaturesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Features/GetFeaturesRequest.g.cs @@ -36,6 +36,8 @@ public sealed partial class GetFeaturesRequestParameters : Elastic.Transport.Req /// /// /// Get the features. +/// +/// /// Get a list of features that can be included in snapshots using the feature_states field when creating a snapshot. /// You can use this API to determine which feature states to include when taking a snapshot. /// By default, all feature states are included in a snapshot if that snapshot includes the global state, or none if it does not. @@ -87,6 +89,8 @@ internal GetFeaturesRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// /// Get the features. +/// +/// /// Get a list of features that can be included in snapshots using the feature_states field when creating a snapshot. /// You can use this API to determine which feature states to include when taking a snapshot. /// By default, all feature states are included in a snapshot if that snapshot includes the global state, or none if it does not. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Features/ResetFeaturesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Features/ResetFeaturesRequest.g.cs index bc39a39ad2d..df544e9db8a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Features/ResetFeaturesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Features/ResetFeaturesRequest.g.cs @@ -36,6 +36,8 @@ public sealed partial class ResetFeaturesRequestParameters : Elastic.Transport.R /// /// /// Reset the features. +/// +/// /// Clear all of the state information stored in system indices by Elasticsearch features, including the security and machine learning indices. /// /// @@ -98,6 +100,8 @@ internal ResetFeaturesRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// /// /// Reset the features. +/// +/// /// Clear all of the state information stored in system indices by Elasticsearch features, including the security and machine learning indices. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptRequest.g.cs index e5152b61c31..726b98cfc4f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptRequest.g.cs @@ -38,6 +38,8 @@ public sealed partial class GetScriptRequestParameters : Elastic.Transport.Reque /// /// /// Get a script or search template. +/// +/// /// Retrieves a stored script or search template. /// /// @@ -91,6 +93,8 @@ internal GetScriptRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// /// /// Get a script or search template. +/// +/// /// Retrieves a stored script or search template. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Graph/ExploreRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Graph/ExploreRequest.g.cs index d8f888f508f..08f7f295d68 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Graph/ExploreRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Graph/ExploreRequest.g.cs @@ -45,6 +45,8 @@ public sealed partial class ExploreRequestParameters : Elastic.Transport.Request /// /// /// Explore graph analytics. +/// +/// /// Extract and summarize information about the documents and terms in an Elasticsearch data stream or index. /// The easiest way to understand the behavior of this API is to use the Graph UI to explore connections. /// An initial request to the _explore API contains a seed query that identifies the documents of interest and specifies the fields that define the vertices and connections you want to include in the graph. @@ -137,6 +139,8 @@ internal ExploreRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// /// /// Explore graph analytics. +/// +/// /// Extract and summarize information about the documents and terms in an Elasticsearch data stream or index. /// The easiest way to understand the behavior of this API is to use the Graph UI to explore connections. /// An initial request to the _explore API contains a seed query that identifies the documents of interest and specifies the fields that define the vertices and connections you want to include in the graph. @@ -412,6 +416,8 @@ public Elastic.Clients.Elasticsearch.Graph.ExploreRequestDescriptor RequestConfi /// /// /// Explore graph analytics. +/// +/// /// Extract and summarize information about the documents and terms in an Elasticsearch data stream or index. /// The easiest way to understand the behavior of this API is to use the Graph UI to explore connections. /// An initial request to the _explore API contains a seed query that identifies the documents of interest and specifies the fields that define the vertices and connections you want to include in the graph. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/HealthReportRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/HealthReportRequest.g.cs index 991282e8bca..c15c72a056a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/HealthReportRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/HealthReportRequest.g.cs @@ -50,6 +50,8 @@ public sealed partial class HealthReportRequestParameters : Elastic.Transport.Re /// /// /// Get the cluster health. +/// +/// /// Get a report with the health status of an Elasticsearch cluster. /// The report contains a list of indicators that compose Elasticsearch functionality. /// @@ -136,6 +138,8 @@ internal HealthReportRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// /// Get the cluster health. +/// +/// /// Get a report with the health status of an Elasticsearch cluster. /// The report contains a list of indicators that compose Elasticsearch functionality. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/DeleteLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/DeleteLifecycleRequest.g.cs index 35338e8d136..c4088d360c6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/DeleteLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/DeleteLifecycleRequest.g.cs @@ -43,6 +43,8 @@ public sealed partial class DeleteLifecycleRequestParameters : Elastic.Transport /// /// /// Delete a lifecycle policy. +/// +/// /// You cannot delete policies that are currently in use. If the policy is being used to manage any indices, the request fails and returns an error. /// /// @@ -101,6 +103,8 @@ internal DeleteLifecycleRequest(Elastic.Clients.Elasticsearch.Serialization.Json /// /// /// Delete a lifecycle policy. +/// +/// /// You cannot delete policies that are currently in use. If the policy is being used to manage any indices, the request fails and returns an error. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MigrateToDataTiersRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MigrateToDataTiersRequest.g.cs index 97280a87f47..6b97afbe28c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MigrateToDataTiersRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MigrateToDataTiersRequest.g.cs @@ -46,6 +46,8 @@ public sealed partial class MigrateToDataTiersRequestParameters : Elastic.Transp /// /// /// Migrate to data tiers routing. +/// +/// /// Switch the indices, ILM policies, and legacy, composable, and component templates from using custom node attributes and attribute-based allocation filters to using data tiers. /// Optionally, delete one legacy index template. /// Using node roles enables ILM to automatically move the indices between data tiers. @@ -126,6 +128,8 @@ internal MigrateToDataTiersRequest(Elastic.Clients.Elasticsearch.Serialization.J /// /// /// Migrate to data tiers routing. +/// +/// /// Switch the indices, ILM policies, and legacy, composable, and component templates from using custom node attributes and attribute-based allocation filters to using data tiers. /// Optionally, delete one legacy index template. /// Using node roles enables ILM to automatically move the indices between data tiers. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MoveToStepRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MoveToStepRequest.g.cs index 52804341d85..1a1fd66f01d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MoveToStepRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MoveToStepRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class MoveToStepRequestParameters : Elastic.Transport.Requ /// /// /// Move to a lifecycle step. +/// +/// /// Manually move an index into a specific step in the lifecycle policy and run that step. /// /// @@ -119,6 +121,8 @@ internal MoveToStepRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// /// Move to a lifecycle step. +/// +/// /// Manually move an index into a specific step in the lifecycle policy and run that step. /// /// @@ -272,6 +276,8 @@ public Elastic.Clients.Elasticsearch.IndexLifecycleManagement.MoveToStepRequestD /// /// /// Move to a lifecycle step. +/// +/// /// Manually move an index into a specific step in the lifecycle policy and run that step. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/PutLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/PutLifecycleRequest.g.cs index d3cbd38e036..d621d40b71d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/PutLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/PutLifecycleRequest.g.cs @@ -43,6 +43,8 @@ public sealed partial class PutLifecycleRequestParameters : Elastic.Transport.Re /// /// /// Create or update a lifecycle policy. +/// +/// /// If the specified policy exists, it is replaced and the policy version is incremented. /// /// @@ -105,6 +107,8 @@ internal PutLifecycleRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// /// Create or update a lifecycle policy. +/// +/// /// If the specified policy exists, it is replaced and the policy version is incremented. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/RemovePolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/RemovePolicyRequest.g.cs index a029ae73e31..16422c1c5bb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/RemovePolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/RemovePolicyRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class RemovePolicyRequestParameters : Elastic.Transport.Re /// /// /// Remove policies from an index. +/// +/// /// Remove the assigned lifecycle policies from an index or a data stream's backing indices. /// It also stops managing the indices. /// @@ -75,6 +77,8 @@ internal RemovePolicyRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// /// Remove policies from an index. +/// +/// /// Remove the assigned lifecycle policies from an index or a data stream's backing indices. /// It also stops managing the indices. /// @@ -168,6 +172,8 @@ public Elastic.Clients.Elasticsearch.IndexLifecycleManagement.RemovePolicyReques /// /// /// Remove policies from an index. +/// +/// /// Remove the assigned lifecycle policies from an index or a data stream's backing indices. /// It also stops managing the indices. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/RetryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/RetryRequest.g.cs index 34733028a98..31f51aad783 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/RetryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/RetryRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class RetryRequestParameters : Elastic.Transport.RequestPa /// /// /// Retry a policy. +/// +/// /// Retry running the lifecycle policy for an index that is in the ERROR step. /// The API sets the policy back to the step where the error occurred and runs the step. /// Use the explain lifecycle state API to determine whether an index is in the ERROR step. @@ -76,6 +78,8 @@ internal RetryRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructo /// /// /// Retry a policy. +/// +/// /// Retry running the lifecycle policy for an index that is in the ERROR step. /// The API sets the policy back to the step where the error occurred and runs the step. /// Use the explain lifecycle state API to determine whether an index is in the ERROR step. @@ -170,6 +174,8 @@ public Elastic.Clients.Elasticsearch.IndexLifecycleManagement.RetryRequestDescri /// /// /// Retry a policy. +/// +/// /// Retry running the lifecycle policy for an index that is in the ERROR step. /// The API sets the policy back to the step where the error occurred and runs the step. /// Use the explain lifecycle state API to determine whether an index is in the ERROR step. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/StartIlmRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/StartIlmRequest.g.cs index 1a98c3b398e..3216a660339 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/StartIlmRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/StartIlmRequest.g.cs @@ -43,6 +43,8 @@ public sealed partial class StartIlmRequestParameters : Elastic.Transport.Reques /// /// /// Start the ILM plugin. +/// +/// /// Start the index lifecycle management plugin if it is currently stopped. /// ILM is started automatically when the cluster is formed. /// Restarting ILM is necessary only when it has been stopped using the stop ILM API. @@ -93,6 +95,8 @@ internal StartIlmRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// /// /// Start the ILM plugin. +/// +/// /// Start the index lifecycle management plugin if it is currently stopped. /// ILM is started automatically when the cluster is formed. /// Restarting ILM is necessary only when it has been stopped using the stop ILM API. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/StopIlmRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/StopIlmRequest.g.cs index 1797bc3230f..dfe4f8335b8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/StopIlmRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/StopIlmRequest.g.cs @@ -43,6 +43,8 @@ public sealed partial class StopIlmRequestParameters : Elastic.Transport.Request /// /// /// Stop the ILM plugin. +/// +/// /// Halt all lifecycle management operations and stop the index lifecycle management plugin. /// This is useful when you are performing maintenance on the cluster and need to prevent ILM from performing any actions on your indices. /// @@ -96,6 +98,8 @@ internal StopIlmRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// /// /// Stop the ILM plugin. +/// +/// /// Halt all lifecycle management operations and stop the index lifecycle management plugin. /// This is useful when you are performing maintenance on the cluster and need to prevent ILM from performing any actions on your indices. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs index 79e6a584a5b..0f6b329e53a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class AnalyzeIndexRequestParameters : Elastic.Transport.Re /// /// /// Get tokens from text analysis. +/// +/// /// The analyze API performs analysis on a text string and returns the resulting tokens. /// /// @@ -149,6 +151,8 @@ internal AnalyzeIndexRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// /// Get tokens from text analysis. +/// +/// /// The analyze API performs analysis on a text string and returns the resulting tokens. /// /// @@ -459,6 +463,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.AnalyzeIndexRequestDescript /// /// /// Get tokens from text analysis. +/// +/// /// The analyze API performs analysis on a text string and returns the resulting tokens. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ClearCacheRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ClearCacheRequest.g.cs index da6dc50b133..43773ae5359 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ClearCacheRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ClearCacheRequest.g.cs @@ -82,6 +82,8 @@ public sealed partial class ClearCacheRequestParameters : Elastic.Transport.Requ /// /// /// Clear the cache. +/// +/// /// Clear the cache of one or more indices. /// For data streams, the API clears the caches of the stream's backing indices. /// @@ -187,6 +189,8 @@ internal ClearCacheRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// /// Clear the cache. +/// +/// /// Clear the cache of one or more indices. /// For data streams, the API clears the caches of the stream's backing indices. /// @@ -396,6 +400,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.ClearCacheRequestDescriptor /// /// /// Clear the cache. +/// +/// /// Clear the cache of one or more indices. /// For data streams, the API clears the caches of the stream's backing indices. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloneIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloneIndexRequest.g.cs index 2ebc1ad9705..1efba48c759 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloneIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloneIndexRequest.g.cs @@ -53,6 +53,8 @@ public sealed partial class CloneIndexRequestParameters : Elastic.Transport.Requ /// /// /// Clone an index. +/// +/// /// Clone an existing index into a new index. /// Each original primary shard is cloned into a new primary shard in the new index. /// @@ -231,6 +233,8 @@ internal CloneIndexRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// /// Clone an index. +/// +/// /// Clone an existing index into a new index. /// Each original primary shard is cloned into a new primary shard in the new index. /// @@ -595,6 +599,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.CloneIndexRequestDescriptor /// /// /// Clone an index. +/// +/// /// Clone an existing index into a new index. /// Each original primary shard is cloned into a new primary shard in the new index. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs index cf1a7e53371..f70605d231a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs @@ -77,6 +77,8 @@ public sealed partial class CloseIndexRequestParameters : Elastic.Transport.Requ /// /// /// Close an index. +/// +/// /// A closed index is blocked for read or write operations and does not allow all operations that opened indices allow. /// It is not possible to index documents or to search for documents in a closed index. /// Closed indices do not have to maintain internal data structures for indexing or searching documents, which results in a smaller overhead on the cluster. @@ -189,6 +191,8 @@ internal CloseIndexRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// /// Close an index. +/// +/// /// A closed index is blocked for read or write operations and does not allow all operations that opened indices allow. /// It is not possible to index documents or to search for documents in a closed index. /// Closed indices do not have to maintain internal data structures for indexing or searching documents, which results in a smaller overhead on the cluster. @@ -386,6 +390,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.CloseIndexRequestDescriptor /// /// /// Close an index. +/// +/// /// A closed index is blocked for read or write operations and does not allow all operations that opened indices allow. /// It is not possible to index documents or to search for documents in a closed index. /// Closed indices do not have to maintain internal data structures for indexing or searching documents, which results in a smaller overhead on the cluster. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs index 4026ad15f5e..5d5251908ae 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs @@ -53,6 +53,8 @@ public sealed partial class CreateIndexRequestParameters : Elastic.Transport.Req /// /// /// Create an index. +/// +/// /// You can use the create index API to add a new index to an Elasticsearch cluster. /// When creating an index, you can specify the following: /// @@ -231,6 +233,8 @@ internal CreateIndexRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// /// Create an index. +/// +/// /// You can use the create index API to add a new index to an Elasticsearch cluster. /// When creating an index, you can specify the following: /// @@ -687,6 +691,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.CreateIndexRequestDescripto /// /// /// Create an index. +/// +/// /// You can use the create index API to add a new index to an Elasticsearch cluster. /// When creating an index, you can specify the following: /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs index 8fbeff5b09f..761397643eb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs @@ -45,6 +45,8 @@ public sealed partial class DeleteAliasRequestParameters : Elastic.Transport.Req /// /// /// Delete an alias. +/// +/// /// Removes a data stream or index from an alias. /// /// @@ -118,6 +120,8 @@ internal DeleteAliasRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// /// Delete an alias. +/// +/// /// Removes a data stream or index from an alias. /// /// @@ -247,6 +251,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.DeleteAliasRequestDescripto /// /// /// Delete an alias. +/// +/// /// Removes a data stream or index from an alias. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs index 9688c73b9b6..17c76fd324a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs @@ -50,6 +50,8 @@ public sealed partial class DeleteDataLifecycleRequestParameters : Elastic.Trans /// /// /// Delete data stream lifecycles. +/// +/// /// Removes the data stream lifecycle from a data stream, rendering it not managed by the data stream lifecycle. /// /// @@ -115,6 +117,8 @@ internal DeleteDataLifecycleRequest(Elastic.Clients.Elasticsearch.Serialization. /// /// /// Delete data stream lifecycles. +/// +/// /// Removes the data stream lifecycle from a data stream, rendering it not managed by the data stream lifecycle. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataStreamOptionsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataStreamOptionsRequest.g.cs index 50050a53955..a2e50d9017f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataStreamOptionsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataStreamOptionsRequest.g.cs @@ -50,6 +50,8 @@ public sealed partial class DeleteDataStreamOptionsRequestParameters : Elastic.T /// /// /// Delete data stream options. +/// +/// /// Removes the data stream options from a data stream. /// /// @@ -115,6 +117,8 @@ internal DeleteDataStreamOptionsRequest(Elastic.Clients.Elasticsearch.Serializat /// /// /// Delete data stream options. +/// +/// /// Removes the data stream options from a data stream. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs index e9c11b3f5fc..d1ebd2150d4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs @@ -43,6 +43,8 @@ public sealed partial class DeleteDataStreamRequestParameters : Elastic.Transpor /// /// /// Delete data streams. +/// +/// /// Deletes one or more data streams and their backing indices. /// /// @@ -101,6 +103,8 @@ internal DeleteDataStreamRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// /// Delete data streams. +/// +/// /// Deletes one or more data streams and their backing indices. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs index 67a5c2ef6cc..ace6337443c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs @@ -69,6 +69,8 @@ public sealed partial class DeleteIndexRequestParameters : Elastic.Transport.Req /// /// /// Delete indices. +/// +/// /// Deleting an index deletes its documents, shards, and metadata. /// It does not delete related Kibana components, such as data views, visualizations, or dashboards. /// @@ -162,6 +164,8 @@ internal DeleteIndexRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// /// Delete indices. +/// +/// /// Deleting an index deletes its documents, shards, and metadata. /// It does not delete related Kibana components, such as data views, visualizations, or dashboards. /// @@ -336,6 +340,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.DeleteIndexRequestDescripto /// /// /// Delete indices. +/// +/// /// Deleting an index deletes its documents, shards, and metadata. /// It does not delete related Kibana components, such as data views, visualizations, or dashboards. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs index 8099ab20ee3..ad6eabefaa8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs @@ -43,6 +43,8 @@ public sealed partial class DeleteIndexTemplateRequestParameters : Elastic.Trans /// /// /// Delete an index template. +/// +/// /// The provided <index-template> may contain multiple template names separated by a comma. If multiple template /// names are specified then there is no wildcard support and the provided names should match completely with /// existing templates. @@ -103,6 +105,8 @@ internal DeleteIndexTemplateRequest(Elastic.Clients.Elasticsearch.Serialization. /// /// /// Delete an index template. +/// +/// /// The provided <index-template> may contain multiple template names separated by a comma. If multiple template /// names are specified then there is no wildcard support and the provided names should match completely with /// existing templates. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteTemplateRequest.g.cs index 584456a638c..4d5ce065a07 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteTemplateRequest.g.cs @@ -45,6 +45,8 @@ public sealed partial class DeleteTemplateRequestParameters : Elastic.Transport. /// /// /// Delete a legacy index template. +/// +/// /// IMPORTANT: This documentation is about legacy index templates, which are deprecated and will be replaced by the composable templates introduced in Elasticsearch 7.8. /// /// @@ -106,6 +108,8 @@ internal DeleteTemplateRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// /// Delete a legacy index template. +/// +/// /// IMPORTANT: This documentation is about legacy index templates, which are deprecated and will be replaced by the composable templates introduced in Elasticsearch 7.8. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DiskUsageRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DiskUsageRequest.g.cs index f07d836f6cd..f396cfad4e3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DiskUsageRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DiskUsageRequest.g.cs @@ -70,6 +70,8 @@ public sealed partial class DiskUsageRequestParameters : Elastic.Transport.Reque /// /// /// Analyze the index disk usage. +/// +/// /// Analyze the disk usage of each field of an index or data stream. /// This API might not support indices created in previous Elasticsearch versions. /// The result of a small index can be inaccurate as some parts of an index might not be analyzed by the API. @@ -166,6 +168,8 @@ internal DiskUsageRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// /// /// Analyze the index disk usage. +/// +/// /// Analyze the disk usage of each field of an index or data stream. /// This API might not support indices created in previous Elasticsearch versions. /// The result of a small index can be inaccurate as some parts of an index might not be analyzed by the API. @@ -343,6 +347,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.DiskUsageRequestDescriptor /// /// /// Analyze the index disk usage. +/// +/// /// Analyze the disk usage of each field of an index or data stream. /// This API might not support indices created in previous Elasticsearch versions. /// The result of a small index can be inaccurate as some parts of an index might not be analyzed by the API. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DownsampleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DownsampleRequest.g.cs index f5d1361a812..87d27568c50 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DownsampleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DownsampleRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class DownsampleRequestParameters : Elastic.Transport.Requ /// /// /// Downsample an index. +/// +/// /// Aggregate a time series (TSDS) index and store pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// For example, a TSDS index that contains metrics sampled every 10 seconds can be downsampled to an hourly index. /// All documents within an hour interval are summarized and stored as a single document in the downsample index. @@ -104,6 +106,8 @@ internal DownsampleRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// /// Downsample an index. +/// +/// /// Aggregate a time series (TSDS) index and store pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// For example, a TSDS index that contains metrics sampled every 10 seconds can be downsampled to an hourly index. /// All documents within an hour interval are summarized and stored as a single document in the downsample index. @@ -228,6 +232,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.DownsampleRequestDescriptor /// /// /// Downsample an index. +/// +/// /// Aggregate a time series (TSDS) index and store pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// For example, a TSDS index that contains metrics sampled every 10 seconds can be downsampled to an hourly index. /// All documents within an hour interval are summarized and stored as a single document in the downsample index. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsRequest.g.cs index 709b329cc44..53415dc5b51 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsRequest.g.cs @@ -74,6 +74,8 @@ public sealed partial class ExistsRequestParameters : Elastic.Transport.RequestP /// /// /// Check indices. +/// +/// /// Check if one or more indices, index aliases, or data streams exist. /// /// @@ -163,6 +165,8 @@ internal ExistsRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct /// /// /// Check indices. +/// +/// /// Check if one or more indices, index aliases, or data streams exist. /// /// @@ -337,6 +341,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.ExistsRequestDescriptor Req /// /// /// Check indices. +/// +/// /// Check if one or more indices, index aliases, or data streams exist. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsTemplateRequest.g.cs index 886289e29e1..4ac1300d047 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsTemplateRequest.g.cs @@ -37,6 +37,7 @@ public sealed partial class ExistsTemplateRequestParameters : Elastic.Transport. /// Indicates whether to get information from the local node only. /// /// + [System.Obsolete("Deprecated in '9.0.0'. This parameter has no effect, is now deprecated, and will be removed in a future version.")] public bool? Local { get => Q("local"); set => Q("local", value); } /// @@ -52,6 +53,8 @@ public sealed partial class ExistsTemplateRequestParameters : Elastic.Transport. /// /// /// Check existence of index templates. +/// +/// /// Get information about whether index templates exist. /// Index templates define settings, mappings, and aliases that can be applied automatically to new indices. /// @@ -109,6 +112,7 @@ internal ExistsTemplateRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// Indicates whether to get information from the local node only. /// /// + [System.Obsolete("Deprecated in '9.0.0'. This parameter has no effect, is now deprecated, and will be removed in a future version.")] public bool? Local { get => Q("local"); set => Q("local", value); } /// @@ -124,6 +128,8 @@ internal ExistsTemplateRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// /// Check existence of index templates. +/// +/// /// Get information about whether index templates exist. /// Index templates define settings, mappings, and aliases that can be applied automatically to new indices. /// @@ -178,6 +184,7 @@ public Elastic.Clients.Elasticsearch.IndexManagement.ExistsTemplateRequestDescri return this; } + [System.Obsolete("Deprecated in '9.0.0'. This parameter has no effect, is now deprecated, and will be removed in a future version.")] /// /// /// Indicates whether to get information from the local node only. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs index 5eb3cf9e1ba..dbbab011f10 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs @@ -43,6 +43,8 @@ public sealed partial class ExplainDataLifecycleRequestParameters : Elastic.Tran /// /// /// Get the status for a data stream lifecycle. +/// +/// /// Get information about an index or data stream's current data stream lifecycle status, such as time since index creation, time since rollover, the lifecycle configuration managing the index, or any errors encountered during lifecycle execution. /// /// @@ -74,7 +76,7 @@ internal ExplainDataLifecycleRequest(Elastic.Clients.Elasticsearch.Serialization /// /// - /// The name of the index to explain + /// Comma-separated list of index names to explain /// /// public @@ -101,6 +103,8 @@ internal ExplainDataLifecycleRequest(Elastic.Clients.Elasticsearch.Serialization /// /// /// Get the status for a data stream lifecycle. +/// +/// /// Get information about an index or data stream's current data stream lifecycle status, such as time since index creation, time since rollover, the lifecycle configuration managing the index, or any errors encountered during lifecycle execution. /// /// @@ -130,7 +134,7 @@ public ExplainDataLifecycleRequestDescriptor() /// /// - /// The name of the index to explain + /// Comma-separated list of index names to explain /// /// public Elastic.Clients.Elasticsearch.IndexManagement.ExplainDataLifecycleRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Indices value) @@ -215,6 +219,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.ExplainDataLifecycleRequest /// /// /// Get the status for a data stream lifecycle. +/// +/// /// Get information about an index or data stream's current data stream lifecycle status, such as time since index creation, time since rollover, the lifecycle configuration managing the index, or any errors encountered during lifecycle execution. /// /// @@ -243,7 +249,7 @@ public ExplainDataLifecycleRequestDescriptor() /// /// - /// The name of the index to explain + /// Comma-separated list of index names to explain /// /// public Elastic.Clients.Elasticsearch.IndexManagement.ExplainDataLifecycleRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Indices value) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FieldUsageStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FieldUsageStatsRequest.g.cs index 8e8b8032273..8904b6a2c3f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FieldUsageStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FieldUsageStatsRequest.g.cs @@ -61,6 +61,8 @@ public sealed partial class FieldUsageStatsRequestParameters : Elastic.Transport /// /// /// Get field usage stats. +/// +/// /// Get field usage information for each shard and field of an index. /// Field usage statistics are automatically captured when queries are running on a cluster. /// A shard-level search request that accesses a given field, even if multiple times during that request, is counted as a single use. @@ -143,6 +145,8 @@ internal FieldUsageStatsRequest(Elastic.Clients.Elasticsearch.Serialization.Json /// /// /// Get field usage stats. +/// +/// /// Get field usage information for each shard and field of an index. /// Field usage statistics are automatically captured when queries are running on a cluster. /// A shard-level search request that accesses a given field, even if multiple times during that request, is counted as a single use. @@ -313,6 +317,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.FieldUsageStatsRequestDescr /// /// /// Get field usage stats. +/// +/// /// Get field usage information for each shard and field of an index. /// Field usage statistics are automatically captured when queries are running on a cluster. /// A shard-level search request that accesses a given field, even if multiple times during that request, is counted as a single use. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FlushRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FlushRequest.g.cs index d64535712af..8181bf2a3c6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FlushRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FlushRequest.g.cs @@ -68,6 +68,8 @@ public sealed partial class FlushRequestParameters : Elastic.Transport.RequestPa /// /// /// Flush data streams or indices. +/// +/// /// Flushing a data stream or index is the process of making sure that any data that is currently only stored in the transaction log is also permanently stored in the Lucene index. /// When restarting, Elasticsearch replays any unflushed operations from the transaction log into the Lucene index to bring it back into the state that it was in before the restart. /// Elasticsearch automatically triggers flushes as needed, using heuristics that trade off the size of the unflushed transaction log against the cost of performing each flush. @@ -164,6 +166,8 @@ internal FlushRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructo /// /// /// Flush data streams or indices. +/// +/// /// Flushing a data stream or index is the process of making sure that any data that is currently only stored in the transaction log is also permanently stored in the Lucene index. /// When restarting, Elasticsearch replays any unflushed operations from the transaction log into the Lucene index to bring it back into the state that it was in before the restart. /// Elasticsearch automatically triggers flushes as needed, using heuristics that trade off the size of the unflushed transaction log against the cost of performing each flush. @@ -345,6 +349,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.FlushRequestDescriptor Requ /// /// /// Flush data streams or indices. +/// +/// /// Flushing a data stream or index is the process of making sure that any data that is currently only stored in the transaction log is also permanently stored in the Lucene index. /// When restarting, Elasticsearch replays any unflushed operations from the transaction log into the Lucene index to bring it back into the state that it was in before the restart. /// Elasticsearch automatically triggers flushes as needed, using heuristics that trade off the size of the unflushed transaction log against the cost of performing each flush. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs index 27e83d2c336..008c6168858 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs @@ -78,6 +78,8 @@ public sealed partial class ForcemergeRequestParameters : Elastic.Transport.Requ /// /// /// Force a merge. +/// +/// /// Perform the force merge operation on the shards of one or more indices. /// For data streams, the API forces a merge on the shards of the stream's backing indices. /// @@ -250,6 +252,8 @@ internal ForcemergeRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// /// Force a merge. +/// +/// /// Perform the force merge operation on the shards of one or more indices. /// For data streams, the API forces a merge on the shards of the stream's backing indices. /// @@ -513,6 +517,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.ForcemergeRequestDescriptor /// /// /// Force a merge. +/// +/// /// Perform the force merge operation on the shards of one or more indices. /// For data streams, the API forces a merge on the shards of the stream's backing indices. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasRequest.g.cs index 0c20d7cf1c7..772da23cad4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasRequest.g.cs @@ -61,6 +61,8 @@ public sealed partial class GetAliasRequestParameters : Elastic.Transport.Reques /// /// /// Get aliases. +/// +/// /// Retrieves information for one or more data stream or index aliases. /// /// @@ -156,6 +158,8 @@ internal GetAliasRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// /// /// Get aliases. +/// +/// /// Retrieves information for one or more data stream or index aliases. /// /// @@ -338,6 +342,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.GetAliasRequestDescriptor R /// /// /// Get aliases. +/// +/// /// Retrieves information for one or more data stream or index aliases. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataLifecycleStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataLifecycleStatsRequest.g.cs index 9bdaab59ce3..1f7d9e01868 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataLifecycleStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataLifecycleStatsRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class GetDataLifecycleStatsRequestParameters : Elastic.Tra /// /// /// Get data stream lifecycle stats. +/// +/// /// Get statistics about the data streams that are managed by a data stream lifecycle. /// /// @@ -64,6 +66,8 @@ internal GetDataLifecycleStatsRequest(Elastic.Clients.Elasticsearch.Serializatio /// /// /// Get data stream lifecycle stats. +/// +/// /// Get statistics about the data streams that are managed by a data stream lifecycle. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetFieldMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetFieldMappingRequest.g.cs index 5b955551d7d..09366ff0a91 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetFieldMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetFieldMappingRequest.g.cs @@ -60,6 +60,8 @@ public sealed partial class GetFieldMappingRequestParameters : Elastic.Transport /// /// /// Get mapping definitions. +/// +/// /// Retrieves mapping definitions for one or more fields. /// For data streams, the API retrieves field mappings for the stream’s backing indices. /// @@ -154,6 +156,8 @@ internal GetFieldMappingRequest(Elastic.Clients.Elasticsearch.Serialization.Json /// /// /// Get mapping definitions. +/// +/// /// Retrieves mapping definitions for one or more fields. /// For data streams, the API retrieves field mappings for the stream’s backing indices. /// @@ -341,6 +345,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.GetFieldMappingRequestDescr /// /// /// Get mapping definitions. +/// +/// /// Retrieves mapping definitions for one or more fields. /// For data streams, the API retrieves field mappings for the stream’s backing indices. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexRequest.g.cs index 607584b2dae..1dfcce66a3b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexRequest.g.cs @@ -89,6 +89,8 @@ public sealed partial class GetIndexRequestParameters : Elastic.Transport.Reques /// /// /// Get index information. +/// +/// /// Get information about one or more indices. For data streams, the API returns information about the /// stream’s backing indices. /// @@ -195,6 +197,8 @@ internal GetIndexRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// /// /// Get index information. +/// +/// /// Get information about one or more indices. For data streams, the API returns information about the /// stream’s backing indices. /// @@ -405,6 +409,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.GetIndexRequestDescriptor R /// /// /// Get index information. +/// +/// /// Get information about one or more indices. For data streams, the API returns information about the /// stream’s backing indices. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs index feb86b26269..e8a35dd6932 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs @@ -44,6 +44,7 @@ public sealed partial class GetIndexTemplateRequestParameters : Elastic.Transpor /// If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node. /// /// + [System.Obsolete("Deprecated in '9.0.0'. This parameter has no effect, is now deprecated, and will be removed in a future version.")] public bool? Local { get => Q("local"); set => Q("local", value); } /// @@ -57,6 +58,8 @@ public sealed partial class GetIndexTemplateRequestParameters : Elastic.Transpor /// /// /// Get index templates. +/// +/// /// Get information about one or more index templates. /// /// @@ -92,7 +95,7 @@ internal GetIndexTemplateRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// - /// Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported. + /// Name of index template to retrieve. Wildcard (*) expressions are supported. /// /// public Elastic.Clients.Elasticsearch.Name? Name { get => P("name"); set => PO("name", value); } @@ -116,6 +119,7 @@ internal GetIndexTemplateRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node. /// /// + [System.Obsolete("Deprecated in '9.0.0'. This parameter has no effect, is now deprecated, and will be removed in a future version.")] public bool? Local { get => Q("local"); set => Q("local", value); } /// @@ -129,6 +133,8 @@ internal GetIndexTemplateRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// /// Get index templates. +/// +/// /// Get information about one or more index templates. /// /// @@ -157,7 +163,7 @@ public GetIndexTemplateRequestDescriptor() /// /// - /// Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported. + /// Name of index template to retrieve. Wildcard (*) expressions are supported. /// /// public Elastic.Clients.Elasticsearch.IndexManagement.GetIndexTemplateRequestDescriptor Name(Elastic.Clients.Elasticsearch.Name? value) @@ -188,6 +194,7 @@ public Elastic.Clients.Elasticsearch.IndexManagement.GetIndexTemplateRequestDesc return this; } + [System.Obsolete("Deprecated in '9.0.0'. This parameter has no effect, is now deprecated, and will be removed in a future version.")] /// /// /// If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs index 318976042b4..f822d868101 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs @@ -72,6 +72,7 @@ public sealed partial class GetIndicesSettingsRequestParameters : Elastic.Transp /// false, information is retrieved from the master node. /// /// + [System.Obsolete("Deprecated in '9.1.0'. This parameter is a no-op and settings are always retrieved locally.")] public bool? Local { get => Q("local"); set => Q("local", value); } /// @@ -87,6 +88,8 @@ public sealed partial class GetIndicesSettingsRequestParameters : Elastic.Transp /// /// /// Get index settings. +/// +/// /// Get setting information for one or more indices. /// For data streams, it returns setting information for the stream's backing indices. /// @@ -192,6 +195,7 @@ internal GetIndicesSettingsRequest(Elastic.Clients.Elasticsearch.Serialization.J /// false, information is retrieved from the master node. /// /// + [System.Obsolete("Deprecated in '9.1.0'. This parameter is a no-op and settings are always retrieved locally.")] public bool? Local { get => Q("local"); set => Q("local", value); } /// @@ -207,6 +211,8 @@ internal GetIndicesSettingsRequest(Elastic.Clients.Elasticsearch.Serialization.J /// /// /// Get index settings. +/// +/// /// Get setting information for one or more indices. /// For data streams, it returns setting information for the stream's backing indices. /// @@ -342,6 +348,7 @@ public Elastic.Clients.Elasticsearch.IndexManagement.GetIndicesSettingsRequestDe return this; } + [System.Obsolete("Deprecated in '9.1.0'. This parameter is a no-op and settings are always retrieved locally.")] /// /// /// If true, the request retrieves information from the local node only. If @@ -426,6 +433,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.GetIndicesSettingsRequestDe /// /// /// Get index settings. +/// +/// /// Get setting information for one or more indices. /// For data streams, it returns setting information for the stream's backing indices. /// @@ -561,6 +570,7 @@ public Elastic.Clients.Elasticsearch.IndexManagement.GetIndicesSettingsRequestDe return this; } + [System.Obsolete("Deprecated in '9.1.0'. This parameter is a no-op and settings are always retrieved locally.")] /// /// /// If true, the request retrieves information from the local node only. If diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetMappingRequest.g.cs index 2371b399d01..176baab93e0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetMappingRequest.g.cs @@ -69,6 +69,8 @@ public sealed partial class GetMappingRequestParameters : Elastic.Transport.Requ /// /// /// Get mapping definitions. +/// +/// /// For data streams, the API retrieves mappings for the stream’s backing indices. /// /// @@ -155,6 +157,8 @@ internal GetMappingRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// /// Get mapping definitions. +/// +/// /// For data streams, the API retrieves mappings for the stream’s backing indices. /// /// @@ -326,6 +330,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.GetMappingRequestDescriptor /// /// /// Get mapping definitions. +/// +/// /// For data streams, the API retrieves mappings for the stream’s backing indices. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetTemplateRequest.g.cs index 354efda3041..57fd0d51162 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetTemplateRequest.g.cs @@ -37,6 +37,7 @@ public sealed partial class GetTemplateRequestParameters : Elastic.Transport.Req /// If true, the request retrieves information from the local node only. /// /// + [System.Obsolete("Deprecated in '9.0.0'. This parameter is a no-op and templates are always retrieved locally.")] public bool? Local { get => Q("local"); set => Q("local", value); } /// @@ -51,6 +52,8 @@ public sealed partial class GetTemplateRequestParameters : Elastic.Transport.Req /// /// /// Get legacy index templates. +/// +/// /// Get information about one or more index templates. /// /// @@ -108,6 +111,7 @@ internal GetTemplateRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// If true, the request retrieves information from the local node only. /// /// + [System.Obsolete("Deprecated in '9.0.0'. This parameter is a no-op and templates are always retrieved locally.")] public bool? Local { get => Q("local"); set => Q("local", value); } /// @@ -122,6 +126,8 @@ internal GetTemplateRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// /// Get legacy index templates. +/// +/// /// Get information about one or more index templates. /// /// @@ -175,6 +181,7 @@ public Elastic.Clients.Elasticsearch.IndexManagement.GetTemplateRequestDescripto return this; } + [System.Obsolete("Deprecated in '9.0.0'. This parameter is a no-op and templates are always retrieved locally.")] /// /// /// If true, the request retrieves information from the local node only. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs index 9667b47d0db..3e43fbefe35 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs @@ -94,6 +94,8 @@ public sealed partial class IndicesStatsRequestParameters : Elastic.Transport.Re /// /// /// Get index statistics. +/// +/// /// For data streams, the API retrieves statistics for the stream's backing indices. /// /// @@ -230,6 +232,8 @@ internal IndicesStatsRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// /// Get index statistics. +/// +/// /// For data streams, the API retrieves statistics for the stream's backing indices. /// /// @@ -517,6 +521,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.IndicesStatsRequestDescript /// /// /// Get index statistics. +/// +/// /// For data streams, the API retrieves statistics for the stream's backing indices. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs index f66f46357dd..90b9820a643 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs @@ -43,6 +43,8 @@ public sealed partial class MigrateToDataStreamRequestParameters : Elastic.Trans /// /// /// Convert an index alias to a data stream. +/// +/// /// Converts an index alias to a data stream. /// You must have a matching index template that is data stream enabled. /// The alias must meet the following criteria: @@ -110,6 +112,8 @@ internal MigrateToDataStreamRequest(Elastic.Clients.Elasticsearch.Serialization. /// /// /// Convert an index alias to a data stream. +/// +/// /// Converts an index alias to a data stream. /// You must have a matching index template that is data stream enabled. /// The alias must meet the following criteria: @@ -233,6 +237,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.MigrateToDataStreamRequestD /// /// /// Convert an index alias to a data stream. +/// +/// /// Converts an index alias to a data stream. /// You must have a matching index template that is data stream enabled. /// The alias must meet the following criteria: diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ModifyDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ModifyDataStreamRequest.g.cs index 614ea781a3e..878f423d5af 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ModifyDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ModifyDataStreamRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class ModifyDataStreamRequestParameters : Elastic.Transpor /// /// /// Update data streams. +/// +/// /// Performs one or more data stream modification actions in a single atomic operation. /// /// @@ -81,6 +83,8 @@ internal ModifyDataStreamRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// /// Update data streams. +/// +/// /// Performs one or more data stream modification actions in a single atomic operation. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs index 1b2791739ed..c0ac05501e0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs @@ -77,6 +77,8 @@ public sealed partial class OpenIndexRequestParameters : Elastic.Transport.Reque /// /// /// Open a closed index. +/// +/// /// For data streams, the API opens any closed backing indices. /// /// @@ -200,6 +202,8 @@ internal OpenIndexRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// /// /// Open a closed index. +/// +/// /// For data streams, the API opens any closed backing indices. /// /// @@ -408,6 +412,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.OpenIndexRequestDescriptor /// /// /// Open a closed index. +/// +/// /// For data streams, the API opens any closed backing indices. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PromoteDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PromoteDataStreamRequest.g.cs index 38db9bfba37..e313568a9d0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PromoteDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PromoteDataStreamRequest.g.cs @@ -36,6 +36,8 @@ public sealed partial class PromoteDataStreamRequestParameters : Elastic.Transpo /// /// /// Promote a data stream. +/// +/// /// Promote a data stream from a replicated data stream managed by cross-cluster replication (CCR) to a regular data stream. /// /// @@ -98,6 +100,8 @@ internal PromoteDataStreamRequest(Elastic.Clients.Elasticsearch.Serialization.Js /// /// /// Promote a data stream. +/// +/// /// Promote a data stream from a replicated data stream managed by cross-cluster replication (CCR) to a regular data stream. /// /// @@ -212,6 +216,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.PromoteDataStreamRequestDes /// /// /// Promote a data stream. +/// +/// /// Promote a data stream from a replicated data stream managed by cross-cluster replication (CCR) to a regular data stream. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutAliasRequest.g.cs index 0a94f277e91..5c080e01edd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutAliasRequest.g.cs @@ -45,6 +45,8 @@ public sealed partial class PutAliasRequestParameters : Elastic.Transport.Reques /// /// /// Create or update an alias. +/// +/// /// Adds a data stream or index to an alias. /// /// @@ -163,6 +165,8 @@ internal PutAliasRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// /// /// Create or update an alias. +/// +/// /// Adds a data stream or index to an alias. /// /// @@ -379,6 +383,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.PutAliasRequestDescriptor R /// /// /// Create or update an alias. +/// +/// /// Adds a data stream or index to an alias. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs index ded1340e63a..ea34dc4046a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs @@ -54,6 +54,8 @@ public sealed partial class PutDataLifecycleRequestParameters : Elastic.Transpor /// /// /// Update data stream lifecycles. +/// +/// /// Update the data stream lifecycle of the specified data streams. /// /// @@ -149,6 +151,8 @@ internal PutDataLifecycleRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// /// Update data stream lifecycles. +/// +/// /// Update the data stream lifecycle of the specified data streams. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataStreamOptionsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataStreamOptionsRequest.g.cs index 5cf573e694d..0f4d74d45f0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataStreamOptionsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataStreamOptionsRequest.g.cs @@ -54,6 +54,8 @@ public sealed partial class PutDataStreamOptionsRequestParameters : Elastic.Tran /// /// /// Update data stream options. +/// +/// /// Update the data stream options of the specified data streams. /// /// @@ -132,6 +134,8 @@ internal PutDataStreamOptionsRequest(Elastic.Clients.Elasticsearch.Serialization /// /// /// Update data stream options. +/// +/// /// Update the data stream options of the specified data streams. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs index 43366d6bd30..95653d2bd35 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs @@ -51,6 +51,8 @@ public sealed partial class PutIndexTemplateRequestParameters : Elastic.Transpor /// /// /// Create or update an index template. +/// +/// /// Index templates define settings, mappings, and aliases that can be applied automatically to new indices. /// /// @@ -238,6 +240,8 @@ internal PutIndexTemplateRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// /// Create or update an index template. +/// +/// /// Index templates define settings, mappings, and aliases that can be applied automatically to new indices. /// /// @@ -648,6 +652,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.PutIndexTemplateRequestDesc /// /// /// Create or update an index template. +/// +/// /// Index templates define settings, mappings, and aliases that can be applied automatically to new indices. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndicesSettingsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndicesSettingsRequest.g.cs index c71dc48b3c5..93a3ecfa98f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndicesSettingsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndicesSettingsRequest.g.cs @@ -97,6 +97,8 @@ public sealed partial class PutIndicesSettingsRequestParameters : Elastic.Transp /// /// /// Update index settings. +/// +/// /// Changes dynamic index settings in real time. /// For data streams, index setting changes are applied to all backing indices by default. /// @@ -288,6 +290,8 @@ internal PutIndicesSettingsRequest(Elastic.Clients.Elasticsearch.Serialization.J /// /// /// Update index settings. +/// +/// /// Changes dynamic index settings in real time. /// For data streams, index setting changes are applied to all backing indices by default. /// @@ -578,6 +582,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.PutIndicesSettingsRequestDe /// /// /// Update index settings. +/// +/// /// Changes dynamic index settings in real time. /// For data streams, index setting changes are applied to all backing indices by default. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutMappingRequest.g.cs index eba653fe2cc..4747005ae30 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutMappingRequest.g.cs @@ -76,6 +76,8 @@ public sealed partial class PutMappingRequestParameters : Elastic.Transport.Requ /// /// /// Update field mappings. +/// +/// /// Add new fields to an existing data stream or index. /// You can use the update mapping API to: /// @@ -306,6 +308,8 @@ internal PutMappingRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// /// Update field mappings. +/// +/// /// Add new fields to an existing data stream or index. /// You can use the update mapping API to: /// @@ -940,6 +944,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.PutMappingRequestDescriptor /// /// /// Update field mappings. +/// +/// /// Add new fields to an existing data stream or index. /// You can use the update mapping API to: /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutTemplateRequest.g.cs index 013b8b963fb..c8f48ff8a95 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutTemplateRequest.g.cs @@ -51,6 +51,8 @@ public sealed partial class PutTemplateRequestParameters : Elastic.Transport.Req /// /// /// Create or update a legacy index template. +/// +/// /// Index templates define settings, mappings, and aliases that can be applied automatically to new indices. /// Elasticsearch applies templates to new indices based on an index pattern that matches the index name. /// @@ -192,6 +194,8 @@ internal PutTemplateRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// /// Create or update a legacy index template. +/// +/// /// Index templates define settings, mappings, and aliases that can be applied automatically to new indices. /// Elasticsearch applies templates to new indices based on an index pattern that matches the index name. /// @@ -584,6 +588,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.PutTemplateRequestDescripto /// /// /// Create or update a legacy index template. +/// +/// /// Index templates define settings, mappings, and aliases that can be applied automatically to new indices. /// Elasticsearch applies templates to new indices based on an index pattern that matches the index name. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RecoveryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RecoveryRequest.g.cs index d5503790c94..f0de04eabce 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RecoveryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RecoveryRequest.g.cs @@ -67,6 +67,8 @@ public sealed partial class RecoveryRequestParameters : Elastic.Transport.Reques /// /// /// Get index recovery information. +/// +/// /// Get information about ongoing and completed shard recoveries for one or more indices. /// For data streams, the API returns information for the stream's backing indices. /// @@ -202,6 +204,8 @@ internal RecoveryRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// /// /// Get index recovery information. +/// +/// /// Get information about ongoing and completed shard recoveries for one or more indices. /// For data streams, the API returns information for the stream's backing indices. /// @@ -422,6 +426,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.RecoveryRequestDescriptor R /// /// /// Get index recovery information. +/// +/// /// Get information about ongoing and completed shard recoveries for one or more indices. /// For data streams, the API returns information for the stream's backing indices. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RefreshRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RefreshRequest.g.cs index 2bc8e5caba2..cd8fd52819f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RefreshRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RefreshRequest.g.cs @@ -53,6 +53,8 @@ public sealed partial class RefreshRequestParameters : Elastic.Transport.Request /// /// /// Refresh an index. +/// +/// /// A refresh makes recent operations performed on one or more indices available for search. /// For data streams, the API runs the refresh operation on the stream’s backing indices. /// @@ -142,6 +144,8 @@ internal RefreshRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// /// /// Refresh an index. +/// +/// /// A refresh makes recent operations performed on one or more indices available for search. /// For data streams, the API runs the refresh operation on the stream’s backing indices. /// @@ -308,6 +312,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.RefreshRequestDescriptor Re /// /// /// Refresh an index. +/// +/// /// A refresh makes recent operations performed on one or more indices available for search. /// For data streams, the API runs the refresh operation on the stream’s backing indices. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ReloadSearchAnalyzersRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ReloadSearchAnalyzersRequest.g.cs index 449d6a4c358..5c31a4815ab 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ReloadSearchAnalyzersRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ReloadSearchAnalyzersRequest.g.cs @@ -57,6 +57,8 @@ public sealed partial class ReloadSearchAnalyzersRequestParameters : Elastic.Tra /// /// /// Reload search analyzers. +/// +/// /// Reload an index's search analyzers and their resources. /// For data streams, the API reloads search analyzers and resources for the stream's backing indices. /// @@ -144,6 +146,8 @@ internal ReloadSearchAnalyzersRequest(Elastic.Clients.Elasticsearch.Serializatio /// /// /// Reload search analyzers. +/// +/// /// Reload an index's search analyzers and their resources. /// For data streams, the API reloads search analyzers and resources for the stream's backing indices. /// @@ -306,6 +310,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.ReloadSearchAnalyzersReques /// /// /// Reload search analyzers. +/// +/// /// Reload an index's search analyzers and their resources. /// For data streams, the API reloads search analyzers and resources for the stream's backing indices. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs index eda46da629e..820f8710401 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs @@ -61,6 +61,8 @@ public sealed partial class ResolveIndexRequestParameters : Elastic.Transport.Re /// /// /// Resolve indices. +/// +/// /// Resolve the names and/or index patterns for indices, aliases, and data streams. /// Multiple patterns and remote clusters are supported. /// @@ -139,6 +141,8 @@ internal ResolveIndexRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// /// Resolve indices. +/// +/// /// Resolve the names and/or index patterns for indices, aliases, and data streams. /// Multiple patterns and remote clusters are supported. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RolloverRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RolloverRequest.g.cs index 4e97309c992..00bb05921f7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RolloverRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RolloverRequest.g.cs @@ -68,6 +68,8 @@ public sealed partial class RolloverRequestParameters : Elastic.Transport.Reques /// /// /// Roll over to a new index. +/// +/// /// TIP: We recommend using the index lifecycle rollover action to automate rollovers. However, Serverless does not support Index Lifecycle Management (ILM), so don't use this approach in the Serverless context. /// /// @@ -248,6 +250,8 @@ internal RolloverRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// /// /// Roll over to a new index. +/// +/// /// TIP: We recommend using the index lifecycle rollover action to automate rollovers. However, Serverless does not support Index Lifecycle Management (ILM), so don't use this approach in the Serverless context. /// /// @@ -707,6 +711,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.RolloverRequestDescriptor R /// /// /// Roll over to a new index. +/// +/// /// TIP: We recommend using the index lifecycle rollover action to automate rollovers. However, Serverless does not support Index Lifecycle Management (ILM), so don't use this approach in the Serverless context. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SegmentsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SegmentsRequest.g.cs index b4ea95db96c..dc8f4786e55 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SegmentsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SegmentsRequest.g.cs @@ -53,6 +53,8 @@ public sealed partial class SegmentsRequestParameters : Elastic.Transport.Reques /// /// /// Get index segments. +/// +/// /// Get low-level information about the Lucene segments in index shards. /// For data streams, the API returns information about the stream's backing indices. /// @@ -124,6 +126,8 @@ internal SegmentsRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// /// /// Get index segments. +/// +/// /// Get low-level information about the Lucene segments in index shards. /// For data streams, the API returns information about the stream's backing indices. /// @@ -272,6 +276,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.SegmentsRequestDescriptor R /// /// /// Get index segments. +/// +/// /// Get low-level information about the Lucene segments in index shards. /// For data streams, the API returns information about the stream's backing indices. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShardStoresRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShardStoresRequest.g.cs index 1ac5615e8d0..e8d369a353e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShardStoresRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShardStoresRequest.g.cs @@ -60,6 +60,8 @@ public sealed partial class ShardStoresRequestParameters : Elastic.Transport.Req /// /// /// Get index shard stores. +/// +/// /// Get store information about replica shards in one or more indices. /// For data streams, the API retrieves store information for the stream's backing indices. /// @@ -164,6 +166,8 @@ internal ShardStoresRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// /// Get index shard stores. +/// +/// /// Get store information about replica shards in one or more indices. /// For data streams, the API retrieves store information for the stream's backing indices. /// @@ -359,6 +363,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.ShardStoresRequestDescripto /// /// /// Get index shard stores. +/// +/// /// Get store information about replica shards in one or more indices. /// For data streams, the API retrieves store information for the stream's backing indices. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShrinkIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShrinkIndexRequest.g.cs index b959b20aad8..9422906efeb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShrinkIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShrinkIndexRequest.g.cs @@ -53,6 +53,8 @@ public sealed partial class ShrinkIndexRequestParameters : Elastic.Transport.Req /// /// /// Shrink an index. +/// +/// /// Shrink an index into a new index with fewer primary shards. /// /// @@ -230,6 +232,8 @@ internal ShrinkIndexRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// /// Shrink an index. +/// +/// /// Shrink an index into a new index with fewer primary shards. /// /// @@ -598,6 +602,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.ShrinkIndexRequestDescripto /// /// /// Shrink an index. +/// +/// /// Shrink an index into a new index with fewer primary shards. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs index 1b92d2c41de..a04b0fe8e93 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs @@ -57,6 +57,8 @@ public sealed partial class SimulateIndexTemplateRequestParameters : Elastic.Tra /// /// /// Simulate an index. +/// +/// /// Get the index configuration that would be applied to the specified index from an existing index template. /// /// @@ -130,6 +132,8 @@ internal SimulateIndexTemplateRequest(Elastic.Clients.Elasticsearch.Serializatio /// /// /// Simulate an index. +/// +/// /// Get the index configuration that would be applied to the specified index from an existing index template. /// /// @@ -284,6 +288,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.SimulateIndexTemplateReques /// /// /// Simulate an index. +/// +/// /// Get the index configuration that would be applied to the specified index from an existing index template. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs index 222f7a650b1..fa4cf1285cc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs @@ -57,6 +57,8 @@ public sealed partial class SimulateTemplateRequestParameters : Elastic.Transpor /// /// /// Simulate an index template. +/// +/// /// Get the index configuration that would be applied by a particular index template. /// /// @@ -214,6 +216,8 @@ internal SimulateTemplateRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// /// Simulate an index template. +/// +/// /// Get the index configuration that would be applied by a particular index template. /// /// @@ -598,6 +602,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.SimulateTemplateRequestDesc /// /// /// Simulate an index template. +/// +/// /// Get the index configuration that would be applied by a particular index template. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SplitIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SplitIndexRequest.g.cs index 25213ebde78..62efd6d657b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SplitIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SplitIndexRequest.g.cs @@ -53,6 +53,8 @@ public sealed partial class SplitIndexRequestParameters : Elastic.Transport.Requ /// /// /// Split an index. +/// +/// /// Split an index into a new index with more primary shards. /// /// @@ -228,6 +230,8 @@ internal SplitIndexRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// /// Split an index. +/// +/// /// Split an index into a new index with more primary shards. /// /// @@ -589,6 +593,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.SplitIndexRequestDescriptor /// /// /// Split an index. +/// +/// /// Split an index into a new index with more primary shards. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs index 2d0b66f0c2c..f8a538c350c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs @@ -45,6 +45,8 @@ public sealed partial class UpdateAliasesRequestParameters : Elastic.Transport.R /// /// /// Create or update an alias. +/// +/// /// Adds a data stream or index to an alias. /// /// @@ -102,6 +104,8 @@ internal UpdateAliasesRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// /// /// Create or update an alias. +/// +/// /// Adds a data stream or index to an alias. /// /// @@ -262,6 +266,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.UpdateAliasesRequestDescrip /// /// /// Create or update an alias. +/// +/// /// Adds a data stream or index to an alias. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs index 3a7a9af5709..45e1203b7fc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs @@ -118,6 +118,8 @@ public sealed partial class ValidateQueryRequestParameters : Elastic.Transport.R /// /// /// Validate a query. +/// +/// /// Validates a query without running it. /// /// @@ -260,6 +262,8 @@ internal ValidateQueryRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// /// /// Validate a query. +/// +/// /// Validates a query without running it. /// /// @@ -541,6 +545,8 @@ public Elastic.Clients.Elasticsearch.IndexManagement.ValidateQueryRequestDescrip /// /// /// Validate a query. +/// +/// /// Validates a query without running it. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/ChatCompletionUnifiedRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/ChatCompletionUnifiedRequest.g.cs index 544b6077124..8fbbaee342a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/ChatCompletionUnifiedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/ChatCompletionUnifiedRequest.g.cs @@ -35,7 +35,7 @@ public sealed partial class ChatCompletionUnifiedRequestParameters : Elastic.Tra /// /// -/// Perform chat completion inference +/// Perform chat completion inference. /// /// /// The chat completion inference API enables real-time responses for chat completion tasks by delivering answers incrementally, reducing response times during computation. @@ -107,7 +107,7 @@ internal ChatCompletionUnifiedRequest(Elastic.Clients.Elasticsearch.Serializatio /// /// -/// Perform chat completion inference +/// Perform chat completion inference. /// /// /// The chat completion inference API enables real-time responses for chat completion tasks by delivering answers incrementally, reducing response times during computation. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/CompletionRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/CompletionRequest.g.cs index d8c094dce23..f82b8ff573f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/CompletionRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/CompletionRequest.g.cs @@ -35,7 +35,7 @@ public sealed partial class CompletionRequestParameters : Elastic.Transport.Requ /// /// -/// Perform completion inference on the service +/// Perform completion inference on the service. /// /// [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Inference.Json.CompletionRequestConverter))] @@ -103,7 +103,7 @@ internal CompletionRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// - /// Optional task settings + /// Task settings for the individual inference request. These settings are specific to the <task_type> you specified and override the task settings specified when initializing the service. /// /// public object? TaskSettings { get; set; } @@ -111,7 +111,7 @@ internal CompletionRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// -/// Perform completion inference on the service +/// Perform completion inference on the service. /// /// public readonly partial struct CompletionRequestDescriptor @@ -188,7 +188,7 @@ public Elastic.Clients.Elasticsearch.Inference.CompletionRequestDescriptor Input /// /// - /// Optional task settings + /// Task settings for the individual inference request. These settings are specific to the <task_type> you specified and override the task settings specified when initializing the service. /// /// public Elastic.Clients.Elasticsearch.Inference.CompletionRequestDescriptor TaskSettings(object? value) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/DeleteInferenceRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/DeleteInferenceRequest.g.cs index 0a08d75c4fa..b22ca98cde9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/DeleteInferenceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/DeleteInferenceRequest.g.cs @@ -27,7 +27,7 @@ public sealed partial class DeleteInferenceRequestParameters : Elastic.Transport { /// /// - /// When true, the endpoint is not deleted and a list of ingest processors which reference this endpoint is returned. + /// When true, checks the semantic_text fields and inference processors that reference the endpoint and returns them in a list, but does not delete the endpoint. /// /// public bool? DryRun { get => Q("dry_run"); set => Q("dry_run", value); } @@ -42,7 +42,10 @@ public sealed partial class DeleteInferenceRequestParameters : Elastic.Transport /// /// -/// Delete an inference endpoint +/// Delete an inference endpoint. +/// +/// +/// This API requires the manage_inference cluster privilege (the built-in inference_admin role grants this privilege). /// /// [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Inference.Json.DeleteInferenceRequestConverter))] @@ -96,7 +99,7 @@ internal DeleteInferenceRequest(Elastic.Clients.Elasticsearch.Serialization.Json /// /// - /// When true, the endpoint is not deleted and a list of ingest processors which reference this endpoint is returned. + /// When true, checks the semantic_text fields and inference processors that reference the endpoint and returns them in a list, but does not delete the endpoint. /// /// public bool? DryRun { get => Q("dry_run"); set => Q("dry_run", value); } @@ -111,7 +114,10 @@ internal DeleteInferenceRequest(Elastic.Clients.Elasticsearch.Serialization.Json /// /// -/// Delete an inference endpoint +/// Delete an inference endpoint. +/// +/// +/// This API requires the manage_inference cluster privilege (the built-in inference_admin role grants this privilege). /// /// public readonly partial struct DeleteInferenceRequestDescriptor @@ -167,7 +173,7 @@ public Elastic.Clients.Elasticsearch.Inference.DeleteInferenceRequestDescriptor /// /// - /// When true, the endpoint is not deleted and a list of ingest processors which reference this endpoint is returned. + /// When true, checks the semantic_text fields and inference processors that reference the endpoint and returns them in a list, but does not delete the endpoint. /// /// public Elastic.Clients.Elasticsearch.Inference.DeleteInferenceRequestDescriptor DryRun(bool? value = true) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/GetInferenceRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/GetInferenceRequest.g.cs index 6a67f4c1f60..70477d07126 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/GetInferenceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/GetInferenceRequest.g.cs @@ -29,7 +29,10 @@ public sealed partial class GetInferenceRequestParameters : Elastic.Transport.Re /// /// -/// Get an inference endpoint +/// Get an inference endpoint. +/// +/// +/// This API requires the monitor_inference cluster privilege (the built-in inference_admin and inference_user roles grant this privilege). /// /// [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Inference.Json.GetInferenceRequestConverter))] @@ -83,7 +86,10 @@ internal GetInferenceRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// -/// Get an inference endpoint +/// Get an inference endpoint. +/// +/// +/// This API requires the monitor_inference cluster privilege (the built-in inference_admin and inference_user roles grant this privilege). /// /// public readonly partial struct GetInferenceRequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAlibabacloudRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAlibabacloudRequest.g.cs index 70e9935eb6e..5cc9f7e7087 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAlibabacloudRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAlibabacloudRequest.g.cs @@ -106,6 +106,8 @@ internal PutAlibabacloudRequest(Elastic.Clients.Elasticsearch.Serialization.Json /// /// /// The chunking configuration object. + /// Applies only to the sparse_embedding or text_embedding task types. + /// Not applicable to the rerank or completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? ChunkingSettings { get; set; } @@ -207,6 +209,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutAlibabacloudRequestDescriptor /// /// /// The chunking configuration object. + /// Applies only to the sparse_embedding or text_embedding task types. + /// Not applicable to the rerank or completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutAlibabacloudRequestDescriptor ChunkingSettings(Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? value) @@ -218,6 +222,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutAlibabacloudRequestDescriptor /// /// /// The chunking configuration object. + /// Applies only to the sparse_embedding or text_embedding task types. + /// Not applicable to the rerank or completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutAlibabacloudRequestDescriptor ChunkingSettings() @@ -229,6 +235,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutAlibabacloudRequestDescriptor /// /// /// The chunking configuration object. + /// Applies only to the sparse_embedding or text_embedding task types. + /// Not applicable to the rerank or completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutAlibabacloudRequestDescriptor ChunkingSettings(System.Action? action) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAmazonbedrockRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAmazonbedrockRequest.g.cs index 8f96bd72106..e3f33369664 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAmazonbedrockRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAmazonbedrockRequest.g.cs @@ -110,6 +110,8 @@ internal PutAmazonbedrockRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion task type. /// /// public Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? ChunkingSettings { get; set; } @@ -215,6 +217,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutAmazonbedrockRequestDescriptor /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion task type. /// /// public Elastic.Clients.Elasticsearch.Inference.PutAmazonbedrockRequestDescriptor ChunkingSettings(Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? value) @@ -226,6 +230,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutAmazonbedrockRequestDescriptor /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion task type. /// /// public Elastic.Clients.Elasticsearch.Inference.PutAmazonbedrockRequestDescriptor ChunkingSettings() @@ -237,6 +243,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutAmazonbedrockRequestDescriptor /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion task type. /// /// public Elastic.Clients.Elasticsearch.Inference.PutAmazonbedrockRequestDescriptor ChunkingSettings(System.Action? action) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAmazonsagemakerRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAmazonsagemakerRequest.g.cs index db3fa1f85fc..fef88cc60f9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAmazonsagemakerRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAmazonsagemakerRequest.g.cs @@ -106,6 +106,8 @@ internal PutAmazonsagemakerRequest(Elastic.Clients.Elasticsearch.Serialization.J /// /// /// The chunking configuration object. + /// Applies only to the sparse_embedding or text_embedding task types. + /// Not applicable to the rerank, completion, or chat_completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? ChunkingSettings { get; set; } @@ -208,6 +210,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutAmazonsagemakerRequestDescript /// /// /// The chunking configuration object. + /// Applies only to the sparse_embedding or text_embedding task types. + /// Not applicable to the rerank, completion, or chat_completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutAmazonsagemakerRequestDescriptor ChunkingSettings(Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? value) @@ -219,6 +223,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutAmazonsagemakerRequestDescript /// /// /// The chunking configuration object. + /// Applies only to the sparse_embedding or text_embedding task types. + /// Not applicable to the rerank, completion, or chat_completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutAmazonsagemakerRequestDescriptor ChunkingSettings() @@ -230,6 +236,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutAmazonsagemakerRequestDescript /// /// /// The chunking configuration object. + /// Applies only to the sparse_embedding or text_embedding task types. + /// Not applicable to the rerank, completion, or chat_completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutAmazonsagemakerRequestDescriptor ChunkingSettings(System.Action? action) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAnthropicRequest.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAnthropicRequest.Converters.g.cs index 861bb7dbe3c..07d7cfb8e57 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAnthropicRequest.Converters.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAnthropicRequest.Converters.g.cs @@ -25,7 +25,6 @@ namespace Elastic.Clients.Elasticsearch.Inference.Json; public sealed partial class PutAnthropicRequestConverter : System.Text.Json.Serialization.JsonConverter { - private static readonly System.Text.Json.JsonEncodedText PropChunkingSettings = System.Text.Json.JsonEncodedText.Encode("chunking_settings"); private static readonly System.Text.Json.JsonEncodedText PropService = System.Text.Json.JsonEncodedText.Encode("service"); private static readonly System.Text.Json.JsonEncodedText PropServiceSettings = System.Text.Json.JsonEncodedText.Encode("service_settings"); private static readonly System.Text.Json.JsonEncodedText PropTaskSettings = System.Text.Json.JsonEncodedText.Encode("task_settings"); @@ -33,16 +32,10 @@ public sealed partial class PutAnthropicRequestConverter : System.Text.Json.Seri public override Elastic.Clients.Elasticsearch.Inference.PutAnthropicRequest Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propChunkingSettings = default; LocalJsonValue propServiceSettings = default; LocalJsonValue propTaskSettings = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { - if (propChunkingSettings.TryReadProperty(ref reader, options, PropChunkingSettings, null)) - { - continue; - } - if (reader.ValueTextEquals(PropService)) { reader.SafeSkip(); @@ -71,7 +64,6 @@ public override Elastic.Clients.Elasticsearch.Inference.PutAnthropicRequest Read reader.ValidateToken(System.Text.Json.JsonTokenType.EndObject); return new Elastic.Clients.Elasticsearch.Inference.PutAnthropicRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { - ChunkingSettings = propChunkingSettings.Value, ServiceSettings = propServiceSettings.Value, TaskSettings = propTaskSettings.Value }; @@ -80,7 +72,6 @@ public override Elastic.Clients.Elasticsearch.Inference.PutAnthropicRequest Read public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Inference.PutAnthropicRequest value, System.Text.Json.JsonSerializerOptions options) { writer.WriteStartObject(); - writer.WriteProperty(options, PropChunkingSettings, value.ChunkingSettings, null, null); writer.WriteProperty(options, PropService, value.Service, null, null); writer.WriteProperty(options, PropServiceSettings, value.ServiceSettings, null, null); writer.WriteProperty(options, PropTaskSettings, value.TaskSettings, null, null); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAnthropicRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAnthropicRequest.g.cs index 04fae14c424..0680eeb94e8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAnthropicRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAnthropicRequest.g.cs @@ -104,13 +104,6 @@ internal PutAnthropicRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); } - /// - /// - /// The chunking configuration object. - /// - /// - public Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? ChunkingSettings { get; set; } - /// /// /// The type of service supported for the specified task type. In this case, anthropic. @@ -120,7 +113,7 @@ internal PutAnthropicRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// - /// Settings used to install the inference model. These settings are specific to the watsonxai service. + /// Settings used to install the inference model. These settings are specific to the anthropic service. /// /// public @@ -208,40 +201,7 @@ public Elastic.Clients.Elasticsearch.Inference.PutAnthropicRequestDescriptor Tim /// /// - /// The chunking configuration object. - /// - /// - public Elastic.Clients.Elasticsearch.Inference.PutAnthropicRequestDescriptor ChunkingSettings(Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? value) - { - Instance.ChunkingSettings = value; - return this; - } - - /// - /// - /// The chunking configuration object. - /// - /// - public Elastic.Clients.Elasticsearch.Inference.PutAnthropicRequestDescriptor ChunkingSettings() - { - Instance.ChunkingSettings = Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettingsDescriptor.Build(null); - return this; - } - - /// - /// - /// The chunking configuration object. - /// - /// - public Elastic.Clients.Elasticsearch.Inference.PutAnthropicRequestDescriptor ChunkingSettings(System.Action? action) - { - Instance.ChunkingSettings = Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettingsDescriptor.Build(action); - return this; - } - - /// - /// - /// Settings used to install the inference model. These settings are specific to the watsonxai service. + /// Settings used to install the inference model. These settings are specific to the anthropic service. /// /// public Elastic.Clients.Elasticsearch.Inference.PutAnthropicRequestDescriptor ServiceSettings(Elastic.Clients.Elasticsearch.Inference.AnthropicServiceSettings value) @@ -252,7 +212,7 @@ public Elastic.Clients.Elasticsearch.Inference.PutAnthropicRequestDescriptor Ser /// /// - /// Settings used to install the inference model. These settings are specific to the watsonxai service. + /// Settings used to install the inference model. These settings are specific to the anthropic service. /// /// public Elastic.Clients.Elasticsearch.Inference.PutAnthropicRequestDescriptor ServiceSettings(System.Action action) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAzureaistudioRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAzureaistudioRequest.g.cs index 6f5cea295df..eeb8182cbca 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAzureaistudioRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAzureaistudioRequest.g.cs @@ -106,6 +106,8 @@ internal PutAzureaistudioRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the rerank or completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? ChunkingSettings { get; set; } @@ -119,7 +121,7 @@ internal PutAzureaistudioRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// - /// Settings used to install the inference model. These settings are specific to the openai service. + /// Settings used to install the inference model. These settings are specific to the azureaistudio service. /// /// public @@ -207,6 +209,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutAzureaistudioRequestDescriptor /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the rerank or completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutAzureaistudioRequestDescriptor ChunkingSettings(Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? value) @@ -218,6 +222,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutAzureaistudioRequestDescriptor /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the rerank or completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutAzureaistudioRequestDescriptor ChunkingSettings() @@ -229,6 +235,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutAzureaistudioRequestDescriptor /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the rerank or completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutAzureaistudioRequestDescriptor ChunkingSettings(System.Action? action) @@ -239,7 +247,7 @@ public Elastic.Clients.Elasticsearch.Inference.PutAzureaistudioRequestDescriptor /// /// - /// Settings used to install the inference model. These settings are specific to the openai service. + /// Settings used to install the inference model. These settings are specific to the azureaistudio service. /// /// public Elastic.Clients.Elasticsearch.Inference.PutAzureaistudioRequestDescriptor ServiceSettings(Elastic.Clients.Elasticsearch.Inference.AzureAiStudioServiceSettings value) @@ -250,7 +258,7 @@ public Elastic.Clients.Elasticsearch.Inference.PutAzureaistudioRequestDescriptor /// /// - /// Settings used to install the inference model. These settings are specific to the openai service. + /// Settings used to install the inference model. These settings are specific to the azureaistudio service. /// /// public Elastic.Clients.Elasticsearch.Inference.PutAzureaistudioRequestDescriptor ServiceSettings(System.Action action) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAzureopenaiRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAzureopenaiRequest.g.cs index 7c11fa62a2b..312ea50eb1f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAzureopenaiRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAzureopenaiRequest.g.cs @@ -125,6 +125,8 @@ internal PutAzureopenaiRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion task type. /// /// public Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? ChunkingSettings { get; set; } @@ -245,6 +247,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutAzureopenaiRequestDescriptor T /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion task type. /// /// public Elastic.Clients.Elasticsearch.Inference.PutAzureopenaiRequestDescriptor ChunkingSettings(Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? value) @@ -256,6 +260,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutAzureopenaiRequestDescriptor C /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion task type. /// /// public Elastic.Clients.Elasticsearch.Inference.PutAzureopenaiRequestDescriptor ChunkingSettings() @@ -267,6 +273,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutAzureopenaiRequestDescriptor C /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion task type. /// /// public Elastic.Clients.Elasticsearch.Inference.PutAzureopenaiRequestDescriptor ChunkingSettings(System.Action? action) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutCohereRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutCohereRequest.g.cs index 648ab748d9a..6e4b443be93 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutCohereRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutCohereRequest.g.cs @@ -106,6 +106,8 @@ internal PutCohereRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the rerank or completion task type. /// /// public Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? ChunkingSettings { get; set; } @@ -208,6 +210,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutCohereRequestDescriptor Timeou /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the rerank or completion task type. /// /// public Elastic.Clients.Elasticsearch.Inference.PutCohereRequestDescriptor ChunkingSettings(Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? value) @@ -219,6 +223,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutCohereRequestDescriptor Chunki /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the rerank or completion task type. /// /// public Elastic.Clients.Elasticsearch.Inference.PutCohereRequestDescriptor ChunkingSettings() @@ -230,6 +236,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutCohereRequestDescriptor Chunki /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the rerank or completion task type. /// /// public Elastic.Clients.Elasticsearch.Inference.PutCohereRequestDescriptor ChunkingSettings(System.Action? action) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutContextualaiRequest.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutContextualaiRequest.Converters.g.cs index bfb420b3408..7a1d6c2886d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutContextualaiRequest.Converters.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutContextualaiRequest.Converters.g.cs @@ -25,7 +25,6 @@ namespace Elastic.Clients.Elasticsearch.Inference.Json; public sealed partial class PutContextualaiRequestConverter : System.Text.Json.Serialization.JsonConverter { - private static readonly System.Text.Json.JsonEncodedText PropChunkingSettings = System.Text.Json.JsonEncodedText.Encode("chunking_settings"); private static readonly System.Text.Json.JsonEncodedText PropService = System.Text.Json.JsonEncodedText.Encode("service"); private static readonly System.Text.Json.JsonEncodedText PropServiceSettings = System.Text.Json.JsonEncodedText.Encode("service_settings"); private static readonly System.Text.Json.JsonEncodedText PropTaskSettings = System.Text.Json.JsonEncodedText.Encode("task_settings"); @@ -33,16 +32,10 @@ public sealed partial class PutContextualaiRequestConverter : System.Text.Json.S public override Elastic.Clients.Elasticsearch.Inference.PutContextualaiRequest Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propChunkingSettings = default; LocalJsonValue propServiceSettings = default; LocalJsonValue propTaskSettings = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { - if (propChunkingSettings.TryReadProperty(ref reader, options, PropChunkingSettings, null)) - { - continue; - } - if (reader.ValueTextEquals(PropService)) { reader.SafeSkip(); @@ -71,7 +64,6 @@ public override Elastic.Clients.Elasticsearch.Inference.PutContextualaiRequest R reader.ValidateToken(System.Text.Json.JsonTokenType.EndObject); return new Elastic.Clients.Elasticsearch.Inference.PutContextualaiRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { - ChunkingSettings = propChunkingSettings.Value, ServiceSettings = propServiceSettings.Value, TaskSettings = propTaskSettings.Value }; @@ -80,7 +72,6 @@ public override Elastic.Clients.Elasticsearch.Inference.PutContextualaiRequest R public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Inference.PutContextualaiRequest value, System.Text.Json.JsonSerializerOptions options) { writer.WriteStartObject(); - writer.WriteProperty(options, PropChunkingSettings, value.ChunkingSettings, null, null); writer.WriteProperty(options, PropService, value.Service, null, null); writer.WriteProperty(options, PropServiceSettings, value.ServiceSettings, null, null); writer.WriteProperty(options, PropTaskSettings, value.TaskSettings, null, null); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutContextualaiRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutContextualaiRequest.g.cs index 052f5bd67ce..43b94f13513 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutContextualaiRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutContextualaiRequest.g.cs @@ -106,13 +106,6 @@ internal PutContextualaiRequest(Elastic.Clients.Elasticsearch.Serialization.Json /// public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); } - /// - /// - /// The chunking configuration object. - /// - /// - public Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? ChunkingSettings { get; set; } - /// /// /// The type of service supported for the specified task type. In this case, contextualai. @@ -210,39 +203,6 @@ public Elastic.Clients.Elasticsearch.Inference.PutContextualaiRequestDescriptor return this; } - /// - /// - /// The chunking configuration object. - /// - /// - public Elastic.Clients.Elasticsearch.Inference.PutContextualaiRequestDescriptor ChunkingSettings(Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? value) - { - Instance.ChunkingSettings = value; - return this; - } - - /// - /// - /// The chunking configuration object. - /// - /// - public Elastic.Clients.Elasticsearch.Inference.PutContextualaiRequestDescriptor ChunkingSettings() - { - Instance.ChunkingSettings = Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettingsDescriptor.Build(null); - return this; - } - - /// - /// - /// The chunking configuration object. - /// - /// - public Elastic.Clients.Elasticsearch.Inference.PutContextualaiRequestDescriptor ChunkingSettings(System.Action? action) - { - Instance.ChunkingSettings = Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettingsDescriptor.Build(action); - return this; - } - /// /// /// Settings used to install the inference model. These settings are specific to the contextualai service. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutCustomRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutCustomRequest.g.cs index e4aa68e8f09..d8b1b5147f8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutCustomRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutCustomRequest.g.cs @@ -158,6 +158,8 @@ internal PutCustomRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// /// /// The chunking configuration object. + /// Applies only to the sparse_embedding or text_embedding task types. + /// Not applicable to the rerank or completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? ChunkingSettings { get; set; } @@ -314,6 +316,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutCustomRequestDescriptor TaskTy /// /// /// The chunking configuration object. + /// Applies only to the sparse_embedding or text_embedding task types. + /// Not applicable to the rerank or completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutCustomRequestDescriptor ChunkingSettings(Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? value) @@ -325,6 +329,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutCustomRequestDescriptor Chunki /// /// /// The chunking configuration object. + /// Applies only to the sparse_embedding or text_embedding task types. + /// Not applicable to the rerank or completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutCustomRequestDescriptor ChunkingSettings() @@ -336,6 +342,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutCustomRequestDescriptor Chunki /// /// /// The chunking configuration object. + /// Applies only to the sparse_embedding or text_embedding task types. + /// Not applicable to the rerank or completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutCustomRequestDescriptor ChunkingSettings(System.Action? action) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutDeepseekRequest.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutDeepseekRequest.Converters.g.cs index d78c59abd0f..9016c9c58e0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutDeepseekRequest.Converters.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutDeepseekRequest.Converters.g.cs @@ -25,22 +25,15 @@ namespace Elastic.Clients.Elasticsearch.Inference.Json; public sealed partial class PutDeepseekRequestConverter : System.Text.Json.Serialization.JsonConverter { - private static readonly System.Text.Json.JsonEncodedText PropChunkingSettings = System.Text.Json.JsonEncodedText.Encode("chunking_settings"); private static readonly System.Text.Json.JsonEncodedText PropService = System.Text.Json.JsonEncodedText.Encode("service"); private static readonly System.Text.Json.JsonEncodedText PropServiceSettings = System.Text.Json.JsonEncodedText.Encode("service_settings"); public override Elastic.Clients.Elasticsearch.Inference.PutDeepseekRequest Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propChunkingSettings = default; LocalJsonValue propServiceSettings = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { - if (propChunkingSettings.TryReadProperty(ref reader, options, PropChunkingSettings, null)) - { - continue; - } - if (reader.ValueTextEquals(PropService)) { reader.SafeSkip(); @@ -64,7 +57,6 @@ public override Elastic.Clients.Elasticsearch.Inference.PutDeepseekRequest Read( reader.ValidateToken(System.Text.Json.JsonTokenType.EndObject); return new Elastic.Clients.Elasticsearch.Inference.PutDeepseekRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { - ChunkingSettings = propChunkingSettings.Value, ServiceSettings = propServiceSettings.Value }; } @@ -72,7 +64,6 @@ public override Elastic.Clients.Elasticsearch.Inference.PutDeepseekRequest Read( public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Inference.PutDeepseekRequest value, System.Text.Json.JsonSerializerOptions options) { writer.WriteStartObject(); - writer.WriteProperty(options, PropChunkingSettings, value.ChunkingSettings, null, null); writer.WriteProperty(options, PropService, value.Service, null, null); writer.WriteProperty(options, PropServiceSettings, value.ServiceSettings, null, null); writer.WriteEndObject(); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutDeepseekRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutDeepseekRequest.g.cs index e788fb2c593..0be8e54c44c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutDeepseekRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutDeepseekRequest.g.cs @@ -103,13 +103,6 @@ internal PutDeepseekRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); } - /// - /// - /// The chunking configuration object. - /// - /// - public Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? ChunkingSettings { get; set; } - /// /// /// The type of service supported for the specified task type. In this case, deepseek. @@ -197,39 +190,6 @@ public Elastic.Clients.Elasticsearch.Inference.PutDeepseekRequestDescriptor Time return this; } - /// - /// - /// The chunking configuration object. - /// - /// - public Elastic.Clients.Elasticsearch.Inference.PutDeepseekRequestDescriptor ChunkingSettings(Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? value) - { - Instance.ChunkingSettings = value; - return this; - } - - /// - /// - /// The chunking configuration object. - /// - /// - public Elastic.Clients.Elasticsearch.Inference.PutDeepseekRequestDescriptor ChunkingSettings() - { - Instance.ChunkingSettings = Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettingsDescriptor.Build(null); - return this; - } - - /// - /// - /// The chunking configuration object. - /// - /// - public Elastic.Clients.Elasticsearch.Inference.PutDeepseekRequestDescriptor ChunkingSettings(System.Action? action) - { - Instance.ChunkingSettings = Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettingsDescriptor.Build(action); - return this; - } - /// /// /// Settings used to install the inference model. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutElasticsearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutElasticsearchRequest.g.cs index cbb12b6dc77..12d4547f696 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutElasticsearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutElasticsearchRequest.g.cs @@ -125,7 +125,7 @@ internal PutElasticsearchRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// The chunking configuration object. /// Applies only to the sparse_embedding and text_embedding task types. - /// Not applicable to the rerank, completion, or chat_completion task types. + /// Not applicable to the rerank task type. /// /// public Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? ChunkingSettings { get; set; } @@ -246,7 +246,7 @@ public Elastic.Clients.Elasticsearch.Inference.PutElasticsearchRequestDescriptor /// /// The chunking configuration object. /// Applies only to the sparse_embedding and text_embedding task types. - /// Not applicable to the rerank, completion, or chat_completion task types. + /// Not applicable to the rerank task type. /// /// public Elastic.Clients.Elasticsearch.Inference.PutElasticsearchRequestDescriptor ChunkingSettings(Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? value) @@ -259,7 +259,7 @@ public Elastic.Clients.Elasticsearch.Inference.PutElasticsearchRequestDescriptor /// /// The chunking configuration object. /// Applies only to the sparse_embedding and text_embedding task types. - /// Not applicable to the rerank, completion, or chat_completion task types. + /// Not applicable to the rerank task type. /// /// public Elastic.Clients.Elasticsearch.Inference.PutElasticsearchRequestDescriptor ChunkingSettings() @@ -272,7 +272,7 @@ public Elastic.Clients.Elasticsearch.Inference.PutElasticsearchRequestDescriptor /// /// The chunking configuration object. /// Applies only to the sparse_embedding and text_embedding task types. - /// Not applicable to the rerank, completion, or chat_completion task types. + /// Not applicable to the rerank task type. /// /// public Elastic.Clients.Elasticsearch.Inference.PutElasticsearchRequestDescriptor ChunkingSettings(System.Action? action) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutGoogleaistudioRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutGoogleaistudioRequest.g.cs index 23ce5d24593..9a3c292781c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutGoogleaistudioRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutGoogleaistudioRequest.g.cs @@ -106,6 +106,8 @@ internal PutGoogleaistudioRequest(Elastic.Clients.Elasticsearch.Serialization.Js /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion task type. /// /// public Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? ChunkingSettings { get; set; } @@ -199,6 +201,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutGoogleaistudioRequestDescripto /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion task type. /// /// public Elastic.Clients.Elasticsearch.Inference.PutGoogleaistudioRequestDescriptor ChunkingSettings(Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? value) @@ -210,6 +214,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutGoogleaistudioRequestDescripto /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion task type. /// /// public Elastic.Clients.Elasticsearch.Inference.PutGoogleaistudioRequestDescriptor ChunkingSettings() @@ -221,6 +227,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutGoogleaistudioRequestDescripto /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion task type. /// /// public Elastic.Clients.Elasticsearch.Inference.PutGoogleaistudioRequestDescriptor ChunkingSettings(System.Action? action) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutGooglevertexaiRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutGooglevertexaiRequest.g.cs index 310dc04a8fa..1a4a88b4c63 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutGooglevertexaiRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutGooglevertexaiRequest.g.cs @@ -106,6 +106,8 @@ internal PutGooglevertexaiRequest(Elastic.Clients.Elasticsearch.Serialization.Js /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the rerank, completion, or chat_completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? ChunkingSettings { get; set; } @@ -207,6 +209,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutGooglevertexaiRequestDescripto /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the rerank, completion, or chat_completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutGooglevertexaiRequestDescriptor ChunkingSettings(Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? value) @@ -218,6 +222,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutGooglevertexaiRequestDescripto /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the rerank, completion, or chat_completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutGooglevertexaiRequestDescriptor ChunkingSettings() @@ -229,6 +235,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutGooglevertexaiRequestDescripto /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the rerank, completion, or chat_completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutGooglevertexaiRequestDescriptor ChunkingSettings(System.Action? action) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutHuggingFaceRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutHuggingFaceRequest.g.cs index cf24d8bbe1b..4713d720d82 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutHuggingFaceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutHuggingFaceRequest.g.cs @@ -196,6 +196,8 @@ internal PutHuggingFaceRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the rerank, completion, or chat_completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? ChunkingSettings { get; set; } @@ -387,6 +389,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutHuggingFaceRequestDescriptor T /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the rerank, completion, or chat_completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutHuggingFaceRequestDescriptor ChunkingSettings(Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? value) @@ -398,6 +402,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutHuggingFaceRequestDescriptor C /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the rerank, completion, or chat_completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutHuggingFaceRequestDescriptor ChunkingSettings() @@ -409,6 +415,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutHuggingFaceRequestDescriptor C /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the rerank, completion, or chat_completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutHuggingFaceRequestDescriptor ChunkingSettings(System.Action? action) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutJinaaiRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutJinaaiRequest.g.cs index 1e2048e0fa8..369431ffd17 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutJinaaiRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutJinaaiRequest.g.cs @@ -110,6 +110,8 @@ internal PutJinaaiRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the rerank task type. /// /// public Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? ChunkingSettings { get; set; } @@ -215,6 +217,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutJinaaiRequestDescriptor Timeou /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the rerank task type. /// /// public Elastic.Clients.Elasticsearch.Inference.PutJinaaiRequestDescriptor ChunkingSettings(Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? value) @@ -226,6 +230,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutJinaaiRequestDescriptor Chunki /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the rerank task type. /// /// public Elastic.Clients.Elasticsearch.Inference.PutJinaaiRequestDescriptor ChunkingSettings() @@ -237,6 +243,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutJinaaiRequestDescriptor Chunki /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the rerank task type. /// /// public Elastic.Clients.Elasticsearch.Inference.PutJinaaiRequestDescriptor ChunkingSettings(System.Action? action) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutLlamaRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutLlamaRequest.g.cs index eb3a50a3915..a2648b6ed24 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutLlamaRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutLlamaRequest.g.cs @@ -106,6 +106,8 @@ internal PutLlamaRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion or chat_completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? ChunkingSettings { get; set; } @@ -199,6 +201,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutLlamaRequestDescriptor Timeout /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion or chat_completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutLlamaRequestDescriptor ChunkingSettings(Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? value) @@ -210,6 +214,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutLlamaRequestDescriptor Chunkin /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion or chat_completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutLlamaRequestDescriptor ChunkingSettings() @@ -221,6 +227,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutLlamaRequestDescriptor Chunkin /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion or chat_completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutLlamaRequestDescriptor ChunkingSettings(System.Action? action) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutMistralRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutMistralRequest.g.cs index d1edc67507f..e9ae7a6d0ed 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutMistralRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutMistralRequest.g.cs @@ -106,6 +106,8 @@ internal PutMistralRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion or chat_completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? ChunkingSettings { get; set; } @@ -199,6 +201,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutMistralRequestDescriptor Timeo /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion or chat_completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutMistralRequestDescriptor ChunkingSettings(Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? value) @@ -210,6 +214,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutMistralRequestDescriptor Chunk /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion or chat_completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutMistralRequestDescriptor ChunkingSettings() @@ -221,6 +227,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutMistralRequestDescriptor Chunk /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion or chat_completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutMistralRequestDescriptor ChunkingSettings(System.Action? action) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutOpenaiRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutOpenaiRequest.g.cs index a8180d2e531..00d6032e39b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutOpenaiRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutOpenaiRequest.g.cs @@ -107,6 +107,8 @@ internal PutOpenaiRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion or chat_completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? ChunkingSettings { get; set; } @@ -209,6 +211,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutOpenaiRequestDescriptor Timeou /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion or chat_completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutOpenaiRequestDescriptor ChunkingSettings(Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? value) @@ -220,6 +224,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutOpenaiRequestDescriptor Chunki /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion or chat_completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutOpenaiRequestDescriptor ChunkingSettings() @@ -231,6 +237,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutOpenaiRequestDescriptor Chunki /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion or chat_completion task types. /// /// public Elastic.Clients.Elasticsearch.Inference.PutOpenaiRequestDescriptor ChunkingSettings(System.Action? action) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutVoyageaiRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutVoyageaiRequest.g.cs index dc91bd8adce..ce106297ba4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutVoyageaiRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutVoyageaiRequest.g.cs @@ -109,6 +109,8 @@ internal PutVoyageaiRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the rerank task type. /// /// public Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? ChunkingSettings { get; set; } @@ -213,6 +215,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutVoyageaiRequestDescriptor Time /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the rerank task type. /// /// public Elastic.Clients.Elasticsearch.Inference.PutVoyageaiRequestDescriptor ChunkingSettings(Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? value) @@ -224,6 +228,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutVoyageaiRequestDescriptor Chun /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the rerank task type. /// /// public Elastic.Clients.Elasticsearch.Inference.PutVoyageaiRequestDescriptor ChunkingSettings() @@ -235,6 +241,8 @@ public Elastic.Clients.Elasticsearch.Inference.PutVoyageaiRequestDescriptor Chun /// /// /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the rerank task type. /// /// public Elastic.Clients.Elasticsearch.Inference.PutVoyageaiRequestDescriptor ChunkingSettings(System.Action? action) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutWatsonxRequest.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutWatsonxRequest.Converters.g.cs index b0b373e7887..813d5561d23 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutWatsonxRequest.Converters.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutWatsonxRequest.Converters.g.cs @@ -25,15 +25,22 @@ namespace Elastic.Clients.Elasticsearch.Inference.Json; public sealed partial class PutWatsonxRequestConverter : System.Text.Json.Serialization.JsonConverter { + private static readonly System.Text.Json.JsonEncodedText PropChunkingSettings = System.Text.Json.JsonEncodedText.Encode("chunking_settings"); private static readonly System.Text.Json.JsonEncodedText PropService = System.Text.Json.JsonEncodedText.Encode("service"); private static readonly System.Text.Json.JsonEncodedText PropServiceSettings = System.Text.Json.JsonEncodedText.Encode("service_settings"); public override Elastic.Clients.Elasticsearch.Inference.PutWatsonxRequest Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); + LocalJsonValue propChunkingSettings = default; LocalJsonValue propServiceSettings = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { + if (propChunkingSettings.TryReadProperty(ref reader, options, PropChunkingSettings, null)) + { + continue; + } + if (reader.ValueTextEquals(PropService)) { reader.SafeSkip(); @@ -57,6 +64,7 @@ public override Elastic.Clients.Elasticsearch.Inference.PutWatsonxRequest Read(r reader.ValidateToken(System.Text.Json.JsonTokenType.EndObject); return new Elastic.Clients.Elasticsearch.Inference.PutWatsonxRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { + ChunkingSettings = propChunkingSettings.Value, ServiceSettings = propServiceSettings.Value }; } @@ -64,6 +72,7 @@ public override Elastic.Clients.Elasticsearch.Inference.PutWatsonxRequest Read(r public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Inference.PutWatsonxRequest value, System.Text.Json.JsonSerializerOptions options) { writer.WriteStartObject(); + writer.WriteProperty(options, PropChunkingSettings, value.ChunkingSettings, null, null); writer.WriteProperty(options, PropService, value.Service, null, null); writer.WriteProperty(options, PropServiceSettings, value.ServiceSettings, null, null); writer.WriteEndObject(); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutWatsonxRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutWatsonxRequest.g.cs index 0ebd1e98e7f..ccd25f309c6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutWatsonxRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutWatsonxRequest.g.cs @@ -105,6 +105,15 @@ internal PutWatsonxRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); } + /// + /// + /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion or chat_completion task types. + /// + /// + public Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? ChunkingSettings { get; set; } + /// /// /// The type of service supported for the specified task type. In this case, watsonxai. @@ -193,6 +202,45 @@ public Elastic.Clients.Elasticsearch.Inference.PutWatsonxRequestDescriptor Timeo return this; } + /// + /// + /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion or chat_completion task types. + /// + /// + public Elastic.Clients.Elasticsearch.Inference.PutWatsonxRequestDescriptor ChunkingSettings(Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettings? value) + { + Instance.ChunkingSettings = value; + return this; + } + + /// + /// + /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion or chat_completion task types. + /// + /// + public Elastic.Clients.Elasticsearch.Inference.PutWatsonxRequestDescriptor ChunkingSettings() + { + Instance.ChunkingSettings = Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettingsDescriptor.Build(null); + return this; + } + + /// + /// + /// The chunking configuration object. + /// Applies only to the text_embedding task type. + /// Not applicable to the completion or chat_completion task types. + /// + /// + public Elastic.Clients.Elasticsearch.Inference.PutWatsonxRequestDescriptor ChunkingSettings(System.Action? action) + { + Instance.ChunkingSettings = Elastic.Clients.Elasticsearch.Inference.InferenceChunkingSettingsDescriptor.Build(action); + return this; + } + /// /// /// Settings used to install the inference model. These settings are specific to the watsonxai service. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/RerankRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/RerankRequest.g.cs index edbf89430f9..fe83e5635fd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/RerankRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/RerankRequest.g.cs @@ -35,7 +35,7 @@ public sealed partial class RerankRequestParameters : Elastic.Transport.RequestP /// /// -/// Perform reranking inference on the service +/// Perform reranking inference on the service. /// /// [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Inference.Json.RerankRequestConverter))] @@ -128,7 +128,7 @@ internal RerankRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct /// /// -/// Perform reranking inference on the service +/// Perform reranking inference on the service. /// /// public readonly partial struct RerankRequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/SparseEmbeddingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/SparseEmbeddingRequest.g.cs index ee93b576c05..11f0188e579 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/SparseEmbeddingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/SparseEmbeddingRequest.g.cs @@ -35,7 +35,7 @@ public sealed partial class SparseEmbeddingRequestParameters : Elastic.Transport /// /// -/// Perform sparse embedding inference on the service +/// Perform sparse embedding inference on the service. /// /// [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Inference.Json.SparseEmbeddingRequestConverter))] @@ -103,7 +103,7 @@ internal SparseEmbeddingRequest(Elastic.Clients.Elasticsearch.Serialization.Json /// /// - /// Optional task settings + /// Task settings for the individual inference request. These settings are specific to the <task_type> you specified and override the task settings specified when initializing the service. /// /// public object? TaskSettings { get; set; } @@ -111,7 +111,7 @@ internal SparseEmbeddingRequest(Elastic.Clients.Elasticsearch.Serialization.Json /// /// -/// Perform sparse embedding inference on the service +/// Perform sparse embedding inference on the service. /// /// public readonly partial struct SparseEmbeddingRequestDescriptor @@ -188,7 +188,7 @@ public Elastic.Clients.Elasticsearch.Inference.SparseEmbeddingRequestDescriptor /// /// - /// Optional task settings + /// Task settings for the individual inference request. These settings are specific to the <task_type> you specified and override the task settings specified when initializing the service. /// /// public Elastic.Clients.Elasticsearch.Inference.SparseEmbeddingRequestDescriptor TaskSettings(object? value) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/StreamCompletionRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/StreamCompletionRequest.g.cs index 277404841e9..3da46dfb351 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/StreamCompletionRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/StreamCompletionRequest.g.cs @@ -36,6 +36,8 @@ public sealed partial class StreamCompletionRequestParameters : Elastic.Transpor /// /// /// Perform streaming inference. +/// +/// /// Get real-time responses for completion tasks by delivering answers incrementally, reducing response times during computation. /// This API works only with the completion task type. /// @@ -114,7 +116,7 @@ internal StreamCompletionRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// - /// Optional task settings + /// Task settings for the individual inference request. These settings are specific to the <task_type> you specified and override the task settings specified when initializing the service. /// /// public object? TaskSettings { get; set; } @@ -123,6 +125,8 @@ internal StreamCompletionRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// /// Perform streaming inference. +/// +/// /// Get real-time responses for completion tasks by delivering answers incrementally, reducing response times during computation. /// This API works only with the completion task type. /// @@ -213,7 +217,7 @@ public Elastic.Clients.Elasticsearch.Inference.StreamCompletionRequestDescriptor /// /// - /// Optional task settings + /// Task settings for the individual inference request. These settings are specific to the <task_type> you specified and override the task settings specified when initializing the service. /// /// public Elastic.Clients.Elasticsearch.Inference.StreamCompletionRequestDescriptor TaskSettings(object? value) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/TextEmbeddingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/TextEmbeddingRequest.g.cs index 7ed2cb2fc8f..690eff1fcea 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/TextEmbeddingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/TextEmbeddingRequest.g.cs @@ -35,7 +35,7 @@ public sealed partial class TextEmbeddingRequestParameters : Elastic.Transport.R /// /// -/// Perform text embedding inference on the service +/// Perform text embedding inference on the service. /// /// [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Inference.Json.TextEmbeddingRequestConverter))] @@ -138,7 +138,7 @@ internal TextEmbeddingRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// /// - /// Optional task settings + /// Task settings for the individual inference request. These settings are specific to the <task_type> you specified and override the task settings specified when initializing the service. /// /// public object? TaskSettings { get; set; } @@ -146,7 +146,7 @@ internal TextEmbeddingRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// /// -/// Perform text embedding inference on the service +/// Perform text embedding inference on the service. /// /// public readonly partial struct TextEmbeddingRequestDescriptor @@ -262,7 +262,7 @@ public Elastic.Clients.Elasticsearch.Inference.TextEmbeddingRequestDescriptor In /// /// - /// Optional task settings + /// Task settings for the individual inference request. These settings are specific to the <task_type> you specified and override the task settings specified when initializing the service. /// /// public Elastic.Clients.Elasticsearch.Inference.TextEmbeddingRequestDescriptor TaskSettings(object? value) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/InfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/InfoRequest.g.cs index be8a273f69e..bcee8c2c6db 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/InfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/InfoRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class InfoRequestParameters : Elastic.Transport.RequestPar /// /// /// Get cluster info. +/// +/// /// Get basic build, version, and cluster information. /// ::: In Serverless, this API is retained for backward compatibility only. Some response fields, such as the version number, should be ignored. /// @@ -65,6 +67,8 @@ internal InfoRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructor /// /// /// Get cluster info. +/// +/// /// Get basic build, version, and cluster information. /// ::: In Serverless, this API is retained for backward compatibility only. Some response fields, such as the version number, should be ignored. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/DeletePipelineRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/DeletePipelineRequest.g.cs index 2a2e1e26ae4..17311938f72 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/DeletePipelineRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/DeletePipelineRequest.g.cs @@ -45,6 +45,8 @@ public sealed partial class DeletePipelineRequestParameters : Elastic.Transport. /// /// /// Delete pipelines. +/// +/// /// Delete one or more ingest pipelines. /// /// @@ -106,6 +108,8 @@ internal DeletePipelineRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// /// Delete pipelines. +/// +/// /// Delete one or more ingest pipelines. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs index 70d1a139ec5..c923d557365 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class GeoIpStatsRequestParameters : Elastic.Transport.Requ /// /// /// Get GeoIP statistics. +/// +/// /// Get download statistics for GeoIP2 databases that are used with the GeoIP processor. /// /// @@ -64,6 +66,8 @@ internal GeoIpStatsRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// /// Get GeoIP statistics. +/// +/// /// Get download statistics for GeoIP2 databases that are used with the GeoIP processor. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs index 23ec1170f4c..901aba959c1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class ProcessorGrokRequestParameters : Elastic.Transport.R /// /// /// Run a grok processor. +/// +/// /// Extract structured fields out of a single text field within a document. /// You must choose which field to extract matched fields from, as well as the grok pattern you expect will match. /// A grok pattern is like a regular expression that supports aliased expressions that can be reused. @@ -66,6 +68,8 @@ internal ProcessorGrokRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// /// /// Run a grok processor. +/// +/// /// Extract structured fields out of a single text field within a document. /// You must choose which field to extract matched fields from, as well as the grok pattern you expect will match. /// A grok pattern is like a regular expression that supports aliased expressions that can be reused. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutPipelineRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutPipelineRequest.g.cs index cc65dfd2f28..d1ec9af5a22 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutPipelineRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutPipelineRequest.g.cs @@ -50,6 +50,8 @@ public sealed partial class PutPipelineRequestParameters : Elastic.Transport.Req /// /// /// Create or update a pipeline. +/// +/// /// Changes made using this API take effect immediately. /// /// @@ -165,6 +167,8 @@ internal PutPipelineRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// /// Create or update a pipeline. +/// +/// /// Changes made using this API take effect immediately. /// /// @@ -487,6 +491,8 @@ public Elastic.Clients.Elasticsearch.Ingest.PutPipelineRequestDescriptor Request /// /// /// Create or update a pipeline. +/// +/// /// Changes made using this API take effect immediately. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostStartTrialRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostStartTrialRequest.g.cs index 01198988b09..f78cbad21d8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostStartTrialRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostStartTrialRequest.g.cs @@ -50,6 +50,8 @@ public sealed partial class PostStartTrialRequestParameters : Elastic.Transport. /// /// /// Start a trial. +/// +/// /// Start a 30-day trial, which gives access to all subscription features. /// /// @@ -112,6 +114,8 @@ internal PostStartTrialRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// /// Start a trial. +/// +/// /// Start a 30-day trial, which gives access to all subscription features. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/FlushJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/FlushJobRequest.g.cs index 5ca5c200f91..8504d9d5da4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/FlushJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/FlushJobRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class FlushJobRequestParameters : Elastic.Transport.Reques /// /// /// Force buffered data to be processed. +/// +/// /// The flush jobs API is only applicable when sending data for analysis using /// the post data API. Depending on the content of the buffer, then it might /// additionally calculate new results. Both flush and close operations are @@ -116,6 +118,8 @@ internal FlushJobRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// /// /// Force buffered data to be processed. +/// +/// /// The flush jobs API is only applicable when sending data for analysis using /// the post data API. Depending on the content of the buffer, then it might /// additionally calculate new results. Both flush and close operations are diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetBucketsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetBucketsRequest.g.cs index 08fafdc802b..3f3aff49755 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetBucketsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetBucketsRequest.g.cs @@ -43,6 +43,8 @@ public sealed partial class GetBucketsRequestParameters : Elastic.Transport.Requ /// /// /// Get anomaly detection job results for buckets. +/// +/// /// The API presents a chronological view of the records, grouped by bucket. /// /// @@ -164,6 +166,8 @@ internal GetBucketsRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// /// Get anomaly detection job results for buckets. +/// +/// /// The API presents a chronological view of the records, grouped by bucket. /// /// @@ -401,6 +405,8 @@ public Elastic.Clients.Elasticsearch.MachineLearning.GetBucketsRequestDescriptor /// /// /// Get anomaly detection job results for buckets. +/// +/// /// The API presents a chronological view of the records, grouped by bucket. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDataFrameAnalyticsRequest.g.cs index 8b620d5f66c..d70c5786702 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDataFrameAnalyticsRequest.g.cs @@ -83,6 +83,8 @@ public sealed partial class GetDataFrameAnalyticsRequestParameters : Elastic.Tra /// /// /// Get data frame analytics job configuration info. +/// +/// /// You can get information for multiple data frame analytics jobs in a single /// API request by using a comma-separated list of data frame analytics jobs or a /// wildcard expression. @@ -185,6 +187,8 @@ internal GetDataFrameAnalyticsRequest(Elastic.Clients.Elasticsearch.Serializatio /// /// /// Get data frame analytics job configuration info. +/// +/// /// You can get information for multiple data frame analytics jobs in a single /// API request by using a comma-separated list of data frame analytics jobs or a /// wildcard expression. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDatafeedStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDatafeedStatsRequest.g.cs index c7046e7391d..ccdcbeda9df 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDatafeedStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDatafeedStatsRequest.g.cs @@ -59,6 +59,8 @@ public sealed partial class GetDatafeedStatsRequestParameters : Elastic.Transpor /// /// /// Get datafeed stats. +/// +/// /// You can get statistics for multiple datafeeds in a single API request by /// using a comma-separated list of datafeeds or a wildcard expression. You can /// get statistics for all datafeeds by using _all, by specifying * as the @@ -140,6 +142,8 @@ internal GetDatafeedStatsRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// /// Get datafeed stats. +/// +/// /// You can get statistics for multiple datafeeds in a single API request by /// using a comma-separated list of datafeeds or a wildcard expression. You can /// get statistics for all datafeeds by using _all, by specifying * as the diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDatafeedsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDatafeedsRequest.g.cs index 4d4800218f0..51176f00564 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDatafeedsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDatafeedsRequest.g.cs @@ -68,6 +68,8 @@ public sealed partial class GetDatafeedsRequestParameters : Elastic.Transport.Re /// /// /// Get datafeeds configuration info. +/// +/// /// You can get information for multiple datafeeds in a single API request by /// using a comma-separated list of datafeeds or a wildcard expression. You can /// get information for all datafeeds by using _all, by specifying * as the @@ -157,6 +159,8 @@ internal GetDatafeedsRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// /// Get datafeeds configuration info. +/// +/// /// You can get information for multiple datafeeds in a single API request by /// using a comma-separated list of datafeeds or a wildcard expression. You can /// get information for all datafeeds by using _all, by specifying * as the diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetFiltersRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetFiltersRequest.g.cs index 6ce941cafe0..4dd84e62a3d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetFiltersRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetFiltersRequest.g.cs @@ -43,6 +43,8 @@ public sealed partial class GetFiltersRequestParameters : Elastic.Transport.Requ /// /// /// Get filters. +/// +/// /// You can get a single filter or all filters. /// /// @@ -101,6 +103,8 @@ internal GetFiltersRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// /// Get filters. +/// +/// /// You can get a single filter or all filters. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetInfluencersRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetInfluencersRequest.g.cs index 0b7e83864da..c68e49368c0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetInfluencersRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetInfluencersRequest.g.cs @@ -91,6 +91,8 @@ public sealed partial class GetInfluencersRequestParameters : Elastic.Transport. /// /// /// Get anomaly detection job results for influencers. +/// +/// /// Influencers are the entities that have contributed to, or are to blame for, /// the anomalies. Influencer results are available only if an /// influencer_field_name is specified in the job configuration. @@ -207,6 +209,8 @@ internal GetInfluencersRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// /// Get anomaly detection job results for influencers. +/// +/// /// Influencers are the entities that have contributed to, or are to blame for, /// the anomalies. Influencer results are available only if an /// influencer_field_name is specified in the job configuration. @@ -443,6 +447,8 @@ public Elastic.Clients.Elasticsearch.MachineLearning.GetInfluencersRequestDescri /// /// /// Get anomaly detection job results for influencers. +/// +/// /// Influencers are the entities that have contributed to, or are to blame for, /// the anomalies. Influencer results are available only if an /// influencer_field_name is specified in the job configuration. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetJobsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetJobsRequest.g.cs index 76bef127a37..7792ff8de38 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetJobsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetJobsRequest.g.cs @@ -68,6 +68,8 @@ public sealed partial class GetJobsRequestParameters : Elastic.Transport.Request /// /// /// Get anomaly detection jobs configuration info. +/// +/// /// You can get information for multiple anomaly detection jobs in a single API /// request by using a group name, a comma-separated list of jobs, or a wildcard /// expression. You can get information for all anomaly detection jobs by using @@ -156,6 +158,8 @@ internal GetJobsRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// /// /// Get anomaly detection jobs configuration info. +/// +/// /// You can get information for multiple anomaly detection jobs in a single API /// request by using a group name, a comma-separated list of jobs, or a wildcard /// expression. You can get information for all anomaly detection jobs by using diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetMemoryStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetMemoryStatsRequest.g.cs index c1e4c1c3ec0..47b185286d8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetMemoryStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetMemoryStatsRequest.g.cs @@ -45,6 +45,8 @@ public sealed partial class GetMemoryStatsRequestParameters : Elastic.Transport. /// /// /// Get machine learning memory usage info. +/// +/// /// Get information about how machine learning jobs and trained models are using memory, /// on each node, both within the JVM heap, and natively, outside of the JVM. /// @@ -107,6 +109,8 @@ internal GetMemoryStatsRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// /// Get machine learning memory usage info. +/// +/// /// Get information about how machine learning jobs and trained models are using memory, /// on each node, both within the JVM heap, and natively, outside of the JVM. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetRecordsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetRecordsRequest.g.cs index 5a745c01963..43900641b23 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetRecordsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetRecordsRequest.g.cs @@ -43,6 +43,8 @@ public sealed partial class GetRecordsRequestParameters : Elastic.Transport.Requ /// /// /// Get anomaly records for an anomaly detection job. +/// +/// /// Records contain the detailed analytical results. They describe the anomalous /// activity that has been identified in the input data based on the detector /// configuration. @@ -153,6 +155,8 @@ internal GetRecordsRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// /// Get anomaly records for an anomaly detection job. +/// +/// /// Records contain the detailed analytical results. They describe the anomalous /// activity that has been identified in the input data based on the detector /// configuration. @@ -371,6 +375,8 @@ public Elastic.Clients.Elasticsearch.MachineLearning.GetRecordsRequestDescriptor /// /// /// Get anomaly records for an anomaly detection job. +/// +/// /// Records contain the detailed analytical results. They describe the anomalous /// activity that has been identified in the input data based on the detector /// configuration. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetTrainedModelsStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetTrainedModelsStatsRequest.g.cs index 90d33f24bfa..a9c762e1d25 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetTrainedModelsStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetTrainedModelsStatsRequest.g.cs @@ -71,6 +71,8 @@ public sealed partial class GetTrainedModelsStatsRequestParameters : Elastic.Tra /// /// /// Get trained models usage info. +/// +/// /// You can get usage information for multiple trained /// models in a single API request by using a comma-separated list of model IDs or a wildcard expression. /// @@ -159,6 +161,8 @@ internal GetTrainedModelsStatsRequest(Elastic.Clients.Elasticsearch.Serializatio /// /// /// Get trained models usage info. +/// +/// /// You can get usage information for multiple trained /// models in a single API request by using a comma-separated list of model IDs or a wildcard expression. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/MlInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/MlInfoRequest.g.cs index 70f48c66eac..847f460e055 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/MlInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/MlInfoRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class MlInfoRequestParameters : Elastic.Transport.RequestP /// /// /// Get machine learning information. +/// +/// /// Get defaults and limits used by machine learning. /// This endpoint is designed to be used by a user interface that needs to fully /// understand machine learning configurations where some options are not @@ -70,6 +72,8 @@ internal MlInfoRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct /// /// /// Get machine learning information. +/// +/// /// Get defaults and limits used by machine learning. /// This endpoint is designed to be used by a user interface that needs to fully /// understand machine learning configurations where some options are not diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PreviewDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PreviewDataFrameAnalyticsRequest.g.cs index 4aa8c4d44e0..dae0c0a3067 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PreviewDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PreviewDataFrameAnalyticsRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class PreviewDataFrameAnalyticsRequestParameters : Elastic /// /// /// Preview features used by data frame analytics. +/// +/// /// Preview the extracted features used by a data frame analytics config. /// /// @@ -83,6 +85,8 @@ internal PreviewDataFrameAnalyticsRequest(Elastic.Clients.Elasticsearch.Serializ /// /// /// Preview features used by data frame analytics. +/// +/// /// Preview the extracted features used by a data frame analytics config. /// /// @@ -218,6 +222,8 @@ public Elastic.Clients.Elasticsearch.MachineLearning.PreviewDataFrameAnalyticsRe /// /// /// Preview features used by data frame analytics. +/// +/// /// Preview the extracted features used by a data frame analytics config. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDataFrameAnalyticsRequest.g.cs index 80c21b0df7b..ace92af8a30 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDataFrameAnalyticsRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class PutDataFrameAnalyticsRequestParameters : Elastic.Tra /// /// /// Create a data frame analytics job. +/// +/// /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// By default, the query used in the source configuration is {"match_all": {}}. @@ -207,6 +209,8 @@ internal PutDataFrameAnalyticsRequest(Elastic.Clients.Elasticsearch.Serializatio /// /// /// Create a data frame analytics job. +/// +/// /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// By default, the query used in the source configuration is {"match_all": {}}. @@ -651,6 +655,8 @@ public Elastic.Clients.Elasticsearch.MachineLearning.PutDataFrameAnalyticsReques /// /// /// Create a data frame analytics job. +/// +/// /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// By default, the query used in the source configuration is {"match_all": {}}. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs index 66247b89418..1a03d2b1666 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs @@ -60,6 +60,8 @@ public sealed partial class PutDatafeedRequestParameters : Elastic.Transport.Req /// /// /// Create a datafeed. +/// +/// /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). @@ -262,6 +264,8 @@ internal PutDatafeedRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// /// Create a datafeed. +/// +/// /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). @@ -870,6 +874,8 @@ public Elastic.Clients.Elasticsearch.MachineLearning.PutDatafeedRequestDescripto /// /// /// Create a datafeed. +/// +/// /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutFilterRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutFilterRequest.g.cs index 51447d91cff..7b4d01f6e2c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutFilterRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutFilterRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class PutFilterRequestParameters : Elastic.Transport.Reque /// /// /// Create a filter. +/// +/// /// A filter contains a list of strings. It can be used by one or more anomaly detection jobs. /// Specifically, filters are referenced in the custom_rules property of detector configuration objects. /// @@ -90,6 +92,8 @@ internal PutFilterRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// /// /// Create a filter. +/// +/// /// A filter contains a list of strings. It can be used by one or more anomaly detection jobs. /// Specifically, filters are referenced in the custom_rules property of detector configuration objects. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutJobRequest.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutJobRequest.Converters.g.cs index 4948f97ff5b..b204f771b6c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutJobRequest.Converters.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutJobRequest.Converters.g.cs @@ -35,7 +35,6 @@ public sealed partial class PutJobRequestConverter : System.Text.Json.Serializat private static readonly System.Text.Json.JsonEncodedText PropDatafeedConfig = System.Text.Json.JsonEncodedText.Encode("datafeed_config"); private static readonly System.Text.Json.JsonEncodedText PropDescription = System.Text.Json.JsonEncodedText.Encode("description"); private static readonly System.Text.Json.JsonEncodedText PropGroups = System.Text.Json.JsonEncodedText.Encode("groups"); - private static readonly System.Text.Json.JsonEncodedText PropJobId = System.Text.Json.JsonEncodedText.Encode("job_id"); private static readonly System.Text.Json.JsonEncodedText PropModelPlotConfig = System.Text.Json.JsonEncodedText.Encode("model_plot_config"); private static readonly System.Text.Json.JsonEncodedText PropModelSnapshotRetentionDays = System.Text.Json.JsonEncodedText.Encode("model_snapshot_retention_days"); private static readonly System.Text.Json.JsonEncodedText PropRenormalizationWindowDays = System.Text.Json.JsonEncodedText.Encode("renormalization_window_days"); @@ -55,7 +54,6 @@ public override Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequest Read LocalJsonValue propDatafeedConfig = default; LocalJsonValue propDescription = default; LocalJsonValue?> propGroups = default; - LocalJsonValue propJobId = default; LocalJsonValue propModelPlotConfig = default; LocalJsonValue propModelSnapshotRetentionDays = default; LocalJsonValue propRenormalizationWindowDays = default; @@ -113,11 +111,6 @@ public override Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequest Read continue; } - if (propJobId.TryReadProperty(ref reader, options, PropJobId, null)) - { - continue; - } - if (propModelPlotConfig.TryReadProperty(ref reader, options, PropModelPlotConfig, null)) { continue; @@ -165,7 +158,6 @@ public override Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequest Read DatafeedConfig = propDatafeedConfig.Value, Description = propDescription.Value, Groups = propGroups.Value, - JobId = propJobId.Value, ModelPlotConfig = propModelPlotConfig.Value, ModelSnapshotRetentionDays = propModelSnapshotRetentionDays.Value, RenormalizationWindowDays = propRenormalizationWindowDays.Value, @@ -187,7 +179,6 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteProperty(options, PropDatafeedConfig, value.DatafeedConfig, null, null); writer.WriteProperty(options, PropDescription, value.Description, null, null); writer.WriteProperty(options, PropGroups, value.Groups, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection? v) => w.WriteCollectionValue(o, v, null)); - writer.WriteProperty(options, PropJobId, value.JobId, null, null); writer.WriteProperty(options, PropModelPlotConfig, value.ModelPlotConfig, null, null); writer.WriteProperty(options, PropModelSnapshotRetentionDays, value.ModelSnapshotRetentionDays, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, long? v) => w.WriteNullableValue(o, v)); writer.WriteProperty(options, PropRenormalizationWindowDays, value.RenormalizationWindowDays, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, long? v) => w.WriteNullableValue(o, v)); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutJobRequest.g.cs index f1df73ec206..14d14e74f30 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutJobRequest.g.cs @@ -69,8 +69,14 @@ public sealed partial class PutJobRequestParameters : Elastic.Transport.RequestP [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.MachineLearning.Json.PutJobRequestConverter))] public sealed partial class PutJobRequest : Elastic.Clients.Elasticsearch.Requests.PlainRequest { + [System.Obsolete("The request contains additional required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")] [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] - public PutJobRequest(Elastic.Clients.Elasticsearch.MachineLearning.AnalysisConfig analysisConfig, Elastic.Clients.Elasticsearch.MachineLearning.DataDescription dataDescription) + public PutJobRequest(Elastic.Clients.Elasticsearch.Id jobId) : base(r => r.Required("job_id", jobId)) + { + } + + [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] + public PutJobRequest(Elastic.Clients.Elasticsearch.Id jobId, Elastic.Clients.Elasticsearch.MachineLearning.AnalysisConfig analysisConfig, Elastic.Clients.Elasticsearch.MachineLearning.DataDescription dataDescription) : base(r => r.Required("job_id", jobId)) { AnalysisConfig = analysisConfig; DataDescription = dataDescription; @@ -79,12 +85,6 @@ public PutJobRequest(Elastic.Clients.Elasticsearch.MachineLearning.AnalysisConfi public PutJobRequest() { } -#endif -#if !NET7_0_OR_GREATER - [System.Obsolete("The request contains required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")] - public PutJobRequest() - { - } #endif [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] internal PutJobRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel sentinel) @@ -100,6 +100,17 @@ internal PutJobRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct internal override string OperationName => "ml.put_job"; + /// + /// + /// The identifier for the anomaly detection job. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric characters. + /// + /// + public +#if NET7_0_OR_GREATER + required +#endif + Elastic.Clients.Elasticsearch.Id JobId { get => P("job_id"); set => PR("job_id", value); } + /// /// /// If true, wildcard indices expressions that resolve into no concrete indices are ignored. This includes the @@ -209,13 +220,6 @@ internal PutJobRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct /// public System.Collections.Generic.ICollection? Groups { get; set; } - /// - /// - /// The identifier for the anomaly detection job. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric characters. - /// - /// - public Elastic.Clients.Elasticsearch.Id? JobId { get; set; } - /// /// /// This advanced configuration option stores model information along with the results. It provides a more detailed view into anomaly detection. If you enable model plot it can add considerable overhead to the performance of the system; it is not feasible for jobs with many entities. Model plot provides a simplified and indicative view of the model and its bounds. It does not display complex features such as multivariate correlations or multimodal data. As such, anomalies may occasionally be reported which cannot be seen in the model plot. Model plot config can be configured when the job is created or updated later. It must be disabled if performance issues are experienced. @@ -271,14 +275,33 @@ public PutJobRequestDescriptor(Elastic.Clients.Elasticsearch.MachineLearning.Put Instance = instance; } + public PutJobRequestDescriptor(Elastic.Clients.Elasticsearch.Id jobId) + { +#pragma warning disable CS0618 + Instance = new Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequest(jobId); +#pragma warning restore CS0618 + } + + [System.Obsolete("The use of the parameterless constructor is not permitted for this type.")] public PutJobRequestDescriptor() { - Instance = new Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance); + throw new System.InvalidOperationException("The use of the parameterless constructor is not permitted for this type."); } public static explicit operator Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequestDescriptor(Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequest instance) => new Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequestDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequest(Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequestDescriptor descriptor) => descriptor.Instance; + /// + /// + /// The identifier for the anomaly detection job. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric characters. + /// + /// + public Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequestDescriptor JobId(Elastic.Clients.Elasticsearch.Id value) + { + Instance.JobId = value; + return this; + } + /// /// /// If true, wildcard indices expressions that resolve into no concrete indices are ignored. This includes the @@ -569,17 +592,6 @@ public Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequestDescriptor Gro return this; } - /// - /// - /// The identifier for the anomaly detection job. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric characters. - /// - /// - public Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequestDescriptor JobId(Elastic.Clients.Elasticsearch.Id? value) - { - Instance.JobId = value; - return this; - } - /// /// /// This advanced configuration option stores model information along with the results. It provides a more detailed view into anomaly detection. If you enable model plot it can add considerable overhead to the performance of the system; it is not feasible for jobs with many entities. Model plot provides a simplified and indicative view of the model and its bounds. It does not display complex features such as multivariate correlations or multimodal data. As such, anomalies may occasionally be reported which cannot be seen in the model plot. Model plot config can be configured when the job is created or updated later. It must be disabled if performance issues are experienced. @@ -738,14 +750,33 @@ public PutJobRequestDescriptor(Elastic.Clients.Elasticsearch.MachineLearning.Put Instance = instance; } + public PutJobRequestDescriptor(Elastic.Clients.Elasticsearch.Id jobId) + { +#pragma warning disable CS0618 + Instance = new Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequest(jobId); +#pragma warning restore CS0618 + } + + [System.Obsolete("The use of the parameterless constructor is not permitted for this type.")] public PutJobRequestDescriptor() { - Instance = new Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance); + throw new System.InvalidOperationException("The use of the parameterless constructor is not permitted for this type."); } public static explicit operator Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequestDescriptor(Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequest instance) => new Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequestDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequest(Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequestDescriptor descriptor) => descriptor.Instance; + /// + /// + /// The identifier for the anomaly detection job. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric characters. + /// + /// + public Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequestDescriptor JobId(Elastic.Clients.Elasticsearch.Id value) + { + Instance.JobId = value; + return this; + } + /// /// /// If true, wildcard indices expressions that resolve into no concrete indices are ignored. This includes the @@ -1003,17 +1034,6 @@ public Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequestDescriptor - /// - /// The identifier for the anomaly detection job. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric characters. - /// - /// - public Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequestDescriptor JobId(Elastic.Clients.Elasticsearch.Id? value) - { - Instance.JobId = value; - return this; - } - /// /// /// This advanced configuration option stores model information along with the results. It provides a more detailed view into anomaly detection. If you enable model plot it can add considerable overhead to the performance of the system; it is not feasible for jobs with many entities. Model plot provides a simplified and indicative view of the model and its bounds. It does not display complex features such as multivariate correlations or multimodal data. As such, anomalies may occasionally be reported which cannot be seen in the model plot. Model plot config can be configured when the job is created or updated later. It must be disabled if performance issues are experienced. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelAliasRequest.g.cs index 8c2b8b262e2..807f0fd80ef 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelAliasRequest.g.cs @@ -38,6 +38,8 @@ public sealed partial class PutTrainedModelAliasRequestParameters : Elastic.Tran /// /// /// Create or update a trained model alias. +/// +/// /// A trained model alias is a logical name used to reference a single trained /// model. /// You can use aliases instead of trained model identifiers to make it easier to @@ -117,6 +119,8 @@ internal PutTrainedModelAliasRequest(Elastic.Clients.Elasticsearch.Serialization /// /// /// Create or update a trained model alias. +/// +/// /// A trained model alias is a logical name used to reference a single trained /// model. /// You can use aliases instead of trained model identifiers to make it easier to diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelRequest.g.cs index c60a1276d5a..a1130b5fd62 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelRequest.g.cs @@ -46,6 +46,8 @@ public sealed partial class PutTrainedModelRequestParameters : Elastic.Transport /// /// /// Create a trained model. +/// +/// /// Enable you to supply a trained model that is not created by data frame analytics. /// /// @@ -198,6 +200,8 @@ internal PutTrainedModelRequest(Elastic.Clients.Elasticsearch.Serialization.Json /// /// /// Create a trained model. +/// +/// /// Enable you to supply a trained model that is not created by data frame analytics. /// /// @@ -534,6 +538,8 @@ public Elastic.Clients.Elasticsearch.MachineLearning.PutTrainedModelRequestDescr /// /// /// Create a trained model. +/// +/// /// Enable you to supply a trained model that is not created by data frame analytics. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelVocabularyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelVocabularyRequest.g.cs index 5fb54b6104c..d8518d4bcc8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelVocabularyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelVocabularyRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class PutTrainedModelVocabularyRequestParameters : Elastic /// /// /// Create a trained model vocabulary. +/// +/// /// This API is supported only for natural language processing (NLP) models. /// The vocabulary is stored in the index as described in inference_config.*.vocabulary of the trained model definition. /// @@ -107,6 +109,8 @@ internal PutTrainedModelVocabularyRequest(Elastic.Clients.Elasticsearch.Serializ /// /// /// Create a trained model vocabulary. +/// +/// /// This API is supported only for natural language processing (NLP) models. /// The vocabulary is stored in the index as described in inference_config.*.vocabulary of the trained model definition. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ResetJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ResetJobRequest.g.cs index 54f515d4b04..764aefca755 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ResetJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ResetJobRequest.g.cs @@ -46,6 +46,8 @@ public sealed partial class ResetJobRequestParameters : Elastic.Transport.Reques /// /// /// Reset an anomaly detection job. +/// +/// /// All model state and results are deleted. The job is ready to start over as if /// it had just been created. /// It is not currently possible to reset multiple jobs using wildcards or a @@ -110,6 +112,8 @@ internal ResetJobRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// /// /// Reset an anomaly detection job. +/// +/// /// All model state and results are deleted. The job is ready to start over as if /// it had just been created. /// It is not currently possible to reset multiple jobs using wildcards or a diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/RevertModelSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/RevertModelSnapshotRequest.g.cs index 342467009ba..c7d71544c20 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/RevertModelSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/RevertModelSnapshotRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class RevertModelSnapshotRequestParameters : Elastic.Trans /// /// /// Revert to a snapshot. +/// +/// /// The machine learning features react quickly to anomalous input, learning new /// behaviors in data. Highly anomalous input increases the variance in the /// models whilst the system learns whether this is a new step-change in behavior @@ -100,6 +102,8 @@ internal RevertModelSnapshotRequest(Elastic.Clients.Elasticsearch.Serialization. /// /// /// Revert to a snapshot. +/// +/// /// The machine learning features react quickly to anomalous input, learning new /// behaviors in data. Highly anomalous input increases the variance in the /// models whilst the system learns whether this is a new step-change in behavior diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/SetUpgradeModeRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/SetUpgradeModeRequest.g.cs index 8f68484cc7b..cbe73863e10 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/SetUpgradeModeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/SetUpgradeModeRequest.g.cs @@ -45,6 +45,8 @@ public sealed partial class SetUpgradeModeRequestParameters : Elastic.Transport. /// /// /// Set upgrade_mode for ML indices. +/// +/// /// Sets a cluster wide upgrade_mode setting that prepares machine learning /// indices for an upgrade. /// When upgrading your cluster, in some circumstances you must restart your @@ -106,6 +108,8 @@ internal SetUpgradeModeRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// /// Set upgrade_mode for ML indices. +/// +/// /// Sets a cluster wide upgrade_mode setting that prepares machine learning /// indices for an upgrade. /// When upgrading your cluster, in some circumstances you must restart your diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartDataFrameAnalyticsRequest.g.cs index 154de16c8bc..c8dbf9eba65 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartDataFrameAnalyticsRequest.g.cs @@ -37,6 +37,8 @@ public sealed partial class StartDataFrameAnalyticsRequestParameters : Elastic.T /// /// /// Start a data frame analytics job. +/// +/// /// A data frame analytics job can be started and stopped multiple times /// throughout its lifecycle. /// If the destination index does not exist, it is created automatically the @@ -101,6 +103,8 @@ internal StartDataFrameAnalyticsRequest(Elastic.Clients.Elasticsearch.Serializat /// /// /// Start a data frame analytics job. +/// +/// /// A data frame analytics job can be started and stopped multiple times /// throughout its lifecycle. /// If the destination index does not exist, it is created automatically the diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartTrainedModelDeploymentRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartTrainedModelDeploymentRequest.g.cs index 2b31f51ed33..76528ab6f13 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartTrainedModelDeploymentRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartTrainedModelDeploymentRequest.g.cs @@ -98,6 +98,8 @@ public sealed partial class StartTrainedModelDeploymentRequestParameters : Elast /// /// /// Start a trained model deployment. +/// +/// /// It allocates the model to every machine learning node. /// /// @@ -220,6 +222,8 @@ internal StartTrainedModelDeploymentRequest(Elastic.Clients.Elasticsearch.Serial /// /// /// Start a trained model deployment. +/// +/// /// It allocates the model to every machine learning node. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopDataFrameAnalyticsRequest.g.cs index c84b7806a06..480384ce74c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopDataFrameAnalyticsRequest.g.cs @@ -75,6 +75,8 @@ public sealed partial class StopDataFrameAnalyticsRequestParameters : Elastic.Tr /// /// /// Stop data frame analytics jobs. +/// +/// /// A data frame analytics job can be started and stopped multiple times /// throughout its lifecycle. /// @@ -168,6 +170,8 @@ internal StopDataFrameAnalyticsRequest(Elastic.Clients.Elasticsearch.Serializati /// /// /// Stop data frame analytics jobs. +/// +/// /// A data frame analytics job can be started and stopped multiple times /// throughout its lifecycle. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopDatafeedRequest.g.cs index 7009f15d81b..4c8e65eda5d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopDatafeedRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class StopDatafeedRequestParameters : Elastic.Transport.Re /// /// /// Stop datafeeds. +/// +/// /// A datafeed that is stopped ceases to retrieve data from Elasticsearch. A datafeed can be started and stopped /// multiple times throughout its lifecycle. /// @@ -98,6 +100,8 @@ internal StopDatafeedRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// /// Stop datafeeds. +/// +/// /// A datafeed that is stopped ceases to retrieve data from Elasticsearch. A datafeed can be started and stopped /// multiple times throughout its lifecycle. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateDatafeedRequest.g.cs index 32bba650f0e..a3dd50deb24 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateDatafeedRequest.g.cs @@ -60,6 +60,8 @@ public sealed partial class UpdateDatafeedRequestParameters : Elastic.Transport. /// /// /// Update a datafeed. +/// +/// /// You must stop and start the datafeed for the changes to be applied. /// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who updated it had at /// the time of the update and runs the query using those same roles. If you provide secondary authorization headers, @@ -251,6 +253,8 @@ internal UpdateDatafeedRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// /// Update a datafeed. +/// +/// /// You must stop and start the datafeed for the changes to be applied. /// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who updated it had at /// the time of the update and runs the query using those same roles. If you provide secondary authorization headers, @@ -837,6 +841,8 @@ public Elastic.Clients.Elasticsearch.MachineLearning.UpdateDatafeedRequestDescri /// /// /// Update a datafeed. +/// +/// /// You must stop and start the datafeed for the changes to be applied. /// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who updated it had at /// the time of the update and runs the query using those same roles. If you provide secondary authorization headers, diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateFilterRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateFilterRequest.g.cs index 166c1d93a69..1b75ca43b02 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateFilterRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateFilterRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class UpdateFilterRequestParameters : Elastic.Transport.Re /// /// /// Update a filter. +/// +/// /// Updates the description of a filter, adds items, or removes items from the list. /// /// @@ -95,6 +97,8 @@ internal UpdateFilterRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// /// Update a filter. +/// +/// /// Updates the description of a filter, adds items, or removes items from the list. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateJobRequest.g.cs index 78a32f06cce..50b0e37c0ba 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateJobRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class UpdateJobRequestParameters : Elastic.Transport.Reque /// /// /// Update an anomaly detection job. +/// +/// /// Updates certain properties of an anomaly detection job. /// /// @@ -189,6 +191,8 @@ internal UpdateJobRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// /// /// Update an anomaly detection job. +/// +/// /// Updates certain properties of an anomaly detection job. /// /// @@ -601,6 +605,8 @@ public Elastic.Clients.Elasticsearch.MachineLearning.UpdateJobRequestDescriptor /// /// /// Update an anomaly detection job. +/// +/// /// Updates certain properties of an anomaly detection job. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateModelSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateModelSnapshotRequest.g.cs index c36011aec05..f0f6e8092f9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateModelSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateModelSnapshotRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class UpdateModelSnapshotRequestParameters : Elastic.Trans /// /// /// Update a snapshot. +/// +/// /// Updates certain properties of a snapshot. /// /// @@ -101,6 +103,8 @@ internal UpdateModelSnapshotRequest(Elastic.Clients.Elasticsearch.Serialization. /// /// /// Update a snapshot. +/// +/// /// Updates certain properties of a snapshot. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpgradeJobSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpgradeJobSnapshotRequest.g.cs index 7ad980d694a..b61be987e99 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpgradeJobSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpgradeJobSnapshotRequest.g.cs @@ -44,6 +44,8 @@ public sealed partial class UpgradeJobSnapshotRequestParameters : Elastic.Transp /// /// /// Upgrade a snapshot. +/// +/// /// Upgrade an anomaly detection model snapshot to the latest major version. /// Over time, older snapshot formats are deprecated and removed. Anomaly /// detection jobs support only snapshots that are from the current or previous @@ -122,6 +124,8 @@ internal UpgradeJobSnapshotRequest(Elastic.Clients.Elasticsearch.Serialization.J /// /// /// Upgrade a snapshot. +/// +/// /// Upgrade an anomaly detection model snapshot to the latest major version. /// Over time, older snapshot formats are deprecated and removed. Anomaly /// detection jobs support only snapshots that are from the current or previous diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchRequest.g.cs index 67914d72d2c..7f35b706558 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchRequest.g.cs @@ -51,6 +51,7 @@ public sealed partial class MultiSearchRequestParameters : Elastic.Transport.Req /// If true, concrete, expanded or aliased indices are ignored when frozen. /// /// + [System.Obsolete("Deprecated in '7.16.0'. This parameter is deprecated because frozen indices have been deprecated.")] public bool? IgnoreThrottled { get => Q("ignore_throttled"); set => Q("ignore_throttled", value); } /// @@ -223,6 +224,7 @@ internal MultiSearchRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// If true, concrete, expanded or aliased indices are ignored when frozen. /// /// + [System.Obsolete("Deprecated in '7.16.0'. This parameter is deprecated because frozen indices have been deprecated.")] public bool? IgnoreThrottled { get => Q("ignore_throttled"); set => Q("ignore_throttled", value); } /// @@ -403,6 +405,7 @@ public Elastic.Clients.Elasticsearch.MultiSearchRequestDescriptor ExpandWildcard return this; } + [System.Obsolete("Deprecated in '7.16.0'. This parameter is deprecated because frozen indices have been deprecated.")] /// /// /// If true, concrete, expanded or aliased indices are ignored when frozen. @@ -685,6 +688,7 @@ public Elastic.Clients.Elasticsearch.MultiSearchRequestDescriptor Exp return this; } + [System.Obsolete("Deprecated in '7.16.0'. This parameter is deprecated because frozen indices have been deprecated.")] /// /// /// If true, concrete, expanded or aliased indices are ignored when frozen. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/ClearRepositoriesMeteringArchiveRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/ClearRepositoriesMeteringArchiveRequest.g.cs index 35d8b2c62b5..98ea21f8505 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/ClearRepositoriesMeteringArchiveRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/ClearRepositoriesMeteringArchiveRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class ClearRepositoriesMeteringArchiveRequestParameters : /// /// /// Clear the archived repositories metering. +/// +/// /// Clear the archived repositories metering information in the cluster. /// /// @@ -85,6 +87,8 @@ internal ClearRepositoriesMeteringArchiveRequest(Elastic.Clients.Elasticsearch.S /// /// /// Clear the archived repositories metering. +/// +/// /// Clear the archived repositories metering information in the cluster. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/GetRepositoriesMeteringInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/GetRepositoriesMeteringInfoRequest.g.cs index af4c1d1c0be..8d9b5061340 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/GetRepositoriesMeteringInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/GetRepositoriesMeteringInfoRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class GetRepositoriesMeteringInfoRequestParameters : Elast /// /// /// Get cluster repositories metering. +/// +/// /// Get repositories metering information for a cluster. /// This API exposes monotonically non-decreasing counters and it is expected that clients would durably store the information needed to compute aggregations over a period of time. /// Additionally, the information exposed by this API is volatile, meaning that it will not be present after node restarts. @@ -76,6 +78,8 @@ internal GetRepositoriesMeteringInfoRequest(Elastic.Clients.Elasticsearch.Serial /// /// /// Get cluster repositories metering. +/// +/// /// Get repositories metering information for a cluster. /// This API exposes monotonically non-decreasing counters and it is expected that clients would durably store the information needed to compute aggregations over a period of time. /// Additionally, the information exposed by this API is volatile, meaning that it will not be present after node restarts. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/HotThreadsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/HotThreadsRequest.g.cs index 9a92d361d37..81b657047c7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/HotThreadsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/HotThreadsRequest.g.cs @@ -80,6 +80,8 @@ public sealed partial class HotThreadsRequestParameters : Elastic.Transport.Requ /// /// /// Get the hot threads for nodes. +/// +/// /// Get a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of the top hot threads for each node. /// @@ -176,6 +178,8 @@ internal HotThreadsRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// /// Get the hot threads for nodes. +/// +/// /// Get a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of the top hot threads for each node. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesStatsRequest.g.cs index c227d18b1b4..0a400ea3789 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesStatsRequest.g.cs @@ -92,6 +92,8 @@ public sealed partial class NodesStatsRequestParameters : Elastic.Transport.Requ /// /// /// Get node statistics. +/// +/// /// Get statistics for nodes in a cluster. /// By default, all stats are returned. You can limit the returned information by using metrics. /// @@ -230,6 +232,8 @@ internal NodesStatsRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// /// Get node statistics. +/// +/// /// Get statistics for nodes in a cluster. /// By default, all stats are returned. You can limit the returned information by using metrics. /// @@ -512,6 +516,8 @@ public Elastic.Clients.Elasticsearch.Nodes.NodesStatsRequestDescriptor RequestCo /// /// /// Get node statistics. +/// +/// /// Get statistics for nodes in a cluster. /// By default, all stats are returned. You can limit the returned information by using metrics. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/PingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/PingRequest.g.cs index 1094f4c225b..56f937493df 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/PingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/PingRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class PingRequestParameters : Elastic.Transport.RequestPar /// /// /// Ping the cluster. +/// +/// /// Get information about whether the cluster is running. /// /// @@ -64,6 +66,8 @@ internal PingRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructor /// /// /// Ping the cluster. +/// +/// /// Get information about whether the cluster is running. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Project/TagsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Project/TagsRequest.g.cs index ce03970d628..61dd06f2522 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Project/TagsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Project/TagsRequest.g.cs @@ -29,7 +29,10 @@ public sealed partial class TagsRequestParameters : Elastic.Transport.RequestPar /// /// -/// Return tags defined for the project +/// Get tags. +/// +/// +/// Get the tags that are defined for the project. /// /// [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Project.Json.TagsRequestConverter))] @@ -62,7 +65,10 @@ internal TagsRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructor /// /// -/// Return tags defined for the project +/// Get tags. +/// +/// +/// Get the tags that are defined for the project. /// /// public readonly partial struct TagsRequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/PutScriptRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/PutScriptRequest.g.cs index 1b62eb4bdc3..a5fcdb6f759 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/PutScriptRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/PutScriptRequest.g.cs @@ -47,6 +47,8 @@ public sealed partial class PutScriptRequestParameters : Elastic.Transport.Reque /// /// /// Create or update a script or search template. +/// +/// /// Creates or updates a stored script or search template. /// /// @@ -148,6 +150,8 @@ internal PutScriptRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// /// /// Create or update a script or search template. +/// +/// /// Creates or updates a stored script or search template. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRuleRequest.g.cs index bcdb9da95e9..925460b617b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRuleRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class DeleteRuleRequestParameters : Elastic.Transport.Requ /// /// /// Delete a query rule. +/// +/// /// Delete a query rule within a query ruleset. /// This is a destructive action that is only recoverable by re-adding the same rule with the create or update query rule API. /// @@ -86,6 +88,8 @@ internal DeleteRuleRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// /// Delete a query rule. +/// +/// /// Delete a query rule within a query ruleset. /// This is a destructive action that is only recoverable by re-adding the same rule with the create or update query rule API. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRulesetRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRulesetRequest.g.cs index 986e86a4b35..3f35be0b440 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRulesetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRulesetRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class DeleteRulesetRequestParameters : Elastic.Transport.R /// /// /// Delete a query ruleset. +/// +/// /// Remove a query ruleset and its associated data. /// This is a destructive action that is not recoverable. /// @@ -75,6 +77,8 @@ internal DeleteRulesetRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// /// /// Delete a query ruleset. +/// +/// /// Remove a query ruleset and its associated data. /// This is a destructive action that is not recoverable. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRuleRequest.g.cs index 4bdde7b0c86..6c42e514f5d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRuleRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class GetRuleRequestParameters : Elastic.Transport.Request /// /// /// Get a query rule. +/// +/// /// Get details about a query rule within a query ruleset. /// /// @@ -85,6 +87,8 @@ internal GetRuleRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// /// /// Get a query rule. +/// +/// /// Get details about a query rule within a query ruleset. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRulesetRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRulesetRequest.g.cs index 058fe67f522..4057e04385b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRulesetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRulesetRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class GetRulesetRequestParameters : Elastic.Transport.Requ /// /// /// Get a query ruleset. +/// +/// /// Get details about a query ruleset. /// /// @@ -74,6 +76,8 @@ internal GetRulesetRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// /// Get a query ruleset. +/// +/// /// Get details about a query ruleset. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/ListRulesetsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/ListRulesetsRequest.g.cs index 662eed6d2b1..7b98bd91922 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/ListRulesetsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/ListRulesetsRequest.g.cs @@ -43,6 +43,8 @@ public sealed partial class ListRulesetsRequestParameters : Elastic.Transport.Re /// /// /// Get all query rulesets. +/// +/// /// Get summarized information about the query rulesets. /// /// @@ -91,6 +93,8 @@ internal ListRulesetsRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// /// Get all query rulesets. +/// +/// /// Get summarized information about the query rulesets. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRuleRequest.g.cs index 85dd304bbfd..a1e64545ab9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRuleRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class PutRuleRequestParameters : Elastic.Transport.Request /// /// /// Create or update a query rule. +/// +/// /// Create or update a query rule within a query ruleset. /// /// @@ -136,6 +138,8 @@ internal PutRuleRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// /// /// Create or update a query rule. +/// +/// /// Create or update a query rule within a query ruleset. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRulesetRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRulesetRequest.g.cs index c824b7e2723..a4e91c1e07d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRulesetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRulesetRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class PutRulesetRequestParameters : Elastic.Transport.Requ /// /// /// Create or update a query ruleset. +/// +/// /// There is a limit of 100 rules per ruleset. /// This limit can be increased by using the xpack.applications.rules.max_rules_per_ruleset cluster setting. /// @@ -93,6 +95,8 @@ internal PutRulesetRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// /// Create or update a query ruleset. +/// +/// /// There is a limit of 100 rules per ruleset. /// This limit can be increased by using the xpack.applications.rules.max_rules_per_ruleset cluster setting. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/TestRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/TestRequest.g.cs index 16d1b44af74..f4117e6fbaf 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/TestRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/TestRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class TestRequestParameters : Elastic.Transport.RequestPar /// /// /// Test a query ruleset. +/// +/// /// Evaluate match criteria against a query ruleset to identify the rules that would match that criteria. /// /// @@ -93,6 +95,8 @@ internal TestRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructor /// /// /// Test a query ruleset. +/// +/// /// Evaluate match criteria against a query ruleset to identify the rules that would match that criteria. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetJobsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetJobsRequest.g.cs index 531a517478d..a4bb262a603 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetJobsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetJobsRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class GetJobsRequestParameters : Elastic.Transport.Request /// /// /// Get rollup job information. +/// +/// /// Get the configuration, stats, and status of rollup jobs. /// /// @@ -80,6 +82,8 @@ internal GetJobsRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// /// /// Get rollup job information. +/// +/// /// Get the configuration, stats, and status of rollup jobs. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupCapsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupCapsRequest.g.cs index 81ab495c36f..6a9bc95684c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupCapsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupCapsRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class GetRollupCapsRequestParameters : Elastic.Transport.R /// /// /// Get the rollup job capabilities. +/// +/// /// Get the capabilities of any rollup jobs that have been configured for a specific index or index pattern. /// /// @@ -92,6 +94,8 @@ internal GetRollupCapsRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// /// /// Get the rollup job capabilities. +/// +/// /// Get the capabilities of any rollup jobs that have been configured for a specific index or index pattern. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupIndexCapsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupIndexCapsRequest.g.cs index 301fe102abb..ec67ff104ea 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupIndexCapsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupIndexCapsRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class GetRollupIndexCapsRequestParameters : Elastic.Transp /// /// /// Get the rollup index capabilities. +/// +/// /// Get the rollup capabilities of all jobs inside of a rollup index. /// A single rollup index may store the data for multiple rollup jobs and may have a variety of capabilities depending on those jobs. This API enables you to determine: /// @@ -88,6 +90,8 @@ internal GetRollupIndexCapsRequest(Elastic.Clients.Elasticsearch.Serialization.J /// /// /// Get the rollup index capabilities. +/// +/// /// Get the rollup capabilities of all jobs inside of a rollup index. /// A single rollup index may store the data for multiple rollup jobs and may have a variety of capabilities depending on those jobs. This API enables you to determine: /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/RollupSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/RollupSearchRequest.g.cs index b4789387cda..258a748d3b6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/RollupSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/RollupSearchRequest.g.cs @@ -43,6 +43,8 @@ public sealed partial class RollupSearchRequestParameters : Elastic.Transport.Re /// /// /// Search rolled-up data. +/// +/// /// The rollup search endpoint is needed because, internally, rolled-up documents utilize a different document structure than the original data. /// It rewrites standard Query DSL into a format that matches the rollup documents then takes the response and rewrites it back to what a client would expect given the original query. /// @@ -157,6 +159,8 @@ internal RollupSearchRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// /// Search rolled-up data. +/// +/// /// The rollup search endpoint is needed because, internally, rolled-up documents utilize a different document structure than the original data. /// It rewrites standard Query DSL into a format that matches the rollup documents then takes the response and rewrites it back to what a client would expect given the original query. /// @@ -415,6 +419,8 @@ public Elastic.Clients.Elasticsearch.Rollup.RollupSearchRequestDescriptor Reques /// /// /// Search rolled-up data. +/// +/// /// The rollup search endpoint is needed because, internally, rolled-up documents utilize a different document structure than the original data. /// It rewrites standard Query DSL into a format that matches the rollup documents then takes the response and rewrites it back to what a client would expect given the original query. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/StartJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/StartJobRequest.g.cs index 9d8737ec1f1..39b8aacc727 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/StartJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/StartJobRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class StartJobRequestParameters : Elastic.Transport.Reques /// /// /// Start rollup jobs. +/// +/// /// If you try to start a job that does not exist, an exception occurs. /// If you try to start a job that is already started, nothing happens. /// @@ -75,6 +77,8 @@ internal StartJobRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// /// /// Start rollup jobs. +/// +/// /// If you try to start a job that does not exist, an exception occurs. /// If you try to start a job that is already started, nothing happens. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/StopJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/StopJobRequest.g.cs index 4fa1f704c42..c4941da3cf2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/StopJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/StopJobRequest.g.cs @@ -47,6 +47,8 @@ public sealed partial class StopJobRequestParameters : Elastic.Transport.Request /// /// /// Stop rollup jobs. +/// +/// /// If you try to stop a job that does not exist, an exception occurs. /// If you try to stop a job that is already stopped, nothing happens. /// @@ -121,6 +123,8 @@ internal StopJobRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// /// /// Stop rollup jobs. +/// +/// /// If you try to stop a job that does not exist, an exception occurs. /// If you try to stop a job that is already stopped, nothing happens. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteBehavioralAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteBehavioralAnalyticsRequest.g.cs index 5c8087173a3..efc146abb57 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteBehavioralAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteBehavioralAnalyticsRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class DeleteBehavioralAnalyticsRequestParameters : Elastic /// /// /// Delete a behavioral analytics collection. +/// +/// /// The associated data stream is also deleted. /// /// @@ -74,6 +76,8 @@ internal DeleteBehavioralAnalyticsRequest(Elastic.Clients.Elasticsearch.Serializ /// /// /// Delete a behavioral analytics collection. +/// +/// /// The associated data stream is also deleted. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/ListRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/ListRequest.g.cs index 11569eecae8..0395ba3a2c1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/ListRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/ListRequest.g.cs @@ -50,6 +50,8 @@ public sealed partial class ListRequestParameters : Elastic.Transport.RequestPar /// /// /// Get search applications. +/// +/// /// Get information about search applications. /// /// @@ -105,6 +107,8 @@ internal ListRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructor /// /// /// Get search applications. +/// +/// /// Get information about search applications. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/RenderQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/RenderQueryRequest.g.cs index cd150905c53..b7d14f7f46c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/RenderQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/RenderQueryRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class RenderQueryRequestParameters : Elastic.Transport.Req /// /// /// Render a search application query. +/// +/// /// Generate an Elasticsearch query using the specified query parameters and the search template associated with the search application or a default template if none is specified. /// If a parameter used in the search template is not specified in params, the parameter's default value will be used. /// The API returns the specific Elasticsearch query that would be generated and run by calling the search application search API. @@ -80,6 +82,8 @@ internal RenderQueryRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// /// Render a search application query. +/// +/// /// Generate an Elasticsearch query using the specified query parameters and the search template associated with the search application or a default template if none is specified. /// If a parameter used in the search template is not specified in params, the parameter's default value will be used. /// The API returns the specific Elasticsearch query that would be generated and run by calling the search application search API. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/SearchApplicationSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/SearchApplicationSearchRequest.g.cs index 71b451cdca0..1b402775a62 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/SearchApplicationSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/SearchApplicationSearchRequest.g.cs @@ -36,6 +36,8 @@ public sealed partial class SearchApplicationSearchRequestParameters : Elastic.T /// /// /// Run a search application search. +/// +/// /// Generate and run an Elasticsearch query that uses the specified query parameteter and the search template associated with the search application or default template. /// Unspecified template parameters are assigned their default values if applicable. /// @@ -95,6 +97,8 @@ internal SearchApplicationSearchRequest(Elastic.Clients.Elasticsearch.Serializat /// /// /// Run a search application search. +/// +/// /// Generate and run an Elasticsearch query that uses the specified query parameteter and the search template associated with the search application or default template. /// Unspecified template parameters are assigned their default values if applicable. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/CacheStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/CacheStatsRequest.g.cs index 615621db4fd..14b1acd6321 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/CacheStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/CacheStatsRequest.g.cs @@ -31,6 +31,8 @@ public sealed partial class CacheStatsRequestParameters : Elastic.Transport.Requ /// /// /// Get cache statistics. +/// +/// /// Get statistics about the shared cache for partially mounted indices. /// /// @@ -76,6 +78,8 @@ internal CacheStatsRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// /// Get cache statistics. +/// +/// /// Get statistics about the shared cache for partially mounted indices. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/ClearCacheRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/ClearCacheRequest.g.cs index 7b86a84cc03..8dfd5241224 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/ClearCacheRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/ClearCacheRequest.g.cs @@ -50,6 +50,8 @@ public sealed partial class ClearCacheRequestParameters : Elastic.Transport.Requ /// /// /// Clear the cache. +/// +/// /// Clear indices and data streams from the shared cache for partially mounted indices. /// /// @@ -116,6 +118,8 @@ internal ClearCacheRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// /// Clear the cache. +/// +/// /// Clear indices and data streams from the shared cache for partially mounted indices. /// /// @@ -257,6 +261,8 @@ public Elastic.Clients.Elasticsearch.SearchableSnapshots.ClearCacheRequestDescri /// /// /// Clear the cache. +/// +/// /// Clear indices and data streams from the shared cache for partially mounted indices. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/MountRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/MountRequest.g.cs index 0222c20b1b1..0ec6465646e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/MountRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/MountRequest.g.cs @@ -52,6 +52,8 @@ public sealed partial class MountRequestParameters : Elastic.Transport.RequestPa /// /// /// Mount a snapshot. +/// +/// /// Mount a snapshot as a searchable snapshot index. /// Do not use this API for snapshots managed by index lifecycle management (ILM). /// Manually mounting ILM-managed snapshots can interfere with ILM processes. @@ -172,6 +174,8 @@ internal MountRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructo /// /// /// Mount a snapshot. +/// +/// /// Mount a snapshot as a searchable snapshot index. /// Do not use this API for snapshots managed by index lifecycle management (ILM). /// Manually mounting ILM-managed snapshots can interfere with ILM processes. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkUpdateApiKeysRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkUpdateApiKeysRequest.g.cs index 08602cb18e6..7e2413e77e6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkUpdateApiKeysRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkUpdateApiKeysRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class BulkUpdateApiKeysRequestParameters : Elastic.Transpo /// /// /// Bulk update API keys. +/// +/// /// Update the attributes for multiple API keys. /// /// @@ -132,6 +134,8 @@ internal BulkUpdateApiKeysRequest(Elastic.Clients.Elasticsearch.Serialization.Js /// /// /// Bulk update API keys. +/// +/// /// Update the attributes for multiple API keys. /// /// @@ -444,6 +448,8 @@ public Elastic.Clients.Elasticsearch.Security.BulkUpdateApiKeysRequestDescriptor /// /// /// Bulk update API keys. +/// +/// /// Update the attributes for multiple API keys. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutUserRequest.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutUserRequest.Converters.g.cs index be806a1cd28..73777a3c8cd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutUserRequest.Converters.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutUserRequest.Converters.g.cs @@ -32,7 +32,6 @@ public sealed partial class PutUserRequestConverter : System.Text.Json.Serializa private static readonly System.Text.Json.JsonEncodedText PropPassword = System.Text.Json.JsonEncodedText.Encode("password"); private static readonly System.Text.Json.JsonEncodedText PropPasswordHash = System.Text.Json.JsonEncodedText.Encode("password_hash"); private static readonly System.Text.Json.JsonEncodedText PropRoles = System.Text.Json.JsonEncodedText.Encode("roles"); - private static readonly System.Text.Json.JsonEncodedText PropUsername = System.Text.Json.JsonEncodedText.Encode("username"); public override Elastic.Clients.Elasticsearch.Security.PutUserRequest Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { @@ -44,7 +43,6 @@ public override Elastic.Clients.Elasticsearch.Security.PutUserRequest Read(ref S LocalJsonValue propPassword = default; LocalJsonValue propPasswordHash = default; LocalJsonValue?> propRoles = default; - LocalJsonValue propUsername = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { if (propEmail.TryReadProperty(ref reader, options, PropEmail, null)) @@ -82,11 +80,6 @@ public override Elastic.Clients.Elasticsearch.Security.PutUserRequest Read(ref S continue; } - if (propUsername.TryReadProperty(ref reader, options, PropUsername, null)) - { - continue; - } - if (options.UnmappedMemberHandling is System.Text.Json.Serialization.JsonUnmappedMemberHandling.Skip) { reader.SafeSkip(); @@ -105,8 +98,7 @@ public override Elastic.Clients.Elasticsearch.Security.PutUserRequest Read(ref S Metadata = propMetadata.Value, Password = propPassword.Value, PasswordHash = propPasswordHash.Value, - Roles = propRoles.Value, - Username = propUsername.Value + Roles = propRoles.Value }; } @@ -120,7 +112,6 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteProperty(options, PropPassword, value.Password, null, null); writer.WriteProperty(options, PropPasswordHash, value.PasswordHash, null, null); writer.WriteProperty(options, PropRoles, value.Roles, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection? v) => w.WriteCollectionValue(o, v, null)); - writer.WriteProperty(options, PropUsername, value.Username, null, null); writer.WriteEndObject(); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutUserRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutUserRequest.g.cs index c9269ea7d76..19f224e952e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutUserRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutUserRequest.g.cs @@ -47,12 +47,11 @@ public sealed partial class PutUserRequestParameters : Elastic.Transport.Request [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Security.Json.PutUserRequestConverter))] public sealed partial class PutUserRequest : Elastic.Clients.Elasticsearch.Requests.PlainRequest { -#if NET7_0_OR_GREATER - public PutUserRequest() + [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] + public PutUserRequest(Elastic.Clients.Elasticsearch.Username username) : base(r => r.Required("username", username)) { } -#endif -#if !NET7_0_OR_GREATER +#if NET7_0_OR_GREATER public PutUserRequest() { } @@ -71,6 +70,22 @@ internal PutUserRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc internal override string OperationName => "security.put_user"; + /// + /// + /// An identifier for the user. + /// + /// + /// NOTE: Usernames must be at least 1 and no more than 507 characters. + /// They can contain alphanumeric characters (a-z, A-Z, 0-9), spaces, punctuation, and printable symbols in the Basic Latin (ASCII) block. + /// Leading or trailing whitespace is not allowed. + /// + /// + public +#if NET7_0_OR_GREATER + required +#endif + Elastic.Clients.Elasticsearch.Username Username { get => P("username"); set => PR("username", value); } + /// /// /// Valid values are true, false, and wait_for. @@ -136,7 +151,6 @@ internal PutUserRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// /// public System.Collections.Generic.ICollection? Roles { get; set; } - public Elastic.Clients.Elasticsearch.Username? Username { get; set; } } /// @@ -159,14 +173,36 @@ public PutUserRequestDescriptor(Elastic.Clients.Elasticsearch.Security.PutUserRe Instance = instance; } + public PutUserRequestDescriptor(Elastic.Clients.Elasticsearch.Username username) + { + Instance = new Elastic.Clients.Elasticsearch.Security.PutUserRequest(username); + } + + [System.Obsolete("The use of the parameterless constructor is not permitted for this type.")] public PutUserRequestDescriptor() { - Instance = new Elastic.Clients.Elasticsearch.Security.PutUserRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance); + throw new System.InvalidOperationException("The use of the parameterless constructor is not permitted for this type."); } public static explicit operator Elastic.Clients.Elasticsearch.Security.PutUserRequestDescriptor(Elastic.Clients.Elasticsearch.Security.PutUserRequest instance) => new Elastic.Clients.Elasticsearch.Security.PutUserRequestDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Security.PutUserRequest(Elastic.Clients.Elasticsearch.Security.PutUserRequestDescriptor descriptor) => descriptor.Instance; + /// + /// + /// An identifier for the user. + /// + /// + /// NOTE: Usernames must be at least 1 and no more than 507 characters. + /// They can contain alphanumeric characters (a-z, A-Z, 0-9), spaces, punctuation, and printable symbols in the Basic Latin (ASCII) block. + /// Leading or trailing whitespace is not allowed. + /// + /// + public Elastic.Clients.Elasticsearch.Security.PutUserRequestDescriptor Username(Elastic.Clients.Elasticsearch.Username value) + { + Instance.Username = value; + return this; + } + /// /// /// Valid values are true, false, and wait_for. @@ -307,20 +343,9 @@ public Elastic.Clients.Elasticsearch.Security.PutUserRequestDescriptor Roles(par return this; } - public Elastic.Clients.Elasticsearch.Security.PutUserRequestDescriptor Username(Elastic.Clients.Elasticsearch.Username? value) - { - Instance.Username = value; - return this; - } - [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] - internal static Elastic.Clients.Elasticsearch.Security.PutUserRequest Build(System.Action? action) + internal static Elastic.Clients.Elasticsearch.Security.PutUserRequest Build(System.Action action) { - if (action is null) - { - return new Elastic.Clients.Elasticsearch.Security.PutUserRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance); - } - var builder = new Elastic.Clients.Elasticsearch.Security.PutUserRequestDescriptor(new Elastic.Clients.Elasticsearch.Security.PutUserRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance)); action.Invoke(builder); return builder.Instance; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Simulate/IngestRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Simulate/IngestRequest.g.cs index d01a6546fc5..1efcf294c90 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Simulate/IngestRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Simulate/IngestRequest.g.cs @@ -47,6 +47,8 @@ public sealed partial class IngestRequestParameters : Elastic.Transport.RequestP /// /// /// Simulate data ingestion. +/// +/// /// Run ingest pipelines against a set of provided documents, optionally with substitute pipeline definitions, to simulate ingesting data into an index. /// /// @@ -180,6 +182,8 @@ internal IngestRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct /// /// /// Simulate data ingestion. +/// +/// /// Run ingest pipelines against a set of provided documents, optionally with substitute pipeline definitions, to simulate ingesting data into an index. /// /// @@ -625,6 +629,8 @@ public Elastic.Clients.Elasticsearch.Simulate.IngestRequestDescriptor RequestCon /// /// /// Simulate data ingestion. +/// +/// /// Run ingest pipelines against a set of provided documents, optionally with substitute pipeline definitions, to simulate ingesting data into an index. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CleanupRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CleanupRepositoryRequest.g.cs index e66d8da26d1..1cb13feeef6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CleanupRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CleanupRepositoryRequest.g.cs @@ -47,6 +47,8 @@ public sealed partial class CleanupRepositoryRequestParameters : Elastic.Transpo /// /// /// Clean up the snapshot repository. +/// +/// /// Trigger the review of the contents of a snapshot repository and delete any stale data not referenced by existing snapshots. /// /// @@ -109,6 +111,8 @@ internal CleanupRepositoryRequest(Elastic.Clients.Elasticsearch.Serialization.Js /// /// /// Clean up the snapshot repository. +/// +/// /// Trigger the review of the contents of a snapshot repository and delete any stale data not referenced by existing snapshots. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CloneSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CloneSnapshotRequest.g.cs index ad917fda58d..52a71f6d54b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CloneSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CloneSnapshotRequest.g.cs @@ -38,6 +38,8 @@ public sealed partial class CloneSnapshotRequestParameters : Elastic.Transport.R /// /// /// Clone a snapshot. +/// +/// /// Clone part of all of a snapshot into another snapshot in the same repository. /// /// @@ -132,6 +134,8 @@ internal CloneSnapshotRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// /// /// Clone a snapshot. +/// +/// /// Clone part of all of a snapshot into another snapshot in the same repository. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateRepositoryRequest.g.cs index 4d511b2ca45..2439eef70fc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateRepositoryRequest.g.cs @@ -56,6 +56,8 @@ public sealed partial class CreateRepositoryRequestParameters : Elastic.Transpor /// /// /// Create or update a snapshot repository. +/// +/// /// IMPORTANT: If you are migrating searchable snapshots, the repository name must be identical in the source and destination clusters. /// To register a snapshot repository, the cluster's global metadata must be writeable. /// Ensure there are no cluster blocks (for example, cluster.blocks.read_only and clsuter.blocks.read_only_allow_delete settings) that prevent write access. @@ -145,6 +147,8 @@ internal CreateRepositoryRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// /// Create or update a snapshot repository. +/// +/// /// IMPORTANT: If you are migrating searchable snapshots, the repository name must be identical in the source and destination clusters. /// To register a snapshot repository, the cluster's global metadata must be writeable. /// Ensure there are no cluster blocks (for example, cluster.blocks.read_only and clsuter.blocks.read_only_allow_delete settings) that prevent write access. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateSnapshotRequest.g.cs index 4f3adc76699..af03d250632 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateSnapshotRequest.g.cs @@ -45,6 +45,8 @@ public sealed partial class CreateSnapshotRequestParameters : Elastic.Transport. /// /// /// Create a snapshot. +/// +/// /// Take a snapshot of a cluster or of data streams and indices. /// /// @@ -195,6 +197,8 @@ internal CreateSnapshotRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// /// Create a snapshot. +/// +/// /// Take a snapshot of a cluster or of data streams and indices. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteRepositoryRequest.g.cs index 82d9ccb2a7a..b81ba2d81cd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteRepositoryRequest.g.cs @@ -47,6 +47,8 @@ public sealed partial class DeleteRepositoryRequestParameters : Elastic.Transpor /// /// /// Delete snapshot repositories. +/// +/// /// When a repository is unregistered, Elasticsearch removes only the reference to the location where the repository is storing the snapshots. /// The snapshots themselves are left untouched and in place. /// @@ -111,6 +113,8 @@ internal DeleteRepositoryRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// /// Delete snapshot repositories. +/// +/// /// When a repository is unregistered, Elasticsearch removes only the reference to the location where the repository is storing the snapshots. /// The snapshots themselves are left untouched and in place. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RepositoryVerifyIntegrityRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RepositoryVerifyIntegrityRequest.g.cs index 97a8586eb6d..7c2db45fd2b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RepositoryVerifyIntegrityRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RepositoryVerifyIntegrityRequest.g.cs @@ -90,6 +90,8 @@ public sealed partial class RepositoryVerifyIntegrityRequestParameters : Elastic /// /// /// Verify the repository integrity. +/// +/// /// Verify the integrity of the contents of a snapshot repository. /// /// @@ -259,6 +261,8 @@ internal RepositoryVerifyIntegrityRequest(Elastic.Clients.Elasticsearch.Serializ /// /// /// Verify the repository integrity. +/// +/// /// Verify the integrity of the contents of a snapshot repository. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RestoreRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RestoreRequest.g.cs index 48b85c08ad8..672eb47d525 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RestoreRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RestoreRequest.g.cs @@ -50,6 +50,8 @@ public sealed partial class RestoreRequestParameters : Elastic.Transport.Request /// /// /// Restore a snapshot. +/// +/// /// Restore a snapshot of a cluster or data streams and indices. /// /// @@ -294,6 +296,8 @@ internal RestoreRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// /// /// Restore a snapshot. +/// +/// /// Restore a snapshot of a cluster or data streams and indices. /// /// @@ -713,6 +717,8 @@ public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor RequestCo /// /// /// Restore a snapshot. +/// +/// /// Restore a snapshot of a cluster or data streams and indices. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/SnapshotStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/SnapshotStatusRequest.g.cs index 1845544a963..4408b13b513 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/SnapshotStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/SnapshotStatusRequest.g.cs @@ -46,6 +46,8 @@ public sealed partial class SnapshotStatusRequestParameters : Elastic.Transport. /// /// /// Get the snapshot status. +/// +/// /// Get a detailed description of the current state for each shard participating in the snapshot. /// /// @@ -146,6 +148,8 @@ internal SnapshotStatusRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// /// Get the snapshot status. +/// +/// /// Get a detailed description of the current state for each shard participating in the snapshot. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/VerifyRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/VerifyRepositoryRequest.g.cs index 8d03c11213e..f4673062045 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/VerifyRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/VerifyRepositoryRequest.g.cs @@ -47,6 +47,8 @@ public sealed partial class VerifyRepositoryRequestParameters : Elastic.Transpor /// /// /// Verify a snapshot repository. +/// +/// /// Check for common misconfigurations in a snapshot repository. /// /// @@ -109,6 +111,8 @@ internal VerifyRepositoryRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// /// Verify a snapshot repository. +/// +/// /// Check for common misconfigurations in a snapshot repository. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/DeleteLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/DeleteLifecycleRequest.g.cs index 4886a147e8d..c5796e4abed 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/DeleteLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/DeleteLifecycleRequest.g.cs @@ -45,6 +45,8 @@ public sealed partial class DeleteLifecycleRequestParameters : Elastic.Transport /// /// /// Delete a policy. +/// +/// /// Delete a snapshot lifecycle policy definition. /// This operation prevents any future snapshots from being taken but does not cancel in-progress snapshots or remove previously-taken snapshots. /// @@ -106,6 +108,8 @@ internal DeleteLifecycleRequest(Elastic.Clients.Elasticsearch.Serialization.Json /// /// /// Delete a policy. +/// +/// /// Delete a snapshot lifecycle policy definition. /// This operation prevents any future snapshots from being taken but does not cancel in-progress snapshots or remove previously-taken snapshots. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/ExecuteLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/ExecuteLifecycleRequest.g.cs index 81e688235fc..90066f21590 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/ExecuteLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/ExecuteLifecycleRequest.g.cs @@ -45,6 +45,8 @@ public sealed partial class ExecuteLifecycleRequestParameters : Elastic.Transpor /// /// /// Run a policy. +/// +/// /// Immediately create a snapshot according to the snapshot lifecycle policy without waiting for the scheduled time. /// The snapshot policy is normally applied according to its schedule, but you might want to manually run a policy before performing an upgrade or other maintenance. /// @@ -106,6 +108,8 @@ internal ExecuteLifecycleRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// /// Run a policy. +/// +/// /// Immediately create a snapshot according to the snapshot lifecycle policy without waiting for the scheduled time. /// The snapshot policy is normally applied according to its schedule, but you might want to manually run a policy before performing an upgrade or other maintenance. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/ExecuteRetentionRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/ExecuteRetentionRequest.g.cs index 9463ef8d4c3..201d52a7747 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/ExecuteRetentionRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/ExecuteRetentionRequest.g.cs @@ -45,6 +45,8 @@ public sealed partial class ExecuteRetentionRequestParameters : Elastic.Transpor /// /// /// Run a retention policy. +/// +/// /// Manually apply the retention policy to force immediate removal of snapshots that are expired according to the snapshot lifecycle policy retention rules. /// The retention policy is normally applied according to its schedule. /// @@ -96,6 +98,8 @@ internal ExecuteRetentionRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// /// Run a retention policy. +/// +/// /// Manually apply the retention policy to force immediate removal of snapshots that are expired according to the snapshot lifecycle policy retention rules. /// The retention policy is normally applied according to its schedule. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetLifecycleRequest.g.cs index 3784f950a86..ec43c59f4a7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetLifecycleRequest.g.cs @@ -45,6 +45,8 @@ public sealed partial class GetLifecycleRequestParameters : Elastic.Transport.Re /// /// /// Get policy information. +/// +/// /// Get snapshot lifecycle policy definitions and information about the latest snapshot attempts. /// /// @@ -105,6 +107,8 @@ internal GetLifecycleRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// /// Get policy information. +/// +/// /// Get snapshot lifecycle policy definitions and information about the latest snapshot attempts. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetStatsRequest.g.cs index bc183f84d1a..c384beaf59d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetStatsRequest.g.cs @@ -43,6 +43,8 @@ public sealed partial class GetStatsRequestParameters : Elastic.Transport.Reques /// /// /// Get snapshot lifecycle management statistics. +/// +/// /// Get global and policy-level statistics about actions taken by snapshot lifecycle management. /// /// @@ -91,6 +93,8 @@ internal GetStatsRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// /// /// Get snapshot lifecycle management statistics. +/// +/// /// Get global and policy-level statistics about actions taken by snapshot lifecycle management. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/PutLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/PutLifecycleRequest.g.cs index 71efec7f4af..bb384c6279d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/PutLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/PutLifecycleRequest.g.cs @@ -47,6 +47,8 @@ public sealed partial class PutLifecycleRequestParameters : Elastic.Transport.Re /// /// /// Create or update a policy. +/// +/// /// Create or update a snapshot lifecycle policy. /// If the policy already exists, this request increments the policy version. /// Only the latest version of a policy is stored. @@ -146,6 +148,8 @@ internal PutLifecycleRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// /// Create or update a policy. +/// +/// /// Create or update a snapshot lifecycle policy. /// If the policy already exists, this request increments the policy version. /// Only the latest version of a policy is stored. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/StartSlmRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/StartSlmRequest.g.cs index c20eabdf7e4..ad5c6f61ea8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/StartSlmRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/StartSlmRequest.g.cs @@ -47,6 +47,8 @@ public sealed partial class StartSlmRequestParameters : Elastic.Transport.Reques /// /// /// Start snapshot lifecycle management. +/// +/// /// Snapshot lifecycle management (SLM) starts automatically when a cluster is formed. /// Manually starting SLM is necessary only if it has been stopped using the stop SLM API. /// @@ -100,6 +102,8 @@ internal StartSlmRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// /// /// Start snapshot lifecycle management. +/// +/// /// Snapshot lifecycle management (SLM) starts automatically when a cluster is formed. /// Manually starting SLM is necessary only if it has been stopped using the stop SLM API. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/StopSlmRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/StopSlmRequest.g.cs index ede1c710fa0..ec922db0bb2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/StopSlmRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/StopSlmRequest.g.cs @@ -47,6 +47,8 @@ public sealed partial class StopSlmRequestParameters : Elastic.Transport.Request /// /// /// Stop snapshot lifecycle management. +/// +/// /// Stop all snapshot lifecycle management (SLM) operations and the SLM plugin. /// This API is useful when you are performing maintenance on a cluster and need to prevent SLM from performing any actions on your data streams or indices. /// Stopping SLM does not stop any snapshots that are in progress. @@ -106,6 +108,8 @@ internal StopSlmRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// /// /// Stop snapshot lifecycle management. +/// +/// /// Stop all snapshot lifecycle management (SLM) operations and the SLM plugin. /// This API is useful when you are performing maintenance on a cluster and need to prevent SLM from performing any actions on your data streams or indices. /// Stopping SLM does not stop any snapshots that are in progress. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/DeleteAsyncRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/DeleteAsyncRequest.g.cs index 942f06837fc..46085731c8d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/DeleteAsyncRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/DeleteAsyncRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class DeleteAsyncRequestParameters : Elastic.Transport.Req /// /// /// Delete an async SQL search. +/// +/// /// Delete an async SQL search or a stored synchronous SQL search. /// If the search is still running, the API cancels it. /// @@ -90,6 +92,8 @@ internal DeleteAsyncRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// /// Delete an async SQL search. +/// +/// /// Delete an async SQL search or a stored synchronous SQL search. /// If the search is still running, the API cancels it. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncRequest.g.cs index 5c7ab67655b..b02f99e96dd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncRequest.g.cs @@ -62,6 +62,8 @@ public sealed partial class GetAsyncRequestParameters : Elastic.Transport.Reques /// /// /// Get async SQL search results. +/// +/// /// Get the current status and available results for an async SQL search or stored synchronous SQL search. /// /// @@ -142,6 +144,8 @@ internal GetAsyncRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// /// /// Get async SQL search results. +/// +/// /// Get the current status and available results for an async SQL search or stored synchronous SQL search. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs index b5531c9a19e..7f1cea9089d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class GetAsyncStatusRequestParameters : Elastic.Transport. /// /// /// Get the async SQL search status. +/// +/// /// Get the current status of an async SQL search or a stored synchronous SQL search. /// /// @@ -74,6 +76,8 @@ internal GetAsyncStatusRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// /// Get the async SQL search status. +/// +/// /// Get the current status of an async SQL search or a stored synchronous SQL search. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/QueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/QueryRequest.g.cs index c1608f4d143..c39eff7c809 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/QueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/QueryRequest.g.cs @@ -38,6 +38,8 @@ public sealed partial class QueryRequestParameters : Elastic.Transport.RequestPa /// /// /// Get SQL search results. +/// +/// /// Run an SQL request. /// /// @@ -215,6 +217,8 @@ internal QueryRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructo /// /// /// Get SQL search results. +/// +/// /// Run an SQL request. /// /// @@ -621,6 +625,8 @@ public Elastic.Clients.Elasticsearch.Sql.QueryRequestDescriptor RequestConfigura /// /// /// Get SQL search results. +/// +/// /// Run an SQL request. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/TranslateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/TranslateRequest.g.cs index 543a9212f0c..fc9eb6b55eb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/TranslateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/TranslateRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class TranslateRequestParameters : Elastic.Transport.Reque /// /// /// Translate SQL into Elasticsearch queries. +/// +/// /// Translate an SQL search into a search API request containing Query DSL. /// It accepts the same request body parameters as the SQL search API, excluding cursor. /// @@ -103,6 +105,8 @@ internal TranslateRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// /// /// Translate SQL into Elasticsearch queries. +/// +/// /// Translate an SQL search into a search API request containing Query DSL. /// It accepts the same request body parameters as the SQL search API, excluding cursor. /// @@ -245,6 +249,8 @@ public Elastic.Clients.Elasticsearch.Sql.TranslateRequestDescriptor RequestConfi /// /// /// Translate SQL into Elasticsearch queries. +/// +/// /// Translate an SQL search into a search API request containing Query DSL. /// It accepts the same request body parameters as the SQL search API, excluding cursor. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/DeleteSynonymRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/DeleteSynonymRuleRequest.g.cs index 5df8810c838..050e69f78ab 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/DeleteSynonymRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/DeleteSynonymRuleRequest.g.cs @@ -37,6 +37,8 @@ public sealed partial class DeleteSynonymRuleRequestParameters : Elastic.Transpo /// /// /// Delete a synonym rule. +/// +/// /// Delete a synonym rule from a synonym set. /// /// @@ -100,6 +102,8 @@ internal DeleteSynonymRuleRequest(Elastic.Clients.Elasticsearch.Serialization.Js /// /// /// Delete a synonym rule. +/// +/// /// Delete a synonym rule from a synonym set. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymRuleRequest.g.cs index 77bca08663f..3ddfa875772 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymRuleRequest.g.cs @@ -30,6 +30,8 @@ public sealed partial class GetSynonymRuleRequestParameters : Elastic.Transport. /// /// /// Get a synonym rule. +/// +/// /// Get a synonym rule from a synonym set. /// /// @@ -85,6 +87,8 @@ internal GetSynonymRuleRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// /// Get a synonym rule. +/// +/// /// Get a synonym rule from a synonym set. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymsSetsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymsSetsRequest.g.cs index b8c5dedeb97..b9072fb2f07 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymsSetsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymsSetsRequest.g.cs @@ -43,6 +43,8 @@ public sealed partial class GetSynonymsSetsRequestParameters : Elastic.Transport /// /// /// Get all synonym sets. +/// +/// /// Get a summary of all defined synonym sets. /// /// @@ -91,6 +93,8 @@ internal GetSynonymsSetsRequest(Elastic.Clients.Elasticsearch.Serialization.Json /// /// /// Get all synonym sets. +/// +/// /// Get a summary of all defined synonym sets. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/PutSynonymRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/PutSynonymRequest.g.cs index af77d2cd0b8..7688dc9f5e1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/PutSynonymRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/PutSynonymRequest.g.cs @@ -37,6 +37,8 @@ public sealed partial class PutSynonymRequestParameters : Elastic.Transport.Requ /// /// /// Create or update a synonym set. +/// +/// /// Synonyms sets are limited to a maximum of 10,000 synonym rules per set. /// If you need to manage more synonym rules, you can create multiple synonym sets. /// @@ -115,6 +117,8 @@ internal PutSynonymRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// /// Create or update a synonym set. +/// +/// /// Synonyms sets are limited to a maximum of 10,000 synonym rules per set. /// If you need to manage more synonym rules, you can create multiple synonym sets. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/PutSynonymRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/PutSynonymRuleRequest.g.cs index 356bbfdb0ae..e1fbcd05156 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/PutSynonymRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/PutSynonymRuleRequest.g.cs @@ -37,6 +37,8 @@ public sealed partial class PutSynonymRuleRequestParameters : Elastic.Transport. /// /// /// Create or update a synonym rule. +/// +/// /// Create or update a synonym rule in a synonym set. /// /// @@ -124,6 +126,8 @@ internal PutSynonymRuleRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// /// Create or update a synonym rule. +/// +/// /// Create or update a synonym rule in a synonym set. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/GetTasksRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/GetTasksRequest.g.cs index 64b68f34426..c59630058ae 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/GetTasksRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/GetTasksRequest.g.cs @@ -44,6 +44,8 @@ public sealed partial class GetTasksRequestParameters : Elastic.Transport.Reques /// /// /// Get task information. +/// +/// /// Get information about a task currently running in the cluster. /// /// @@ -110,6 +112,8 @@ internal GetTasksRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// /// /// Get task information. +/// +/// /// Get information about a task currently running in the cluster. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/ListRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/ListRequest.g.cs index c12d292bcd5..cf3b1c3780d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/ListRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/ListRequest.g.cs @@ -85,6 +85,8 @@ public sealed partial class ListRequestParameters : Elastic.Transport.RequestPar /// /// /// Get all tasks. +/// +/// /// Get information about the tasks currently running on one or more nodes in the cluster. /// /// @@ -236,6 +238,8 @@ internal ListRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructor /// /// /// Get all tasks. +/// +/// /// Get information about the tasks currently running on one or more nodes in the cluster. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TextStructure/FindFieldStructureRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TextStructure/FindFieldStructureRequest.g.cs index 1b89f297d44..9afcb6904b2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TextStructure/FindFieldStructureRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TextStructure/FindFieldStructureRequest.g.cs @@ -276,6 +276,8 @@ public sealed partial class FindFieldStructureRequestParameters : Elastic.Transp /// /// /// Find the structure of a text field. +/// +/// /// Find the structure of a text field in an Elasticsearch index. /// /// @@ -594,6 +596,8 @@ internal FindFieldStructureRequest(Elastic.Clients.Elasticsearch.Serialization.J /// /// /// Find the structure of a text field. +/// +/// /// Find the structure of a text field in an Elasticsearch index. /// /// @@ -1048,6 +1052,8 @@ public Elastic.Clients.Elasticsearch.TextStructure.FindFieldStructureRequestDesc /// /// /// Find the structure of a text field. +/// +/// /// Find the structure of a text field in an Elasticsearch index. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TextStructure/FindMessageStructureRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TextStructure/FindMessageStructureRequest.g.cs index d2766137056..7bdaa20f54b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TextStructure/FindMessageStructureRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TextStructure/FindMessageStructureRequest.g.cs @@ -253,6 +253,8 @@ public sealed partial class FindMessageStructureRequestParameters : Elastic.Tran /// /// /// Find the structure of text messages. +/// +/// /// Find the structure of a list of text messages. /// The messages must contain data that is suitable to be ingested into Elasticsearch. /// @@ -562,6 +564,8 @@ internal FindMessageStructureRequest(Elastic.Clients.Elasticsearch.Serialization /// /// /// Find the structure of text messages. +/// +/// /// Find the structure of a list of text messages. /// The messages must contain data that is suitable to be ingested into Elasticsearch. /// @@ -984,6 +988,8 @@ public Elastic.Clients.Elasticsearch.TextStructure.FindMessageStructureRequestDe /// /// /// Find the structure of text messages. +/// +/// /// Find the structure of a list of text messages. /// The messages must contain data that is suitable to be ingested into Elasticsearch. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TextStructure/TestGrokPatternRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TextStructure/TestGrokPatternRequest.g.cs index a661460bf01..5d404ee7c79 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TextStructure/TestGrokPatternRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TextStructure/TestGrokPatternRequest.g.cs @@ -38,6 +38,8 @@ public sealed partial class TestGrokPatternRequestParameters : Elastic.Transport /// /// /// Test a Grok pattern. +/// +/// /// Test a Grok pattern on one or more lines of text. /// The API indicates whether the lines match the pattern together with the offsets and lengths of the matched substrings. /// @@ -111,6 +113,8 @@ internal TestGrokPatternRequest(Elastic.Clients.Elasticsearch.Serialization.Json /// /// /// Test a Grok pattern. +/// +/// /// Test a Grok pattern on one or more lines of text. /// The API indicates whether the lines match the pattern together with the offsets and lengths of the matched substrings. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/GetTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/GetTransformRequest.g.cs index 3fbe68f6d43..f5a3dad4cea 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/GetTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/GetTransformRequest.g.cs @@ -80,6 +80,8 @@ public sealed partial class GetTransformRequestParameters : Elastic.Transport.Re /// /// /// Get transforms. +/// +/// /// Get configuration information for transforms. /// /// @@ -178,6 +180,8 @@ internal GetTransformRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// /// Get transforms. +/// +/// /// Get configuration information for transforms. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/PreviewTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/PreviewTransformRequest.g.cs index fd8af11db34..cc884b93105 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/PreviewTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/PreviewTransformRequest.g.cs @@ -37,6 +37,8 @@ public sealed partial class PreviewTransformRequestParameters : Elastic.Transpor /// /// /// Preview a transform. +/// +/// /// Generates a preview of the results that you will get when you create a transform with the same configuration. /// /// @@ -165,6 +167,8 @@ internal PreviewTransformRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// /// Preview a transform. +/// +/// /// Generates a preview of the results that you will get when you create a transform with the same configuration. /// /// @@ -560,6 +564,8 @@ public Elastic.Clients.Elasticsearch.TransformManagement.PreviewTransformRequest /// /// /// Preview a transform. +/// +/// /// Generates a preview of the results that you will get when you create a transform with the same configuration. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/PutTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/PutTransformRequest.g.cs index 9a620670199..9b4b5560ae0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/PutTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/PutTransformRequest.g.cs @@ -47,6 +47,8 @@ public sealed partial class PutTransformRequestParameters : Elastic.Transport.Re /// /// /// Create a transform. +/// +/// /// Creates a transform. /// /// @@ -224,6 +226,8 @@ internal PutTransformRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// /// Create a transform. +/// +/// /// Creates a transform. /// /// @@ -682,6 +686,8 @@ public Elastic.Clients.Elasticsearch.TransformManagement.PutTransformRequestDesc /// /// /// Create a transform. +/// +/// /// Creates a transform. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/SetUpgradeModeRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/SetUpgradeModeRequest.g.cs index c8a72e56d21..2fbfed3aa6c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/SetUpgradeModeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/SetUpgradeModeRequest.g.cs @@ -45,6 +45,8 @@ public sealed partial class SetUpgradeModeRequestParameters : Elastic.Transport. /// /// /// Set upgrade_mode for transform indices. +/// +/// /// Sets a cluster wide upgrade_mode setting that prepares transform /// indices for an upgrade. /// When upgrading your cluster, in some circumstances you must restart your @@ -106,6 +108,8 @@ internal SetUpgradeModeRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// /// Set upgrade_mode for transform indices. +/// +/// /// Sets a cluster wide upgrade_mode setting that prepares transform /// indices for an upgrade. /// When upgrading your cluster, in some circumstances you must restart your diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/StopTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/StopTransformRequest.g.cs index dddbbf707c5..57fd96633ac 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/StopTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/StopTransformRequest.g.cs @@ -77,6 +77,8 @@ public sealed partial class StopTransformRequestParameters : Elastic.Transport.R /// /// /// Stop transforms. +/// +/// /// Stops one or more transforms. /// /// @@ -170,6 +172,8 @@ internal StopTransformRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// /// /// Stop transforms. +/// +/// /// Stops one or more transforms. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/UpdateTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/UpdateTransformRequest.g.cs index 27010c9fee5..b6dd793882d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/UpdateTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/UpdateTransformRequest.g.cs @@ -46,6 +46,8 @@ public sealed partial class UpdateTransformRequestParameters : Elastic.Transport /// /// /// Update a transform. +/// +/// /// Updates certain properties of a transform. /// /// @@ -174,6 +176,8 @@ internal UpdateTransformRequest(Elastic.Clients.Elasticsearch.Serialization.Json /// /// /// Update a transform. +/// +/// /// Updates certain properties of a transform. /// /// @@ -543,6 +547,8 @@ public Elastic.Clients.Elasticsearch.TransformManagement.UpdateTransformRequestD /// /// /// Update a transform. +/// +/// /// Updates certain properties of a transform. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRequest.g.cs index 90fe7a349de..0c53e9358b2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRequest.g.cs @@ -263,6 +263,8 @@ public sealed partial class UpdateByQueryRequestParameters : Elastic.Transport.R /// /// /// Update documents. +/// +/// /// Updates documents that match the specified query. /// If no query is specified, performs an update on every document in the data stream or index without modifying the source, which is useful for picking up mapping changes. /// @@ -740,6 +742,8 @@ internal UpdateByQueryRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// /// /// Update documents. +/// +/// /// Updates documents that match the specified query. /// If no query is specified, performs an update on every document in the data stream or index without modifying the source, which is useful for picking up mapping changes. /// @@ -1513,6 +1517,8 @@ public Elastic.Clients.Elasticsearch.UpdateByQueryRequestDescriptor RequestConfi /// /// /// Update documents. +/// +/// /// Updates documents that match the specified query. /// If no query is specified, performs an update on every document in the data stream or index without modifying the source, which is useful for picking up mapping changes. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackInfoRequest.g.cs index afa7fd23ac6..04280d00049 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackInfoRequest.g.cs @@ -30,6 +30,7 @@ public sealed partial class XpackInfoRequestParameters : Elastic.Transport.Reque /// If this param is used it must be set to true /// /// + [System.Obsolete("Deprecated in '8.0.0'. Supported for backwards compatibility with 7.x")] public bool? AcceptEnterprise { get => Q("accept_enterprise"); set => Q("accept_enterprise", value); } /// @@ -44,6 +45,8 @@ public sealed partial class XpackInfoRequestParameters : Elastic.Transport.Reque /// /// /// Get information. +/// +/// /// The information provided by the API includes: /// /// @@ -96,6 +99,7 @@ internal XpackInfoRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// If this param is used it must be set to true /// /// + [System.Obsolete("Deprecated in '8.0.0'. Supported for backwards compatibility with 7.x")] public bool? AcceptEnterprise { get => Q("accept_enterprise"); set => Q("accept_enterprise", value); } /// @@ -110,6 +114,8 @@ internal XpackInfoRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// /// /// Get information. +/// +/// /// The information provided by the API includes: /// /// @@ -148,6 +154,7 @@ public XpackInfoRequestDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Xpack.XpackInfoRequestDescriptor(Elastic.Clients.Elasticsearch.Xpack.XpackInfoRequest instance) => new Elastic.Clients.Elasticsearch.Xpack.XpackInfoRequestDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Xpack.XpackInfoRequest(Elastic.Clients.Elasticsearch.Xpack.XpackInfoRequestDescriptor descriptor) => descriptor.Instance; + [System.Obsolete("Deprecated in '8.0.0'. Supported for backwards compatibility with 7.x")] /// /// /// If this param is used it must be set to true diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackUsageRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackUsageRequest.g.cs index 7b99bbcfb73..46717fdbfaa 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackUsageRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackUsageRequest.g.cs @@ -38,6 +38,8 @@ public sealed partial class XpackUsageRequestParameters : Elastic.Transport.Requ /// /// /// Get usage information. +/// +/// /// Get information about the features that are currently enabled and available under the current license. /// The API also provides some usage statistics. /// @@ -82,6 +84,8 @@ internal XpackUsageRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// /// Get usage information. +/// +/// /// Get information about the features that are currently enabled and available under the current license. /// The API also provides some usage statistics. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ml.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ml.g.cs index 49a3b76ea97..670a27dea3d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ml.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ml.g.cs @@ -3170,18 +3170,26 @@ public virtual Elastic.Clients.Elasticsearch.MachineLearning.PutJobResponse PutJ return DoRequest(request); } - public virtual Elastic.Clients.Elasticsearch.MachineLearning.PutJobResponse PutJob(System.Action action) + public virtual Elastic.Clients.Elasticsearch.MachineLearning.PutJobResponse PutJob(Elastic.Clients.Elasticsearch.Id jobId) { - var builder = new Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequestDescriptor(); + var builder = new Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequestDescriptor(jobId); + var request = builder.Instance; + request.BeforeRequest(); + return DoRequest(request); + } + + public virtual Elastic.Clients.Elasticsearch.MachineLearning.PutJobResponse PutJob(Elastic.Clients.Elasticsearch.Id jobId, System.Action action) + { + var builder = new Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequestDescriptor(jobId); action.Invoke(builder); var request = builder.Instance; request.BeforeRequest(); return DoRequest(request); } - public virtual Elastic.Clients.Elasticsearch.MachineLearning.PutJobResponse PutJob(System.Action> action) + public virtual Elastic.Clients.Elasticsearch.MachineLearning.PutJobResponse PutJob(Elastic.Clients.Elasticsearch.Id jobId, System.Action> action) { - var builder = new Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequestDescriptor(); + var builder = new Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequestDescriptor(jobId); action.Invoke(builder); var request = builder.Instance; request.BeforeRequest(); @@ -3194,18 +3202,26 @@ public virtual Elastic.Clients.Elasticsearch.MachineLearning.PutJobResponse PutJ return DoRequestAsync(request, cancellationToken); } - public virtual System.Threading.Tasks.Task PutJobAsync(System.Action action, System.Threading.CancellationToken cancellationToken = default) + public virtual System.Threading.Tasks.Task PutJobAsync(Elastic.Clients.Elasticsearch.Id jobId, System.Threading.CancellationToken cancellationToken = default) + { + var builder = new Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequestDescriptor(jobId); + var request = builder.Instance; + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + public virtual System.Threading.Tasks.Task PutJobAsync(Elastic.Clients.Elasticsearch.Id jobId, System.Action action, System.Threading.CancellationToken cancellationToken = default) { - var builder = new Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequestDescriptor(); + var builder = new Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequestDescriptor(jobId); action.Invoke(builder); var request = builder.Instance; request.BeforeRequest(); return DoRequestAsync(request, cancellationToken); } - public virtual System.Threading.Tasks.Task PutJobAsync(System.Action> action, System.Threading.CancellationToken cancellationToken = default) + public virtual System.Threading.Tasks.Task PutJobAsync(Elastic.Clients.Elasticsearch.Id jobId, System.Action> action, System.Threading.CancellationToken cancellationToken = default) { - var builder = new Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequestDescriptor(); + var builder = new Elastic.Clients.Elasticsearch.MachineLearning.PutJobRequestDescriptor(jobId); action.Invoke(builder); var request = builder.Instance; request.BeforeRequest(); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Security.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Security.g.cs index 18b45fa2f1d..4357f27c76c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Security.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Security.g.cs @@ -2650,17 +2650,17 @@ public virtual Elastic.Clients.Elasticsearch.Security.PutUserResponse PutUser(El return DoRequest(request); } - public virtual Elastic.Clients.Elasticsearch.Security.PutUserResponse PutUser() + public virtual Elastic.Clients.Elasticsearch.Security.PutUserResponse PutUser(Elastic.Clients.Elasticsearch.Username username) { - var builder = new Elastic.Clients.Elasticsearch.Security.PutUserRequestDescriptor(); + var builder = new Elastic.Clients.Elasticsearch.Security.PutUserRequestDescriptor(username); var request = builder.Instance; request.BeforeRequest(); return DoRequest(request); } - public virtual Elastic.Clients.Elasticsearch.Security.PutUserResponse PutUser(System.Action action) + public virtual Elastic.Clients.Elasticsearch.Security.PutUserResponse PutUser(Elastic.Clients.Elasticsearch.Username username, System.Action action) { - var builder = new Elastic.Clients.Elasticsearch.Security.PutUserRequestDescriptor(); + var builder = new Elastic.Clients.Elasticsearch.Security.PutUserRequestDescriptor(username); action.Invoke(builder); var request = builder.Instance; request.BeforeRequest(); @@ -2673,17 +2673,17 @@ public virtual Elastic.Clients.Elasticsearch.Security.PutUserResponse PutUser(Sy return DoRequestAsync(request, cancellationToken); } - public virtual System.Threading.Tasks.Task PutUserAsync(System.Threading.CancellationToken cancellationToken = default) + public virtual System.Threading.Tasks.Task PutUserAsync(Elastic.Clients.Elasticsearch.Username username, System.Threading.CancellationToken cancellationToken = default) { - var builder = new Elastic.Clients.Elasticsearch.Security.PutUserRequestDescriptor(); + var builder = new Elastic.Clients.Elasticsearch.Security.PutUserRequestDescriptor(username); var request = builder.Instance; request.BeforeRequest(); return DoRequestAsync(request, cancellationToken); } - public virtual System.Threading.Tasks.Task PutUserAsync(System.Action action, System.Threading.CancellationToken cancellationToken = default) + public virtual System.Threading.Tasks.Task PutUserAsync(Elastic.Clients.Elasticsearch.Username username, System.Action action, System.Threading.CancellationToken cancellationToken = default) { - var builder = new Elastic.Clients.Elasticsearch.Security.PutUserRequestDescriptor(); + var builder = new Elastic.Clients.Elasticsearch.Security.PutUserRequestDescriptor(username); action.Invoke(builder); var request = builder.Instance; request.BeforeRequest(); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/GeotileGridAggregation.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/GeotileGridAggregation.Converters.g.cs index 474c7169c48..722f10d7c5e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/GeotileGridAggregation.Converters.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/GeotileGridAggregation.Converters.g.cs @@ -36,7 +36,7 @@ public override Elastic.Clients.Elasticsearch.Aggregations.GeotileGridAggregatio reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propBounds = default; LocalJsonValue propField = default; - LocalJsonValue propPrecision = default; + LocalJsonValue propPrecision = default; LocalJsonValue propShardSize = default; LocalJsonValue propSize = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) @@ -51,7 +51,7 @@ public override Elastic.Clients.Elasticsearch.Aggregations.GeotileGridAggregatio continue; } - if (propPrecision.TryReadProperty(ref reader, options, PropPrecision, static long? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadNullableValue(o))) + if (propPrecision.TryReadProperty(ref reader, options, PropPrecision, static int? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadNullableValue(o))) { continue; } @@ -91,7 +91,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteStartObject(); writer.WriteProperty(options, PropBounds, value.Bounds, null, null); writer.WriteProperty(options, PropField, value.Field, null, null); - writer.WriteProperty(options, PropPrecision, value.Precision, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, long? v) => w.WriteNullableValue(o, v)); + writer.WriteProperty(options, PropPrecision, value.Precision, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, int? v) => w.WriteNullableValue(o, v)); writer.WriteProperty(options, PropShardSize, value.ShardSize, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, int? v) => w.WriteNullableValue(o, v)); writer.WriteProperty(options, PropSize, value.Size, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, int? v) => w.WriteNullableValue(o, v)); writer.WriteEndObject(); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/GeotileGridAggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/GeotileGridAggregation.g.cs index ddd884eeb53..2a2793e723b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/GeotileGridAggregation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/GeotileGridAggregation.g.cs @@ -63,7 +63,7 @@ internal GeotileGridAggregation(Elastic.Clients.Elasticsearch.Serialization.Json /// Values outside of the range [0,29] will be rejected. /// /// - public long? Precision { get; set; } + public int? Precision { get; set; } /// /// @@ -152,7 +152,7 @@ public Elastic.Clients.Elasticsearch.Aggregations.GeotileGridAggregationDescript /// Values outside of the range [0,29] will be rejected. /// /// - public Elastic.Clients.Elasticsearch.Aggregations.GeotileGridAggregationDescriptor Precision(long? value) + public Elastic.Clients.Elasticsearch.Aggregations.GeotileGridAggregationDescriptor Precision(int? value) { Instance.Precision = value; return this; @@ -266,7 +266,7 @@ public Elastic.Clients.Elasticsearch.Aggregations.GeotileGridAggregationDescript /// Values outside of the range [0,29] will be rejected. /// /// - public Elastic.Clients.Elasticsearch.Aggregations.GeotileGridAggregationDescriptor Precision(long? value) + public Elastic.Clients.Elasticsearch.Aggregations.GeotileGridAggregationDescriptor Precision(int? value) { Instance.Precision = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/GeohashPrecision.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/GeohashPrecision.Converters.g.cs index 78feb6304ea..2482a1aa6ca 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/GeohashPrecision.Converters.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/GeohashPrecision.Converters.g.cs @@ -30,7 +30,7 @@ public override Elastic.Clients.Elasticsearch.GeohashPrecision Read(ref System.T var selector = static (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => JsonUnionSelector.ByTokenType(ref r, o, Elastic.Clients.Elasticsearch.Serialization.JsonTokenTypes.Number, Elastic.Clients.Elasticsearch.Serialization.JsonTokenTypes.String); return selector(ref reader, options) switch { - Elastic.Clients.Elasticsearch.UnionTag.T1 => new Elastic.Clients.Elasticsearch.GeohashPrecision(reader.ReadValue(options, null)), + Elastic.Clients.Elasticsearch.UnionTag.T1 => new Elastic.Clients.Elasticsearch.GeohashPrecision(reader.ReadValue(options, null)), Elastic.Clients.Elasticsearch.UnionTag.T2 => new Elastic.Clients.Elasticsearch.GeohashPrecision(reader.ReadValue(options, null)), _ => throw new System.InvalidOperationException($"Failed to select a union variant for type '{nameof(Elastic.Clients.Elasticsearch.GeohashPrecision)}") }; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/GeohashPrecision.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/GeohashPrecision.g.cs index ee54b9edfb8..ef158927e36 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/GeohashPrecision.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/GeohashPrecision.g.cs @@ -29,9 +29,9 @@ namespace Elastic.Clients.Elasticsearch; /// /// [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Json.GeohashPrecisionConverter))] -public sealed partial class GeohashPrecision : Elastic.Clients.Elasticsearch.Union +public sealed partial class GeohashPrecision : Elastic.Clients.Elasticsearch.Union { - public GeohashPrecision(long value) : base(value) + public GeohashPrecision(int value) : base(value) { } @@ -39,13 +39,13 @@ public GeohashPrecision(string value) : base(value) { } - public static implicit operator Elastic.Clients.Elasticsearch.GeohashPrecision(long value) => new Elastic.Clients.Elasticsearch.GeohashPrecision(value); + public static implicit operator Elastic.Clients.Elasticsearch.GeohashPrecision(int value) => new Elastic.Clients.Elasticsearch.GeohashPrecision(value); public static implicit operator Elastic.Clients.Elasticsearch.GeohashPrecision(string value) => new Elastic.Clients.Elasticsearch.GeohashPrecision(value); } public readonly partial struct GeohashPrecisionFactory { - public Elastic.Clients.Elasticsearch.GeohashPrecision GeohashLength(long value) + public Elastic.Clients.Elasticsearch.GeohashPrecision GeohashLength(int value) { return new Elastic.Clients.Elasticsearch.GeohashPrecision(value); } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Inference/AlibabaCloudTaskType.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Inference/AlibabaCloudTaskType.Converters.g.cs index 32296faf85e..e356e6086d6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Inference/AlibabaCloudTaskType.Converters.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Inference/AlibabaCloudTaskType.Converters.g.cs @@ -27,7 +27,7 @@ public sealed partial class AlibabaCloudTaskTypeConverter : System.Text.Json.Ser { private static readonly System.Text.Json.JsonEncodedText MemberCompletion = System.Text.Json.JsonEncodedText.Encode("completion"); private static readonly System.Text.Json.JsonEncodedText MemberRerank = System.Text.Json.JsonEncodedText.Encode("rerank"); - private static readonly System.Text.Json.JsonEncodedText MemberSpaceEmbedding = System.Text.Json.JsonEncodedText.Encode("space_embedding"); + private static readonly System.Text.Json.JsonEncodedText MemberSparseEmbedding = System.Text.Json.JsonEncodedText.Encode("sparse_embedding"); private static readonly System.Text.Json.JsonEncodedText MemberTextEmbedding = System.Text.Json.JsonEncodedText.Encode("text_embedding"); public override Elastic.Clients.Elasticsearch.Inference.AlibabaCloudTaskType Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) @@ -42,9 +42,9 @@ public override Elastic.Clients.Elasticsearch.Inference.AlibabaCloudTaskType Rea return Elastic.Clients.Elasticsearch.Inference.AlibabaCloudTaskType.Rerank; } - if (reader.ValueTextEquals(MemberSpaceEmbedding)) + if (reader.ValueTextEquals(MemberSparseEmbedding)) { - return Elastic.Clients.Elasticsearch.Inference.AlibabaCloudTaskType.SpaceEmbedding; + return Elastic.Clients.Elasticsearch.Inference.AlibabaCloudTaskType.SparseEmbedding; } if (reader.ValueTextEquals(MemberTextEmbedding)) @@ -63,9 +63,9 @@ public override Elastic.Clients.Elasticsearch.Inference.AlibabaCloudTaskType Rea return Elastic.Clients.Elasticsearch.Inference.AlibabaCloudTaskType.Rerank; } - if (string.Equals(value, MemberSpaceEmbedding.Value, System.StringComparison.OrdinalIgnoreCase)) + if (string.Equals(value, MemberSparseEmbedding.Value, System.StringComparison.OrdinalIgnoreCase)) { - return Elastic.Clients.Elasticsearch.Inference.AlibabaCloudTaskType.SpaceEmbedding; + return Elastic.Clients.Elasticsearch.Inference.AlibabaCloudTaskType.SparseEmbedding; } if (string.Equals(value, MemberTextEmbedding.Value, System.StringComparison.OrdinalIgnoreCase)) @@ -86,8 +86,8 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien case Elastic.Clients.Elasticsearch.Inference.AlibabaCloudTaskType.Rerank: writer.WriteStringValue(MemberRerank); break; - case Elastic.Clients.Elasticsearch.Inference.AlibabaCloudTaskType.SpaceEmbedding: - writer.WriteStringValue(MemberSpaceEmbedding); + case Elastic.Clients.Elasticsearch.Inference.AlibabaCloudTaskType.SparseEmbedding: + writer.WriteStringValue(MemberSparseEmbedding); break; case Elastic.Clients.Elasticsearch.Inference.AlibabaCloudTaskType.TextEmbedding: writer.WriteStringValue(MemberTextEmbedding); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Inference/AlibabaCloudTaskType.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Inference/AlibabaCloudTaskType.g.cs index a70ff054998..b0e5797f565 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Inference/AlibabaCloudTaskType.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Inference/AlibabaCloudTaskType.g.cs @@ -30,8 +30,8 @@ public enum AlibabaCloudTaskType Completion, [System.Runtime.Serialization.EnumMember(Value = "rerank")] Rerank, - [System.Runtime.Serialization.EnumMember(Value = "space_embedding")] - SpaceEmbedding, + [System.Runtime.Serialization.EnumMember(Value = "sparse_embedding")] + SparseEmbedding, [System.Runtime.Serialization.EnumMember(Value = "text_embedding")] TextEmbedding } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Inference/RequestChatCompletion.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Inference/RequestChatCompletion.g.cs index f2e4fe76c94..de326c5f696 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Inference/RequestChatCompletion.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Inference/RequestChatCompletion.g.cs @@ -70,7 +70,7 @@ internal RequestChatCompletion(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// - /// The ID of the model to use. + /// The ID of the model to use. By default, the model ID is set to the value included when creating the inference endpoint. /// /// public string? Model { get; set; } @@ -225,7 +225,7 @@ public Elastic.Clients.Elasticsearch.Inference.RequestChatCompletionDescriptor M /// /// - /// The ID of the model to use. + /// The ID of the model to use. By default, the model ID is set to the value included when creating the inference endpoint. /// /// public Elastic.Clients.Elasticsearch.Inference.RequestChatCompletionDescriptor Model(string? value)