Skip to content

Commit ab5e3e9

Browse files
committed
Regenerate client
1 parent 3dbafb0 commit ab5e3e9

File tree

333 files changed

+35544
-7168
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

333 files changed

+35544
-7168
lines changed

src/Elastic.Clients.Elasticsearch/_Generated/Api/ApiUrlLookup.g.cs

+27-2
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ internal static class ApiUrlLookup
6363
internal static ApiUrls EsqlAsyncQuery = new ApiUrls(new[] { "_query/async" });
6464
internal static ApiUrls EsqlAsyncQueryDelete = new ApiUrls(new[] { "_query/async/{id}" });
6565
internal static ApiUrls EsqlAsyncQueryGet = new ApiUrls(new[] { "_query/async/{id}" });
66+
internal static ApiUrls EsqlAsyncQueryStop = new ApiUrls(new[] { "_query/async/{id}/stop" });
6667
internal static ApiUrls EsqlQuery = new ApiUrls(new[] { "_query" });
6768
internal static ApiUrls FeaturesGetFeatures = new ApiUrls(new[] { "_features" });
6869
internal static ApiUrls FeaturesResetFeatures = new ApiUrls(new[] { "_features/_reset" });
@@ -78,11 +79,13 @@ internal static class ApiUrlLookup
7879
internal static ApiUrls IndexLifecycleManagementStart = new ApiUrls(new[] { "_ilm/start" });
7980
internal static ApiUrls IndexLifecycleManagementStop = new ApiUrls(new[] { "_ilm/stop" });
8081
internal static ApiUrls IndexManagementAnalyze = new ApiUrls(new[] { "_analyze", "{index}/_analyze" });
82+
internal static ApiUrls IndexManagementCancelMigrateReindex = new ApiUrls(new[] { "_migration/reindex/{index}/_cancel" });
8183
internal static ApiUrls IndexManagementClearCache = new ApiUrls(new[] { "_cache/clear", "{index}/_cache/clear" });
8284
internal static ApiUrls IndexManagementClone = new ApiUrls(new[] { "{index}/_clone/{target}" });
8385
internal static ApiUrls IndexManagementClose = new ApiUrls(new[] { "{index}/_close" });
8486
internal static ApiUrls IndexManagementCreate = new ApiUrls(new[] { "{index}" });
8587
internal static ApiUrls IndexManagementCreateDataStream = new ApiUrls(new[] { "_data_stream/{name}" });
88+
internal static ApiUrls IndexManagementCreateFrom = new ApiUrls(new[] { "_create_from/{source}/{dest}" });
8689
internal static ApiUrls IndexManagementDataStreamsStats = new ApiUrls(new[] { "_data_stream/_stats", "_data_stream/{name}/_stats" });
8790
internal static ApiUrls IndexManagementDelete = new ApiUrls(new[] { "{index}" });
8891
internal static ApiUrls IndexManagementDeleteAlias = new ApiUrls(new[] { "{index}/_alias/{name}", "{index}/_aliases/{name}" });
@@ -108,8 +111,10 @@ internal static class ApiUrlLookup
108111
internal static ApiUrls IndexManagementGetFieldMapping = new ApiUrls(new[] { "_mapping/field/{fields}", "{index}/_mapping/field/{fields}" });
109112
internal static ApiUrls IndexManagementGetIndexTemplate = new ApiUrls(new[] { "_index_template", "_index_template/{name}" });
110113
internal static ApiUrls IndexManagementGetMapping = new ApiUrls(new[] { "_mapping", "{index}/_mapping" });
114+
internal static ApiUrls IndexManagementGetMigrateReindexStatus = new ApiUrls(new[] { "_migration/reindex/{index}/_status" });
111115
internal static ApiUrls IndexManagementGetSettings = new ApiUrls(new[] { "_settings", "{index}/_settings", "{index}/_settings/{name}", "_settings/{name}" });
112116
internal static ApiUrls IndexManagementGetTemplate = new ApiUrls(new[] { "_template", "_template/{name}" });
117+
internal static ApiUrls IndexManagementMigrateReindex = new ApiUrls(new[] { "_migration/reindex" });
113118
internal static ApiUrls IndexManagementMigrateToDataStream = new ApiUrls(new[] { "_data_stream/_migrate/{name}" });
114119
internal static ApiUrls IndexManagementModifyDataStream = new ApiUrls(new[] { "_data_stream/_modify" });
115120
internal static ApiUrls IndexManagementOpen = new ApiUrls(new[] { "{index}/_open" });
@@ -123,7 +128,7 @@ internal static class ApiUrlLookup
123128
internal static ApiUrls IndexManagementRecovery = new ApiUrls(new[] { "_recovery", "{index}/_recovery" });
124129
internal static ApiUrls IndexManagementRefresh = new ApiUrls(new[] { "_refresh", "{index}/_refresh" });
125130
internal static ApiUrls IndexManagementReloadSearchAnalyzers = new ApiUrls(new[] { "{index}/_reload_search_analyzers" });
126-
internal static ApiUrls IndexManagementResolveCluster = new ApiUrls(new[] { "_resolve/cluster/{name}" });
131+
internal static ApiUrls IndexManagementResolveCluster = new ApiUrls(new[] { "_resolve/cluster", "_resolve/cluster/{name}" });
127132
internal static ApiUrls IndexManagementResolveIndex = new ApiUrls(new[] { "_resolve/index/{name}" });
128133
internal static ApiUrls IndexManagementRollover = new ApiUrls(new[] { "{alias}/_rollover", "{alias}/_rollover/{new_index}" });
129134
internal static ApiUrls IndexManagementSegments = new ApiUrls(new[] { "_segments", "{index}/_segments" });
@@ -135,11 +140,31 @@ internal static class ApiUrlLookup
135140
internal static ApiUrls IndexManagementStats = new ApiUrls(new[] { "_stats", "_stats/{metric}", "{index}/_stats", "{index}/_stats/{metric}" });
136141
internal static ApiUrls IndexManagementUpdateAliases = new ApiUrls(new[] { "_aliases" });
137142
internal static ApiUrls IndexManagementValidateQuery = new ApiUrls(new[] { "_validate/query", "{index}/_validate/query" });
143+
internal static ApiUrls InferenceChatCompletionUnified = new ApiUrls(new[] { "_inference/chat_completion/{inference_id}/_stream" });
144+
internal static ApiUrls InferenceCompletion = new ApiUrls(new[] { "_inference/completion/{inference_id}" });
138145
internal static ApiUrls InferenceDelete = new ApiUrls(new[] { "_inference/{inference_id}", "_inference/{task_type}/{inference_id}" });
139146
internal static ApiUrls InferenceGet = new ApiUrls(new[] { "_inference", "_inference/{inference_id}", "_inference/{task_type}/{inference_id}" });
140147
internal static ApiUrls InferenceInference = new ApiUrls(new[] { "_inference/{inference_id}", "_inference/{task_type}/{inference_id}" });
141148
internal static ApiUrls InferencePut = new ApiUrls(new[] { "_inference/{inference_id}", "_inference/{task_type}/{inference_id}" });
142-
internal static ApiUrls InferenceStreamInference = new ApiUrls(new[] { "_inference/{inference_id}/_stream", "_inference/{task_type}/{inference_id}/_stream" });
149+
internal static ApiUrls InferencePutAlibabacloud = new ApiUrls(new[] { "_inference/{task_type}/{alibabacloud_inference_id}" });
150+
internal static ApiUrls InferencePutAmazonbedrock = new ApiUrls(new[] { "_inference/{task_type}/{amazonbedrock_inference_id}" });
151+
internal static ApiUrls InferencePutAnthropic = new ApiUrls(new[] { "_inference/{task_type}/{anthropic_inference_id}" });
152+
internal static ApiUrls InferencePutAzureaistudio = new ApiUrls(new[] { "_inference/{task_type}/{azureaistudio_inference_id}" });
153+
internal static ApiUrls InferencePutAzureopenai = new ApiUrls(new[] { "_inference/{task_type}/{azureopenai_inference_id}" });
154+
internal static ApiUrls InferencePutCohere = new ApiUrls(new[] { "_inference/{task_type}/{cohere_inference_id}" });
155+
internal static ApiUrls InferencePutElasticsearch = new ApiUrls(new[] { "_inference/{task_type}/{elasticsearch_inference_id}" });
156+
internal static ApiUrls InferencePutElser = new ApiUrls(new[] { "_inference/{task_type}/{elser_inference_id}" });
157+
internal static ApiUrls InferencePutGoogleaistudio = new ApiUrls(new[] { "_inference/{task_type}/{googleaistudio_inference_id}" });
158+
internal static ApiUrls InferencePutGooglevertexai = new ApiUrls(new[] { "_inference/{task_type}/{googlevertexai_inference_id}" });
159+
internal static ApiUrls InferencePutHuggingFace = new ApiUrls(new[] { "_inference/{task_type}/{huggingface_inference_id}" });
160+
internal static ApiUrls InferencePutJinaai = new ApiUrls(new[] { "_inference/{task_type}/{jinaai_inference_id}" });
161+
internal static ApiUrls InferencePutMistral = new ApiUrls(new[] { "_inference/{task_type}/{mistral_inference_id}" });
162+
internal static ApiUrls InferencePutOpenai = new ApiUrls(new[] { "_inference/{task_type}/{openai_inference_id}" });
163+
internal static ApiUrls InferencePutWatsonx = new ApiUrls(new[] { "_inference/{task_type}/{watsonx_inference_id}" });
164+
internal static ApiUrls InferenceRerank = new ApiUrls(new[] { "_inference/rerank/{inference_id}" });
165+
internal static ApiUrls InferenceSparseEmbedding = new ApiUrls(new[] { "_inference/sparse_embedding/{inference_id}" });
166+
internal static ApiUrls InferenceStreamCompletion = new ApiUrls(new[] { "_inference/completion/{inference_id}/_stream" });
167+
internal static ApiUrls InferenceTextEmbedding = new ApiUrls(new[] { "_inference/text_embedding/{inference_id}" });
143168
internal static ApiUrls InferenceUpdate = new ApiUrls(new[] { "_inference/{inference_id}/_update", "_inference/{task_type}/{inference_id}/_update" });
144169
internal static ApiUrls IngestDeleteGeoipDatabase = new ApiUrls(new[] { "_ingest/geoip/database/{id}" });
145170
internal static ApiUrls IngestDeleteIpLocationDatabase = new ApiUrls(new[] { "_ingest/ip_location/database/{id}" });

src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs

+41-5
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public sealed partial class AsyncSearchStatusRequestParameters : RequestParamete
3434
{
3535
/// <summary>
3636
/// <para>
37-
/// Specifies how long the async search needs to be available.
37+
/// The length of time that the async search needs to be available.
3838
/// Ongoing async searches and any saved search results are deleted after this period.
3939
/// </para>
4040
/// </summary>
@@ -47,8 +47,20 @@ public sealed partial class AsyncSearchStatusRequestParameters : RequestParamete
4747
/// </para>
4848
/// <para>
4949
/// Get the status of a previously submitted async search request given its identifier, without retrieving search results.
50-
/// If the Elasticsearch security features are enabled, use of this API is restricted to the <c>monitoring_user</c> role.
50+
/// If the Elasticsearch security features are enabled, the access to the status of a specific async search is restricted to:
5151
/// </para>
52+
/// <list type="bullet">
53+
/// <item>
54+
/// <para>
55+
/// The user or API key that submitted the original async search request.
56+
/// </para>
57+
/// </item>
58+
/// <item>
59+
/// <para>
60+
/// Users that have the <c>monitor</c> cluster privilege or greater privileges.
61+
/// </para>
62+
/// </item>
63+
/// </list>
5264
/// </summary>
5365
public sealed partial class AsyncSearchStatusRequest : PlainRequest<AsyncSearchStatusRequestParameters>
5466
{
@@ -66,7 +78,7 @@ public AsyncSearchStatusRequest(Elastic.Clients.Elasticsearch.Id id) : base(r =>
6678

6779
/// <summary>
6880
/// <para>
69-
/// Specifies how long the async search needs to be available.
81+
/// The length of time that the async search needs to be available.
7082
/// Ongoing async searches and any saved search results are deleted after this period.
7183
/// </para>
7284
/// </summary>
@@ -80,8 +92,20 @@ public AsyncSearchStatusRequest(Elastic.Clients.Elasticsearch.Id id) : base(r =>
8092
/// </para>
8193
/// <para>
8294
/// Get the status of a previously submitted async search request given its identifier, without retrieving search results.
83-
/// If the Elasticsearch security features are enabled, use of this API is restricted to the <c>monitoring_user</c> role.
95+
/// If the Elasticsearch security features are enabled, the access to the status of a specific async search is restricted to:
96+
/// </para>
97+
/// <list type="bullet">
98+
/// <item>
99+
/// <para>
100+
/// The user or API key that submitted the original async search request.
84101
/// </para>
102+
/// </item>
103+
/// <item>
104+
/// <para>
105+
/// Users that have the <c>monitor</c> cluster privilege or greater privileges.
106+
/// </para>
107+
/// </item>
108+
/// </list>
85109
/// </summary>
86110
public sealed partial class AsyncSearchStatusRequestDescriptor<TDocument> : RequestDescriptor<AsyncSearchStatusRequestDescriptor<TDocument>, AsyncSearchStatusRequestParameters>
87111
{
@@ -118,8 +142,20 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
118142
/// </para>
119143
/// <para>
120144
/// Get the status of a previously submitted async search request given its identifier, without retrieving search results.
121-
/// If the Elasticsearch security features are enabled, use of this API is restricted to the <c>monitoring_user</c> role.
145+
/// If the Elasticsearch security features are enabled, the access to the status of a specific async search is restricted to:
146+
/// </para>
147+
/// <list type="bullet">
148+
/// <item>
149+
/// <para>
150+
/// The user or API key that submitted the original async search request.
151+
/// </para>
152+
/// </item>
153+
/// <item>
154+
/// <para>
155+
/// Users that have the <c>monitor</c> cluster privilege or greater privileges.
122156
/// </para>
157+
/// </item>
158+
/// </list>
123159
/// </summary>
124160
public sealed partial class AsyncSearchStatusRequestDescriptor : RequestDescriptor<AsyncSearchStatusRequestDescriptor, AsyncSearchStatusRequestParameters>
125161
{

src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusResponse.g.cs

+10-7
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public sealed partial class AsyncSearchStatusResponse : ElasticsearchResponse
3131
/// <summary>
3232
/// <para>
3333
/// Metadata about clusters involved in the cross-cluster search.
34-
/// Not shown for local-only searches.
34+
/// It is not shown for local-only searches.
3535
/// </para>
3636
/// </summary>
3737
[JsonInclude, JsonPropertyName("_clusters")]
@@ -40,17 +40,17 @@ public sealed partial class AsyncSearchStatusResponse : ElasticsearchResponse
4040
/// <summary>
4141
/// <para>
4242
/// If the async search completed, this field shows the status code of the search.
43-
/// For example, 200 indicates that the async search was successfully completed.
44-
/// 503 indicates that the async search was completed with an error.
43+
/// For example, <c>200</c> indicates that the async search was successfully completed.
44+
/// <c>503</c> indicates that the async search was completed with an error.
4545
/// </para>
4646
/// </summary>
4747
[JsonInclude, JsonPropertyName("completion_status")]
4848
public int? CompletionStatus { get; init; }
4949

5050
/// <summary>
5151
/// <para>
52-
/// Indicates when the async search completed. Only present
53-
/// when the search has completed.
52+
/// Indicates when the async search completed.
53+
/// It is present only when the search has completed.
5454
/// </para>
5555
/// </summary>
5656
[JsonInclude, JsonPropertyName("completion_time")]
@@ -82,15 +82,18 @@ public sealed partial class AsyncSearchStatusResponse : ElasticsearchResponse
8282
/// <summary>
8383
/// <para>
8484
/// Indicates whether the search is still running or has completed.
85-
/// NOTE: If the search failed after some shards returned their results or the node that is coordinating the async search dies, results may be partial even though <c>is_running</c> is <c>false</c>.
85+
/// </para>
86+
/// <para>
87+
/// info
88+
/// If the search failed after some shards returned their results or the node that is coordinating the async search dies, results may be partial even though <c>is_running</c> is <c>false</c>.
8689
/// </para>
8790
/// </summary>
8891
[JsonInclude, JsonPropertyName("is_running")]
8992
public bool IsRunning { get; init; }
9093

9194
/// <summary>
9295
/// <para>
93-
/// Indicates how many shards have run the query so far.
96+
/// The number of shards that have run the query so far.
9497
/// </para>
9598
/// </summary>
9699
[JsonInclude, JsonPropertyName("_shards")]

src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public sealed partial class GetAsyncSearchRequestParameters : RequestParameters
3434
{
3535
/// <summary>
3636
/// <para>
37-
/// Specifies how long the async search should be available in the cluster.
37+
/// The length of time that the async search should be available in the cluster.
3838
/// When not specified, the <c>keep_alive</c> set with the corresponding submit async request will be used.
3939
/// Otherwise, it is possible to override the value and extend the validity of the request.
4040
/// When this period expires, the search, if still running, is cancelled.
@@ -85,7 +85,7 @@ public GetAsyncSearchRequest(Elastic.Clients.Elasticsearch.Id id) : base(r => r.
8585

8686
/// <summary>
8787
/// <para>
88-
/// Specifies how long the async search should be available in the cluster.
88+
/// The length of time that the async search should be available in the cluster.
8989
/// When not specified, the <c>keep_alive</c> set with the corresponding submit async request will be used.
9090
/// Otherwise, it is possible to override the value and extend the validity of the request.
9191
/// When this period expires, the search, if still running, is cancelled.

src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchResponse.g.cs

+6-3
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ public sealed partial class GetAsyncSearchResponse<TDocument> : ElasticsearchRes
3030
{
3131
/// <summary>
3232
/// <para>
33-
/// Indicates when the async search completed. Only present
34-
/// when the search has completed.
33+
/// Indicates when the async search completed.
34+
/// It is present only when the search has completed.
3535
/// </para>
3636
/// </summary>
3737
[JsonInclude, JsonPropertyName("completion_time")]
@@ -63,7 +63,10 @@ public sealed partial class GetAsyncSearchResponse<TDocument> : ElasticsearchRes
6363
/// <summary>
6464
/// <para>
6565
/// Indicates whether the search is still running or has completed.
66-
/// NOTE: If the search failed after some shards returned their results or the node that is coordinating the async search dies, results may be partial even though <c>is_running</c> is <c>false</c>.
66+
/// </para>
67+
/// <para>
68+
/// info
69+
/// If the search failed after some shards returned their results or the node that is coordinating the async search dies, results may be partial even though <c>is_running</c> is <c>false</c>.
6770
/// </para>
6871
/// </summary>
6972
[JsonInclude, JsonPropertyName("is_running")]

0 commit comments

Comments
 (0)