Skip to content

Commit 8b26abd

Browse files
committed
Regenerate from new specifications #4602
1 parent 55e55e6 commit 8b26abd

30 files changed

+89
-42
lines changed

src/ApiGenerator/RestSpecification/Core/cluster.delete_component_template.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-component-templates.html",
55
"description":"Deletes a component template"
66
},
7-
"stability":"stable",
7+
"stability":"experimental",
88
"url":{
99
"paths":[
1010
{

src/ApiGenerator/RestSpecification/Core/cluster.get_component_template.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-component-templates.html",
55
"description":"Returns one or more component templates"
66
},
7-
"stability":"stable",
7+
"stability":"experimental",
88
"url":{
99
"paths":[
1010
{

src/ApiGenerator/RestSpecification/Core/cluster.put_component_template.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-component-templates.html",
55
"description":"Creates or updates a component template"
66
},
7-
"stability":"stable",
7+
"stability":"experimental",
88
"url":{
99
"paths":[
1010
{

src/ApiGenerator/RestSpecification/Core/nodes.reload_secure_settings.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,15 @@
2727
}
2828
]
2929
},
30-
"params":{
31-
"timeout":{
32-
"type":"time",
33-
"description":"Explicit operation timeout"
30+
"params": {
31+
"timeout": {
32+
"type": "time",
33+
"description": "Explicit operation timeout"
3434
}
35+
},
36+
"body": {
37+
"description": "An object containing the password for the elasticsearch keystore",
38+
"required": false
3539
}
3640
}
3741
}

src/ApiGenerator/Views/LowLevel/Client/Implementation/ElasticLowLevelClient.Namespace.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ namespace Elasticsearch.Net.@(CsharpNames.ApiNamespace).@(ns)@(CsharpNames.ApiNa
4040
/// on <see cref="IElasticLowLevelClient"/>.
4141
///</para>
4242
///</summary>
43-
public class @(CsharpNames.LowLevelClientNamespacePrefix)@(model.Key)@(CsharpNames.ClientNamespaceSuffix) : NamespacedClientProxy
43+
public partial class @(CsharpNames.LowLevelClientNamespacePrefix)@(model.Key)@(CsharpNames.ClientNamespaceSuffix) : NamespacedClientProxy
4444
{
4545
internal @(CsharpNames.LowLevelClientNamespacePrefix)@(model.Key)@(CsharpNames.ClientNamespaceSuffix)(ElasticLowLevelClient client) : base(client) {}
4646
@if (ns == "Cat")

src/Elasticsearch.Net/ElasticLowLevelClient.AsyncSearch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ namespace Elasticsearch.Net.Specification.AsyncSearchApi
3737
/// on <see cref = "IElasticLowLevelClient"/>.
3838
///</para>
3939
///</summary>
40-
public class LowLevelAsyncSearchNamespace : NamespacedClientProxy
40+
public partial class LowLevelAsyncSearchNamespace : NamespacedClientProxy
4141
{
4242
internal LowLevelAsyncSearchNamespace(ElasticLowLevelClient client): base(client)
4343
{

src/Elasticsearch.Net/ElasticLowLevelClient.Autoscaling.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ namespace Elasticsearch.Net.Specification.AutoscalingApi
3737
/// on <see cref = "IElasticLowLevelClient"/>.
3838
///</para>
3939
///</summary>
40-
public class LowLevelAutoscalingNamespace : NamespacedClientProxy
40+
public partial class LowLevelAutoscalingNamespace : NamespacedClientProxy
4141
{
4242
internal LowLevelAutoscalingNamespace(ElasticLowLevelClient client): base(client)
4343
{

src/Elasticsearch.Net/ElasticLowLevelClient.Cat.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ namespace Elasticsearch.Net.Specification.CatApi
3737
/// on <see cref = "IElasticLowLevelClient"/>.
3838
///</para>
3939
///</summary>
40-
public class LowLevelCatNamespace : NamespacedClientProxy
40+
public partial class LowLevelCatNamespace : NamespacedClientProxy
4141
{
4242
internal LowLevelCatNamespace(ElasticLowLevelClient client): base(client)
4343
{

src/Elasticsearch.Net/ElasticLowLevelClient.Cluster.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ namespace Elasticsearch.Net.Specification.ClusterApi
3737
/// on <see cref = "IElasticLowLevelClient"/>.
3838
///</para>
3939
///</summary>
40-
public class LowLevelClusterNamespace : NamespacedClientProxy
40+
public partial class LowLevelClusterNamespace : NamespacedClientProxy
4141
{
4242
internal LowLevelClusterNamespace(ElasticLowLevelClient client): base(client)
4343
{
@@ -57,11 +57,13 @@ public Task<TResponse> AllocationExplainAsync<TResponse>(PostData body, ClusterA
5757
///<summary>DELETE on /_component_template/{name} <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-templates.html</para></summary>
5858
///<param name = "name">The name of the template</param>
5959
///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
60+
///<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>
6061
public TResponse DeleteComponentTemplate<TResponse>(string name, DeleteComponentTemplateRequestParameters requestParameters = null)
6162
where TResponse : class, IElasticsearchResponse, new() => DoRequest<TResponse>(DELETE, Url($"_component_template/{name:name}"), null, RequestParams(requestParameters));
6263
///<summary>DELETE on /_component_template/{name} <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-templates.html</para></summary>
6364
///<param name = "name">The name of the template</param>
6465
///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
66+
///<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>
6567
[MapsApi("cluster.delete_component_template", "name")]
6668
public Task<TResponse> DeleteComponentTemplateAsync<TResponse>(string name, DeleteComponentTemplateRequestParameters requestParameters = null, CancellationToken ctx = default)
6769
where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync<TResponse>(DELETE, Url($"_component_template/{name:name}"), ctx, null, RequestParams(requestParameters));
@@ -78,21 +80,25 @@ public Task<TResponse> ExistsComponentTemplateAsync<TResponse>(string name, Exis
7880
where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync<TResponse>(HEAD, Url($"_component_template/{name:name}"), ctx, null, RequestParams(requestParameters));
7981
///<summary>GET on /_component_template <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-templates.html</para></summary>
8082
///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
83+
///<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>
8184
public TResponse GetComponentTemplate<TResponse>(GetComponentTemplateRequestParameters requestParameters = null)
8285
where TResponse : class, IElasticsearchResponse, new() => DoRequest<TResponse>(GET, "_component_template", null, RequestParams(requestParameters));
8386
///<summary>GET on /_component_template <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-templates.html</para></summary>
8487
///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
88+
///<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>
8589
[MapsApi("cluster.get_component_template", "")]
8690
public Task<TResponse> GetComponentTemplateAsync<TResponse>(GetComponentTemplateRequestParameters requestParameters = null, CancellationToken ctx = default)
8791
where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync<TResponse>(GET, "_component_template", ctx, null, RequestParams(requestParameters));
8892
///<summary>GET on /_component_template/{name} <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-templates.html</para></summary>
8993
///<param name = "name">The comma separated names of the component templates</param>
9094
///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
95+
///<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>
9196
public TResponse GetComponentTemplate<TResponse>(string name, GetComponentTemplateRequestParameters requestParameters = null)
9297
where TResponse : class, IElasticsearchResponse, new() => DoRequest<TResponse>(GET, Url($"_component_template/{name:name}"), null, RequestParams(requestParameters));
9398
///<summary>GET on /_component_template/{name} <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-templates.html</para></summary>
9499
///<param name = "name">The comma separated names of the component templates</param>
95100
///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
101+
///<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>
96102
[MapsApi("cluster.get_component_template", "name")]
97103
public Task<TResponse> GetComponentTemplateAsync<TResponse>(string name, GetComponentTemplateRequestParameters requestParameters = null, CancellationToken ctx = default)
98104
where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync<TResponse>(GET, Url($"_component_template/{name:name}"), ctx, null, RequestParams(requestParameters));
@@ -138,12 +144,14 @@ public Task<TResponse> PendingTasksAsync<TResponse>(ClusterPendingTasksRequestPa
138144
///<param name = "name">The name of the template</param>
139145
///<param name = "body">The template definition</param>
140146
///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
147+
///<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>
141148
public TResponse PutComponentTemplate<TResponse>(string name, PostData body, PutComponentTemplateRequestParameters requestParameters = null)
142149
where TResponse : class, IElasticsearchResponse, new() => DoRequest<TResponse>(PUT, Url($"_component_template/{name:name}"), body, RequestParams(requestParameters));
143150
///<summary>PUT on /_component_template/{name} <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-templates.html</para></summary>
144151
///<param name = "name">The name of the template</param>
145152
///<param name = "body">The template definition</param>
146153
///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
154+
///<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>
147155
[MapsApi("cluster.put_component_template", "name, body")]
148156
public Task<TResponse> PutComponentTemplateAsync<TResponse>(string name, PostData body, PutComponentTemplateRequestParameters requestParameters = null, CancellationToken ctx = default)
149157
where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync<TResponse>(PUT, Url($"_component_template/{name:name}"), ctx, body, RequestParams(requestParameters));

src/Elasticsearch.Net/ElasticLowLevelClient.CrossClusterReplication.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ namespace Elasticsearch.Net.Specification.CrossClusterReplicationApi
3737
/// on <see cref = "IElasticLowLevelClient"/>.
3838
///</para>
3939
///</summary>
40-
public class LowLevelCrossClusterReplicationNamespace : NamespacedClientProxy
40+
public partial class LowLevelCrossClusterReplicationNamespace : NamespacedClientProxy
4141
{
4242
internal LowLevelCrossClusterReplicationNamespace(ElasticLowLevelClient client): base(client)
4343
{

0 commit comments

Comments
 (0)