diff --git a/src/ApiGenerator/RestSpecification/Core/search.json b/src/ApiGenerator/RestSpecification/Core/search.json index 5dfeb8a9fcb..00dd8cb0d15 100644 --- a/src/ApiGenerator/RestSpecification/Core/search.json +++ b/src/ApiGenerator/RestSpecification/Core/search.json @@ -230,6 +230,10 @@ "type":"boolean", "description":"Indicates whether hits.total should be rendered as an integer or an object in the rest search response", "default":false + }, + "min_compatible_shard_node":{ + "type":"string", + "description":"The minimum compatible version that all shards involved in search should have for this request to be successful" } }, "body":{ diff --git a/src/ApiGenerator/RestSpecification/XPack/autoscaling.delete_autoscaling_policy.json b/src/ApiGenerator/RestSpecification/XPack/autoscaling.delete_autoscaling_policy.json index 9b2f363077d..7ddb1f1caf8 100644 --- a/src/ApiGenerator/RestSpecification/XPack/autoscaling.delete_autoscaling_policy.json +++ b/src/ApiGenerator/RestSpecification/XPack/autoscaling.delete_autoscaling_policy.json @@ -2,11 +2,10 @@ "autoscaling.delete_autoscaling_policy":{ "documentation":{ "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-delete-autoscaling-policy.html", - "description":"Deletes an autoscaling policy." + "description":"Deletes an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported." }, - "stability":"experimental", - "visibility":"feature_flag", - "feature_flag":"es.autoscaling_feature_flag_registered", + "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/src/ApiGenerator/RestSpecification/XPack/autoscaling.get_autoscaling_capacity.json b/src/ApiGenerator/RestSpecification/XPack/autoscaling.get_autoscaling_capacity.json index 76275fa9bcd..795507edfcc 100644 --- a/src/ApiGenerator/RestSpecification/XPack/autoscaling.get_autoscaling_capacity.json +++ b/src/ApiGenerator/RestSpecification/XPack/autoscaling.get_autoscaling_capacity.json @@ -2,11 +2,10 @@ "autoscaling.get_autoscaling_capacity":{ "documentation":{ "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-capacity.html", - "description": "Gets the current autoscaling capacity based on the configured autoscaling policy." + "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." }, - "stability":"experimental", - "visibility":"feature_flag", - "feature_flag":"es.autoscaling_feature_flag_registered", + "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/src/ApiGenerator/RestSpecification/XPack/autoscaling.get_autoscaling_policy.json b/src/ApiGenerator/RestSpecification/XPack/autoscaling.get_autoscaling_policy.json index e71bb131dc5..e76df1ec25e 100644 --- a/src/ApiGenerator/RestSpecification/XPack/autoscaling.get_autoscaling_policy.json +++ b/src/ApiGenerator/RestSpecification/XPack/autoscaling.get_autoscaling_policy.json @@ -2,11 +2,10 @@ "autoscaling.get_autoscaling_policy":{ "documentation":{ "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-policy.html", - "description": "Retrieves an autoscaling policy." + "description": "Retrieves an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported." }, - "stability":"experimental", - "visibility":"feature_flag", - "feature_flag":"es.autoscaling_feature_flag_registered", + "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"] }, diff --git a/src/ApiGenerator/RestSpecification/XPack/autoscaling.put_autoscaling_policy.json b/src/ApiGenerator/RestSpecification/XPack/autoscaling.put_autoscaling_policy.json index 2eac19c8c69..b51904a1bf1 100644 --- a/src/ApiGenerator/RestSpecification/XPack/autoscaling.put_autoscaling_policy.json +++ b/src/ApiGenerator/RestSpecification/XPack/autoscaling.put_autoscaling_policy.json @@ -2,11 +2,10 @@ "autoscaling.put_autoscaling_policy":{ "documentation":{ "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-put-autoscaling-policy.html", - "description": "Creates a new autoscaling policy." + "description": "Creates a new autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported." }, - "stability":"experimental", - "visibility":"feature_flag", - "feature_flag":"es.autoscaling_feature_flag_registered", + "stability":"stable", + "visibility":"public", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/src/ApiGenerator/RestSpecification/XPack/logstash.delete_pipeline.json b/src/ApiGenerator/RestSpecification/XPack/logstash.delete_pipeline.json new file mode 100644 index 00000000000..8650f5f7cac --- /dev/null +++ b/src/ApiGenerator/RestSpecification/XPack/logstash.delete_pipeline.json @@ -0,0 +1,28 @@ +{ + "logstash.delete_pipeline":{ + "documentation":{ + "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-delete-pipeline.html", + "description":"Deletes Logstash Pipelines used by Central Management" + }, + "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, + "url":{ + "paths":[ + { + "path":"/_logstash/pipeline/{id}", + "methods":[ "DELETE" ], + "parts":{ + "id":{ + "type":"string", + "description":"The ID of the Pipeline" + } + } + } + ] + }, + "params":{} + } +} diff --git a/src/ApiGenerator/RestSpecification/XPack/logstash.get_pipeline.json b/src/ApiGenerator/RestSpecification/XPack/logstash.get_pipeline.json new file mode 100644 index 00000000000..061e49e0290 --- /dev/null +++ b/src/ApiGenerator/RestSpecification/XPack/logstash.get_pipeline.json @@ -0,0 +1,28 @@ +{ + "logstash.get_pipeline":{ + "documentation":{ + "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-get-pipeline.html", + "description":"Retrieves Logstash Pipelines used by Central Management" + }, + "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"] + }, + "url":{ + "paths":[ + { + "path":"/_logstash/pipeline/{id}", + "methods":[ "GET" ], + "parts":{ + "id":{ + "type":"string", + "description":"A comma-separated list of Pipeline IDs" + } + } + } + ] + }, + "params":{} + } +} diff --git a/src/ApiGenerator/RestSpecification/XPack/logstash.put_pipeline.json b/src/ApiGenerator/RestSpecification/XPack/logstash.put_pipeline.json new file mode 100644 index 00000000000..e8ec9b0d991 --- /dev/null +++ b/src/ApiGenerator/RestSpecification/XPack/logstash.put_pipeline.json @@ -0,0 +1,34 @@ +{ + "logstash.put_pipeline":{ + "documentation":{ + "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-put-pipeline.html", + "description":"Adds and updates Logstash Pipelines used for Central Management" + }, + "stability":"stable", + "visibility":"public", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, + "url":{ + "paths":[ + { + "path":"/_logstash/pipeline/{id}", + "methods":[ "PUT" ], + "parts":{ + "id":{ + "type":"string", + "description":"The ID of the Pipeline" + } + } + } + ] + }, + "params":{ + }, + "body":{ + "description":"The Pipeline to add or update", + "required":true + } + } +} diff --git a/src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.mount.json b/src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.mount.json index abd14c45fe3..6e379eae25d 100644 --- a/src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.mount.json +++ b/src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.mount.json @@ -39,6 +39,11 @@ "type":"boolean", "description":"Should this request wait until the operation has completed before returning", "default":false + }, + "storage":{ + "type":"string", + "description":"Selects the kind of local storage used to accelerate searches. Experimental, and defaults to `full_copy`", + "default":false } }, "body":{ diff --git a/src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.stats.json b/src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.stats.json index 7cf44f6945b..d4f45417584 100644 --- a/src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.stats.json +++ b/src/ApiGenerator/RestSpecification/XPack/searchable_snapshots.stats.json @@ -30,6 +30,18 @@ } } ] + }, + "params": { + "level":{ + "type":"enum", + "description":"Return stats aggregated at cluster, index or shard level", + "options":[ + "cluster", + "indices", + "shards" + ], + "default":"indices" + } } } } diff --git a/src/ApiGenerator/RestSpecification/XPack/ml.find_file_structure.json b/src/ApiGenerator/RestSpecification/XPack/text_structure.find_structure.json similarity index 96% rename from src/ApiGenerator/RestSpecification/XPack/ml.find_file_structure.json rename to src/ApiGenerator/RestSpecification/XPack/text_structure.find_structure.json index 1eae145d0d4..934bc7859e4 100644 --- a/src/ApiGenerator/RestSpecification/XPack/ml.find_file_structure.json +++ b/src/ApiGenerator/RestSpecification/XPack/text_structure.find_structure.json @@ -1,7 +1,7 @@ { - "ml.find_file_structure":{ + "text_structure.find_structure":{ "documentation":{ - "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-find-file-structure.html", + "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/find-structure.html", "description":"Finds the structure of a text file. The text file must contain data that is suitable to be ingested into Elasticsearch." }, "stability":"experimental", @@ -13,7 +13,7 @@ "url":{ "paths":[ { - "path":"/_ml/find_file_structure", + "path":"/_text_structure/find_structure", "methods":[ "POST" ] diff --git a/src/ApiGenerator/last_downloaded_version.txt b/src/ApiGenerator/last_downloaded_version.txt index 59c977f3138..0ba5c5b977a 100644 --- a/src/ApiGenerator/last_downloaded_version.txt +++ b/src/ApiGenerator/last_downloaded_version.txt @@ -1 +1 @@ -963c3284b354553b9097ad9e2f3cd31e411c239a \ No newline at end of file +747198ffed9b10273463367cf6ccc7ac5bfa077e \ No newline at end of file diff --git a/src/Elasticsearch.Net/Api/Enums.Generated.cs b/src/Elasticsearch.Net/Api/Enums.Generated.cs index 6537a910096..a6a4164bdd2 100644 --- a/src/Elasticsearch.Net/Api/Enums.Generated.cs +++ b/src/Elasticsearch.Net/Api/Enums.Generated.cs @@ -391,19 +391,6 @@ public enum IndicesShardStoresStatus All } - [StringEnum] - public enum Format - { - [EnumMember(Value = "ndjson")] - Ndjson, - [EnumMember(Value = "xml")] - Xml, - [EnumMember(Value = "delimited")] - Delimited, - [EnumMember(Value = "semi_structured_text")] - SemiStructuredText - } - [StringEnum] public enum ThreadType { @@ -426,6 +413,19 @@ public enum GroupBy None } + [StringEnum] + public enum Format + { + [EnumMember(Value = "ndjson")] + Ndjson, + [EnumMember(Value = "xml")] + Xml, + [EnumMember(Value = "delimited")] + Delimited, + [EnumMember(Value = "semi_structured_text")] + SemiStructuredText + } + public static class KnownEnums { private static readonly ConcurrentDictionary> EnumStringResolvers = new ConcurrentDictionary>(); @@ -453,9 +453,9 @@ static KnownEnums() EnumStringResolvers.TryAdd(typeof(Conflicts), (e) => GetStringValue((Conflicts)e)); EnumStringResolvers.TryAdd(typeof(OpType), (e) => GetStringValue((OpType)e)); EnumStringResolvers.TryAdd(typeof(IndicesShardStoresStatus), (e) => GetStringValue((IndicesShardStoresStatus)e)); - EnumStringResolvers.TryAdd(typeof(Format), (e) => GetStringValue((Format)e)); EnumStringResolvers.TryAdd(typeof(ThreadType), (e) => GetStringValue((ThreadType)e)); EnumStringResolvers.TryAdd(typeof(GroupBy), (e) => GetStringValue((GroupBy)e)); + EnumStringResolvers.TryAdd(typeof(Format), (e) => GetStringValue((Format)e)); } public static string GetStringValue(this ClusterStateMetric enumValue) @@ -888,23 +888,6 @@ public static string GetStringValue(this IndicesShardStoresStatus enumValue) throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'IndicesShardStoresStatus'"); } - public static string GetStringValue(this Format enumValue) - { - switch (enumValue) - { - case Format.Ndjson: - return "ndjson"; - case Format.Xml: - return "xml"; - case Format.Delimited: - return "delimited"; - case Format.SemiStructuredText: - return "semi_structured_text"; - } - - throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'Format'"); - } - public static string GetStringValue(this ThreadType enumValue) { switch (enumValue) @@ -934,5 +917,22 @@ public static string GetStringValue(this GroupBy enumValue) throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'GroupBy'"); } + + public static string GetStringValue(this Format enumValue) + { + switch (enumValue) + { + case Format.Ndjson: + return "ndjson"; + case Format.Xml: + return "xml"; + case Format.Delimited: + return "delimited"; + case Format.SemiStructuredText: + return "semi_structured_text"; + } + + throw new ArgumentException($"'{enumValue.ToString()}' is not a valid value for enum 'Format'"); + } } } \ No newline at end of file diff --git a/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Logstash.cs b/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Logstash.cs new file mode 100644 index 00000000000..c300fcd8e96 --- /dev/null +++ b/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Logstash.cs @@ -0,0 +1,42 @@ +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ----------------------------------------------- +// +// This file is automatically generated +// Please do not edit these files manually +// Run the following in the root of the repos: +// +// *NIX : ./build.sh codegen +// Windows : build.bat codegen +// +// ----------------------------------------------- +// ReSharper disable RedundantUsingDirective +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Linq.Expressions; +using Elastic.Transport; + +// ReSharper disable once CheckNamespace +namespace Elasticsearch.Net.Specification.LogstashApi +{ + ///Request options for DeletePipeline https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-delete-pipeline.html + public class DeletePipelineRequestParameters : RequestParameters + { + } + + ///Request options for GetPipeline https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-get-pipeline.html + public class GetPipelineRequestParameters : RequestParameters + { + } + + ///Request options for PutPipeline https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-put-pipeline.html + public class PutPipelineRequestParameters : RequestParameters + { + } +} \ No newline at end of file diff --git a/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.MachineLearning.cs b/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.MachineLearning.cs index b2aa8391f46..7c8ef0fa1bf 100644 --- a/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.MachineLearning.cs +++ b/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.MachineLearning.cs @@ -186,108 +186,6 @@ public class ExplainDataFrameAnalyticsRequestParameters : RequestParametersRequest options for FindFileStructure https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-find-file-structure.html - public class FindFileStructureRequestParameters : RequestParameters - { - ///Optional parameter to specify the character set of the file - public string Charset - { - get => Q("charset"); - set => Q("charset", value); - } - - ///Optional parameter containing a comma separated list of the column names for a delimited file - public string[] ColumnNames - { - get => Q("column_names"); - set => Q("column_names", value); - } - - ///Optional parameter to specify the delimiter character for a delimited file - must be a single character - public string Delimiter - { - get => Q("delimiter"); - set => Q("delimiter", value); - } - - ///Whether to include a commentary on how the structure was derived - public bool? Explain - { - get => Q("explain"); - set => Q("explain", value); - } - - ///Optional parameter to specify the high level file format - public Format? Format - { - get => Q("format"); - set => Q("format", value); - } - - ///Optional parameter to specify the Grok pattern that should be used to extract fields from messages in a semi-structured text file - public string GrokPattern - { - get => Q("grok_pattern"); - set => Q("grok_pattern", value); - } - - ///Optional parameter to specify whether a delimited file includes the column names in its first row - public bool? HasHeaderRow - { - get => Q("has_header_row"); - set => Q("has_header_row", value); - } - - ///Maximum number of characters permitted in a single message when lines are merged to create messages. - public int? LineMergeSizeLimit - { - get => Q("line_merge_size_limit"); - set => Q("line_merge_size_limit", value); - } - - ///How many lines of the file should be included in the analysis - public int? LinesToSample - { - get => Q("lines_to_sample"); - set => Q("lines_to_sample", value); - } - - ///Optional parameter to specify the quote character for a delimited file - must be a single character - public string Quote - { - get => Q("quote"); - set => Q("quote", value); - } - - ///Optional parameter to specify whether the values between delimiters in a delimited file should have whitespace trimmed from them - public bool? ShouldTrimFields - { - get => Q("should_trim_fields"); - set => Q("should_trim_fields", value); - } - - ///Timeout after which the analysis will be aborted - public TimeSpan Timeout - { - get => Q("timeout"); - set => Q("timeout", value); - } - - ///Optional parameter to specify the timestamp field in the file - public string TimestampField - { - get => Q("timestamp_field"); - set => Q("timestamp_field", value); - } - - ///Optional parameter to specify the timestamp format in the file - may be either a Joda or Java time format - public string TimestampFormat - { - get => Q("timestamp_format"); - set => Q("timestamp_format", value); - } - } - ///Request options for FlushJob https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html public class FlushJobRequestParameters : RequestParameters { diff --git a/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.NoNamespace.cs b/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.NoNamespace.cs index 4781cc7b566..e28eaaa74b6 100644 --- a/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.NoNamespace.cs +++ b/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.NoNamespace.cs @@ -1687,6 +1687,13 @@ public long? MaxConcurrentShardRequests set => Q("max_concurrent_shard_requests", value); } + ///The minimum compatible version that all shards involved in search should have for this request to be successful + public string MinCompatibleShardNode + { + get => Q("min_compatible_shard_node"); + set => Q("min_compatible_shard_node", value); + } + /// /// A threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search /// request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can diff --git a/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.SearchableSnapshots.cs b/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.SearchableSnapshots.cs index 28a9c1cbb85..5a7cc2815f2 100644 --- a/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.SearchableSnapshots.cs +++ b/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.SearchableSnapshots.cs @@ -70,6 +70,13 @@ public TimeSpan MasterTimeout set => Q("master_timeout", value); } + ///Selects the kind of local storage used to accelerate searches. Experimental, and defaults to `full_copy` + public string Storage + { + get => Q("storage"); + set => Q("storage", value); + } + ///Should this request wait until the operation has completed before returning public bool? WaitForCompletion { @@ -81,5 +88,11 @@ public bool? WaitForCompletion ///Request options for Stats https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-apis.html public class StatsRequestParameters : RequestParameters { + ///Return stats aggregated at cluster, index or shard level + public Level? Level + { + get => Q("level"); + set => Q("level", value); + } } } \ No newline at end of file diff --git a/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.TextStructure.cs b/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.TextStructure.cs new file mode 100644 index 00000000000..4d1e549e273 --- /dev/null +++ b/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.TextStructure.cs @@ -0,0 +1,129 @@ +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ----------------------------------------------- +// +// This file is automatically generated +// Please do not edit these files manually +// Run the following in the root of the repos: +// +// *NIX : ./build.sh codegen +// Windows : build.bat codegen +// +// ----------------------------------------------- +// ReSharper disable RedundantUsingDirective +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Linq.Expressions; +using Elastic.Transport; + +// ReSharper disable once CheckNamespace +namespace Elasticsearch.Net.Specification.TextStructureApi +{ + ///Request options for FindStructure https://www.elastic.co/guide/en/elasticsearch/reference/current/find-structure.html + public class FindStructureRequestParameters : RequestParameters + { + ///Optional parameter to specify the character set of the file + public string Charset + { + get => Q("charset"); + set => Q("charset", value); + } + + ///Optional parameter containing a comma separated list of the column names for a delimited file + public string[] ColumnNames + { + get => Q("column_names"); + set => Q("column_names", value); + } + + ///Optional parameter to specify the delimiter character for a delimited file - must be a single character + public string Delimiter + { + get => Q("delimiter"); + set => Q("delimiter", value); + } + + ///Whether to include a commentary on how the structure was derived + public bool? Explain + { + get => Q("explain"); + set => Q("explain", value); + } + + ///Optional parameter to specify the high level file format + public Format? Format + { + get => Q("format"); + set => Q("format", value); + } + + ///Optional parameter to specify the Grok pattern that should be used to extract fields from messages in a semi-structured text file + public string GrokPattern + { + get => Q("grok_pattern"); + set => Q("grok_pattern", value); + } + + ///Optional parameter to specify whether a delimited file includes the column names in its first row + public bool? HasHeaderRow + { + get => Q("has_header_row"); + set => Q("has_header_row", value); + } + + ///Maximum number of characters permitted in a single message when lines are merged to create messages. + public int? LineMergeSizeLimit + { + get => Q("line_merge_size_limit"); + set => Q("line_merge_size_limit", value); + } + + ///How many lines of the file should be included in the analysis + public int? LinesToSample + { + get => Q("lines_to_sample"); + set => Q("lines_to_sample", value); + } + + ///Optional parameter to specify the quote character for a delimited file - must be a single character + public string Quote + { + get => Q("quote"); + set => Q("quote", value); + } + + ///Optional parameter to specify whether the values between delimiters in a delimited file should have whitespace trimmed from them + public bool? ShouldTrimFields + { + get => Q("should_trim_fields"); + set => Q("should_trim_fields", value); + } + + ///Timeout after which the analysis will be aborted + public TimeSpan Timeout + { + get => Q("timeout"); + set => Q("timeout", value); + } + + ///Optional parameter to specify the timestamp field in the file + public string TimestampField + { + get => Q("timestamp_field"); + set => Q("timestamp_field", value); + } + + ///Optional parameter to specify the timestamp format in the file - may be either a Joda or Java time format + public string TimestampFormat + { + get => Q("timestamp_format"); + set => Q("timestamp_format", value); + } + } +} \ No newline at end of file diff --git a/src/Elasticsearch.Net/ElasticLowLevelClient.Autoscaling.cs b/src/Elasticsearch.Net/ElasticLowLevelClient.Autoscaling.cs index 12c55f0824c..dd37f1b36f2 100644 --- a/src/Elasticsearch.Net/ElasticLowLevelClient.Autoscaling.cs +++ b/src/Elasticsearch.Net/ElasticLowLevelClient.Autoscaling.cs @@ -47,37 +47,31 @@ internal LowLevelAutoscalingNamespace(ElasticLowLevelClient client): base(client ///DELETE on /_autoscaling/policy/{name} https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-delete-autoscaling-policy.html ///the name of the autoscaling policy ///Request specific configuration such as querystring parameters & request specific connection settings. - ///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. public TResponse DeletePolicy(string name, DeleteAutoscalingPolicyRequestParameters requestParameters = null) where TResponse : class, ITransportResponse, new() => DoRequest(DELETE, Url($"_autoscaling/policy/{name:name}"), null, RequestParams(requestParameters)); ///DELETE on /_autoscaling/policy/{name} https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-delete-autoscaling-policy.html ///the name of the autoscaling policy ///Request specific configuration such as querystring parameters & request specific connection settings. - ///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. [MapsApi("autoscaling.delete_autoscaling_policy", "name")] public Task DeletePolicyAsync(string name, DeleteAutoscalingPolicyRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, ITransportResponse, new() => DoRequestAsync(DELETE, Url($"_autoscaling/policy/{name:name}"), ctx, null, RequestParams(requestParameters)); ///GET on /_autoscaling/capacity https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-capacity.html ///Request specific configuration such as querystring parameters & request specific connection settings. - ///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. public TResponse GetCapacity(GetAutoscalingCapacityRequestParameters requestParameters = null) where TResponse : class, ITransportResponse, new() => DoRequest(GET, "_autoscaling/capacity", null, RequestParams(requestParameters)); ///GET on /_autoscaling/capacity https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-capacity.html ///Request specific configuration such as querystring parameters & request specific connection settings. - ///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. [MapsApi("autoscaling.get_autoscaling_capacity", "")] public Task GetCapacityAsync(GetAutoscalingCapacityRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, ITransportResponse, new() => DoRequestAsync(GET, "_autoscaling/capacity", ctx, null, RequestParams(requestParameters)); ///GET on /_autoscaling/policy/{name} https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-policy.html ///the name of the autoscaling policy ///Request specific configuration such as querystring parameters & request specific connection settings. - ///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. public TResponse GetPolicy(string name, GetAutoscalingPolicyRequestParameters requestParameters = null) where TResponse : class, ITransportResponse, new() => DoRequest(GET, Url($"_autoscaling/policy/{name:name}"), null, RequestParams(requestParameters)); ///GET on /_autoscaling/policy/{name} https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-policy.html ///the name of the autoscaling policy ///Request specific configuration such as querystring parameters & request specific connection settings. - ///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. [MapsApi("autoscaling.get_autoscaling_policy", "name")] public Task GetPolicyAsync(string name, GetAutoscalingPolicyRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, ITransportResponse, new() => DoRequestAsync(GET, Url($"_autoscaling/policy/{name:name}"), ctx, null, RequestParams(requestParameters)); @@ -85,14 +79,12 @@ public Task GetPolicyAsync(string name, GetAutoscalingPoli ///the name of the autoscaling policy ///the specification of the autoscaling policy ///Request specific configuration such as querystring parameters & request specific connection settings. - ///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. public TResponse PutPolicy(string name, PostData body, PutAutoscalingPolicyRequestParameters requestParameters = null) where TResponse : class, ITransportResponse, new() => DoRequest(PUT, Url($"_autoscaling/policy/{name:name}"), body, RequestParams(requestParameters)); ///PUT on /_autoscaling/policy/{name} https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-put-autoscaling-policy.html ///the name of the autoscaling policy ///the specification of the autoscaling policy ///Request specific configuration such as querystring parameters & request specific connection settings. - ///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. [MapsApi("autoscaling.put_autoscaling_policy", "name, body")] public Task PutPolicyAsync(string name, PostData body, PutAutoscalingPolicyRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, ITransportResponse, new() => DoRequestAsync(PUT, Url($"_autoscaling/policy/{name:name}"), ctx, body, RequestParams(requestParameters)); diff --git a/src/Elasticsearch.Net/ElasticLowLevelClient.Logstash.cs b/src/Elasticsearch.Net/ElasticLowLevelClient.Logstash.cs new file mode 100644 index 00000000000..8d8d5922aeb --- /dev/null +++ b/src/Elasticsearch.Net/ElasticLowLevelClient.Logstash.cs @@ -0,0 +1,83 @@ +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ----------------------------------------------- +// +// This file is automatically generated +// Please do not edit these files manually +// Run the following in the root of the repos: +// +// *NIX : ./build.sh codegen +// Windows : build.bat codegen +// +// ----------------------------------------------- +// ReSharper disable RedundantUsingDirective +using System; +using System.Collections.Generic; +using System.Collections.Specialized; +using System.Linq; +using System.Text; +using System.Threading; +using System.Threading.Tasks; +using Elasticsearch.Net; +using Elastic.Transport; +using static Elastic.Transport.HttpMethod; + +// ReSharper disable InterpolatedStringExpressionIsNotIFormattable +// ReSharper disable once CheckNamespace +// ReSharper disable InterpolatedStringExpressionIsNotIFormattable +// ReSharper disable RedundantExtendsListEntry +namespace Elasticsearch.Net.Specification.LogstashApi +{ + /// + /// Logstash APIs. + /// Not intended to be instantiated directly. Use the property + /// on . + /// + /// + public class LowLevelLogstashNamespace : NamespacedClientProxy + { + internal LowLevelLogstashNamespace(ElasticLowLevelClient client): base(client) + { + } + + ///DELETE on /_logstash/pipeline/{id} https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-delete-pipeline.html + ///The ID of the Pipeline + ///Request specific configuration such as querystring parameters & request specific connection settings. + public TResponse DeletePipeline(string id, DeletePipelineRequestParameters requestParameters = null) + where TResponse : class, ITransportResponse, new() => DoRequest(DELETE, Url($"_logstash/pipeline/{id:id}"), null, RequestParams(requestParameters)); + ///DELETE on /_logstash/pipeline/{id} https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-delete-pipeline.html + ///The ID of the Pipeline + ///Request specific configuration such as querystring parameters & request specific connection settings. + [MapsApi("logstash.delete_pipeline", "id")] + public Task DeletePipelineAsync(string id, DeletePipelineRequestParameters requestParameters = null, CancellationToken ctx = default) + where TResponse : class, ITransportResponse, new() => DoRequestAsync(DELETE, Url($"_logstash/pipeline/{id:id}"), ctx, null, RequestParams(requestParameters)); + ///GET on /_logstash/pipeline/{id} https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-get-pipeline.html + ///A comma-separated list of Pipeline IDs + ///Request specific configuration such as querystring parameters & request specific connection settings. + public TResponse GetPipeline(string id, GetPipelineRequestParameters requestParameters = null) + where TResponse : class, ITransportResponse, new() => DoRequest(GET, Url($"_logstash/pipeline/{id:id}"), null, RequestParams(requestParameters)); + ///GET on /_logstash/pipeline/{id} https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-get-pipeline.html + ///A comma-separated list of Pipeline IDs + ///Request specific configuration such as querystring parameters & request specific connection settings. + [MapsApi("logstash.get_pipeline", "id")] + public Task GetPipelineAsync(string id, GetPipelineRequestParameters requestParameters = null, CancellationToken ctx = default) + where TResponse : class, ITransportResponse, new() => DoRequestAsync(GET, Url($"_logstash/pipeline/{id:id}"), ctx, null, RequestParams(requestParameters)); + ///PUT on /_logstash/pipeline/{id} https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-put-pipeline.html + ///The ID of the Pipeline + ///The Pipeline to add or update + ///Request specific configuration such as querystring parameters & request specific connection settings. + public TResponse PutPipeline(string id, PostData body, PutPipelineRequestParameters requestParameters = null) + where TResponse : class, ITransportResponse, new() => DoRequest(PUT, Url($"_logstash/pipeline/{id:id}"), body, RequestParams(requestParameters)); + ///PUT on /_logstash/pipeline/{id} https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-put-pipeline.html + ///The ID of the Pipeline + ///The Pipeline to add or update + ///Request specific configuration such as querystring parameters & request specific connection settings. + [MapsApi("logstash.put_pipeline", "id, body")] + public Task PutPipelineAsync(string id, PostData body, PutPipelineRequestParameters requestParameters = null, CancellationToken ctx = default) + where TResponse : class, ITransportResponse, new() => DoRequestAsync(PUT, Url($"_logstash/pipeline/{id:id}"), ctx, body, RequestParams(requestParameters)); + } +} \ No newline at end of file diff --git a/src/Elasticsearch.Net/ElasticLowLevelClient.MachineLearning.cs b/src/Elasticsearch.Net/ElasticLowLevelClient.MachineLearning.cs index bc1a3926aa7..44825a9c1a6 100644 --- a/src/Elasticsearch.Net/ElasticLowLevelClient.MachineLearning.cs +++ b/src/Elasticsearch.Net/ElasticLowLevelClient.MachineLearning.cs @@ -255,19 +255,6 @@ public TResponse ExplainDataFrameAnalytics(string id, PostData body, [MapsApi("ml.explain_data_frame_analytics", "id, body")] public Task ExplainDataFrameAnalyticsAsync(string id, PostData body, ExplainDataFrameAnalyticsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, ITransportResponse, new() => DoRequestAsync(POST, Url($"_ml/data_frame/analytics/{id:id}/_explain"), ctx, body, RequestParams(requestParameters)); - ///POST on /_ml/find_file_structure https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-find-file-structure.html - ///The contents of the file to be analyzed - ///Request specific configuration such as querystring parameters & request specific connection settings. - ///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. - public TResponse FindFileStructure(PostData body, FindFileStructureRequestParameters requestParameters = null) - where TResponse : class, ITransportResponse, new() => DoRequest(POST, "_ml/find_file_structure", body, RequestParams(requestParameters)); - ///POST on /_ml/find_file_structure https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-find-file-structure.html - ///The contents of the file to be analyzed - ///Request specific configuration such as querystring parameters & request specific connection settings. - ///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. - [MapsApi("ml.find_file_structure", "body")] - public Task FindFileStructureAsync(PostData body, FindFileStructureRequestParameters requestParameters = null, CancellationToken ctx = default) - where TResponse : class, ITransportResponse, new() => DoRequestAsync(POST, "_ml/find_file_structure", ctx, body, RequestParams(requestParameters)); ///POST on /_ml/anomaly_detectors/{job_id}/_flush https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html ///The name of the job to flush ///Flush parameters diff --git a/src/Elasticsearch.Net/ElasticLowLevelClient.NoNamespace.cs b/src/Elasticsearch.Net/ElasticLowLevelClient.NoNamespace.cs index f581e2aa718..bf452d2ee35 100644 --- a/src/Elasticsearch.Net/ElasticLowLevelClient.NoNamespace.cs +++ b/src/Elasticsearch.Net/ElasticLowLevelClient.NoNamespace.cs @@ -37,6 +37,7 @@ using Elasticsearch.Net.Specification.IndicesApi; using Elasticsearch.Net.Specification.IngestApi; using Elasticsearch.Net.Specification.LicenseApi; +using Elasticsearch.Net.Specification.LogstashApi; using Elasticsearch.Net.Specification.MachineLearningApi; using Elasticsearch.Net.Specification.MigrationApi; using Elasticsearch.Net.Specification.NodesApi; @@ -47,6 +48,7 @@ using Elasticsearch.Net.Specification.SnapshotLifecycleManagementApi; using Elasticsearch.Net.Specification.SqlApi; using Elasticsearch.Net.Specification.TasksApi; +using Elasticsearch.Net.Specification.TextStructureApi; using Elasticsearch.Net.Specification.TransformApi; using Elasticsearch.Net.Specification.WatcherApi; using Elasticsearch.Net.Specification.XPackApi; @@ -139,6 +141,12 @@ public LowLevelLicenseNamespace License private set; } + public LowLevelLogstashNamespace Logstash + { + get; + private set; + } + public LowLevelMachineLearningNamespace MachineLearning { get; @@ -199,6 +207,12 @@ public LowLevelTasksNamespace Tasks private set; } + public LowLevelTextStructureNamespace TextStructure + { + get; + private set; + } + public LowLevelTransformNamespace Transform { get; @@ -232,6 +246,7 @@ partial void SetupNamespaces() Indices = new LowLevelIndicesNamespace(this); Ingest = new LowLevelIngestNamespace(this); License = new LowLevelLicenseNamespace(this); + Logstash = new LowLevelLogstashNamespace(this); MachineLearning = new LowLevelMachineLearningNamespace(this); Migration = new LowLevelMigrationNamespace(this); Nodes = new LowLevelNodesNamespace(this); @@ -242,6 +257,7 @@ partial void SetupNamespaces() SnapshotLifecycleManagement = new LowLevelSnapshotLifecycleManagementNamespace(this); Sql = new LowLevelSqlNamespace(this); Tasks = new LowLevelTasksNamespace(this); + TextStructure = new LowLevelTextStructureNamespace(this); Transform = new LowLevelTransformNamespace(this); Watcher = new LowLevelWatcherNamespace(this); XPack = new LowLevelXPackNamespace(this); diff --git a/src/Elasticsearch.Net/ElasticLowLevelClient.TextStructure.cs b/src/Elasticsearch.Net/ElasticLowLevelClient.TextStructure.cs new file mode 100644 index 00000000000..7c595f81ff9 --- /dev/null +++ b/src/Elasticsearch.Net/ElasticLowLevelClient.TextStructure.cs @@ -0,0 +1,61 @@ +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ----------------------------------------------- +// +// This file is automatically generated +// Please do not edit these files manually +// Run the following in the root of the repos: +// +// *NIX : ./build.sh codegen +// Windows : build.bat codegen +// +// ----------------------------------------------- +// ReSharper disable RedundantUsingDirective +using System; +using System.Collections.Generic; +using System.Collections.Specialized; +using System.Linq; +using System.Text; +using System.Threading; +using System.Threading.Tasks; +using Elasticsearch.Net; +using Elastic.Transport; +using static Elastic.Transport.HttpMethod; + +// ReSharper disable InterpolatedStringExpressionIsNotIFormattable +// ReSharper disable once CheckNamespace +// ReSharper disable InterpolatedStringExpressionIsNotIFormattable +// ReSharper disable RedundantExtendsListEntry +namespace Elasticsearch.Net.Specification.TextStructureApi +{ + /// + /// Text Structure APIs. + /// Not intended to be instantiated directly. Use the property + /// on . + /// + /// + public class LowLevelTextStructureNamespace : NamespacedClientProxy + { + internal LowLevelTextStructureNamespace(ElasticLowLevelClient client): base(client) + { + } + + ///POST on /_text_structure/find_structure https://www.elastic.co/guide/en/elasticsearch/reference/current/find-structure.html + ///The contents of the file to be analyzed + ///Request specific configuration such as querystring parameters & request specific connection settings. + ///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. + public TResponse FindStructure(PostData body, FindStructureRequestParameters requestParameters = null) + where TResponse : class, ITransportResponse, new() => DoRequest(POST, "_text_structure/find_structure", body, RequestParams(requestParameters)); + ///POST on /_text_structure/find_structure https://www.elastic.co/guide/en/elasticsearch/reference/current/find-structure.html + ///The contents of the file to be analyzed + ///Request specific configuration such as querystring parameters & request specific connection settings. + ///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. + [MapsApi("text_structure.find_structure", "body")] + public Task FindStructureAsync(PostData body, FindStructureRequestParameters requestParameters = null, CancellationToken ctx = default) + where TResponse : class, ITransportResponse, new() => DoRequestAsync(POST, "_text_structure/find_structure", ctx, body, RequestParams(requestParameters)); + } +} \ No newline at end of file diff --git a/src/Elasticsearch.Net/IElasticLowLevelClient.Generated.cs b/src/Elasticsearch.Net/IElasticLowLevelClient.Generated.cs index c32ffec73c2..3e4d7cc1ee3 100644 --- a/src/Elasticsearch.Net/IElasticLowLevelClient.Generated.cs +++ b/src/Elasticsearch.Net/IElasticLowLevelClient.Generated.cs @@ -37,6 +37,7 @@ using Elasticsearch.Net.Specification.IndicesApi; using Elasticsearch.Net.Specification.IngestApi; using Elasticsearch.Net.Specification.LicenseApi; +using Elasticsearch.Net.Specification.LogstashApi; using Elasticsearch.Net.Specification.MachineLearningApi; using Elasticsearch.Net.Specification.MigrationApi; using Elasticsearch.Net.Specification.NodesApi; @@ -47,6 +48,7 @@ using Elasticsearch.Net.Specification.SnapshotLifecycleManagementApi; using Elasticsearch.Net.Specification.SqlApi; using Elasticsearch.Net.Specification.TasksApi; +using Elasticsearch.Net.Specification.TextStructureApi; using Elasticsearch.Net.Specification.TransformApi; using Elasticsearch.Net.Specification.WatcherApi; using Elasticsearch.Net.Specification.XPackApi; @@ -136,6 +138,12 @@ LowLevelLicenseNamespace License get; } + ///Logstash APIs + LowLevelLogstashNamespace Logstash + { + get; + } + ///Machine Learning APIs LowLevelMachineLearningNamespace MachineLearning { @@ -930,6 +938,12 @@ LowLevelTasksNamespace Tasks get; } + ///Text Structure APIs + LowLevelTextStructureNamespace TextStructure + { + get; + } + ///Transform APIs LowLevelTransformNamespace Transform {