Skip to content

Commit 62099a4

Browse files
[codegen] master synchronization (#5999)
Co-authored-by: Mpdreamz <Mpdreamz@users.noreply.github.com>
1 parent fedd38c commit 62099a4

31 files changed

+33
-89
lines changed

src/ApiGenerator/RestSpecification/Core/autoscaling.delete_autoscaling_policy.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description":"Deletes an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."
66
},
77
"stability":"stable",
8-
"visibility":"public",
8+
"visibility":"private",
99
"headers":{
1010
"accept": [ "application/json"]
1111
},

src/ApiGenerator/RestSpecification/Core/autoscaling.get_autoscaling_capacity.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "Gets the current autoscaling capacity based on the configured autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."
66
},
77
"stability":"stable",
8-
"visibility":"public",
8+
"visibility":"private",
99
"headers":{
1010
"accept": [ "application/json"]
1111
},

src/ApiGenerator/RestSpecification/Core/autoscaling.get_autoscaling_policy.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "Retrieves an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."
66
},
77
"stability":"stable",
8-
"visibility":"public",
8+
"visibility":"private",
99
"headers":{
1010
"accept": [ "application/json"]
1111
},

src/ApiGenerator/RestSpecification/Core/autoscaling.put_autoscaling_policy.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "Creates a new autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."
66
},
77
"stability":"stable",
8-
"visibility":"public",
8+
"visibility":"private",
99
"headers":{
1010
"accept": [ "application/json"],
1111
"content_type": ["application/json"]

src/ApiGenerator/RestSpecification/Core/fleet.global_checkpoints.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"fleet.global_checkpoints":{
33
"documentation":{
4-
"url": null,
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-global-checkpoints.html",
55
"description": "Returns the current global checkpoints for an index. This API is design for internal use by the fleet server project."
66
},
7-
"stability":"experimental",
7+
"stability":"stable",
88
"visibility":"public",
99
"headers":{
1010
"accept": [ "application/json"],

src/ApiGenerator/RestSpecification/Core/get_script_context.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"url": "https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-contexts.html",
55
"description":"Returns all script contexts."
66
},
7-
"stability":"experimental",
7+
"stability":"stable",
88
"visibility":"public",
99
"headers":{
1010
"accept": [ "application/json"]

src/ApiGenerator/RestSpecification/Core/get_script_languages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html",
55
"description":"Returns available script types, languages and contexts"
66
},
7-
"stability":"experimental",
7+
"stability":"stable",
88
"visibility":"public",
99
"headers":{
1010
"accept": [ "application/json"]

src/ApiGenerator/RestSpecification/Core/indices.resolve_index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-index-api.html",
55
"description":"Returns information about any matching indices, aliases, and data streams"
66
},
7-
"stability":"experimental",
7+
"stability":"stable",
88
"visibility":"public",
99
"headers":{
1010
"accept": [ "application/json"]

src/ApiGenerator/RestSpecification/Core/ml.get_trained_model_deployment_stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-trained-model-deployment-stats.html",
55
"description":"Get information about trained model deployments."
66
},
7-
"stability":"experimental",
7+
"stability":"stable",
88
"visibility":"public",
99
"headers":{
1010
"accept": [ "application/json"],

src/ApiGenerator/RestSpecification/Core/monitoring.bulk.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/monitor-elasticsearch-cluster.html",
55
"description":"Used by the monitoring features to send monitoring data."
66
},
7-
"stability":"experimental",
8-
"visibility":"public",
7+
"stability":"stable",
8+
"visibility":"private",
99
"headers":{
1010
"accept": [ "application/json"],
1111
"content_type": ["application/x-ndjson"]

src/ApiGenerator/RestSpecification/Core/rank_eval.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html",
55
"description":"Allows to evaluate the quality of ranked search results over a set of typical search queries"
66
},
7-
"stability":"experimental",
7+
"stability":"stable",
88
"visibility":"public",
99
"headers":{
1010
"accept": [ "application/json"],

src/ApiGenerator/RestSpecification/Core/searchable_snapshots.mount.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-api-mount-snapshot.html",
55
"description": "Mount a snapshot as a searchable index."
66
},
7-
"stability": "experimental",
7+
"stability": "stable",
88
"visibility":"public",
99
"headers":{
1010
"accept": [ "application/json"],

src/ApiGenerator/RestSpecification/Core/searchable_snapshots.stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-apis.html",
55
"description": "Retrieve shard-level statistics about searchable snapshots."
66
},
7-
"stability": "experimental",
7+
"stability": "stable",
88
"visibility":"public",
99
"headers":{
1010
"accept": [ "application/json"]

src/ApiGenerator/RestSpecification/Core/security.clear_cached_service_tokens.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-service-token-caches.html",
55
"description":"Evicts tokens from the service account token caches."
66
},
7-
"stability":"beta",
7+
"stability":"stable",
88
"visibility":"public",
99
"headers":{
1010
"accept": [ "application/json"]

src/ApiGenerator/RestSpecification/Core/security.create_service_token.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-service-token.html",
55
"description":"Creates a service account token for access without requiring basic authentication."
66
},
7-
"stability":"beta",
7+
"stability":"stable",
88
"visibility":"public",
99
"headers":{
1010
"accept": [ "application/json"]

src/ApiGenerator/RestSpecification/Core/security.delete_service_token.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-service-token.html",
55
"description":"Deletes a service account token."
66
},
7-
"stability":"beta",
7+
"stability":"stable",
88
"visibility":"public",
99
"headers":{
1010
"accept": [ "application/json"]

src/ApiGenerator/RestSpecification/Core/security.get_service_accounts.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-service-accounts.html",
55
"description":"Retrieves information about service accounts."
66
},
7-
"stability":"beta",
7+
"stability":"stable",
88
"visibility":"public",
99
"headers":{
1010
"accept": [ "application/json"]

src/ApiGenerator/RestSpecification/Core/security.get_service_credentials.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-service-credentials.html",
55
"description":"Retrieves information of all service credentials for a service account."
66
},
7-
"stability":"beta",
7+
"stability":"stable",
88
"visibility":"public",
99
"headers":{
1010
"accept": [ "application/json"]

src/ApiGenerator/RestSpecification/Core/shutdown.delete_node.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"shutdown.delete_node":{
33
"documentation":{
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current",
5-
"description":"Removes a node from the shutdown list"
5+
"description":"Removes a node from the shutdown list. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."
66
},
7-
"stability":"experimental",
8-
"visibility":"public",
7+
"stability":"stable",
8+
"visibility":"private",
99
"headers":{
1010
"accept": [ "application/json"],
1111
"content_type": ["application/json"]

src/ApiGenerator/RestSpecification/Core/shutdown.get_node.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"shutdown.get_node":{
33
"documentation":{
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current",
5-
"description":"Retrieve status of a node or nodes that are currently marked as shutting down"
5+
"description":"Retrieve status of a node or nodes that are currently marked as shutting down. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."
66
},
7-
"stability":"experimental",
8-
"visibility":"public",
7+
"stability":"stable",
8+
"visibility":"private",
99
"headers":{
1010
"accept": [ "application/json"],
1111
"content_type": ["application/json"]

src/ApiGenerator/RestSpecification/Core/shutdown.put_node.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"shutdown.put_node":{
33
"documentation":{
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current",
5-
"description":"Adds a node to be shut down"
5+
"description":"Adds a node to be shut down. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."
66
},
7-
"stability":"experimental",
8-
"visibility":"public",
7+
"stability":"stable",
8+
"visibility":"private",
99
"headers":{
1010
"accept": [ "application/json"],
1111
"content_type": ["application/json"]

src/ApiGenerator/RestSpecification/Core/terms_enum.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html",
55
"description": "The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios."
66
},
7-
"stability":"beta",
7+
"stability":"stable",
88
"visibility":"public",
99
"headers":{
1010
"accept": [ "application/json"],

src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Fleet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
// ReSharper disable once CheckNamespace
2929
namespace Elasticsearch.Net.Specification.FleetApi
3030
{
31-
///<summary>Request options for GlobalCheckpoints</summary>
31+
///<summary>Request options for GlobalCheckpoints <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/get-global-checkpoints.html</para></summary>
3232
public class GlobalCheckpointsRequestParameters : RequestParameters<GlobalCheckpointsRequestParameters>
3333
{
3434
///<summary>Comma separated list of checkpoints</summary>

src/Elasticsearch.Net/ElasticLowLevelClient.Fleet.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,14 @@ internal LowLevelFleetNamespace(ElasticLowLevelClient client): base(client)
4747
{
4848
}
4949

50-
///<summary>GET on /{index}/_fleet/global_checkpoints</summary>
50+
///<summary>GET on /{index}/_fleet/global_checkpoints <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/get-global-checkpoints.html</para></summary>
5151
///<param name = "index">The name of the index.</param>
5252
///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
53-
///<remarks>Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded.</remarks>
5453
public TResponse GlobalCheckpoints<TResponse>(string index, GlobalCheckpointsRequestParameters requestParameters = null)
5554
where TResponse : class, ITransportResponse, new() => DoRequest<TResponse>(GET, Url($"{index:index}/_fleet/global_checkpoints"), null, RequestParams(requestParameters));
56-
///<summary>GET on /{index}/_fleet/global_checkpoints</summary>
55+
///<summary>GET on /{index}/_fleet/global_checkpoints <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/get-global-checkpoints.html</para></summary>
5756
///<param name = "index">The name of the index.</param>
5857
///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
59-
///<remarks>Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded.</remarks>
6058
[MapsApi("fleet.global_checkpoints", "index")]
6159
public Task<TResponse> GlobalCheckpointsAsync<TResponse>(string index, GlobalCheckpointsRequestParameters requestParameters = null, CancellationToken ctx = default)
6260
where TResponse : class, ITransportResponse, new() => DoRequestAsync<TResponse>(GET, Url($"{index:index}/_fleet/global_checkpoints"), ctx, null, RequestParams(requestParameters));

src/Elasticsearch.Net/ElasticLowLevelClient.Indices.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -735,13 +735,11 @@ public Task<TResponse> ReloadSearchAnalyzersAsync<TResponse>(string index, Reloa
735735
///<summary>GET on /_resolve/index/{name} <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-index-api.html</para></summary>
736736
///<param name = "name">A comma-separated list of names or wildcard expressions</param>
737737
///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
738-
///<remarks>Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded.</remarks>
739738
public TResponse ResolveForAll<TResponse>(string name, ResolveIndexRequestParameters requestParameters = null)
740739
where TResponse : class, ITransportResponse, new() => DoRequest<TResponse>(GET, Url($"_resolve/index/{name:name}"), null, RequestParams(requestParameters));
741740
///<summary>GET on /_resolve/index/{name} <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-index-api.html</para></summary>
742741
///<param name = "name">A comma-separated list of names or wildcard expressions</param>
743742
///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
744-
///<remarks>Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded.</remarks>
745743
[MapsApi("indices.resolve_index", "name")]
746744
public Task<TResponse> ResolveForAllAsync<TResponse>(string name, ResolveIndexRequestParameters requestParameters = null, CancellationToken ctx = default)
747745
where TResponse : class, ITransportResponse, new() => DoRequestAsync<TResponse>(GET, Url($"_resolve/index/{name:name}"), ctx, null, RequestParams(requestParameters));

src/Elasticsearch.Net/ElasticLowLevelClient.MachineLearning.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,13 +586,11 @@ public Task<TResponse> GetAnomalyRecordsAsync<TResponse>(string jobId, PostData
586586
///<summary>GET on /_ml/trained_models/{model_id}/deployment/_stats <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-trained-model-deployment-stats.html</para></summary>
587587
///<param name = "modelId">The ID of the trained model deployment stats to fetch</param>
588588
///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
589-
///<remarks>Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded.</remarks>
590589
public TResponse GetTrainedModelDeploymentStats<TResponse>(string modelId, GetTrainedModelDeploymentStatsRequestParameters requestParameters = null)
591590
where TResponse : class, ITransportResponse, new() => DoRequest<TResponse>(GET, Url($"_ml/trained_models/{modelId:modelId}/deployment/_stats"), null, RequestParams(requestParameters));
592591
///<summary>GET on /_ml/trained_models/{model_id}/deployment/_stats <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-trained-model-deployment-stats.html</para></summary>
593592
///<param name = "modelId">The ID of the trained model deployment stats to fetch</param>
594593
///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
595-
///<remarks>Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded.</remarks>
596594
[MapsApi("ml.get_trained_model_deployment_stats", "model_id")]
597595
public Task<TResponse> GetTrainedModelDeploymentStatsAsync<TResponse>(string modelId, GetTrainedModelDeploymentStatsRequestParameters requestParameters = null, CancellationToken ctx = default)
598596
where TResponse : class, ITransportResponse, new() => DoRequestAsync<TResponse>(GET, Url($"_ml/trained_models/{modelId:modelId}/deployment/_stats"), ctx, null, RequestParams(requestParameters));

0 commit comments

Comments
 (0)