diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ApiUrlLookup.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ApiUrlLookup.g.cs
index 42f13b4e636..b9e00de0907 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ApiUrlLookup.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ApiUrlLookup.g.cs
@@ -64,6 +64,7 @@ internal static class ApiUrlLookup
internal static ApiUrls IndexManagementCreateDataStream = new ApiUrls(new[] { "/_data_stream/{name}" });
internal static ApiUrls IndexManagementCreate = new ApiUrls(new[] { "/{index}" });
internal static ApiUrls IndexManagementDeleteAlias = new ApiUrls(new[] { "/{index}/_alias/{name}" });
+ internal static ApiUrls IndexManagementDeleteDataLifecycle = new ApiUrls(new[] { "/_data_stream/{name}/_lifecycle" });
internal static ApiUrls IndexManagementDeleteDataStream = new ApiUrls(new[] { "/_data_stream/{name}" });
internal static ApiUrls IndexManagementDelete = new ApiUrls(new[] { "/{index}" });
internal static ApiUrls IndexManagementDeleteIndexTemplate = new ApiUrls(new[] { "/_index_template/{name}" });
@@ -72,9 +73,11 @@ internal static class ApiUrlLookup
internal static ApiUrls IndexManagementExistsIndexTemplate = new ApiUrls(new[] { "/_index_template/{name}" });
internal static ApiUrls IndexManagementExists = new ApiUrls(new[] { "/{index}" });
internal static ApiUrls IndexManagementExistsTemplate = new ApiUrls(new[] { "/_template/{name}" });
+ internal static ApiUrls IndexManagementExplainDataLifecycle = new ApiUrls(new[] { "/{index}/_lifecycle/explain" });
internal static ApiUrls IndexManagementFlush = new ApiUrls(new[] { "/_flush", "/{index}/_flush" });
internal static ApiUrls IndexManagementForcemerge = new ApiUrls(new[] { "/_forcemerge", "/{index}/_forcemerge" });
internal static ApiUrls IndexManagementGetAlias = new ApiUrls(new[] { "/_alias", "/_alias/{name}", "/{index}/_alias/{name}", "/{index}/_alias" });
+ internal static ApiUrls IndexManagementGetDataLifecycle = new ApiUrls(new[] { "/_data_stream/{name}/_lifecycle" });
internal static ApiUrls IndexManagementGetDataStream = new ApiUrls(new[] { "/_data_stream", "/_data_stream/{name}" });
internal static ApiUrls IndexManagementGetFieldMapping = new ApiUrls(new[] { "/_mapping/field/{fields}", "/{index}/_mapping/field/{fields}" });
internal static ApiUrls IndexManagementGet = new ApiUrls(new[] { "/{index}" });
@@ -85,6 +88,7 @@ internal static class ApiUrlLookup
internal static ApiUrls IndexManagementMigrateToDataStream = new ApiUrls(new[] { "/_data_stream/_migrate/{name}" });
internal static ApiUrls IndexManagementOpen = new ApiUrls(new[] { "/{index}/_open" });
internal static ApiUrls IndexManagementPutAlias = new ApiUrls(new[] { "/{index}/_alias/{name}" });
+ internal static ApiUrls IndexManagementPutDataLifecycle = new ApiUrls(new[] { "/_data_stream/{name}/_lifecycle" });
internal static ApiUrls IndexManagementPutIndexTemplate = new ApiUrls(new[] { "/_index_template/{name}" });
internal static ApiUrls IndexManagementPutMapping = new ApiUrls(new[] { "/{index}/_mapping" });
internal static ApiUrls IndexManagementPutTemplate = new ApiUrls(new[] { "/_template/{name}" });
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs
index 007f546ab98..93a83779f99 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs
@@ -34,7 +34,7 @@ public sealed class AsyncSearchStatusRequestParameters : RequestParameters
}
///
-/// Retrieves the status of a previously submitted async search request given its ID.
+/// Retreives the status of a previously submitted async search request given its identifier, without retrieving search results.
If the Elasticsearch security features are enabled, use of this API is restricted to the `monitoring_user` role.
///
public sealed partial class AsyncSearchStatusRequest : PlainRequest
{
@@ -50,7 +50,7 @@ public AsyncSearchStatusRequest(Elastic.Clients.Elasticsearch.Id id) : base(r =>
}
///
-/// Retrieves the status of a previously submitted async search request given its ID.
+/// Retreives the status of a previously submitted async search request given its identifier, without retrieving search results.
If the Elasticsearch security features are enabled, use of this API is restricted to the `monitoring_user` role.
///
public sealed partial class AsyncSearchStatusRequestDescriptor : RequestDescriptor, AsyncSearchStatusRequestParameters>
{
@@ -82,7 +82,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Retrieves the status of a previously submitted async search request given its ID.
+/// Retreives the status of a previously submitted async search request given its identifier, without retrieving search results.
If the Elasticsearch security features are enabled, use of this API is restricted to the `monitoring_user` role.
///
public sealed partial class AsyncSearchStatusRequestDescriptor : RequestDescriptor
{
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 919368c258a..a23a386c0e4 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusResponse.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusResponse.g.cs
@@ -28,6 +28,9 @@ namespace Elastic.Clients.Elasticsearch.AsyncSearch;
public sealed partial class AsyncSearchStatusResponse : ElasticsearchResponse
{
+ ///
+ /// If the async search completed, this field shows the status code of the search.
For example, 200 indicates that the async search was successfully completed.
503 indicates that the async search was completed with an error.
+ ///
[JsonInclude, JsonPropertyName("completion_status")]
public int? CompletionStatus { get; init; }
[JsonInclude, JsonPropertyName("expiration_time")]
@@ -40,6 +43,10 @@ public sealed partial class AsyncSearchStatusResponse : ElasticsearchResponse
public bool IsPartial { get; init; }
[JsonInclude, JsonPropertyName("is_running")]
public bool IsRunning { get; init; }
+
+ ///
+ /// Indicates how many shards have run the query so far.
+ ///
[JsonInclude, JsonPropertyName("_shards")]
public Elastic.Clients.Elasticsearch.ShardStatistics Shards { get; init; }
[JsonInclude, JsonPropertyName("start_time")]
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs
index 13eda4f39f2..66521de9069 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs
@@ -34,7 +34,7 @@ public sealed class DeleteAsyncSearchRequestParameters : RequestParameters
}
///
-/// Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.
+/// Deletes an async search by identifier.
If the search is still running, the search request will be cancelled.
Otherwise, the saved search results are deleted.
If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the `cancel_task` cluster privilege.
///
public sealed partial class DeleteAsyncSearchRequest : PlainRequest
{
@@ -50,7 +50,7 @@ public DeleteAsyncSearchRequest(Elastic.Clients.Elasticsearch.Id id) : base(r =>
}
///
-/// Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.
+/// Deletes an async search by identifier.
If the search is still running, the search request will be cancelled.
Otherwise, the saved search results are deleted.
If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the `cancel_task` cluster privilege.
///
public sealed partial class DeleteAsyncSearchRequestDescriptor : RequestDescriptor, DeleteAsyncSearchRequestParameters>
{
@@ -82,7 +82,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.
+/// Deletes an async search by identifier.
If the search is still running, the search request will be cancelled.
Otherwise, the saved search results are deleted.
If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the `cancel_task` cluster privilege.
///
public sealed partial class DeleteAsyncSearchRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs
index 63882aa0d61..1d277f4df7d 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs
@@ -32,7 +32,7 @@ namespace Elastic.Clients.Elasticsearch.AsyncSearch;
public sealed class GetAsyncSearchRequestParameters : RequestParameters
{
///
- /// Specify the time interval in which the results (partial or final) for this search will be available
+ /// Specifies how long the async search should be available in the cluster.
When not specified, the `keep_alive` set with the corresponding submit async request will be used.
Otherwise, it is possible to override the value and extend the validity of the request.
When this period expires, the search, if still running, is cancelled.
If the search is completed, its saved results are deleted.
///
public Elastic.Clients.Elasticsearch.Duration? KeepAlive { get => Q("keep_alive"); set => Q("keep_alive", value); }
@@ -42,13 +42,13 @@ public sealed class GetAsyncSearchRequestParameters : RequestParameters
public bool? TypedKeys { get => Q("typed_keys"); set => Q("typed_keys", value); }
///
- /// Specify the time that the request should block waiting for the final response
+ /// Specifies to wait for the search to be completed up until the provided timeout.
Final results will be returned if available before the timeout expires, otherwise the currently available results will be returned once the timeout expires.
By default no timeout is set meaning that the currently available results will be returned without any additional wait.
///
public Elastic.Clients.Elasticsearch.Duration? WaitForCompletionTimeout { get => Q("wait_for_completion_timeout"); set => Q("wait_for_completion_timeout", value); }
}
///
-/// Retrieves the results of a previously submitted async search request given its ID.
+/// Retrieves the results of a previously submitted async search request given its identifier.
If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it.
///
public sealed partial class GetAsyncSearchRequest : PlainRequest
{
@@ -63,7 +63,7 @@ public GetAsyncSearchRequest(Elastic.Clients.Elasticsearch.Id id) : base(r => r.
internal override bool SupportsBody => false;
///
- /// Specify the time interval in which the results (partial or final) for this search will be available
+ /// Specifies how long the async search should be available in the cluster.
When not specified, the `keep_alive` set with the corresponding submit async request will be used.
Otherwise, it is possible to override the value and extend the validity of the request.
When this period expires, the search, if still running, is cancelled.
If the search is completed, its saved results are deleted.
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? KeepAlive { get => Q("keep_alive"); set => Q("keep_alive", value); }
@@ -75,14 +75,14 @@ public GetAsyncSearchRequest(Elastic.Clients.Elasticsearch.Id id) : base(r => r.
public bool? TypedKeys { get => Q("typed_keys"); set => Q("typed_keys", value); }
///
- /// Specify the time that the request should block waiting for the final response
+ /// Specifies to wait for the search to be completed up until the provided timeout.
Final results will be returned if available before the timeout expires, otherwise the currently available results will be returned once the timeout expires.
By default no timeout is set meaning that the currently available results will be returned without any additional wait.
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? WaitForCompletionTimeout { get => Q("wait_for_completion_timeout"); set => Q("wait_for_completion_timeout", value); }
}
///
-/// Retrieves the results of a previously submitted async search request given its ID.
+/// Retrieves the results of a previously submitted async search request given its identifier.
If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it.
///
public sealed partial class GetAsyncSearchRequestDescriptor : RequestDescriptor, GetAsyncSearchRequestParameters>
{
@@ -118,7 +118,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Retrieves the results of a previously submitted async search request given its ID.
+/// Retrieves the results of a previously submitted async search request given its identifier.
If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it.
///
public sealed partial class GetAsyncSearchRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs
index ed9fe394da2..bf80b95380f 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs
@@ -32,17 +32,17 @@ namespace Elastic.Clients.Elasticsearch.AsyncSearch;
public sealed class SubmitAsyncSearchRequestParameters : RequestParameters
{
///
- /// Specify the time that the request should block waiting for the final response
+ /// Blocks and waits until the search is completed up to a certain timeout.
When the async search completes within the timeout, the response won’t include the ID as the results are not stored in the cluster.
///
public Elastic.Clients.Elasticsearch.Duration? WaitForCompletionTimeout { get => Q("wait_for_completion_timeout"); set => Q("wait_for_completion_timeout", value); }
///
- /// Control whether the response should be stored in the cluster if it completed within the provided [wait_for_completion] time (default: false)
+ /// If `true`, results are stored for later retrieval when the search completes within the `wait_for_completion_timeout`.
///
public bool? KeepOnCompletion { get => Q("keep_on_completion"); set => Q("keep_on_completion", value); }
///
- /// Update the time interval in which the results (partial or final) for this search will be available
+ /// Specifies how long the async search needs to be available.
Ongoing async searches and any saved search results are deleted after this period.
///
public Elastic.Clients.Elasticsearch.Duration? KeepAlive { get => Q("keep_alive"); set => Q("keep_alive", value); }
@@ -67,9 +67,13 @@ public sealed class SubmitAsyncSearchRequestParameters : RequestParameters
public bool? AnalyzeWildcard { get => Q("analyze_wildcard"); set => Q("analyze_wildcard", value); }
///
- /// The number of shard results that should be reduced at once on the coordinating node. This value should be used as the granularity at which progress results will be made available.
+ /// Affects how often partial results become available, which happens whenever shard results are reduced.
A partial reduction is performed every time the coordinating node has received a certain number of new shard responses (5 by default).
///
public long? BatchedReduceSize { get => Q("batched_reduce_size"); set => Q("batched_reduce_size", value); }
+
+ ///
+ /// The default value is the only supported value.
+ ///
public bool? CcsMinimizeRoundtrips { get => Q("ccs_minimize_roundtrips"); set => Q("ccs_minimize_roundtrips", value); }
///
@@ -112,6 +116,10 @@ public sealed class SubmitAsyncSearchRequestParameters : RequestParameters
/// Specify the node or shard the operation should be performed on (default: random)
///
public string? Preference { get => Q("preference"); set => Q("preference", value); }
+
+ ///
+ /// The default value cannot be changed, which enforces the execution of a pre-filter roundtrip to retrieve statistics from each shard so that the ones that surely don’t hold any document matching the query get skipped.
+ ///
public long? PreFilterShardSize { get => Q("pre_filter_shard_size"); set => Q("pre_filter_shard_size", value); }
///
@@ -582,7 +590,7 @@ public override void Write(Utf8JsonWriter writer, SubmitAsyncSearchRequest value
[JsonConverter(typeof(SubmitAsyncSearchRequestConverter))]
///
-/// Executes a search request asynchronously.
+/// Runs a search request asynchronously.
When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested.
Warning: Async search does not support scroll nor search requests that only include the suggest section.
By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.
The maximum allowed size for a stored async search response can be set by changing the `search.max_async_search_response_size` cluster level setting.
///
public sealed partial class SubmitAsyncSearchRequest : PlainRequest
{
@@ -601,19 +609,19 @@ public SubmitAsyncSearchRequest(Elastic.Clients.Elasticsearch.Indices? indices)
internal override bool SupportsBody => true;
///
- /// Specify the time that the request should block waiting for the final response
+ /// Blocks and waits until the search is completed up to a certain timeout.
When the async search completes within the timeout, the response won’t include the ID as the results are not stored in the cluster.
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? WaitForCompletionTimeout { get => Q("wait_for_completion_timeout"); set => Q("wait_for_completion_timeout", value); }
///
- /// Control whether the response should be stored in the cluster if it completed within the provided [wait_for_completion] time (default: false)
+ /// If `true`, results are stored for later retrieval when the search completes within the `wait_for_completion_timeout`.
///
[JsonIgnore]
public bool? KeepOnCompletion { get => Q("keep_on_completion"); set => Q("keep_on_completion", value); }
///
- /// Update the time interval in which the results (partial or final) for this search will be available
+ /// Specifies how long the async search needs to be available.
Ongoing async searches and any saved search results are deleted after this period.
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? KeepAlive { get => Q("keep_alive"); set => Q("keep_alive", value); }
@@ -643,10 +651,14 @@ public SubmitAsyncSearchRequest(Elastic.Clients.Elasticsearch.Indices? indices)
public bool? AnalyzeWildcard { get => Q("analyze_wildcard"); set => Q("analyze_wildcard", value); }
///
- /// The number of shard results that should be reduced at once on the coordinating node. This value should be used as the granularity at which progress results will be made available.
+ /// Affects how often partial results become available, which happens whenever shard results are reduced.
A partial reduction is performed every time the coordinating node has received a certain number of new shard responses (5 by default).
///
[JsonIgnore]
public long? BatchedReduceSize { get => Q("batched_reduce_size"); set => Q("batched_reduce_size", value); }
+
+ ///
+ /// The default value is the only supported value.
+ ///
[JsonIgnore]
public bool? CcsMinimizeRoundtrips { get => Q("ccs_minimize_roundtrips"); set => Q("ccs_minimize_roundtrips", value); }
@@ -699,6 +711,10 @@ public SubmitAsyncSearchRequest(Elastic.Clients.Elasticsearch.Indices? indices)
///
[JsonIgnore]
public string? Preference { get => Q("preference"); set => Q("preference", value); }
+
+ ///
+ /// The default value cannot be changed, which enforces the execution of a pre-filter roundtrip to retrieve statistics from each shard so that the ones that surely don’t hold any document matching the query get skipped.
+ ///
[JsonIgnore]
public long? PreFilterShardSize { get => Q("pre_filter_shard_size"); set => Q("pre_filter_shard_size", value); }
@@ -926,7 +942,7 @@ public SubmitAsyncSearchRequest(Elastic.Clients.Elasticsearch.Indices? indices)
}
///
-/// Executes a search request asynchronously.
+/// Runs a search request asynchronously.
When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested.
Warning: Async search does not support scroll nor search requests that only include the suggest section.
By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.
The maximum allowed size for a stored async search response can be set by changing the `search.max_async_search_response_size` cluster level setting.
///
public sealed partial class SubmitAsyncSearchRequestDescriptor : RequestDescriptor, SubmitAsyncSearchRequestParameters>
{
@@ -1996,7 +2012,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Executes a search request asynchronously.
+/// Runs a search request asynchronously.
When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested.
Warning: Async search does not support scroll nor search requests that only include the suggest section.
By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.
The maximum allowed size for a stored async search response can be set by changing the `search.max_async_search_response_size` cluster level setting.
///
public sealed partial class SubmitAsyncSearchRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryResponse.g.cs
index 15b81f26254..cf60a837bcd 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryResponse.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryResponse.g.cs
@@ -46,11 +46,11 @@ public sealed partial class DeleteByQueryResponse : ElasticsearchResponse
[JsonInclude, JsonPropertyName("throttled")]
public Elastic.Clients.Elasticsearch.Duration? Throttled { get; init; }
[JsonInclude, JsonPropertyName("throttled_millis")]
- public long ThrottledMillis { get; init; }
+ public long? ThrottledMillis { get; init; }
[JsonInclude, JsonPropertyName("throttled_until")]
public Elastic.Clients.Elasticsearch.Duration? ThrottledUntil { get; init; }
[JsonInclude, JsonPropertyName("throttled_until_millis")]
- public long ThrottledUntilMillis { get; init; }
+ public long? ThrottledUntilMillis { get; init; }
[JsonInclude, JsonPropertyName("timed_out")]
public bool? TimedOut { get; init; }
[JsonInclude, JsonPropertyName("took")]
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs
new file mode 100644
index 00000000000..1c4c90a2b4c
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs
@@ -0,0 +1,120 @@
+// Licensed to Elasticsearch B.V under one or more agreements.
+// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
+// See the LICENSE file in the project root for more information.
+//
+// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
+// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
+// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
+// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
+// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
+// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
+// ------------------------------------------------
+//
+// This file is automatically generated.
+// Please do not edit these files manually.
+//
+// ------------------------------------------------
+
+#nullable restore
+
+using Elastic.Clients.Elasticsearch.Fluent;
+using Elastic.Clients.Elasticsearch.Requests;
+using Elastic.Clients.Elasticsearch.Serialization;
+using Elastic.Transport;
+using System;
+using System.Collections.Generic;
+using System.Linq.Expressions;
+using System.Text.Json;
+using System.Text.Json.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.IndexManagement;
+
+public sealed class DeleteDataLifecycleRequestParameters : RequestParameters
+{
+ ///
+ /// Whether wildcard expressions should get expanded to open or closed indices (default: open)
+ ///
+ public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); }
+
+ ///
+ /// Specify timeout for connection to master
+ ///
+ public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
+
+ ///
+ /// Explicit timestamp for the document
+ ///
+ public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
+}
+
+///
+/// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+/// Removes the data lifecycle from a data stream rendering it not managed by DLM
+///
+public sealed partial class DeleteDataLifecycleRequest : PlainRequest
+{
+ public DeleteDataLifecycleRequest(Elastic.Clients.Elasticsearch.DataStreamNames name) : base(r => r.Required("name", name))
+ {
+ }
+
+ internal override ApiUrls ApiUrls => ApiUrlLookup.IndexManagementDeleteDataLifecycle;
+
+ protected override HttpMethod StaticHttpMethod => HttpMethod.DELETE;
+
+ internal override bool SupportsBody => false;
+
+ ///
+ /// Whether wildcard expressions should get expanded to open or closed indices (default: open)
+ ///
+ [JsonIgnore]
+ public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); }
+
+ ///
+ /// Specify timeout for connection to master
+ ///
+ [JsonIgnore]
+ public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
+
+ ///
+ /// Explicit timestamp for the document
+ ///
+ [JsonIgnore]
+ public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
+}
+
+///
+/// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+/// Removes the data lifecycle from a data stream rendering it not managed by DLM
+///
+public sealed partial class DeleteDataLifecycleRequestDescriptor : RequestDescriptor
+{
+ internal DeleteDataLifecycleRequestDescriptor(Action configure) => configure.Invoke(this);
+
+ public DeleteDataLifecycleRequestDescriptor(Elastic.Clients.Elasticsearch.DataStreamNames name) : base(r => r.Required("name", name))
+ {
+ }
+
+ internal DeleteDataLifecycleRequestDescriptor()
+ {
+ }
+
+ internal override ApiUrls ApiUrls => ApiUrlLookup.IndexManagementDeleteDataLifecycle;
+
+ protected override HttpMethod StaticHttpMethod => HttpMethod.DELETE;
+
+ internal override bool SupportsBody => false;
+
+ public DeleteDataLifecycleRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards);
+ public DeleteDataLifecycleRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? masterTimeout) => Qs("master_timeout", masterTimeout);
+ public DeleteDataLifecycleRequestDescriptor Timeout(Elastic.Clients.Elasticsearch.Duration? timeout) => Qs("timeout", timeout);
+
+ public DeleteDataLifecycleRequestDescriptor Name(Elastic.Clients.Elasticsearch.DataStreamNames name)
+ {
+ RouteValues.Required("name", name);
+ return Self;
+ }
+
+ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings)
+ {
+ }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataLifecycleResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataLifecycleResponse.g.cs
new file mode 100644
index 00000000000..5444d10778d
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataLifecycleResponse.g.cs
@@ -0,0 +1,38 @@
+// Licensed to Elasticsearch B.V under one or more agreements.
+// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
+// See the LICENSE file in the project root for more information.
+//
+// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
+// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
+// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
+// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
+// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
+// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
+// ------------------------------------------------
+//
+// This file is automatically generated.
+// Please do not edit these files manually.
+//
+// ------------------------------------------------
+
+#nullable restore
+
+using Elastic.Clients.Elasticsearch.Fluent;
+using Elastic.Clients.Elasticsearch.Serialization;
+using Elastic.Transport.Products.Elasticsearch;
+using System.Collections.Generic;
+using System.Text.Json.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.IndexManagement;
+
+///
+/// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+///
+public sealed partial class DeleteDataLifecycleResponse : ElasticsearchResponse
+{
+ ///
+ /// For a successful response, this value is always true. On failure, an exception is returned instead.
+ ///
+ [JsonInclude, JsonPropertyName("acknowledged")]
+ public bool Acknowledged { get; init; }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs
new file mode 100644
index 00000000000..ceb081c7df0
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs
@@ -0,0 +1,144 @@
+// Licensed to Elasticsearch B.V under one or more agreements.
+// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
+// See the LICENSE file in the project root for more information.
+//
+// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
+// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
+// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
+// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
+// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
+// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
+// ------------------------------------------------
+//
+// This file is automatically generated.
+// Please do not edit these files manually.
+//
+// ------------------------------------------------
+
+#nullable restore
+
+using Elastic.Clients.Elasticsearch.Fluent;
+using Elastic.Clients.Elasticsearch.Requests;
+using Elastic.Clients.Elasticsearch.Serialization;
+using Elastic.Transport;
+using System;
+using System.Collections.Generic;
+using System.Linq.Expressions;
+using System.Text.Json;
+using System.Text.Json.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.IndexManagement;
+
+public sealed class ExplainDataLifecycleRequestParameters : RequestParameters
+{
+ ///
+ /// indicates if the API should return the default values the system uses for the index's lifecycle
+ ///
+ public bool? IncludeDefaults { get => Q("include_defaults"); set => Q("include_defaults", value); }
+
+ ///
+ /// Specify timeout for connection to master
+ ///
+ public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
+}
+
+///
+/// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+/// Retrieves information about the index's current DLM lifecycle, such as any potential encountered error, time since creation etc.
+///
+public sealed partial class ExplainDataLifecycleRequest : PlainRequest
+{
+ public ExplainDataLifecycleRequest(Elastic.Clients.Elasticsearch.Indices indices) : base(r => r.Required("index", indices))
+ {
+ }
+
+ internal override ApiUrls ApiUrls => ApiUrlLookup.IndexManagementExplainDataLifecycle;
+
+ protected override HttpMethod StaticHttpMethod => HttpMethod.GET;
+
+ internal override bool SupportsBody => false;
+
+ ///
+ /// indicates if the API should return the default values the system uses for the index's lifecycle
+ ///
+ [JsonIgnore]
+ public bool? IncludeDefaults { get => Q("include_defaults"); set => Q("include_defaults", value); }
+
+ ///
+ /// Specify timeout for connection to master
+ ///
+ [JsonIgnore]
+ public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
+}
+
+///
+/// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+/// Retrieves information about the index's current DLM lifecycle, such as any potential encountered error, time since creation etc.
+///
+public sealed partial class ExplainDataLifecycleRequestDescriptor : RequestDescriptor, ExplainDataLifecycleRequestParameters>
+{
+ internal ExplainDataLifecycleRequestDescriptor(Action> configure) => configure.Invoke(this);
+
+ public ExplainDataLifecycleRequestDescriptor(Elastic.Clients.Elasticsearch.Indices indices) : base(r => r.Required("index", indices))
+ {
+ }
+
+ internal ExplainDataLifecycleRequestDescriptor()
+ {
+ }
+
+ internal override ApiUrls ApiUrls => ApiUrlLookup.IndexManagementExplainDataLifecycle;
+
+ protected override HttpMethod StaticHttpMethod => HttpMethod.GET;
+
+ internal override bool SupportsBody => false;
+
+ public ExplainDataLifecycleRequestDescriptor IncludeDefaults(bool? includeDefaults = true) => Qs("include_defaults", includeDefaults);
+ public ExplainDataLifecycleRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? masterTimeout) => Qs("master_timeout", masterTimeout);
+
+ public ExplainDataLifecycleRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Indices indices)
+ {
+ RouteValues.Required("index", indices);
+ return Self;
+ }
+
+ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings)
+ {
+ }
+}
+
+///
+/// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+/// Retrieves information about the index's current DLM lifecycle, such as any potential encountered error, time since creation etc.
+///
+public sealed partial class ExplainDataLifecycleRequestDescriptor : RequestDescriptor
+{
+ internal ExplainDataLifecycleRequestDescriptor(Action configure) => configure.Invoke(this);
+
+ public ExplainDataLifecycleRequestDescriptor(Elastic.Clients.Elasticsearch.Indices indices) : base(r => r.Required("index", indices))
+ {
+ }
+
+ internal ExplainDataLifecycleRequestDescriptor()
+ {
+ }
+
+ internal override ApiUrls ApiUrls => ApiUrlLookup.IndexManagementExplainDataLifecycle;
+
+ protected override HttpMethod StaticHttpMethod => HttpMethod.GET;
+
+ internal override bool SupportsBody => false;
+
+ public ExplainDataLifecycleRequestDescriptor IncludeDefaults(bool? includeDefaults = true) => Qs("include_defaults", includeDefaults);
+ public ExplainDataLifecycleRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? masterTimeout) => Qs("master_timeout", masterTimeout);
+
+ public ExplainDataLifecycleRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Indices indices)
+ {
+ RouteValues.Required("index", indices);
+ return Self;
+ }
+
+ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings)
+ {
+ }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExplainDataLifecycleResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExplainDataLifecycleResponse.g.cs
new file mode 100644
index 00000000000..af24db80c7c
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExplainDataLifecycleResponse.g.cs
@@ -0,0 +1,36 @@
+// Licensed to Elasticsearch B.V under one or more agreements.
+// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
+// See the LICENSE file in the project root for more information.
+//
+// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
+// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
+// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
+// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
+// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
+// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
+// ------------------------------------------------
+//
+// This file is automatically generated.
+// Please do not edit these files manually.
+//
+// ------------------------------------------------
+
+#nullable restore
+
+using Elastic.Clients.Elasticsearch.Fluent;
+using Elastic.Clients.Elasticsearch.Serialization;
+using Elastic.Transport.Products.Elasticsearch;
+using System.Collections.Generic;
+using System.Text.Json.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.IndexManagement;
+
+///
+/// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+///
+public sealed partial class ExplainDataLifecycleResponse : ElasticsearchResponse
+{
+ [JsonInclude, JsonPropertyName("indices")]
+ [ReadOnlyIndexNameDictionaryConverter(typeof(Elastic.Clients.Elasticsearch.IndexManagement.DataLifecycleExplain))]
+ public IReadOnlyDictionary Indices { get; init; }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs
new file mode 100644
index 00000000000..d0f72f5abf9
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs
@@ -0,0 +1,108 @@
+// Licensed to Elasticsearch B.V under one or more agreements.
+// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
+// See the LICENSE file in the project root for more information.
+//
+// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
+// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
+// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
+// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
+// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
+// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
+// ------------------------------------------------
+//
+// This file is automatically generated.
+// Please do not edit these files manually.
+//
+// ------------------------------------------------
+
+#nullable restore
+
+using Elastic.Clients.Elasticsearch.Fluent;
+using Elastic.Clients.Elasticsearch.Requests;
+using Elastic.Clients.Elasticsearch.Serialization;
+using Elastic.Transport;
+using System;
+using System.Collections.Generic;
+using System.Linq.Expressions;
+using System.Text.Json;
+using System.Text.Json.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.IndexManagement;
+
+public sealed class GetDataLifecycleRequestParameters : RequestParameters
+{
+ ///
+ /// Whether wildcard expressions should get expanded to open or closed indices (default: open)
+ ///
+ public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); }
+
+ ///
+ /// Return all relevant default configurations for the data stream (default: false)
+ ///
+ public bool? IncludeDefaults { get => Q("include_defaults"); set => Q("include_defaults", value); }
+}
+
+///
+/// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+/// Retrieves the data lifecycle configuration of one or more data streams.
+///
+public sealed partial class GetDataLifecycleRequest : PlainRequest
+{
+ public GetDataLifecycleRequest(Elastic.Clients.Elasticsearch.DataStreamNames name) : base(r => r.Required("name", name))
+ {
+ }
+
+ internal override ApiUrls ApiUrls => ApiUrlLookup.IndexManagementGetDataLifecycle;
+
+ protected override HttpMethod StaticHttpMethod => HttpMethod.GET;
+
+ internal override bool SupportsBody => false;
+
+ ///
+ /// Whether wildcard expressions should get expanded to open or closed indices (default: open)
+ ///
+ [JsonIgnore]
+ public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); }
+
+ ///
+ /// Return all relevant default configurations for the data stream (default: false)
+ ///
+ [JsonIgnore]
+ public bool? IncludeDefaults { get => Q("include_defaults"); set => Q("include_defaults", value); }
+}
+
+///
+/// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+/// Retrieves the data lifecycle configuration of one or more data streams.
+///
+public sealed partial class GetDataLifecycleRequestDescriptor : RequestDescriptor
+{
+ internal GetDataLifecycleRequestDescriptor(Action configure) => configure.Invoke(this);
+
+ public GetDataLifecycleRequestDescriptor(Elastic.Clients.Elasticsearch.DataStreamNames name) : base(r => r.Required("name", name))
+ {
+ }
+
+ internal GetDataLifecycleRequestDescriptor()
+ {
+ }
+
+ internal override ApiUrls ApiUrls => ApiUrlLookup.IndexManagementGetDataLifecycle;
+
+ protected override HttpMethod StaticHttpMethod => HttpMethod.GET;
+
+ internal override bool SupportsBody => false;
+
+ public GetDataLifecycleRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards);
+ public GetDataLifecycleRequestDescriptor IncludeDefaults(bool? includeDefaults = true) => Qs("include_defaults", includeDefaults);
+
+ public GetDataLifecycleRequestDescriptor Name(Elastic.Clients.Elasticsearch.DataStreamNames name)
+ {
+ RouteValues.Required("name", name);
+ return Self;
+ }
+
+ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings)
+ {
+ }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataLifecycleResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataLifecycleResponse.g.cs
new file mode 100644
index 00000000000..c92e28defd0
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataLifecycleResponse.g.cs
@@ -0,0 +1,35 @@
+// Licensed to Elasticsearch B.V under one or more agreements.
+// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
+// See the LICENSE file in the project root for more information.
+//
+// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
+// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
+// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
+// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
+// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
+// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
+// ------------------------------------------------
+//
+// This file is automatically generated.
+// Please do not edit these files manually.
+//
+// ------------------------------------------------
+
+#nullable restore
+
+using Elastic.Clients.Elasticsearch.Fluent;
+using Elastic.Clients.Elasticsearch.Serialization;
+using Elastic.Transport.Products.Elasticsearch;
+using System.Collections.Generic;
+using System.Text.Json.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.IndexManagement;
+
+///
+/// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+///
+public sealed partial class GetDataLifecycleResponse : ElasticsearchResponse
+{
+ [JsonInclude, JsonPropertyName("data_streams")]
+ public IReadOnlyCollection DataStreams { get; init; }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs
index 0bad9d5caf8..9804e6d85a4 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs
@@ -35,6 +35,11 @@ public sealed class GetDataStreamRequestParameters : RequestParameters
/// Whether wildcard expressions should get expanded to open or closed indices (default: open)
///
public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); }
+
+ ///
+ /// If true, returns all relevant default configurations for the index template.
+ ///
+ public bool? IncludeDefaults { get => Q("include_defaults"); set => Q("include_defaults", value); }
}
///
@@ -61,6 +66,12 @@ public GetDataStreamRequest(Elastic.Clients.Elasticsearch.DataStreamNames? name)
///
[JsonIgnore]
public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); }
+
+ ///
+ /// If true, returns all relevant default configurations for the index template.
+ ///
+ [JsonIgnore]
+ public bool? IncludeDefaults { get => Q("include_defaults"); set => Q("include_defaults", value); }
}
///
@@ -81,6 +92,7 @@ public GetDataStreamRequestDescriptor()
internal override bool SupportsBody => false;
public GetDataStreamRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards);
+ public GetDataStreamRequestDescriptor IncludeDefaults(bool? includeDefaults = true) => Qs("include_defaults", includeDefaults);
public GetDataStreamRequestDescriptor Name(Elastic.Clients.Elasticsearch.DataStreamNames? name)
{
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 87d72528bba..f21836242c1 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs
@@ -45,6 +45,11 @@ public sealed class GetIndexTemplateRequestParameters : RequestParameters
/// Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.
///
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
+
+ ///
+ /// If true, returns all relevant default configurations for the index template.
+ ///
+ public bool? IncludeDefaults { get => Q("include_defaults"); set => Q("include_defaults", value); }
}
///
@@ -83,6 +88,12 @@ public GetIndexTemplateRequest(Elastic.Clients.Elasticsearch.Name? name) : base(
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
+
+ ///
+ /// If true, returns all relevant default configurations for the index template.
+ ///
+ [JsonIgnore]
+ public bool? IncludeDefaults { get => Q("include_defaults"); set => Q("include_defaults", value); }
}
///
@@ -103,6 +114,7 @@ public GetIndexTemplateRequestDescriptor()
internal override bool SupportsBody => false;
public GetIndexTemplateRequestDescriptor FlatSettings(bool? flatSettings = true) => Qs("flat_settings", flatSettings);
+ public GetIndexTemplateRequestDescriptor IncludeDefaults(bool? includeDefaults = true) => Qs("include_defaults", includeDefaults);
public GetIndexTemplateRequestDescriptor Local(bool? local = true) => Qs("local", local);
public GetIndexTemplateRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? masterTimeout) => Qs("master_timeout", masterTimeout);
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs
new file mode 100644
index 00000000000..70c49aa4543
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs
@@ -0,0 +1,138 @@
+// Licensed to Elasticsearch B.V under one or more agreements.
+// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
+// See the LICENSE file in the project root for more information.
+//
+// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
+// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
+// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
+// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
+// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
+// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
+// ------------------------------------------------
+//
+// This file is automatically generated.
+// Please do not edit these files manually.
+//
+// ------------------------------------------------
+
+#nullable restore
+
+using Elastic.Clients.Elasticsearch.Fluent;
+using Elastic.Clients.Elasticsearch.Requests;
+using Elastic.Clients.Elasticsearch.Serialization;
+using Elastic.Transport;
+using System;
+using System.Collections.Generic;
+using System.Linq.Expressions;
+using System.Text.Json;
+using System.Text.Json.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.IndexManagement;
+
+public sealed class PutDataLifecycleRequestParameters : RequestParameters
+{
+ ///
+ /// Whether wildcard expressions should get expanded to open or closed indices (default: open)
+ ///
+ public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); }
+
+ ///
+ /// Specify timeout for connection to master
+ ///
+ public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
+
+ ///
+ /// Explicit timestamp for the document
+ ///
+ public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
+}
+
+///
+/// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+/// Update the data lifecycle of the specified data streams.
+///
+public sealed partial class PutDataLifecycleRequest : PlainRequest
+{
+ public PutDataLifecycleRequest(Elastic.Clients.Elasticsearch.DataStreamNames name) : base(r => r.Required("name", name))
+ {
+ }
+
+ internal override ApiUrls ApiUrls => ApiUrlLookup.IndexManagementPutDataLifecycle;
+
+ protected override HttpMethod StaticHttpMethod => HttpMethod.PUT;
+
+ internal override bool SupportsBody => true;
+
+ ///
+ /// Whether wildcard expressions should get expanded to open or closed indices (default: open)
+ ///
+ [JsonIgnore]
+ public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); }
+
+ ///
+ /// Specify timeout for connection to master
+ ///
+ [JsonIgnore]
+ public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
+
+ ///
+ /// Explicit timestamp for the document
+ ///
+ [JsonIgnore]
+ public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
+ [JsonInclude, JsonPropertyName("data_retention")]
+ public Elastic.Clients.Elasticsearch.Duration? DataRetention { get; set; }
+}
+
+///
+/// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+/// Update the data lifecycle of the specified data streams.
+///
+public sealed partial class PutDataLifecycleRequestDescriptor : RequestDescriptor
+{
+ internal PutDataLifecycleRequestDescriptor(Action configure) => configure.Invoke(this);
+
+ public PutDataLifecycleRequestDescriptor(Elastic.Clients.Elasticsearch.DataStreamNames name) : base(r => r.Required("name", name))
+ {
+ }
+
+ internal PutDataLifecycleRequestDescriptor()
+ {
+ }
+
+ internal override ApiUrls ApiUrls => ApiUrlLookup.IndexManagementPutDataLifecycle;
+
+ protected override HttpMethod StaticHttpMethod => HttpMethod.PUT;
+
+ internal override bool SupportsBody => true;
+
+ public PutDataLifecycleRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards);
+ public PutDataLifecycleRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? masterTimeout) => Qs("master_timeout", masterTimeout);
+ public PutDataLifecycleRequestDescriptor Timeout(Elastic.Clients.Elasticsearch.Duration? timeout) => Qs("timeout", timeout);
+
+ public PutDataLifecycleRequestDescriptor Name(Elastic.Clients.Elasticsearch.DataStreamNames name)
+ {
+ RouteValues.Required("name", name);
+ return Self;
+ }
+
+ private Elastic.Clients.Elasticsearch.Duration? DataRetentionValue { get; set; }
+
+ public PutDataLifecycleRequestDescriptor DataRetention(Elastic.Clients.Elasticsearch.Duration? dataRetention)
+ {
+ DataRetentionValue = dataRetention;
+ return Self;
+ }
+
+ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings)
+ {
+ writer.WriteStartObject();
+ if (DataRetentionValue is not null)
+ {
+ writer.WritePropertyName("data_retention");
+ JsonSerializer.Serialize(writer, DataRetentionValue, options);
+ }
+
+ writer.WriteEndObject();
+ }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleResponse.g.cs
new file mode 100644
index 00000000000..69531a0a39f
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleResponse.g.cs
@@ -0,0 +1,38 @@
+// Licensed to Elasticsearch B.V under one or more agreements.
+// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
+// See the LICENSE file in the project root for more information.
+//
+// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
+// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
+// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
+// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
+// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
+// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
+// ------------------------------------------------
+//
+// This file is automatically generated.
+// Please do not edit these files manually.
+//
+// ------------------------------------------------
+
+#nullable restore
+
+using Elastic.Clients.Elasticsearch.Fluent;
+using Elastic.Clients.Elasticsearch.Serialization;
+using Elastic.Transport.Products.Elasticsearch;
+using System.Collections.Generic;
+using System.Text.Json.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.IndexManagement;
+
+///
+/// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+///
+public sealed partial class PutDataLifecycleResponse : ElasticsearchResponse
+{
+ ///
+ /// For a successful response, this value is always true. On failure, an exception is returned instead.
+ ///
+ [JsonInclude, JsonPropertyName("acknowledged")]
+ public bool Acknowledged { get; init; }
+}
\ No newline at end of file
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 24c789a2084..c19573c80f8 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs
@@ -40,6 +40,11 @@ public sealed class SimulateIndexTemplateRequestParameters : RequestParameters
/// Period to wait for a connection to the master node. If no response is received
before the timeout expires, the request fails and returns an error.
///
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
+
+ ///
+ /// If true, returns all relevant default configurations for the index template.
+ ///
+ public bool? IncludeDefaults { get => Q("include_defaults"); set => Q("include_defaults", value); }
}
///
@@ -68,6 +73,12 @@ public SimulateIndexTemplateRequest(Elastic.Clients.Elasticsearch.Name name) : b
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
+
+ ///
+ /// If true, returns all relevant default configurations for the index template.
+ ///
+ [JsonIgnore]
+ public bool? IncludeDefaults { get => Q("include_defaults"); set => Q("include_defaults", value); }
[JsonInclude, JsonPropertyName("allow_auto_create")]
public bool? AllowAutoCreate { get; set; }
[JsonInclude, JsonPropertyName("index_patterns")]
@@ -108,6 +119,7 @@ internal SimulateIndexTemplateRequestDescriptor()
internal override bool SupportsBody => true;
public SimulateIndexTemplateRequestDescriptor Create(bool? create = true) => Qs("create", create);
+ public SimulateIndexTemplateRequestDescriptor IncludeDefaults(bool? includeDefaults = true) => Qs("include_defaults", includeDefaults);
public SimulateIndexTemplateRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? masterTimeout) => Qs("master_timeout", masterTimeout);
public SimulateIndexTemplateRequestDescriptor Name(Elastic.Clients.Elasticsearch.Name name)
@@ -310,6 +322,7 @@ internal SimulateIndexTemplateRequestDescriptor()
internal override bool SupportsBody => true;
public SimulateIndexTemplateRequestDescriptor Create(bool? create = true) => Qs("create", create);
+ public SimulateIndexTemplateRequestDescriptor IncludeDefaults(bool? includeDefaults = true) => Qs("include_defaults", includeDefaults);
public SimulateIndexTemplateRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? masterTimeout) => Qs("master_timeout", masterTimeout);
public SimulateIndexTemplateRequestDescriptor Name(Elastic.Clients.Elasticsearch.Name name)
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 6f2063ec4bf..900efbeffc9 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs
@@ -40,6 +40,11 @@ public sealed class SimulateTemplateRequestParameters : RequestParameters
/// Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.
///
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
+
+ ///
+ /// If true, returns all relevant default configurations for the index template.
+ ///
+ public bool? IncludeDefaults { get => Q("include_defaults"); set => Q("include_defaults", value); }
}
///
@@ -72,6 +77,12 @@ public SimulateTemplateRequest(Elastic.Clients.Elasticsearch.Name? name) : base(
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
+
+ ///
+ /// If true, returns all relevant default configurations for the index template.
+ ///
+ [JsonIgnore]
+ public bool? IncludeDefaults { get => Q("include_defaults"); set => Q("include_defaults", value); }
}
///
@@ -92,6 +103,7 @@ public SimulateTemplateRequestDescriptor()
internal override bool SupportsBody => false;
public SimulateTemplateRequestDescriptor Create(bool? create = true) => Qs("create", create);
+ public SimulateTemplateRequestDescriptor IncludeDefaults(bool? includeDefaults = true) => Qs("include_defaults", includeDefaults);
public SimulateTemplateRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? masterTimeout) => Qs("master_timeout", masterTimeout);
public SimulateTemplateRequestDescriptor Name(Elastic.Clients.Elasticsearch.Name? name)
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs
index 85f6ca5479c..94580d24a97 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs
@@ -249,6 +249,12 @@ public override SearchRequest Read(ref Utf8JsonReader reader, Type typeToConvert
continue;
}
+ if (property == "rank")
+ {
+ variant.Rank = JsonSerializer.Deserialize(ref reader, options);
+ continue;
+ }
+
if (property == "min_score")
{
variant.MinScore = JsonSerializer.Deserialize(ref reader, options);
@@ -449,6 +455,12 @@ public override void Write(Utf8JsonWriter writer, SearchRequest value, JsonSeria
JsonSerializer.Serialize(writer, value.Knn, options);
}
+ if (value.Rank is not null)
+ {
+ writer.WritePropertyName("rank");
+ JsonSerializer.Serialize(writer, value.Rank, options);
+ }
+
if (value.MinScore.HasValue)
{
writer.WritePropertyName("min_score");
@@ -827,6 +839,12 @@ public SearchRequest(Elastic.Clients.Elasticsearch.Indices? indices) : base(r =>
[JsonInclude, JsonPropertyName("knn"), SingleOrManyCollectionConverter(typeof(Elastic.Clients.Elasticsearch.KnnQuery))]
public ICollection? Knn { get; set; }
+ ///
+ /// Defines the Reciprocal Rank Fusion (RRF) to use
+ ///
+ [JsonInclude, JsonPropertyName("rank")]
+ public Elastic.Clients.Elasticsearch.Rank? Rank { get; set; }
+
///
/// Minimum _score for matching documents. Documents with a lower _score are
not included in the search results.
///
@@ -1047,6 +1065,9 @@ public SearchRequestDescriptor Indices(Elastic.Clients.Elasticsearch.
private Core.Search.PointInTimeReferenceDescriptor PitDescriptor { get; set; }
private Action PitDescriptorAction { get; set; }
private bool? ProfileValue { get; set; }
+ private Elastic.Clients.Elasticsearch.Rank? RankValue { get; set; }
+ private RankDescriptor RankDescriptor { get; set; }
+ private Action RankDescriptorAction { get; set; }
private IDictionary? RuntimeMappingsValue { get; set; }
private IDictionary? ScriptFieldsValue { get; set; }
private ICollection? SearchAfterValue { get; set; }
@@ -1486,6 +1507,33 @@ public SearchRequestDescriptor Profile(bool? profile = true)
return Self;
}
+ ///
+ /// Defines the Reciprocal Rank Fusion (RRF) to use
+ ///
+ public SearchRequestDescriptor Rank(Elastic.Clients.Elasticsearch.Rank? rank)
+ {
+ RankDescriptor = null;
+ RankDescriptorAction = null;
+ RankValue = rank;
+ return Self;
+ }
+
+ public SearchRequestDescriptor Rank(RankDescriptor descriptor)
+ {
+ RankValue = null;
+ RankDescriptorAction = null;
+ RankDescriptor = descriptor;
+ return Self;
+ }
+
+ public SearchRequestDescriptor Rank(Action configure)
+ {
+ RankValue = null;
+ RankDescriptor = null;
+ RankDescriptorAction = configure;
+ return Self;
+ }
+
///
/// Defines one or more runtime fields in the search request. These fields take
precedence over mapped fields with the same name.
///
@@ -1921,6 +1969,22 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
writer.WriteBooleanValue(ProfileValue.Value);
}
+ if (RankDescriptor is not null)
+ {
+ writer.WritePropertyName("rank");
+ JsonSerializer.Serialize(writer, RankDescriptor, options);
+ }
+ else if (RankDescriptorAction is not null)
+ {
+ writer.WritePropertyName("rank");
+ JsonSerializer.Serialize(writer, new RankDescriptor(RankDescriptorAction), options);
+ }
+ else if (RankValue is not null)
+ {
+ writer.WritePropertyName("rank");
+ JsonSerializer.Serialize(writer, RankValue, options);
+ }
+
if (RuntimeMappingsValue is not null)
{
writer.WritePropertyName("runtime_mappings");
@@ -2118,6 +2182,9 @@ public SearchRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Indices? in
private Core.Search.PointInTimeReferenceDescriptor PitDescriptor { get; set; }
private Action PitDescriptorAction { get; set; }
private bool? ProfileValue { get; set; }
+ private Elastic.Clients.Elasticsearch.Rank? RankValue { get; set; }
+ private RankDescriptor RankDescriptor { get; set; }
+ private Action RankDescriptorAction { get; set; }
private IDictionary? RuntimeMappingsValue { get; set; }
private IDictionary? ScriptFieldsValue { get; set; }
private ICollection? SearchAfterValue { get; set; }
@@ -2557,6 +2624,33 @@ public SearchRequestDescriptor Profile(bool? profile = true)
return Self;
}
+ ///
+ /// Defines the Reciprocal Rank Fusion (RRF) to use
+ ///
+ public SearchRequestDescriptor Rank(Elastic.Clients.Elasticsearch.Rank? rank)
+ {
+ RankDescriptor = null;
+ RankDescriptorAction = null;
+ RankValue = rank;
+ return Self;
+ }
+
+ public SearchRequestDescriptor Rank(RankDescriptor descriptor)
+ {
+ RankValue = null;
+ RankDescriptorAction = null;
+ RankDescriptor = descriptor;
+ return Self;
+ }
+
+ public SearchRequestDescriptor Rank(Action configure)
+ {
+ RankValue = null;
+ RankDescriptor = null;
+ RankDescriptorAction = configure;
+ return Self;
+ }
+
///
/// Defines one or more runtime fields in the search request. These fields take
precedence over mapped fields with the same name.
///
@@ -2992,6 +3086,22 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
writer.WriteBooleanValue(ProfileValue.Value);
}
+ if (RankDescriptor is not null)
+ {
+ writer.WritePropertyName("rank");
+ JsonSerializer.Serialize(writer, RankDescriptor, options);
+ }
+ else if (RankDescriptorAction is not null)
+ {
+ writer.WritePropertyName("rank");
+ JsonSerializer.Serialize(writer, new RankDescriptor(RankDescriptorAction), options);
+ }
+ else if (RankValue is not null)
+ {
+ writer.WritePropertyName("rank");
+ JsonSerializer.Serialize(writer, RankValue, options);
+ }
+
if (RuntimeMappingsValue is not null)
{
writer.WritePropertyName("runtime_mappings");
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.AsyncSearch.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.AsyncSearch.g.cs
index 46ced9d9500..8abef9cad8e 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.AsyncSearch.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.AsyncSearch.g.cs
@@ -38,7 +38,7 @@ internal AsyncSearchNamespacedClient(ElasticsearchClient client) : base(client)
///
/// Retrieves the status of a previously submitted async search request given its ID.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual AsyncSearchStatusResponse Status(AsyncSearchStatusRequest request)
{
@@ -48,7 +48,7 @@ public virtual AsyncSearchStatusResponse Status(AsyncSearchStatusRequest request
///
/// Retrieves the status of a previously submitted async search request given its ID.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatusAsync(AsyncSearchStatusRequest request, CancellationToken cancellationToken = default)
{
@@ -58,7 +58,7 @@ public virtual Task StatusAsync(AsyncSearchStatusRequ
///
/// Retrieves the status of a previously submitted async search request given its ID.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual AsyncSearchStatusResponse Status(Elastic.Clients.Elasticsearch.Id id)
{
@@ -69,7 +69,7 @@ public virtual AsyncSearchStatusResponse Status(Elastic.Clients.Elasticsearch.Id
///
/// Retrieves the status of a previously submitted async search request given its ID.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual AsyncSearchStatusResponse Status(AsyncSearchStatusRequestDescriptor descriptor)
{
@@ -79,7 +79,7 @@ public virtual AsyncSearchStatusResponse Status(AsyncSearchStatusRequestDescript
///
/// Retrieves the status of a previously submitted async search request given its ID.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual AsyncSearchStatusResponse Status(Elastic.Clients.Elasticsearch.Id id, Action configureRequest)
{
@@ -91,7 +91,7 @@ public virtual AsyncSearchStatusResponse Status(Elastic.Clients.Elasticsearch.Id
///
/// Retrieves the status of a previously submitted async search request given its ID.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual AsyncSearchStatusResponse Status(AsyncSearchStatusRequestDescriptor descriptor)
{
@@ -101,7 +101,7 @@ public virtual AsyncSearchStatusResponse Status(AsyncSearchStatusRequ
///
/// Retrieves the status of a previously submitted async search request given its ID.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual AsyncSearchStatusResponse Status(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest)
{
@@ -113,7 +113,7 @@ public virtual AsyncSearchStatusResponse Status(Elastic.Clients.Elast
///
/// Retrieves the status of a previously submitted async search request given its ID.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatusAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default)
{
@@ -124,7 +124,7 @@ public virtual Task StatusAsync(Elastic.Clients.Elast
///
/// Retrieves the status of a previously submitted async search request given its ID.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatusAsync(AsyncSearchStatusRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -134,7 +134,7 @@ public virtual Task StatusAsync(AsyncSearchStatusRequ
///
/// Retrieves the status of a previously submitted async search request given its ID.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatusAsync(Elastic.Clients.Elasticsearch.Id id, Action configureRequest, CancellationToken cancellationToken = default)
{
@@ -146,7 +146,7 @@ public virtual Task StatusAsync(Elastic.Clients.Elast
///
/// Retrieves the status of a previously submitted async search request given its ID.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatusAsync(AsyncSearchStatusRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -156,7 +156,7 @@ public virtual Task StatusAsync(AsyncSearc
///
/// Retrieves the status of a previously submitted async search request given its ID.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatusAsync(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest, CancellationToken cancellationToken = default)
{
@@ -168,7 +168,7 @@ public virtual Task StatusAsync(Elastic.Cl
///
/// Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual DeleteAsyncSearchResponse Delete(DeleteAsyncSearchRequest request)
{
@@ -178,7 +178,7 @@ public virtual DeleteAsyncSearchResponse Delete(DeleteAsyncSearchRequest request
///
/// Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAsync(DeleteAsyncSearchRequest request, CancellationToken cancellationToken = default)
{
@@ -188,7 +188,7 @@ public virtual Task DeleteAsync(DeleteAsyncSearchRequ
///
/// Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual DeleteAsyncSearchResponse Delete(Elastic.Clients.Elasticsearch.Id id)
{
@@ -199,7 +199,7 @@ public virtual DeleteAsyncSearchResponse Delete(Elastic.Clients.Elasticsearch.Id
///
/// Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual DeleteAsyncSearchResponse Delete(DeleteAsyncSearchRequestDescriptor descriptor)
{
@@ -209,7 +209,7 @@ public virtual DeleteAsyncSearchResponse Delete(DeleteAsyncSearchRequestDescript
///
/// Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual DeleteAsyncSearchResponse Delete(Elastic.Clients.Elasticsearch.Id id, Action configureRequest)
{
@@ -221,7 +221,7 @@ public virtual DeleteAsyncSearchResponse Delete(Elastic.Clients.Elasticsearch.Id
///
/// Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual DeleteAsyncSearchResponse Delete(DeleteAsyncSearchRequestDescriptor descriptor)
{
@@ -231,7 +231,7 @@ public virtual DeleteAsyncSearchResponse Delete(DeleteAsyncSearchRequ
///
/// Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual DeleteAsyncSearchResponse Delete(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest)
{
@@ -243,7 +243,7 @@ public virtual DeleteAsyncSearchResponse Delete(Elastic.Clients.Elast
///
/// Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default)
{
@@ -254,7 +254,7 @@ public virtual Task DeleteAsync(Elastic.Clients.Elast
///
/// Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAsync(DeleteAsyncSearchRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -264,7 +264,7 @@ public virtual Task DeleteAsync(DeleteAsyncSearchRequ
///
/// Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Id id, Action configureRequest, CancellationToken cancellationToken = default)
{
@@ -276,7 +276,7 @@ public virtual Task DeleteAsync(Elastic.Clients.Elast
///
/// Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAsync(DeleteAsyncSearchRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -286,7 +286,7 @@ public virtual Task DeleteAsync(DeleteAsyn
///
/// Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest, CancellationToken cancellationToken = default)
{
@@ -298,7 +298,7 @@ public virtual Task DeleteAsync(Elastic.Cl
///
/// Retrieves the results of a previously submitted async search request given its ID.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual GetAsyncSearchResponse Get(GetAsyncSearchRequest request)
{
@@ -308,7 +308,7 @@ public virtual GetAsyncSearchResponse Get(GetAsyncSearchRe
///
/// Retrieves the results of a previously submitted async search request given its ID.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task> GetAsync(GetAsyncSearchRequest request, CancellationToken cancellationToken = default)
{
@@ -318,7 +318,7 @@ public virtual Task> GetAsync(GetAs
///
/// Retrieves the results of a previously submitted async search request given its ID.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual GetAsyncSearchResponse Get(Elastic.Clients.Elasticsearch.Id id)
{
@@ -329,7 +329,7 @@ public virtual GetAsyncSearchResponse Get(Elastic.Clients.
///
/// Retrieves the results of a previously submitted async search request given its ID.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual GetAsyncSearchResponse Get(GetAsyncSearchRequestDescriptor descriptor)
{
@@ -339,7 +339,7 @@ public virtual GetAsyncSearchResponse Get(GetAsyncSearchRe
///
/// Retrieves the results of a previously submitted async search request given its ID.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual GetAsyncSearchResponse Get(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest)
{
@@ -351,7 +351,7 @@ public virtual GetAsyncSearchResponse Get(Elastic.Clients.
///
/// Retrieves the results of a previously submitted async search request given its ID.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task> GetAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default)
{
@@ -362,7 +362,7 @@ public virtual Task> GetAsync(Elast
///
/// Retrieves the results of a previously submitted async search request given its ID.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task> GetAsync(GetAsyncSearchRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -372,7 +372,7 @@ public virtual Task> GetAsync(GetAs
///
/// Retrieves the results of a previously submitted async search request given its ID.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task> GetAsync(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest, CancellationToken cancellationToken = default)
{
@@ -384,7 +384,7 @@ public virtual Task> GetAsync(Elast
///
/// Executes a search request asynchronously.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual SubmitAsyncSearchResponse Submit(SubmitAsyncSearchRequest request)
{
@@ -394,7 +394,7 @@ public virtual SubmitAsyncSearchResponse Submit(SubmitAsyn
///
/// Executes a search request asynchronously.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task> SubmitAsync(SubmitAsyncSearchRequest request, CancellationToken cancellationToken = default)
{
@@ -404,7 +404,7 @@ public virtual Task> SubmitAsync
///
/// Executes a search request asynchronously.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual SubmitAsyncSearchResponse Submit()
{
@@ -415,7 +415,7 @@ public virtual SubmitAsyncSearchResponse Submit()
///
/// Executes a search request asynchronously.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual SubmitAsyncSearchResponse Submit(SubmitAsyncSearchRequestDescriptor descriptor)
{
@@ -425,7 +425,7 @@ public virtual SubmitAsyncSearchResponse Submit(SubmitAsyn
///
/// Executes a search request asynchronously.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual SubmitAsyncSearchResponse Submit(Action> configureRequest)
{
@@ -437,7 +437,7 @@ public virtual SubmitAsyncSearchResponse Submit(Action
/// Executes a search request asynchronously.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task> SubmitAsync(CancellationToken cancellationToken = default)
{
@@ -448,7 +448,7 @@ public virtual Task> SubmitAsync
///
/// Executes a search request asynchronously.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task> SubmitAsync(SubmitAsyncSearchRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -458,7 +458,7 @@ public virtual Task> SubmitAsync
///
/// Executes a search request asynchronously.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task> SubmitAsync(Action> configureRequest, CancellationToken cancellationToken = default)
{
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Cluster.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Cluster.g.cs
index 2fb4449ff03..59b577d8bdc 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Cluster.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Cluster.g.cs
@@ -38,7 +38,7 @@ internal ClusterNamespacedClient(ElasticsearchClient client) : base(client)
///
/// Provides explanations for shard allocations in the cluster.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual AllocationExplainResponse AllocationExplain(AllocationExplainRequest request)
{
@@ -48,7 +48,7 @@ public virtual AllocationExplainResponse AllocationExplain(AllocationExplainRequ
///
/// Provides explanations for shard allocations in the cluster.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task AllocationExplainAsync(AllocationExplainRequest request, CancellationToken cancellationToken = default)
{
@@ -58,7 +58,7 @@ public virtual Task AllocationExplainAsync(Allocation
///
/// Provides explanations for shard allocations in the cluster.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual AllocationExplainResponse AllocationExplain()
{
@@ -69,7 +69,7 @@ public virtual AllocationExplainResponse AllocationExplain()
///
/// Provides explanations for shard allocations in the cluster.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual AllocationExplainResponse AllocationExplain(AllocationExplainRequestDescriptor descriptor)
{
@@ -79,7 +79,7 @@ public virtual AllocationExplainResponse AllocationExplain(AllocationExplainRequ
///
/// Provides explanations for shard allocations in the cluster.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual AllocationExplainResponse AllocationExplain(Action configureRequest)
{
@@ -91,7 +91,7 @@ public virtual AllocationExplainResponse AllocationExplain(Action
/// Provides explanations for shard allocations in the cluster.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task AllocationExplainAsync(CancellationToken cancellationToken = default)
{
@@ -102,7 +102,7 @@ public virtual Task AllocationExplainAsync(Cancellati
///
/// Provides explanations for shard allocations in the cluster.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task AllocationExplainAsync(AllocationExplainRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -112,7 +112,7 @@ public virtual Task AllocationExplainAsync(Allocation
///
/// Provides explanations for shard allocations in the cluster.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task AllocationExplainAsync(Action configureRequest, CancellationToken cancellationToken = default)
{
@@ -124,7 +124,7 @@ public virtual Task AllocationExplainAsync(Action
/// Returns high-level overview of cluster statistics.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual ClusterStatsResponse Stats(ClusterStatsRequest request)
{
@@ -134,7 +134,7 @@ public virtual ClusterStatsResponse Stats(ClusterStatsRequest request)
///
/// Returns high-level overview of cluster statistics.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatsAsync(ClusterStatsRequest request, CancellationToken cancellationToken = default)
{
@@ -144,7 +144,7 @@ public virtual Task StatsAsync(ClusterStatsRequest request
///
/// Returns high-level overview of cluster statistics.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual ClusterStatsResponse Stats()
{
@@ -155,7 +155,7 @@ public virtual ClusterStatsResponse Stats()
///
/// Returns high-level overview of cluster statistics.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual ClusterStatsResponse Stats(ClusterStatsRequestDescriptor descriptor)
{
@@ -165,7 +165,7 @@ public virtual ClusterStatsResponse Stats(ClusterStatsRequestDescriptor descript
///
/// Returns high-level overview of cluster statistics.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual ClusterStatsResponse Stats(Action configureRequest)
{
@@ -177,7 +177,7 @@ public virtual ClusterStatsResponse Stats(Action
///
/// Returns high-level overview of cluster statistics.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatsAsync(CancellationToken cancellationToken = default)
{
@@ -188,7 +188,7 @@ public virtual Task StatsAsync(CancellationToken cancellat
///
/// Returns high-level overview of cluster statistics.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatsAsync(ClusterStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -198,7 +198,7 @@ public virtual Task StatsAsync(ClusterStatsRequestDescript
///
/// Returns high-level overview of cluster statistics.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatsAsync(Action configureRequest, CancellationToken cancellationToken = default)
{
@@ -210,7 +210,7 @@ public virtual Task StatsAsync(Action
/// Returns cluster settings.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual GetClusterSettingsResponse GetSettings(GetClusterSettingsRequest request)
{
@@ -220,7 +220,7 @@ public virtual GetClusterSettingsResponse GetSettings(GetClusterSettingsRequest
///
/// Returns cluster settings.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetSettingsAsync(GetClusterSettingsRequest request, CancellationToken cancellationToken = default)
{
@@ -230,7 +230,7 @@ public virtual Task GetSettingsAsync(GetClusterSetti
///
/// Returns cluster settings.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual GetClusterSettingsResponse GetSettings()
{
@@ -241,7 +241,7 @@ public virtual GetClusterSettingsResponse GetSettings()
///
/// Returns cluster settings.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual GetClusterSettingsResponse GetSettings(GetClusterSettingsRequestDescriptor descriptor)
{
@@ -251,7 +251,7 @@ public virtual GetClusterSettingsResponse GetSettings(GetClusterSettingsRequestD
///
/// Returns cluster settings.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual GetClusterSettingsResponse GetSettings(Action configureRequest)
{
@@ -263,7 +263,7 @@ public virtual GetClusterSettingsResponse GetSettings(Action
/// Returns cluster settings.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetSettingsAsync(CancellationToken cancellationToken = default)
{
@@ -274,7 +274,7 @@ public virtual Task GetSettingsAsync(CancellationTok
///
/// Returns cluster settings.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetSettingsAsync(GetClusterSettingsRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -284,7 +284,7 @@ public virtual Task GetSettingsAsync(GetClusterSetti
///
/// Returns cluster settings.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetSettingsAsync(Action configureRequest, CancellationToken cancellationToken = default)
{
@@ -296,7 +296,7 @@ public virtual Task GetSettingsAsync(Action
/// Returns basic information about the health of the cluster.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual HealthResponse Health(HealthRequest request)
{
@@ -306,7 +306,7 @@ public virtual HealthResponse Health(HealthRequest request)
///
/// Returns basic information about the health of the cluster.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task HealthAsync(HealthRequest request, CancellationToken cancellationToken = default)
{
@@ -316,7 +316,7 @@ public virtual Task HealthAsync(HealthRequest request, Cancellat
///
/// Returns basic information about the health of the cluster.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual HealthResponse Health()
{
@@ -327,7 +327,7 @@ public virtual HealthResponse Health()
///
/// Returns basic information about the health of the cluster.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual HealthResponse Health(HealthRequestDescriptor descriptor)
{
@@ -337,7 +337,7 @@ public virtual HealthResponse Health(HealthRequestDescriptor descriptor)
///
/// Returns basic information about the health of the cluster.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual HealthResponse Health(Action configureRequest)
{
@@ -349,7 +349,7 @@ public virtual HealthResponse Health(Action configureRe
///
/// Returns basic information about the health of the cluster.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual HealthResponse Health(HealthRequestDescriptor descriptor)
{
@@ -359,7 +359,7 @@ public virtual HealthResponse Health(HealthRequestDescriptor
/// Returns basic information about the health of the cluster.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual HealthResponse Health(Action> configureRequest)
{
@@ -371,7 +371,7 @@ public virtual HealthResponse Health(Action
/// Returns basic information about the health of the cluster.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task HealthAsync(CancellationToken cancellationToken = default)
{
@@ -382,7 +382,7 @@ public virtual Task HealthAsync(CancellationToken cancellationTo
///
/// Returns basic information about the health of the cluster.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task HealthAsync(HealthRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -392,7 +392,7 @@ public virtual Task HealthAsync(HealthRequestDescriptor descript
///
/// Returns basic information about the health of the cluster.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task HealthAsync(Action configureRequest, CancellationToken cancellationToken = default)
{
@@ -404,7 +404,7 @@ public virtual Task HealthAsync(Action
///
/// Returns basic information about the health of the cluster.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task HealthAsync(HealthRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -414,7 +414,7 @@ public virtual Task HealthAsync(HealthRequestDescript
///
/// Returns basic information about the health of the cluster.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task HealthAsync(Action> configureRequest, CancellationToken cancellationToken = default)
{
@@ -426,7 +426,7 @@ public virtual Task HealthAsync(Action
/// Returns a list of any cluster-level changes (e.g. create index, update mapping,
allocate or fail shard) which have not yet been executed.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual PendingTasksResponse PendingTasks(PendingTasksRequest request)
{
@@ -436,7 +436,7 @@ public virtual PendingTasksResponse PendingTasks(PendingTasksRequest request)
///
/// Returns a list of any cluster-level changes (e.g. create index, update mapping,
allocate or fail shard) which have not yet been executed.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PendingTasksAsync(PendingTasksRequest request, CancellationToken cancellationToken = default)
{
@@ -446,7 +446,7 @@ public virtual Task PendingTasksAsync(PendingTasksRequest
///
/// Returns a list of any cluster-level changes (e.g. create index, update mapping,
allocate or fail shard) which have not yet been executed.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual PendingTasksResponse PendingTasks()
{
@@ -457,7 +457,7 @@ public virtual PendingTasksResponse PendingTasks()
///
/// Returns a list of any cluster-level changes (e.g. create index, update mapping,
allocate or fail shard) which have not yet been executed.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual PendingTasksResponse PendingTasks(PendingTasksRequestDescriptor descriptor)
{
@@ -467,7 +467,7 @@ public virtual PendingTasksResponse PendingTasks(PendingTasksRequestDescriptor d
///
/// Returns a list of any cluster-level changes (e.g. create index, update mapping,
allocate or fail shard) which have not yet been executed.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual PendingTasksResponse PendingTasks(Action configureRequest)
{
@@ -479,7 +479,7 @@ public virtual PendingTasksResponse PendingTasks(Action
/// Returns a list of any cluster-level changes (e.g. create index, update mapping,
allocate or fail shard) which have not yet been executed.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PendingTasksAsync(CancellationToken cancellationToken = default)
{
@@ -490,7 +490,7 @@ public virtual Task PendingTasksAsync(CancellationToken ca
///
/// Returns a list of any cluster-level changes (e.g. create index, update mapping,
allocate or fail shard) which have not yet been executed.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PendingTasksAsync(PendingTasksRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -500,7 +500,7 @@ public virtual Task PendingTasksAsync(PendingTasksRequestD
///
/// Returns a list of any cluster-level changes (e.g. create index, update mapping,
allocate or fail shard) which have not yet been executed.
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PendingTasksAsync(Action configureRequest, CancellationToken cancellationToken = default)
{
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Indices.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Indices.g.cs
index 118568e75c8..1fdf2ffdb8d 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Indices.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Indices.g.cs
@@ -734,6 +734,100 @@ public virtual Task DeleteAliasAsync(Elastic.Cli
return DoRequestAsync, DeleteAliasResponse, DeleteAliasRequestParameters>(descriptor, cancellationToken);
}
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Deletes the data lifecycle of the selected data streams.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual DeleteDataLifecycleResponse DeleteDataLifecycle(DeleteDataLifecycleRequest request)
+ {
+ request.BeforeRequest();
+ return DoRequest(request);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Deletes the data lifecycle of the selected data streams.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual Task DeleteDataLifecycleAsync(DeleteDataLifecycleRequest request, CancellationToken cancellationToken = default)
+ {
+ request.BeforeRequest();
+ return DoRequestAsync(request, cancellationToken);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Deletes the data lifecycle of the selected data streams.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual DeleteDataLifecycleResponse DeleteDataLifecycle(Elastic.Clients.Elasticsearch.DataStreamNames name)
+ {
+ var descriptor = new DeleteDataLifecycleRequestDescriptor(name);
+ descriptor.BeforeRequest();
+ return DoRequest(descriptor);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Deletes the data lifecycle of the selected data streams.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual DeleteDataLifecycleResponse DeleteDataLifecycle(DeleteDataLifecycleRequestDescriptor descriptor)
+ {
+ descriptor.BeforeRequest();
+ return DoRequest(descriptor);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Deletes the data lifecycle of the selected data streams.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual DeleteDataLifecycleResponse DeleteDataLifecycle(Elastic.Clients.Elasticsearch.DataStreamNames name, Action configureRequest)
+ {
+ var descriptor = new DeleteDataLifecycleRequestDescriptor(name);
+ configureRequest?.Invoke(descriptor);
+ descriptor.BeforeRequest();
+ return DoRequest(descriptor);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Deletes the data lifecycle of the selected data streams.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual Task DeleteDataLifecycleAsync(Elastic.Clients.Elasticsearch.DataStreamNames name, CancellationToken cancellationToken = default)
+ {
+ var descriptor = new DeleteDataLifecycleRequestDescriptor(name);
+ descriptor.BeforeRequest();
+ return DoRequestAsync(descriptor, cancellationToken);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Deletes the data lifecycle of the selected data streams.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual Task DeleteDataLifecycleAsync(DeleteDataLifecycleRequestDescriptor descriptor, CancellationToken cancellationToken = default)
+ {
+ descriptor.BeforeRequest();
+ return DoRequestAsync(descriptor, cancellationToken);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Deletes the data lifecycle of the selected data streams.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual Task DeleteDataLifecycleAsync(Elastic.Clients.Elasticsearch.DataStreamNames name, Action configureRequest, CancellationToken cancellationToken = default)
+ {
+ var descriptor = new DeleteDataLifecycleRequestDescriptor(name);
+ configureRequest?.Invoke(descriptor);
+ descriptor.BeforeRequest();
+ return DoRequestAsync(descriptor, cancellationToken);
+ }
+
///
/// Deletes a data stream.
/// Learn more about this API in the Elasticsearch documentation.
@@ -1554,6 +1648,148 @@ public virtual Task ExistsTemplateAsync(Elastic.Clients.
return DoRequestAsync(descriptor, cancellationToken);
}
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Retrieves information about the index's current DLM lifecycle, such as any potential encountered error, time since creation etc.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual ExplainDataLifecycleResponse ExplainDataLifecycle(ExplainDataLifecycleRequest request)
+ {
+ request.BeforeRequest();
+ return DoRequest(request);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Retrieves information about the index's current DLM lifecycle, such as any potential encountered error, time since creation etc.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual Task ExplainDataLifecycleAsync(ExplainDataLifecycleRequest request, CancellationToken cancellationToken = default)
+ {
+ request.BeforeRequest();
+ return DoRequestAsync(request, cancellationToken);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Retrieves information about the index's current DLM lifecycle, such as any potential encountered error, time since creation etc.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual ExplainDataLifecycleResponse ExplainDataLifecycle(Elastic.Clients.Elasticsearch.Indices indices)
+ {
+ var descriptor = new ExplainDataLifecycleRequestDescriptor(indices);
+ descriptor.BeforeRequest();
+ return DoRequest(descriptor);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Retrieves information about the index's current DLM lifecycle, such as any potential encountered error, time since creation etc.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual ExplainDataLifecycleResponse ExplainDataLifecycle(ExplainDataLifecycleRequestDescriptor descriptor)
+ {
+ descriptor.BeforeRequest();
+ return DoRequest(descriptor);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Retrieves information about the index's current DLM lifecycle, such as any potential encountered error, time since creation etc.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual ExplainDataLifecycleResponse ExplainDataLifecycle(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest)
+ {
+ var descriptor = new ExplainDataLifecycleRequestDescriptor(indices);
+ configureRequest?.Invoke(descriptor);
+ descriptor.BeforeRequest();
+ return DoRequest(descriptor);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Retrieves information about the index's current DLM lifecycle, such as any potential encountered error, time since creation etc.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual ExplainDataLifecycleResponse ExplainDataLifecycle(ExplainDataLifecycleRequestDescriptor descriptor)
+ {
+ descriptor.BeforeRequest();
+ return DoRequest, ExplainDataLifecycleResponse, ExplainDataLifecycleRequestParameters>(descriptor);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Retrieves information about the index's current DLM lifecycle, such as any potential encountered error, time since creation etc.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual ExplainDataLifecycleResponse ExplainDataLifecycle(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest)
+ {
+ var descriptor = new ExplainDataLifecycleRequestDescriptor(indices);
+ configureRequest?.Invoke(descriptor);
+ descriptor.BeforeRequest();
+ return DoRequest, ExplainDataLifecycleResponse, ExplainDataLifecycleRequestParameters>(descriptor);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Retrieves information about the index's current DLM lifecycle, such as any potential encountered error, time since creation etc.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual Task ExplainDataLifecycleAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default)
+ {
+ var descriptor = new ExplainDataLifecycleRequestDescriptor(indices);
+ descriptor.BeforeRequest();
+ return DoRequestAsync(descriptor, cancellationToken);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Retrieves information about the index's current DLM lifecycle, such as any potential encountered error, time since creation etc.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual Task ExplainDataLifecycleAsync(ExplainDataLifecycleRequestDescriptor descriptor, CancellationToken cancellationToken = default)
+ {
+ descriptor.BeforeRequest();
+ return DoRequestAsync(descriptor, cancellationToken);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Retrieves information about the index's current DLM lifecycle, such as any potential encountered error, time since creation etc.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual Task ExplainDataLifecycleAsync(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest, CancellationToken cancellationToken = default)
+ {
+ var descriptor = new ExplainDataLifecycleRequestDescriptor(indices);
+ configureRequest?.Invoke(descriptor);
+ descriptor.BeforeRequest();
+ return DoRequestAsync(descriptor, cancellationToken);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Retrieves information about the index's current DLM lifecycle, such as any potential encountered error, time since creation etc.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual Task ExplainDataLifecycleAsync(ExplainDataLifecycleRequestDescriptor descriptor, CancellationToken cancellationToken = default)
+ {
+ descriptor.BeforeRequest();
+ return DoRequestAsync, ExplainDataLifecycleResponse, ExplainDataLifecycleRequestParameters>(descriptor, cancellationToken);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Retrieves information about the index's current DLM lifecycle, such as any potential encountered error, time since creation etc.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual Task ExplainDataLifecycleAsync(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest, CancellationToken cancellationToken = default)
+ {
+ var descriptor = new ExplainDataLifecycleRequestDescriptor(indices);
+ configureRequest?.Invoke(descriptor);
+ descriptor.BeforeRequest();
+ return DoRequestAsync, ExplainDataLifecycleResponse, ExplainDataLifecycleRequestParameters>(descriptor, cancellationToken);
+ }
+
///
/// Performs the flush operation on one or more indices.
/// Learn more about this API in the Elasticsearch documentation.
@@ -1944,6 +2180,100 @@ public virtual Task GetAliasAsync(Action, GetAliasResponse, GetAliasRequestParameters>(descriptor, cancellationToken);
}
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Returns the data lifecycle of the selected data streams.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual GetDataLifecycleResponse GetDataLifecycle(GetDataLifecycleRequest request)
+ {
+ request.BeforeRequest();
+ return DoRequest(request);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Returns the data lifecycle of the selected data streams.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual Task GetDataLifecycleAsync(GetDataLifecycleRequest request, CancellationToken cancellationToken = default)
+ {
+ request.BeforeRequest();
+ return DoRequestAsync(request, cancellationToken);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Returns the data lifecycle of the selected data streams.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual GetDataLifecycleResponse GetDataLifecycle(Elastic.Clients.Elasticsearch.DataStreamNames name)
+ {
+ var descriptor = new GetDataLifecycleRequestDescriptor(name);
+ descriptor.BeforeRequest();
+ return DoRequest(descriptor);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Returns the data lifecycle of the selected data streams.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual GetDataLifecycleResponse GetDataLifecycle(GetDataLifecycleRequestDescriptor descriptor)
+ {
+ descriptor.BeforeRequest();
+ return DoRequest(descriptor);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Returns the data lifecycle of the selected data streams.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual GetDataLifecycleResponse GetDataLifecycle(Elastic.Clients.Elasticsearch.DataStreamNames name, Action configureRequest)
+ {
+ var descriptor = new GetDataLifecycleRequestDescriptor(name);
+ configureRequest?.Invoke(descriptor);
+ descriptor.BeforeRequest();
+ return DoRequest(descriptor);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Returns the data lifecycle of the selected data streams.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual Task GetDataLifecycleAsync(Elastic.Clients.Elasticsearch.DataStreamNames name, CancellationToken cancellationToken = default)
+ {
+ var descriptor = new GetDataLifecycleRequestDescriptor(name);
+ descriptor.BeforeRequest();
+ return DoRequestAsync(descriptor, cancellationToken);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Returns the data lifecycle of the selected data streams.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual Task GetDataLifecycleAsync(GetDataLifecycleRequestDescriptor descriptor, CancellationToken cancellationToken = default)
+ {
+ descriptor.BeforeRequest();
+ return DoRequestAsync(descriptor, cancellationToken);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Returns the data lifecycle of the selected data streams.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual Task GetDataLifecycleAsync(Elastic.Clients.Elasticsearch.DataStreamNames name, Action configureRequest, CancellationToken cancellationToken = default)
+ {
+ var descriptor = new GetDataLifecycleRequestDescriptor(name);
+ configureRequest?.Invoke(descriptor);
+ descriptor.BeforeRequest();
+ return DoRequestAsync(descriptor, cancellationToken);
+ }
+
///
/// Returns data streams.
/// Learn more about this API in the Elasticsearch documentation.
@@ -3068,6 +3398,100 @@ public virtual Task PutAliasAsync(Elastic.Clients.E
return DoRequestAsync, PutAliasResponse, PutAliasRequestParameters>(descriptor, cancellationToken);
}
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Updates the data lifecycle of the selected data streams.
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual PutDataLifecycleResponse PutDataLifecycle(PutDataLifecycleRequest request)
+ {
+ request.BeforeRequest();
+ return DoRequest(request);
+ }
+
+ ///
+ /// EXPERIMENTAL! May change in ways that are not backwards compatible or be removed entirely.
+ /// Updates the data lifecycle of the selected data streams.
+ ///