From 634f9f4f82cace51a61fd3fbe9a96f7d5b40c699 Mon Sep 17 00:00:00 2001 From: Florian Bernd Date: Wed, 28 Aug 2024 13:00:02 +0200 Subject: [PATCH] Regenerate client using the latest specification (#8319) --- .../_Generated/Api/ApiUrlLookup.g.cs | 1 + .../Api/Ingest/GetGeoipDatabaseRequest.g.cs | 150 +++++ .../Api/Ingest/GetGeoipDatabaseResponse.g.cs | 33 + .../ElasticsearchClient.AsyncSearch.g.cs | 48 +- .../Client/ElasticsearchClient.Cluster.g.cs | 108 +-- .../Client/ElasticsearchClient.Enrich.g.cs | 22 +- .../Client/ElasticsearchClient.Eql.g.cs | 22 +- .../Client/ElasticsearchClient.Esql.g.cs | 14 +- .../Client/ElasticsearchClient.Graph.g.cs | 18 +- .../Client/ElasticsearchClient.Indices.g.cs | 102 +-- .../Client/ElasticsearchClient.Ingest.g.cs | 174 ++++- .../Client/ElasticsearchClient.Ml.g.cs | 68 +- .../Client/ElasticsearchClient.Nodes.g.cs | 58 +- .../Client/ElasticsearchClient.g.cs | 56 +- .../Types/Analysis/Normalizers.g.cs | 2 +- .../Types/Analysis/PhoneticTokenFilter.g.cs | 42 +- .../_Generated/Types/ByteSize.g.cs | 2 +- .../_Generated/Types/Core/Context.g.cs | 2 +- ...ankEvalMetricDiscountedCumulativeGain.g.cs | 4 +- .../RankEvalMetricExpectedReciprocalRank.g.cs | 4 +- .../RankEvalMetricMeanReciprocalRank.g.cs | 4 +- .../RankEval/RankEvalMetricPrecision.g.cs | 4 +- .../Core/RankEval/RankEvalMetricRecall.g.cs | 4 +- .../_Generated/Types/Fuzziness.g.cs | 2 +- .../Types/IndexManagement/IndexSettings.g.cs | 6 +- .../IndexManagement/MappingLimitSettings.g.cs | 4 +- .../Types/Ingest/DatabaseConfiguration.g.cs | 36 + .../Ingest/DatabaseConfigurationMetadata.g.cs | 40 ++ .../_Generated/Types/Ingest/Maxmind.g.cs | 34 + .../Types/Mapping/GeoShapeProperty.g.cs | 6 +- .../Types/Mapping/ShapeProperty.g.cs | 6 +- .../_Generated/Types/QueryDsl/Like.g.cs | 2 +- .../_Generated/Types/QueryDsl/Query.g.cs | 2 +- .../_Generated/Api/ApiUrlLookup.g.cs | 7 + .../Api/Ingest/GetGeoipDatabaseRequest.g.cs | 150 +++++ .../Api/Ingest/GetGeoipDatabaseResponse.g.cs | 33 + .../Api/QueryRules/DeleteRuleRequest.g.cs | 92 +++ .../Api/QueryRules/DeleteRuleResponse.g.cs | 38 ++ .../Api/QueryRules/GetRuleRequest.g.cs | 92 +++ .../Api/QueryRules/GetRuleResponse.g.cs | 42 ++ .../Api/QueryRules/PutRuleRequest.g.cs | 239 +++++++ .../Api/QueryRules/PutRuleResponse.g.cs | 33 + .../Api/Security/BulkDeleteRoleRequest.g.cs | 119 ++++ .../Api/Security/BulkDeleteRoleResponse.g.cs | 54 ++ .../Api/Security/BulkPutRoleRequest.g.cs | 165 +++++ .../Api/Security/BulkPutRoleResponse.g.cs | 62 ++ .../Api/Security/QueryRoleRequest.g.cs | 531 +++++++++++++++ .../Api/Security/QueryRoleResponse.g.cs | 54 ++ .../ElasticsearchClient.AsyncSearch.g.cs | 96 +-- .../Client/ElasticsearchClient.Ccr.g.cs | 356 +++++----- .../Client/ElasticsearchClient.Cluster.g.cs | 248 +++---- .../Client/ElasticsearchClient.Enrich.g.cs | 44 +- .../Client/ElasticsearchClient.Eql.g.cs | 44 +- .../Client/ElasticsearchClient.Esql.g.cs | 28 +- .../Client/ElasticsearchClient.Graph.g.cs | 36 +- .../Client/ElasticsearchClient.Indices.g.cs | 324 ++++----- .../Client/ElasticsearchClient.Ingest.g.cs | 359 +++++++++- .../Client/ElasticsearchClient.Ml.g.cs | 136 ++-- .../Client/ElasticsearchClient.Nodes.g.cs | 116 ++-- .../ElasticsearchClient.QueryRules.g.cs | 318 +++++++++ .../Client/ElasticsearchClient.Security.g.cs | 502 ++++++++++++++ .../Client/ElasticsearchClient.Tasks.g.cs | 56 +- .../Client/ElasticsearchClient.g.cs | 112 +-- .../Types/Analysis/Normalizers.g.cs | 2 +- .../Types/Analysis/PhoneticTokenFilter.g.cs | 42 +- .../_Generated/Types/ByteSize.g.cs | 2 +- .../_Generated/Types/Core/Context.g.cs | 2 +- ...ankEvalMetricDiscountedCumulativeGain.g.cs | 4 +- .../RankEvalMetricExpectedReciprocalRank.g.cs | 4 +- .../RankEvalMetricMeanReciprocalRank.g.cs | 4 +- .../RankEval/RankEvalMetricPrecision.g.cs | 4 +- .../Core/RankEval/RankEvalMetricRecall.g.cs | 4 +- .../_Generated/Types/Fuzziness.g.cs | 2 +- .../Types/IndexManagement/IndexSettings.g.cs | 6 +- .../IndexManagement/MappingLimitSettings.g.cs | 4 +- .../Types/Ingest/DatabaseConfiguration.g.cs | 36 + .../Ingest/DatabaseConfigurationMetadata.g.cs | 40 ++ .../_Generated/Types/Ingest/Maxmind.g.cs | 34 + .../Types/Mapping/GeoShapeProperty.g.cs | 6 +- .../Types/Mapping/ShapeProperty.g.cs | 6 +- .../_Generated/Types/QueryDsl/BoolQuery.g.cs | 1 + .../Types/QueryDsl/ExistsQuery.g.cs | 1 + .../_Generated/Types/QueryDsl/IdsQuery.g.cs | 1 + .../_Generated/Types/QueryDsl/Like.g.cs | 2 +- .../Types/QueryDsl/MatchAllQuery.g.cs | 1 + .../_Generated/Types/QueryDsl/MatchQuery.g.cs | 1 + .../Types/QueryDsl/PrefixQuery.g.cs | 1 + .../_Generated/Types/QueryDsl/Query.g.cs | 32 +- .../Types/QueryDsl/SemanticQuery.g.cs | 140 ++++ .../QueryDsl/SimpleQueryStringQuery.g.cs | 1 + .../Types/QueryDsl/SparseVectorQuery.g.cs | 637 ++++++++++++++++++ .../_Generated/Types/QueryDsl/TermQuery.g.cs | 1 + .../_Generated/Types/QueryDsl/TermsQuery.g.cs | 1 + .../Types/QueryDsl/WildcardQuery.g.cs | 1 + .../_Generated/Types/Security/BulkError.g.cs | 47 ++ .../_Generated/Types/Security/QueryRole.g.cs | 182 +++++ .../_Generated/Types/Security/RoleQuery.g.cs | 384 +++++++++++ 97 files changed, 6017 insertions(+), 1185 deletions(-) create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetGeoipDatabaseResponse.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/DatabaseConfiguration.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/DatabaseConfigurationMetadata.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Maxmind.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetGeoipDatabaseResponse.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRuleRequest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRuleResponse.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRuleRequest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRuleResponse.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRuleRequest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRuleResponse.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkDeleteRoleResponse.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkPutRoleRequest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkPutRoleResponse.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryRoleRequest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryRoleResponse.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DatabaseConfiguration.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DatabaseConfigurationMetadata.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Maxmind.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/SemanticQuery.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/SparseVectorQuery.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/BulkError.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/QueryRole.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RoleQuery.g.cs diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ApiUrlLookup.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ApiUrlLookup.g.cs index caf67257462..3d651e76072 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ApiUrlLookup.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ApiUrlLookup.g.cs @@ -91,6 +91,7 @@ internal static class ApiUrlLookup internal static ApiUrls IndexManagementValidateQuery = new ApiUrls(new[] { "_validate/query", "{index}/_validate/query" }); internal static ApiUrls IngestDeletePipeline = new ApiUrls(new[] { "_ingest/pipeline/{id}" }); internal static ApiUrls IngestGeoIpStats = new ApiUrls(new[] { "_ingest/geoip/stats" }); + internal static ApiUrls IngestGetGeoipDatabase = new ApiUrls(new[] { "_ingest/geoip/database", "_ingest/geoip/database/{id}" }); internal static ApiUrls IngestGetPipeline = new ApiUrls(new[] { "_ingest/pipeline", "_ingest/pipeline/{id}" }); internal static ApiUrls IngestProcessorGrok = new ApiUrls(new[] { "_ingest/processor/grok" }); internal static ApiUrls IngestPutPipeline = new ApiUrls(new[] { "_ingest/pipeline/{id}" }); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs new file mode 100644 index 00000000000..9357f9a91aa --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs @@ -0,0 +1,150 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Requests; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using Elastic.Transport; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Ingest; + +public sealed partial class GetGeoipDatabaseRequestParameters : RequestParameters +{ + /// + /// + /// Period to wait for a connection to the master node. + /// If no response is received before the timeout expires, the request fails and returns an error. + /// + /// + public Elastic.Clients.Elasticsearch.Serverless.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } +} + +/// +/// +/// Returns information about one or more geoip database configurations. +/// +/// +public sealed partial class GetGeoipDatabaseRequest : PlainRequest +{ + public GetGeoipDatabaseRequest() + { + } + + public GetGeoipDatabaseRequest(Elastic.Clients.Elasticsearch.Serverless.Ids? id) : base(r => r.Optional("id", id)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.IngestGetGeoipDatabase; + + protected override HttpMethod StaticHttpMethod => HttpMethod.GET; + + internal override bool SupportsBody => false; + + internal override string OperationName => "ingest.get_geoip_database"; + + /// + /// + /// Period to wait for a connection to the master node. + /// If no response is received before the timeout expires, the request fails and returns an error. + /// + /// + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Serverless.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } +} + +/// +/// +/// Returns information about one or more geoip database configurations. +/// +/// +public sealed partial class GetGeoipDatabaseRequestDescriptor : RequestDescriptor, GetGeoipDatabaseRequestParameters> +{ + internal GetGeoipDatabaseRequestDescriptor(Action> configure) => configure.Invoke(this); + + public GetGeoipDatabaseRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Ids? id) : base(r => r.Optional("id", id)) + { + } + + public GetGeoipDatabaseRequestDescriptor() + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.IngestGetGeoipDatabase; + + protected override HttpMethod StaticHttpMethod => HttpMethod.GET; + + internal override bool SupportsBody => false; + + internal override string OperationName => "ingest.get_geoip_database"; + + public GetGeoipDatabaseRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Serverless.Duration? masterTimeout) => Qs("master_timeout", masterTimeout); + + public GetGeoipDatabaseRequestDescriptor Id(Elastic.Clients.Elasticsearch.Serverless.Ids? id) + { + RouteValues.Optional("id", id); + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + } +} + +/// +/// +/// Returns information about one or more geoip database configurations. +/// +/// +public sealed partial class GetGeoipDatabaseRequestDescriptor : RequestDescriptor +{ + internal GetGeoipDatabaseRequestDescriptor(Action configure) => configure.Invoke(this); + + public GetGeoipDatabaseRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Ids? id) : base(r => r.Optional("id", id)) + { + } + + public GetGeoipDatabaseRequestDescriptor() + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.IngestGetGeoipDatabase; + + protected override HttpMethod StaticHttpMethod => HttpMethod.GET; + + internal override bool SupportsBody => false; + + internal override string OperationName => "ingest.get_geoip_database"; + + public GetGeoipDatabaseRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Serverless.Duration? masterTimeout) => Qs("master_timeout", masterTimeout); + + public GetGeoipDatabaseRequestDescriptor Id(Elastic.Clients.Elasticsearch.Serverless.Ids? id) + { + RouteValues.Optional("id", id); + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetGeoipDatabaseResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetGeoipDatabaseResponse.g.cs new file mode 100644 index 00000000000..92e10c2b774 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetGeoipDatabaseResponse.g.cs @@ -0,0 +1,33 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using Elastic.Transport.Products.Elasticsearch; +using System; +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Ingest; + +public sealed partial class GetGeoipDatabaseResponse : ElasticsearchResponse +{ + [JsonInclude, JsonPropertyName("databases")] + public IReadOnlyCollection Databases { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.AsyncSearch.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.AsyncSearch.g.cs index 557338f3fcb..95d1920cbb8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.AsyncSearch.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.AsyncSearch.g.cs @@ -46,7 +46,7 @@ internal AsyncSearchNamespacedClient(ElasticsearchClient client) : base(client) /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(DeleteAsyncSearchRequest request, CancellationToken cancellationToken = default) { @@ -61,7 +61,7 @@ public virtual Task DeleteAsync(DeleteAsyncSearchRequ /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(DeleteAsyncSearchRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -76,7 +76,7 @@ public virtual Task DeleteAsync(DeleteAsyn /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -92,7 +92,7 @@ public virtual Task DeleteAsync(Elastic.Cl /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -109,7 +109,7 @@ public virtual Task DeleteAsync(Elastic.Cl /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(DeleteAsyncSearchRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -124,7 +124,7 @@ public virtual Task DeleteAsync(DeleteAsyncSearchRequ /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -140,7 +140,7 @@ public virtual Task DeleteAsync(Elastic.Clients.Elast /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action configureRequest, CancellationToken cancellationToken = default) { @@ -155,7 +155,7 @@ public virtual Task DeleteAsync(Elastic.Clients.Elast /// Retrieves the results of a previously submitted async search request given its identifier. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(GetAsyncSearchRequest request, CancellationToken cancellationToken = default) { @@ -168,7 +168,7 @@ public virtual Task> GetAsync(GetAs /// Retrieves the results of a previously submitted async search request given its identifier. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(GetAsyncSearchRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -181,7 +181,7 @@ public virtual Task> GetAsync(GetAs /// Retrieves the results of a previously submitted async search request given its identifier. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -195,7 +195,7 @@ public virtual Task> GetAsync(Elast /// Retrieves the results of a previously submitted async search request given its identifier. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -211,7 +211,7 @@ public virtual Task> GetAsync(Elast /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(AsyncSearchStatusRequest request, CancellationToken cancellationToken = default) { @@ -225,7 +225,7 @@ public virtual Task StatusAsync(AsyncSearchStatusRequ /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(AsyncSearchStatusRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -239,7 +239,7 @@ public virtual Task StatusAsync(AsyncSearc /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -254,7 +254,7 @@ public virtual Task StatusAsync(Elastic.Cl /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -270,7 +270,7 @@ public virtual Task StatusAsync(Elastic.Cl /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(AsyncSearchStatusRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -284,7 +284,7 @@ public virtual Task StatusAsync(AsyncSearchStatusRequ /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -299,7 +299,7 @@ public virtual Task StatusAsync(Elastic.Clients.Elast /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action configureRequest, CancellationToken cancellationToken = default) { @@ -317,7 +317,7 @@ public virtual Task StatusAsync(Elastic.Clients.Elast /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> SubmitAsync(SubmitAsyncSearchRequest request, CancellationToken cancellationToken = default) { @@ -333,7 +333,7 @@ public virtual Task> SubmitAsync /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> SubmitAsync(SubmitAsyncSearchRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -349,7 +349,7 @@ public virtual Task> SubmitAsync /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> SubmitAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, CancellationToken cancellationToken = default) { @@ -366,7 +366,7 @@ public virtual Task> SubmitAsync /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> SubmitAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -384,7 +384,7 @@ public virtual Task> SubmitAsync /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> SubmitAsync(CancellationToken cancellationToken = default) { @@ -401,7 +401,7 @@ public virtual Task> SubmitAsync /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> SubmitAsync(Action> configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Cluster.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Cluster.g.cs index e2b9c481879..ac98b37b291 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Cluster.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Cluster.g.cs @@ -43,7 +43,7 @@ internal ClusterNamespacedClient(ElasticsearchClient client) : base(client) /// /// Provides explanations for shard allocations in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AllocationExplainAsync(AllocationExplainRequest request, CancellationToken cancellationToken = default) { @@ -55,7 +55,7 @@ public virtual Task AllocationExplainAsync(Allocation /// /// Provides explanations for shard allocations in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AllocationExplainAsync(AllocationExplainRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -67,7 +67,7 @@ public virtual Task AllocationExplainAsync(Allocation /// /// Provides explanations for shard allocations in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AllocationExplainAsync(CancellationToken cancellationToken = default) { @@ -80,7 +80,7 @@ public virtual Task AllocationExplainAsync(Cancellati /// /// Provides explanations for shard allocations in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AllocationExplainAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -96,7 +96,7 @@ public virtual Task AllocationExplainAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteComponentTemplateAsync(DeleteComponentTemplateRequest request, CancellationToken cancellationToken = default) { @@ -110,7 +110,7 @@ public virtual Task DeleteComponentTemplateAsyn /// Deletes component templates. /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteComponentTemplateAsync(DeleteComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -124,7 +124,7 @@ public virtual Task DeleteComponentTemplateAsyn /// Deletes component templates. /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Names name, CancellationToken cancellationToken = default) { @@ -139,7 +139,7 @@ public virtual Task DeleteComponentTemplateAsyn /// Deletes component templates. /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Names name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -154,7 +154,7 @@ public virtual Task DeleteComponentTemplateAsyn /// Check component templates. /// Returns information about whether a particular component template exists. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExistsComponentTemplateAsync(ExistsComponentTemplateRequest request, CancellationToken cancellationToken = default) { @@ -167,7 +167,7 @@ public virtual Task ExistsComponentTemplateAsyn /// Check component templates. /// Returns information about whether a particular component template exists. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExistsComponentTemplateAsync(ExistsComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -180,7 +180,7 @@ public virtual Task ExistsComponentTemplateAsyn /// Check component templates. /// Returns information about whether a particular component template exists. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExistsComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Names name, CancellationToken cancellationToken = default) { @@ -194,7 +194,7 @@ public virtual Task ExistsComponentTemplateAsyn /// Check component templates. /// Returns information about whether a particular component template exists. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExistsComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Names name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -209,7 +209,7 @@ public virtual Task ExistsComponentTemplateAsyn /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetComponentTemplateAsync(GetComponentTemplateRequest request, CancellationToken cancellationToken = default) { @@ -222,7 +222,7 @@ public virtual Task GetComponentTemplateAsync(GetC /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetComponentTemplateAsync(GetComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -235,7 +235,7 @@ public virtual Task GetComponentTemplateAsync(GetC /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Name? name, CancellationToken cancellationToken = default) { @@ -249,7 +249,7 @@ public virtual Task GetComponentTemplateAsync(Elas /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Name? name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -264,7 +264,7 @@ public virtual Task GetComponentTemplateAsync(Elas /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetComponentTemplateAsync(CancellationToken cancellationToken = default) { @@ -278,7 +278,7 @@ public virtual Task GetComponentTemplateAsync(Canc /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetComponentTemplateAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -293,7 +293,7 @@ public virtual Task GetComponentTemplateAsync(Acti /// Returns cluster-wide settings. /// By default, it returns only settings that have been explicitly defined. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetSettingsAsync(GetClusterSettingsRequest request, CancellationToken cancellationToken = default) { @@ -306,7 +306,7 @@ public virtual Task GetSettingsAsync(GetClusterSetti /// Returns cluster-wide settings. /// By default, it returns only settings that have been explicitly defined. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetSettingsAsync(GetClusterSettingsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -319,7 +319,7 @@ public virtual Task GetSettingsAsync(GetClusterSetti /// Returns cluster-wide settings. /// By default, it returns only settings that have been explicitly defined. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetSettingsAsync(CancellationToken cancellationToken = default) { @@ -333,7 +333,7 @@ public virtual Task GetSettingsAsync(CancellationTok /// Returns cluster-wide settings. /// By default, it returns only settings that have been explicitly defined. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetSettingsAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -348,7 +348,7 @@ public virtual Task GetSettingsAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(HealthRequest request, CancellationToken cancellationToken = default) { @@ -361,7 +361,7 @@ public virtual Task HealthAsync(HealthRequest request, Cancellat /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(HealthRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -374,7 +374,7 @@ public virtual Task HealthAsync(HealthRequestDescript /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, CancellationToken cancellationToken = default) { @@ -388,7 +388,7 @@ public virtual Task HealthAsync(Elastic.Clients.Elast /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -403,7 +403,7 @@ public virtual Task HealthAsync(Elastic.Clients.Elast /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(CancellationToken cancellationToken = default) { @@ -417,7 +417,7 @@ public virtual Task HealthAsync(CancellationToken can /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -432,7 +432,7 @@ public virtual Task HealthAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(HealthRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -445,7 +445,7 @@ public virtual Task HealthAsync(HealthRequestDescriptor descript /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, CancellationToken cancellationToken = default) { @@ -459,7 +459,7 @@ public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Se /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, Action configureRequest, CancellationToken cancellationToken = default) { @@ -474,7 +474,7 @@ public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Se /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(CancellationToken cancellationToken = default) { @@ -488,7 +488,7 @@ public virtual Task HealthAsync(CancellationToken cancellationTo /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -503,7 +503,7 @@ public virtual Task HealthAsync(Action /// Get cluster info. /// Returns basic information about the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(ClusterInfoRequest request, CancellationToken cancellationToken = default) { @@ -516,7 +516,7 @@ public virtual Task InfoAsync(ClusterInfoRequest request, C /// Get cluster info. /// Returns basic information about the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(ClusterInfoRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -529,7 +529,7 @@ public virtual Task InfoAsync(ClusterInfoRequestDescriptor /// Get cluster info. /// Returns basic information about the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(IReadOnlyCollection target, CancellationToken cancellationToken = default) { @@ -543,7 +543,7 @@ public virtual Task InfoAsync(IReadOnlyCollection - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(IReadOnlyCollection target, Action configureRequest, CancellationToken cancellationToken = default) { @@ -560,7 +560,7 @@ public virtual Task InfoAsync(IReadOnlyCollection - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PendingTasksAsync(PendingTasksRequest request, CancellationToken cancellationToken = default) { @@ -575,7 +575,7 @@ public virtual Task PendingTasksAsync(PendingTasksRequest /// These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests. /// However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PendingTasksAsync(PendingTasksRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -590,7 +590,7 @@ public virtual Task PendingTasksAsync(PendingTasksRequestD /// These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests. /// However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PendingTasksAsync(CancellationToken cancellationToken = default) { @@ -606,7 +606,7 @@ public virtual Task PendingTasksAsync(CancellationToken ca /// These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests. /// However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PendingTasksAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -639,7 +639,7 @@ public virtual Task PendingTasksAsync(Action/* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(PutComponentTemplateRequest request, CancellationToken cancellationToken = default) { @@ -670,7 +670,7 @@ public virtual Task PutComponentTemplateAsync(PutC /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(PutComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -701,7 +701,7 @@ public virtual Task PutComponentTemplateAsync/* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, CancellationToken cancellationToken = default) { @@ -733,7 +733,7 @@ public virtual Task PutComponentTemplateAsync/* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -766,7 +766,7 @@ public virtual Task PutComponentTemplateAsync/* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(PutComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -797,7 +797,7 @@ public virtual Task PutComponentTemplateAsync(PutC /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, CancellationToken cancellationToken = default) { @@ -829,7 +829,7 @@ public virtual Task PutComponentTemplateAsync(Elas /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -844,7 +844,7 @@ public virtual Task PutComponentTemplateAsync(Elas /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(ClusterStatsRequest request, CancellationToken cancellationToken = default) { @@ -857,7 +857,7 @@ public virtual Task StatsAsync(ClusterStatsRequest request /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(ClusterStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -870,7 +870,7 @@ public virtual Task StatsAsync(ClusterStatsRequestDescript /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, CancellationToken cancellationToken = default) { @@ -884,7 +884,7 @@ public virtual Task StatsAsync(Elastic.Clients.Elasticsear /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -899,7 +899,7 @@ public virtual Task StatsAsync(Elastic.Clients.Elasticsear /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(CancellationToken cancellationToken = default) { @@ -913,7 +913,7 @@ public virtual Task StatsAsync(CancellationToken cancellat /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Enrich.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Enrich.g.cs index 6d6d1351c57..374798d47c5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Enrich.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Enrich.g.cs @@ -98,7 +98,7 @@ public virtual Task DeletePolicyAsync(Elastic.Clients.Elas /// /// Creates the enrich index for an existing enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExecutePolicyAsync(ExecutePolicyRequest request, CancellationToken cancellationToken = default) { @@ -110,7 +110,7 @@ public virtual Task ExecutePolicyAsync(ExecutePolicyReque /// /// Creates the enrich index for an existing enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExecutePolicyAsync(ExecutePolicyRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -122,7 +122,7 @@ public virtual Task ExecutePolicyAsync(ExecutePolicyReque /// /// Creates the enrich index for an existing enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExecutePolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, CancellationToken cancellationToken = default) { @@ -135,7 +135,7 @@ public virtual Task ExecutePolicyAsync(Elastic.Clients.El /// /// Creates the enrich index for an existing enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExecutePolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -234,7 +234,7 @@ public virtual Task GetPolicyAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(PutPolicyRequest request, CancellationToken cancellationToken = default) { @@ -247,7 +247,7 @@ public virtual Task PutPolicyAsync(PutPolicyRequest request, /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(PutPolicyRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -260,7 +260,7 @@ public virtual Task PutPolicyAsync(PutPolicyReques /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, CancellationToken cancellationToken = default) { @@ -274,7 +274,7 @@ public virtual Task PutPolicyAsync(Elastic.Clients /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -289,7 +289,7 @@ public virtual Task PutPolicyAsync(Elastic.Clients /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(PutPolicyRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -302,7 +302,7 @@ public virtual Task PutPolicyAsync(PutPolicyRequestDescriptor /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, CancellationToken cancellationToken = default) { @@ -316,7 +316,7 @@ public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsea /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Eql.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Eql.g.cs index 6f6de5930a0..cf1153ff7cc 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Eql.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Eql.g.cs @@ -140,7 +140,7 @@ public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch /// /// Returns the current status and available results for an async EQL search or a stored synchronous EQL search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(EqlGetRequest request, CancellationToken cancellationToken = default) { @@ -152,7 +152,7 @@ public virtual Task> GetAsync(EqlGetRequest reque /// /// Returns the current status and available results for an async EQL search or a stored synchronous EQL search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(EqlGetRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -164,7 +164,7 @@ public virtual Task> GetAsync(EqlGetRequestDescri /// /// Returns the current status and available results for an async EQL search or a stored synchronous EQL search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -177,7 +177,7 @@ public virtual Task> GetAsync(Elastic.Clients.Ela /// /// Returns the current status and available results for an async EQL search or a stored synchronous EQL search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -191,7 +191,7 @@ public virtual Task> GetAsync(Elastic.Clients.Ela /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(GetEqlStatusRequest request, CancellationToken cancellationToken = default) { @@ -203,7 +203,7 @@ public virtual Task GetStatusAsync(GetEqlStatusRequest req /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(GetEqlStatusRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -215,7 +215,7 @@ public virtual Task GetStatusAsync(GetEqlStatus /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -228,7 +228,7 @@ public virtual Task GetStatusAsync(Elastic.Clie /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -242,7 +242,7 @@ public virtual Task GetStatusAsync(Elastic.Clie /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(GetEqlStatusRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -254,7 +254,7 @@ public virtual Task GetStatusAsync(GetEqlStatusRequestDesc /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -267,7 +267,7 @@ public virtual Task GetStatusAsync(Elastic.Clients.Elastic /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Esql.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Esql.g.cs index 245c60e503f..e6b8033d87e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Esql.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Esql.g.cs @@ -43,7 +43,7 @@ internal EsqlNamespacedClient(ElasticsearchClient client) : base(client) /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(EsqlQueryRequest request, CancellationToken cancellationToken = default) { @@ -55,7 +55,7 @@ public virtual Task QueryAsync(EsqlQueryRequest request, Canc /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(EsqlQueryRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -67,7 +67,7 @@ public virtual Task QueryAsync(EsqlQueryRequestDes /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(CancellationToken cancellationToken = default) { @@ -80,7 +80,7 @@ public virtual Task QueryAsync(CancellationToken c /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -94,7 +94,7 @@ public virtual Task QueryAsync(Action /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(EsqlQueryRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -106,7 +106,7 @@ public virtual Task QueryAsync(EsqlQueryRequestDescriptor des /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(CancellationToken cancellationToken = default) { @@ -119,7 +119,7 @@ public virtual Task QueryAsync(CancellationToken cancellation /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Graph.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Graph.g.cs index 1d51b370471..fd06cd6d387 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Graph.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Graph.g.cs @@ -43,7 +43,7 @@ internal GraphNamespacedClient(ElasticsearchClient client) : base(client) /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(ExploreRequest request, CancellationToken cancellationToken = default) { @@ -55,7 +55,7 @@ public virtual Task ExploreAsync(ExploreRequest request, Cancel /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(ExploreRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -67,7 +67,7 @@ public virtual Task ExploreAsync(ExploreRequestDescr /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, CancellationToken cancellationToken = default) { @@ -80,7 +80,7 @@ public virtual Task ExploreAsync(Elastic.Clients.Ela /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -94,7 +94,7 @@ public virtual Task ExploreAsync(Elastic.Clients.Ela /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(CancellationToken cancellationToken = default) { @@ -107,7 +107,7 @@ public virtual Task ExploreAsync(CancellationToken c /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -121,7 +121,7 @@ public virtual Task ExploreAsync(Action /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(ExploreRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -133,7 +133,7 @@ public virtual Task ExploreAsync(ExploreRequestDescriptor descr /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, CancellationToken cancellationToken = default) { @@ -146,7 +146,7 @@ public virtual Task ExploreAsync(Elastic.Clients.Elasticsearch. /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Indices.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Indices.g.cs index 2a96072cdf4..5d44684be76 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Indices.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Indices.g.cs @@ -43,7 +43,7 @@ internal IndicesNamespacedClient(ElasticsearchClient client) : base(client) /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(AnalyzeIndexRequest request, CancellationToken cancellationToken = default) { @@ -55,7 +55,7 @@ public virtual Task AnalyzeAsync(AnalyzeIndexRequest reque /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(AnalyzeIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -67,7 +67,7 @@ public virtual Task AnalyzeAsync(AnalyzeIndexRe /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName? index, CancellationToken cancellationToken = default) { @@ -80,7 +80,7 @@ public virtual Task AnalyzeAsync(Elastic.Client /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName? index, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -94,7 +94,7 @@ public virtual Task AnalyzeAsync(Elastic.Client /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(CancellationToken cancellationToken = default) { @@ -107,7 +107,7 @@ public virtual Task AnalyzeAsync(CancellationTo /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -121,7 +121,7 @@ public virtual Task AnalyzeAsync(Action /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(AnalyzeIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -133,7 +133,7 @@ public virtual Task AnalyzeAsync(AnalyzeIndexRequestDescri /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName? index, CancellationToken cancellationToken = default) { @@ -146,7 +146,7 @@ public virtual Task AnalyzeAsync(Elastic.Clients.Elasticse /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName? index, Action configureRequest, CancellationToken cancellationToken = default) { @@ -160,7 +160,7 @@ public virtual Task AnalyzeAsync(Elastic.Clients.Elasticse /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(CancellationToken cancellationToken = default) { @@ -173,7 +173,7 @@ public virtual Task AnalyzeAsync(CancellationToken cancell /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -342,7 +342,7 @@ public virtual Task ClearCacheAsync(Action /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(CloseIndexRequest request, CancellationToken cancellationToken = default) { @@ -354,7 +354,7 @@ public virtual Task CloseAsync(CloseIndexRequest request, Ca /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(CloseIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -366,7 +366,7 @@ public virtual Task CloseAsync(CloseIndexRequestD /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, CancellationToken cancellationToken = default) { @@ -379,7 +379,7 @@ public virtual Task CloseAsync(Elastic.Clients.El /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -393,7 +393,7 @@ public virtual Task CloseAsync(Elastic.Clients.El /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(CancellationToken cancellationToken = default) { @@ -406,7 +406,7 @@ public virtual Task CloseAsync(CancellationToken /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -420,7 +420,7 @@ public virtual Task CloseAsync(Action /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(CloseIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -432,7 +432,7 @@ public virtual Task CloseAsync(CloseIndexRequestDescriptor d /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, CancellationToken cancellationToken = default) { @@ -445,7 +445,7 @@ public virtual Task CloseAsync(Elastic.Clients.Elasticsearch /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, Action configureRequest, CancellationToken cancellationToken = default) { @@ -460,7 +460,7 @@ public virtual Task CloseAsync(Elastic.Clients.Elasticsearch /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(CreateIndexRequest request, CancellationToken cancellationToken = default) { @@ -473,7 +473,7 @@ public virtual Task CreateAsync(CreateIndexRequest request, /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(CreateIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -486,7 +486,7 @@ public virtual Task CreateAsync(CreateIndexReque /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName index, CancellationToken cancellationToken = default) { @@ -500,7 +500,7 @@ public virtual Task CreateAsync(Elastic.Clients. /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName index, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -515,7 +515,7 @@ public virtual Task CreateAsync(Elastic.Clients. /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(CancellationToken cancellationToken = default) { @@ -529,7 +529,7 @@ public virtual Task CreateAsync(CancellationToke /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -544,7 +544,7 @@ public virtual Task CreateAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(CreateIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -557,7 +557,7 @@ public virtual Task CreateAsync(CreateIndexRequestDescripto /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName index, CancellationToken cancellationToken = default) { @@ -571,7 +571,7 @@ public virtual Task CreateAsync(Elastic.Clients.Elasticsear /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName index, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1611,7 +1611,7 @@ public virtual Task ExplainDataLifecycleAsync(Elas /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(FlushRequest request, CancellationToken cancellationToken = default) { @@ -1623,7 +1623,7 @@ public virtual Task FlushAsync(FlushRequest request, Cancellation /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(FlushRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1635,7 +1635,7 @@ public virtual Task FlushAsync(FlushRequestDescriptor< /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, CancellationToken cancellationToken = default) { @@ -1648,7 +1648,7 @@ public virtual Task FlushAsync(Elastic.Clients.Elastic /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1662,7 +1662,7 @@ public virtual Task FlushAsync(Elastic.Clients.Elastic /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(CancellationToken cancellationToken = default) { @@ -1675,7 +1675,7 @@ public virtual Task FlushAsync(CancellationToken cance /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1689,7 +1689,7 @@ public virtual Task FlushAsync(Action /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(FlushRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1701,7 +1701,7 @@ public virtual Task FlushAsync(FlushRequestDescriptor descriptor, /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, CancellationToken cancellationToken = default) { @@ -1714,7 +1714,7 @@ public virtual Task FlushAsync(Elastic.Clients.Elasticsearch.Serv /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1728,7 +1728,7 @@ public virtual Task FlushAsync(Elastic.Clients.Elasticsearch.Serv /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(CancellationToken cancellationToken = default) { @@ -1741,7 +1741,7 @@ public virtual Task FlushAsync(CancellationToken cancellationToke /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -4078,7 +4078,7 @@ public virtual Task ResolveIndexAsync(Elastic.Clients.Elas /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(RolloverRequest request, CancellationToken cancellationToken = default) { @@ -4091,7 +4091,7 @@ public virtual Task RolloverAsync(RolloverRequest request, Can /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(RolloverRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -4104,7 +4104,7 @@ public virtual Task RolloverAsync(RolloverRequestDe /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.Serverless.IndexAlias alias, Elastic.Clients.Elasticsearch.Serverless.IndexName? newIndex, CancellationToken cancellationToken = default) { @@ -4118,7 +4118,7 @@ public virtual Task RolloverAsync(Elastic.Clients.E /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.Serverless.IndexAlias alias, Elastic.Clients.Elasticsearch.Serverless.IndexName? newIndex, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -4133,7 +4133,7 @@ public virtual Task RolloverAsync(Elastic.Clients.E /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.Serverless.IndexAlias alias, CancellationToken cancellationToken = default) { @@ -4147,7 +4147,7 @@ public virtual Task RolloverAsync(Elastic.Clients.E /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.Serverless.IndexAlias alias, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -4162,7 +4162,7 @@ public virtual Task RolloverAsync(Elastic.Clients.E /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(RolloverRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -4175,7 +4175,7 @@ public virtual Task RolloverAsync(RolloverRequestDescriptor de /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.Serverless.IndexAlias alias, Elastic.Clients.Elasticsearch.Serverless.IndexName? newIndex, CancellationToken cancellationToken = default) { @@ -4189,7 +4189,7 @@ public virtual Task RolloverAsync(Elastic.Clients.Elasticsearc /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.Serverless.IndexAlias alias, Elastic.Clients.Elasticsearch.Serverless.IndexName? newIndex, Action configureRequest, CancellationToken cancellationToken = default) { @@ -4204,7 +4204,7 @@ public virtual Task RolloverAsync(Elastic.Clients.Elasticsearc /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.Serverless.IndexAlias alias, CancellationToken cancellationToken = default) { @@ -4218,7 +4218,7 @@ public virtual Task RolloverAsync(Elastic.Clients.Elasticsearc /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.Serverless.IndexAlias alias, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Ingest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Ingest.g.cs index 665eb1f8ca3..9ccae372b5c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Ingest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Ingest.g.cs @@ -133,7 +133,7 @@ public virtual Task DeletePipelineAsync(Elastic.Clients. /// /// Gets download statistics for GeoIP2 databases used with the geoip processor. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GeoIpStatsAsync(GeoIpStatsRequest request, CancellationToken cancellationToken = default) { @@ -145,7 +145,7 @@ public virtual Task GeoIpStatsAsync(GeoIpStatsRequest reques /// /// Gets download statistics for GeoIP2 databases used with the geoip processor. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GeoIpStatsAsync(GeoIpStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -157,7 +157,7 @@ public virtual Task GeoIpStatsAsync(GeoIpStatsRequestDescrip /// /// Gets download statistics for GeoIP2 databases used with the geoip processor. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GeoIpStatsAsync(CancellationToken cancellationToken = default) { @@ -170,7 +170,7 @@ public virtual Task GeoIpStatsAsync(CancellationToken cancel /// /// Gets download statistics for GeoIP2 databases used with the geoip processor. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GeoIpStatsAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -180,6 +180,150 @@ public virtual Task GeoIpStatsAsync(Action(descriptor, cancellationToken); } + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetGeoipDatabaseAsync(GetGeoipDatabaseRequest request, CancellationToken cancellationToken = default) + { + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetGeoipDatabaseAsync(GetGeoipDatabaseRequestDescriptor descriptor, CancellationToken cancellationToken = default) + { + descriptor.BeforeRequest(); + return DoRequestAsync, GetGeoipDatabaseResponse, GetGeoipDatabaseRequestParameters>(descriptor, cancellationToken); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Serverless.Ids? id, CancellationToken cancellationToken = default) + { + var descriptor = new GetGeoipDatabaseRequestDescriptor(id); + descriptor.BeforeRequest(); + return DoRequestAsync, GetGeoipDatabaseResponse, GetGeoipDatabaseRequestParameters>(descriptor, cancellationToken); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Serverless.Ids? id, Action> configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new GetGeoipDatabaseRequestDescriptor(id); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync, GetGeoipDatabaseResponse, GetGeoipDatabaseRequestParameters>(descriptor, cancellationToken); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetGeoipDatabaseAsync(CancellationToken cancellationToken = default) + { + var descriptor = new GetGeoipDatabaseRequestDescriptor(); + descriptor.BeforeRequest(); + return DoRequestAsync, GetGeoipDatabaseResponse, GetGeoipDatabaseRequestParameters>(descriptor, cancellationToken); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetGeoipDatabaseAsync(Action> configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new GetGeoipDatabaseRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync, GetGeoipDatabaseResponse, GetGeoipDatabaseRequestParameters>(descriptor, cancellationToken); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetGeoipDatabaseAsync(GetGeoipDatabaseRequestDescriptor descriptor, CancellationToken cancellationToken = default) + { + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Serverless.Ids? id, CancellationToken cancellationToken = default) + { + var descriptor = new GetGeoipDatabaseRequestDescriptor(id); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Serverless.Ids? id, Action configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new GetGeoipDatabaseRequestDescriptor(id); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetGeoipDatabaseAsync(CancellationToken cancellationToken = default) + { + var descriptor = new GetGeoipDatabaseRequestDescriptor(); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetGeoipDatabaseAsync(Action configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new GetGeoipDatabaseRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + /// /// /// Returns information about one or more ingest pipelines. @@ -341,7 +485,7 @@ public virtual Task GetPipelineAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ProcessorGrokAsync(ProcessorGrokRequest request, CancellationToken cancellationToken = default) { @@ -355,7 +499,7 @@ public virtual Task ProcessorGrokAsync(ProcessorGrokReque /// You choose which field to extract matched fields from, as well as the grok pattern you expect will match. /// A grok pattern is like a regular expression that supports aliased expressions that can be reused. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ProcessorGrokAsync(ProcessorGrokRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -369,7 +513,7 @@ public virtual Task ProcessorGrokAsync(ProcessorGrokReque /// You choose which field to extract matched fields from, as well as the grok pattern you expect will match. /// A grok pattern is like a regular expression that supports aliased expressions that can be reused. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ProcessorGrokAsync(CancellationToken cancellationToken = default) { @@ -384,7 +528,7 @@ public virtual Task ProcessorGrokAsync(CancellationToken /// You choose which field to extract matched fields from, as well as the grok pattern you expect will match. /// A grok pattern is like a regular expression that supports aliased expressions that can be reused. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ProcessorGrokAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -399,7 +543,7 @@ public virtual Task ProcessorGrokAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(PutPipelineRequest request, CancellationToken cancellationToken = default) { @@ -412,7 +556,7 @@ public virtual Task PutPipelineAsync(PutPipelineRequest req /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(PutPipelineRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -425,7 +569,7 @@ public virtual Task PutPipelineAsync(PutPipeline /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -439,7 +583,7 @@ public virtual Task PutPipelineAsync(Elastic.Cli /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -454,7 +598,7 @@ public virtual Task PutPipelineAsync(Elastic.Cli /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(PutPipelineRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -467,7 +611,7 @@ public virtual Task PutPipelineAsync(PutPipelineRequestDesc /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -481,7 +625,7 @@ public virtual Task PutPipelineAsync(Elastic.Clients.Elasti /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Ml.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Ml.g.cs index 8d7fa0773c4..6f5f2eb4b08 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Ml.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Ml.g.cs @@ -114,7 +114,7 @@ public virtual Task ClearTrainedModelD /// If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. /// When a datafeed that has a specified end date stops, it automatically closes its associated job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseJobAsync(CloseJobRequest request, CancellationToken cancellationToken = default) { @@ -130,7 +130,7 @@ public virtual Task CloseJobAsync(CloseJobRequest request, Can /// If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. /// When a datafeed that has a specified end date stops, it automatically closes its associated job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseJobAsync(CloseJobRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -146,7 +146,7 @@ public virtual Task CloseJobAsync(CloseJobRequestDescriptor de /// If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. /// When a datafeed that has a specified end date stops, it automatically closes its associated job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseJobAsync(Elastic.Clients.Elasticsearch.Serverless.Id jobId, CancellationToken cancellationToken = default) { @@ -163,7 +163,7 @@ public virtual Task CloseJobAsync(Elastic.Clients.Elasticsearc /// If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. /// When a datafeed that has a specified end date stops, it automatically closes its associated job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseJobAsync(Elastic.Clients.Elasticsearch.Serverless.Id jobId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -178,7 +178,7 @@ public virtual Task CloseJobAsync(Elastic.Clients.Elasticsearc /// Delete a calendar. /// Removes all scheduled events from a calendar, then deletes it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarAsync(DeleteCalendarRequest request, CancellationToken cancellationToken = default) { @@ -191,7 +191,7 @@ public virtual Task DeleteCalendarAsync(DeleteCalendarRe /// Delete a calendar. /// Removes all scheduled events from a calendar, then deletes it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarAsync(DeleteCalendarRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -204,7 +204,7 @@ public virtual Task DeleteCalendarAsync(DeleteCalendarRe /// Delete a calendar. /// Removes all scheduled events from a calendar, then deletes it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarAsync(Elastic.Clients.Elasticsearch.Serverless.Id calendarId, CancellationToken cancellationToken = default) { @@ -218,7 +218,7 @@ public virtual Task DeleteCalendarAsync(Elastic.Clients. /// Delete a calendar. /// Removes all scheduled events from a calendar, then deletes it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarAsync(Elastic.Clients.Elasticsearch.Serverless.Id calendarId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -232,7 +232,7 @@ public virtual Task DeleteCalendarAsync(Elastic.Clients. /// /// Delete events from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarEventAsync(DeleteCalendarEventRequest request, CancellationToken cancellationToken = default) { @@ -244,7 +244,7 @@ public virtual Task DeleteCalendarEventAsync(Delete /// /// Delete events from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarEventAsync(DeleteCalendarEventRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -256,7 +256,7 @@ public virtual Task DeleteCalendarEventAsync(Delete /// /// Delete events from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarEventAsync(Elastic.Clients.Elasticsearch.Serverless.Id calendarId, Elastic.Clients.Elasticsearch.Serverless.Id eventId, CancellationToken cancellationToken = default) { @@ -269,7 +269,7 @@ public virtual Task DeleteCalendarEventAsync(Elasti /// /// Delete events from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarEventAsync(Elastic.Clients.Elasticsearch.Serverless.Id calendarId, Elastic.Clients.Elasticsearch.Serverless.Id eventId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -283,7 +283,7 @@ public virtual Task DeleteCalendarEventAsync(Elasti /// /// Delete anomaly jobs from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarJobAsync(DeleteCalendarJobRequest request, CancellationToken cancellationToken = default) { @@ -295,7 +295,7 @@ public virtual Task DeleteCalendarJobAsync(DeleteCale /// /// Delete anomaly jobs from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarJobAsync(DeleteCalendarJobRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -307,7 +307,7 @@ public virtual Task DeleteCalendarJobAsync(DeleteCale /// /// Delete anomaly jobs from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarJobAsync(Elastic.Clients.Elasticsearch.Serverless.Id calendarId, Elastic.Clients.Elasticsearch.Serverless.Ids jobId, CancellationToken cancellationToken = default) { @@ -320,7 +320,7 @@ public virtual Task DeleteCalendarJobAsync(Elastic.Cl /// /// Delete anomaly jobs from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarJobAsync(Elastic.Clients.Elasticsearch.Serverless.Id calendarId, Elastic.Clients.Elasticsearch.Serverless.Ids jobId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -334,7 +334,7 @@ public virtual Task DeleteCalendarJobAsync(Elastic.Cl /// /// Delete a datafeed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDatafeedAsync(DeleteDatafeedRequest request, CancellationToken cancellationToken = default) { @@ -346,7 +346,7 @@ public virtual Task DeleteDatafeedAsync(DeleteDatafeedRe /// /// Delete a datafeed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDatafeedAsync(DeleteDatafeedRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -358,7 +358,7 @@ public virtual Task DeleteDatafeedAsync(DeleteDatafeedRe /// /// Delete a datafeed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDatafeedAsync(Elastic.Clients.Elasticsearch.Serverless.Id datafeedId, CancellationToken cancellationToken = default) { @@ -371,7 +371,7 @@ public virtual Task DeleteDatafeedAsync(Elastic.Clients. /// /// Delete a datafeed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDatafeedAsync(Elastic.Clients.Elasticsearch.Serverless.Id datafeedId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -385,7 +385,7 @@ public virtual Task DeleteDatafeedAsync(Elastic.Clients. /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(DeleteDataFrameAnalyticsRequest request, CancellationToken cancellationToken = default) { @@ -397,7 +397,7 @@ public virtual Task DeleteDataFrameAnalyticsAs /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(DeleteDataFrameAnalyticsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -409,7 +409,7 @@ public virtual Task DeleteDataFrameAnalyticsAs /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -422,7 +422,7 @@ public virtual Task DeleteDataFrameAnalyticsAs /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -436,7 +436,7 @@ public virtual Task DeleteDataFrameAnalyticsAs /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(DeleteDataFrameAnalyticsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -448,7 +448,7 @@ public virtual Task DeleteDataFrameAnalyticsAs /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -461,7 +461,7 @@ public virtual Task DeleteDataFrameAnalyticsAs /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action configureRequest, CancellationToken cancellationToken = default) { @@ -4421,7 +4421,7 @@ public virtual Task PutDatafeedAsync(Elastic.Clients.Elasti /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(PutDataFrameAnalyticsRequest request, CancellationToken cancellationToken = default) { @@ -4435,7 +4435,7 @@ public virtual Task PutDataFrameAnalyticsAsync(Pu /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(PutDataFrameAnalyticsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -4449,7 +4449,7 @@ public virtual Task PutDataFrameAnalyticsAsync - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -4464,7 +4464,7 @@ public virtual Task PutDataFrameAnalyticsAsync - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -4480,7 +4480,7 @@ public virtual Task PutDataFrameAnalyticsAsync - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(PutDataFrameAnalyticsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -4494,7 +4494,7 @@ public virtual Task PutDataFrameAnalyticsAsync(Pu /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -4509,7 +4509,7 @@ public virtual Task PutDataFrameAnalyticsAsync(El /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Nodes.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Nodes.g.cs index 747843a3c0c..545ba98ec16 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Nodes.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Nodes.g.cs @@ -44,7 +44,7 @@ internal NodesNamespacedClient(ElasticsearchClient client) : base(client) /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HotThreadsAsync(HotThreadsRequest request, CancellationToken cancellationToken = default) { @@ -57,7 +57,7 @@ public virtual Task HotThreadsAsync(HotThreadsRequest reques /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HotThreadsAsync(HotThreadsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -70,7 +70,7 @@ public virtual Task HotThreadsAsync(HotThreadsRequestDescrip /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HotThreadsAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, CancellationToken cancellationToken = default) { @@ -84,7 +84,7 @@ public virtual Task HotThreadsAsync(Elastic.Clients.Elastics /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HotThreadsAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -99,7 +99,7 @@ public virtual Task HotThreadsAsync(Elastic.Clients.Elastics /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HotThreadsAsync(CancellationToken cancellationToken = default) { @@ -113,7 +113,7 @@ public virtual Task HotThreadsAsync(CancellationToken cancel /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HotThreadsAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -127,7 +127,7 @@ public virtual Task HotThreadsAsync(Action /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(NodesInfoRequest request, CancellationToken cancellationToken = default) { @@ -139,7 +139,7 @@ public virtual Task InfoAsync(NodesInfoRequest request, Cance /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(NodesInfoRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -151,7 +151,7 @@ public virtual Task InfoAsync(NodesInfoRequestDescriptor desc /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Serverless.Metrics? metric, CancellationToken cancellationToken = default) { @@ -164,7 +164,7 @@ public virtual Task InfoAsync(Elastic.Clients.Elasticsearch.S /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Serverless.Metrics? metric, Action configureRequest, CancellationToken cancellationToken = default) { @@ -178,7 +178,7 @@ public virtual Task InfoAsync(Elastic.Clients.Elasticsearch.S /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(CancellationToken cancellationToken = default) { @@ -191,7 +191,7 @@ public virtual Task InfoAsync(CancellationToken cancellationT /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -205,7 +205,7 @@ public virtual Task InfoAsync(Action /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(NodesStatsRequest request, CancellationToken cancellationToken = default) { @@ -217,7 +217,7 @@ public virtual Task StatsAsync(NodesStatsRequest request, Ca /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(NodesStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -229,7 +229,7 @@ public virtual Task StatsAsync(NodesStatsRequestD /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Serverless.Metrics? metric, Elastic.Clients.Elasticsearch.Serverless.Metrics? indexMetric, CancellationToken cancellationToken = default) { @@ -242,7 +242,7 @@ public virtual Task StatsAsync(Elastic.Clients.El /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Serverless.Metrics? metric, Elastic.Clients.Elasticsearch.Serverless.Metrics? indexMetric, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -256,7 +256,7 @@ public virtual Task StatsAsync(Elastic.Clients.El /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(CancellationToken cancellationToken = default) { @@ -269,7 +269,7 @@ public virtual Task StatsAsync(CancellationToken /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -283,7 +283,7 @@ public virtual Task StatsAsync(Action /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(NodesStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -295,7 +295,7 @@ public virtual Task StatsAsync(NodesStatsRequestDescriptor d /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Serverless.Metrics? metric, Elastic.Clients.Elasticsearch.Serverless.Metrics? indexMetric, CancellationToken cancellationToken = default) { @@ -308,7 +308,7 @@ public virtual Task StatsAsync(Elastic.Clients.Elasticsearch /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Serverless.Metrics? metric, Elastic.Clients.Elasticsearch.Serverless.Metrics? indexMetric, Action configureRequest, CancellationToken cancellationToken = default) { @@ -322,7 +322,7 @@ public virtual Task StatsAsync(Elastic.Clients.Elasticsearch /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(CancellationToken cancellationToken = default) { @@ -335,7 +335,7 @@ public virtual Task StatsAsync(CancellationToken cancellatio /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -349,7 +349,7 @@ public virtual Task StatsAsync(Action /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UsageAsync(NodesUsageRequest request, CancellationToken cancellationToken = default) { @@ -361,7 +361,7 @@ public virtual Task UsageAsync(NodesUsageRequest request, Ca /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UsageAsync(NodesUsageRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -373,7 +373,7 @@ public virtual Task UsageAsync(NodesUsageRequestDescriptor d /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UsageAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Serverless.Metrics? metric, CancellationToken cancellationToken = default) { @@ -386,7 +386,7 @@ public virtual Task UsageAsync(Elastic.Clients.Elasticsearch /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UsageAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Serverless.Metrics? metric, Action configureRequest, CancellationToken cancellationToken = default) { @@ -400,7 +400,7 @@ public virtual Task UsageAsync(Elastic.Clients.Elasticsearch /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UsageAsync(CancellationToken cancellationToken = default) { @@ -413,7 +413,7 @@ public virtual Task UsageAsync(CancellationToken cancellatio /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UsageAsync(Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.g.cs index e422ade31e7..afed21e35c8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.g.cs @@ -97,7 +97,7 @@ private partial void SetupNamespaces() /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(BulkRequest request, CancellationToken cancellationToken = default) { @@ -111,7 +111,7 @@ public virtual Task BulkAsync(BulkRequest request, CancellationTok /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(BulkRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -125,7 +125,7 @@ public virtual Task BulkAsync(BulkRequestDescriptor - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName? index, CancellationToken cancellationToken = default) { @@ -140,7 +140,7 @@ public virtual Task BulkAsync(Elastic.Clients.Elasticse /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName? index, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -156,7 +156,7 @@ public virtual Task BulkAsync(Elastic.Clients.Elasticse /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(CancellationToken cancellationToken = default) { @@ -171,7 +171,7 @@ public virtual Task BulkAsync(CancellationToken cancell /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -187,7 +187,7 @@ public virtual Task BulkAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(BulkRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -201,7 +201,7 @@ public virtual Task BulkAsync(BulkRequestDescriptor descriptor, Ca /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName? index, CancellationToken cancellationToken = default) { @@ -216,7 +216,7 @@ public virtual Task BulkAsync(Elastic.Clients.Elasticsearch.Server /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName? index, Action configureRequest, CancellationToken cancellationToken = default) { @@ -232,7 +232,7 @@ public virtual Task BulkAsync(Elastic.Clients.Elasticsearch.Server /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(CancellationToken cancellationToken = default) { @@ -247,7 +247,7 @@ public virtual Task BulkAsync(CancellationToken cancellationToken /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -261,7 +261,7 @@ public virtual Task BulkAsync(Action config /// /// Clears the search context and results for a scrolling search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClearScrollAsync(ClearScrollRequest request, CancellationToken cancellationToken = default) { @@ -273,7 +273,7 @@ public virtual Task ClearScrollAsync(ClearScrollRequest req /// /// Clears the search context and results for a scrolling search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClearScrollAsync(ClearScrollRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -285,7 +285,7 @@ public virtual Task ClearScrollAsync(ClearScrollRequestDesc /// /// Clears the search context and results for a scrolling search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClearScrollAsync(CancellationToken cancellationToken = default) { @@ -298,7 +298,7 @@ public virtual Task ClearScrollAsync(CancellationToken canc /// /// Clears the search context and results for a scrolling search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClearScrollAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -312,7 +312,7 @@ public virtual Task ClearScrollAsync(Action /// Closes a point-in-time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClosePointInTimeAsync(ClosePointInTimeRequest request, CancellationToken cancellationToken = default) { @@ -324,7 +324,7 @@ public virtual Task ClosePointInTimeAsync(ClosePointIn /// /// Closes a point-in-time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClosePointInTimeAsync(ClosePointInTimeRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -336,7 +336,7 @@ public virtual Task ClosePointInTimeAsync(ClosePointIn /// /// Closes a point-in-time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClosePointInTimeAsync(CancellationToken cancellationToken = default) { @@ -349,7 +349,7 @@ public virtual Task ClosePointInTimeAsync(Cancellation /// /// Closes a point-in-time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClosePointInTimeAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -3016,7 +3016,7 @@ public virtual Task> MultiSearchTemplateA /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(OpenPointInTimeRequest request, CancellationToken cancellationToken = default) { @@ -3033,7 +3033,7 @@ public virtual Task OpenPointInTimeAsync(OpenPointInTim /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(OpenPointInTimeRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -3050,7 +3050,7 @@ public virtual Task OpenPointInTimeAsync(Ope /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, CancellationToken cancellationToken = default) { @@ -3068,7 +3068,7 @@ public virtual Task OpenPointInTimeAsync(Ela /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -3087,7 +3087,7 @@ public virtual Task OpenPointInTimeAsync(Ela /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(CancellationToken cancellationToken = default) { @@ -3105,7 +3105,7 @@ public virtual Task OpenPointInTimeAsync(Can /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -3124,7 +3124,7 @@ public virtual Task OpenPointInTimeAsync(Act /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(OpenPointInTimeRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -3141,7 +3141,7 @@ public virtual Task OpenPointInTimeAsync(OpenPointInTim /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, CancellationToken cancellationToken = default) { @@ -3159,7 +3159,7 @@ public virtual Task OpenPointInTimeAsync(Elastic.Client /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/Normalizers.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/Normalizers.g.cs index c7d6da67333..7edf328e1ba 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/Normalizers.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/Normalizers.g.cs @@ -122,7 +122,7 @@ public override void Write(Utf8JsonWriter writer, INormalizer value, JsonSeriali } /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// [JsonConverter(typeof(NormalizerInterfaceConverter))] public partial interface INormalizer diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/PhoneticTokenFilter.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/PhoneticTokenFilter.g.cs index e5d6c3f9add..3a1e45c2e51 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/PhoneticTokenFilter.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/PhoneticTokenFilter.g.cs @@ -33,15 +33,15 @@ public sealed partial class PhoneticTokenFilter : ITokenFilter public Elastic.Clients.Elasticsearch.Serverless.Analysis.PhoneticEncoder Encoder { get; set; } [JsonInclude, JsonPropertyName("languageset")] [SingleOrManyCollectionConverter(typeof(Elastic.Clients.Elasticsearch.Serverless.Analysis.PhoneticLanguage))] - public ICollection Languageset { get; set; } + public ICollection? Languageset { get; set; } [JsonInclude, JsonPropertyName("max_code_len")] public int? MaxCodeLen { get; set; } [JsonInclude, JsonPropertyName("name_type")] - public Elastic.Clients.Elasticsearch.Serverless.Analysis.PhoneticNameType NameType { get; set; } + public Elastic.Clients.Elasticsearch.Serverless.Analysis.PhoneticNameType? NameType { get; set; } [JsonInclude, JsonPropertyName("replace")] public bool? Replace { get; set; } [JsonInclude, JsonPropertyName("rule_type")] - public Elastic.Clients.Elasticsearch.Serverless.Analysis.PhoneticRuleType RuleType { get; set; } + public Elastic.Clients.Elasticsearch.Serverless.Analysis.PhoneticRuleType? RuleType { get; set; } [JsonInclude, JsonPropertyName("type")] public string Type => "phonetic"; @@ -59,11 +59,11 @@ public PhoneticTokenFilterDescriptor() : base() } private Elastic.Clients.Elasticsearch.Serverless.Analysis.PhoneticEncoder EncoderValue { get; set; } - private ICollection LanguagesetValue { get; set; } + private ICollection? LanguagesetValue { get; set; } private int? MaxCodeLenValue { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.Analysis.PhoneticNameType NameTypeValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Analysis.PhoneticNameType? NameTypeValue { get; set; } private bool? ReplaceValue { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.Analysis.PhoneticRuleType RuleTypeValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Analysis.PhoneticRuleType? RuleTypeValue { get; set; } private string? VersionValue { get; set; } public PhoneticTokenFilterDescriptor Encoder(Elastic.Clients.Elasticsearch.Serverless.Analysis.PhoneticEncoder encoder) @@ -72,7 +72,7 @@ public PhoneticTokenFilterDescriptor Encoder(Elastic.Clients.Elasticsearch.Serve return Self; } - public PhoneticTokenFilterDescriptor Languageset(ICollection languageset) + public PhoneticTokenFilterDescriptor Languageset(ICollection? languageset) { LanguagesetValue = languageset; return Self; @@ -84,7 +84,7 @@ public PhoneticTokenFilterDescriptor MaxCodeLen(int? maxCodeLen) return Self; } - public PhoneticTokenFilterDescriptor NameType(Elastic.Clients.Elasticsearch.Serverless.Analysis.PhoneticNameType nameType) + public PhoneticTokenFilterDescriptor NameType(Elastic.Clients.Elasticsearch.Serverless.Analysis.PhoneticNameType? nameType) { NameTypeValue = nameType; return Self; @@ -96,7 +96,7 @@ public PhoneticTokenFilterDescriptor Replace(bool? replace = true) return Self; } - public PhoneticTokenFilterDescriptor RuleType(Elastic.Clients.Elasticsearch.Serverless.Analysis.PhoneticRuleType ruleType) + public PhoneticTokenFilterDescriptor RuleType(Elastic.Clients.Elasticsearch.Serverless.Analysis.PhoneticRuleType? ruleType) { RuleTypeValue = ruleType; return Self; @@ -113,24 +113,36 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStartObject(); writer.WritePropertyName("encoder"); JsonSerializer.Serialize(writer, EncoderValue, options); - writer.WritePropertyName("languageset"); - SingleOrManySerializationHelper.Serialize(LanguagesetValue, writer, options); + if (LanguagesetValue is not null) + { + writer.WritePropertyName("languageset"); + SingleOrManySerializationHelper.Serialize(LanguagesetValue, writer, options); + } + if (MaxCodeLenValue.HasValue) { writer.WritePropertyName("max_code_len"); writer.WriteNumberValue(MaxCodeLenValue.Value); } - writer.WritePropertyName("name_type"); - JsonSerializer.Serialize(writer, NameTypeValue, options); + if (NameTypeValue is not null) + { + writer.WritePropertyName("name_type"); + JsonSerializer.Serialize(writer, NameTypeValue, options); + } + if (ReplaceValue.HasValue) { writer.WritePropertyName("replace"); writer.WriteBooleanValue(ReplaceValue.Value); } - writer.WritePropertyName("rule_type"); - JsonSerializer.Serialize(writer, RuleTypeValue, options); + if (RuleTypeValue is not null) + { + writer.WritePropertyName("rule_type"); + JsonSerializer.Serialize(writer, RuleTypeValue, options); + } + writer.WritePropertyName("type"); writer.WriteStringValue("phonetic"); if (!string.IsNullOrEmpty(VersionValue)) diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/ByteSize.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/ByteSize.g.cs index c161ff5cb5f..b2d4e9e7d50 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/ByteSize.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/ByteSize.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class ByteSize : Union { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Context.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Context.g.cs index 8fdad13fb9d..c078dc59136 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Context.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Context.g.cs @@ -34,7 +34,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Core.Search; /// /// Text or location that we want similar documents for or a lookup to a document's field for the text. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class Context : Union { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricDiscountedCumulativeGain.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricDiscountedCumulativeGain.g.cs index 615d4356cf6..9d1ac592068 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricDiscountedCumulativeGain.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricDiscountedCumulativeGain.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Core.RankEval; /// /// Discounted cumulative gain (DCG) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricDiscountedCumulativeGain { @@ -56,7 +56,7 @@ public sealed partial class RankEvalMetricDiscountedCumulativeGain /// /// Discounted cumulative gain (DCG) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricDiscountedCumulativeGainDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricExpectedReciprocalRank.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricExpectedReciprocalRank.g.cs index 1316267b831..9399ba7a53b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricExpectedReciprocalRank.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricExpectedReciprocalRank.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Core.RankEval; /// /// Expected Reciprocal Rank (ERR) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricExpectedReciprocalRank { @@ -56,7 +56,7 @@ public sealed partial class RankEvalMetricExpectedReciprocalRank /// /// Expected Reciprocal Rank (ERR) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricExpectedReciprocalRankDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricMeanReciprocalRank.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricMeanReciprocalRank.g.cs index 75255541725..424a709eb1a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricMeanReciprocalRank.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricMeanReciprocalRank.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Core.RankEval; /// /// Mean Reciprocal Rank /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricMeanReciprocalRank { @@ -56,7 +56,7 @@ public sealed partial class RankEvalMetricMeanReciprocalRank /// /// Mean Reciprocal Rank /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricMeanReciprocalRankDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricPrecision.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricPrecision.g.cs index defa0222f92..2f539197a3e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricPrecision.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricPrecision.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Core.RankEval; /// /// Precision at K (P@k) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricPrecision { @@ -64,7 +64,7 @@ public sealed partial class RankEvalMetricPrecision /// /// Precision at K (P@k) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricPrecisionDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricRecall.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricRecall.g.cs index 5520df8f82b..795cc695623 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricRecall.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricRecall.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Core.RankEval; /// /// Recall at K (R@k) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricRecall { @@ -56,7 +56,7 @@ public sealed partial class RankEvalMetricRecall /// /// Recall at K (R@k) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricRecallDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Fuzziness.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Fuzziness.g.cs index a285d54e8e5..55076a1833e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Fuzziness.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Fuzziness.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class Fuzziness : Union { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/IndexSettings.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/IndexSettings.g.cs index 4fe509576f3..d006d71418f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/IndexSettings.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/IndexSettings.g.cs @@ -739,7 +739,7 @@ public override void Write(Utf8JsonWriter writer, IndexSettings value, JsonSeria } /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// [JsonConverter(typeof(IndexSettingsConverter))] public sealed partial class IndexSettings @@ -840,7 +840,7 @@ public sealed partial class IndexSettings } /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class IndexSettingsDescriptor : SerializableDescriptor> { @@ -2277,7 +2277,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class IndexSettingsDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettings.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettings.g.cs index f98973e026a..e0a1a5e6a2f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettings.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettings.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; /// /// Mapping Limit Settings /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class MappingLimitSettings { @@ -57,7 +57,7 @@ public sealed partial class MappingLimitSettings /// /// Mapping Limit Settings /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class MappingLimitSettingsDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/DatabaseConfiguration.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/DatabaseConfiguration.g.cs new file mode 100644 index 00000000000..80cedf53bce --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/DatabaseConfiguration.g.cs @@ -0,0 +1,36 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Ingest; + +public sealed partial class DatabaseConfiguration +{ + [JsonInclude, JsonPropertyName("maxmind")] + public Elastic.Clients.Elasticsearch.Serverless.Ingest.Maxmind Maxmind { get; init; } + [JsonInclude, JsonPropertyName("name")] + public string Name { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/DatabaseConfigurationMetadata.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/DatabaseConfigurationMetadata.g.cs new file mode 100644 index 00000000000..2df0f06fda8 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/DatabaseConfigurationMetadata.g.cs @@ -0,0 +1,40 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Ingest; + +public sealed partial class DatabaseConfigurationMetadata +{ + [JsonInclude, JsonPropertyName("database")] + public Elastic.Clients.Elasticsearch.Serverless.Ingest.DatabaseConfiguration Database { get; init; } + [JsonInclude, JsonPropertyName("id")] + public string Id { get; init; } + [JsonInclude, JsonPropertyName("modified_date_millis")] + public long ModifiedDateMillis { get; init; } + [JsonInclude, JsonPropertyName("version")] + public long Version { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Maxmind.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Maxmind.g.cs new file mode 100644 index 00000000000..3a6b1d43864 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Maxmind.g.cs @@ -0,0 +1,34 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Ingest; + +public sealed partial class Maxmind +{ + [JsonInclude, JsonPropertyName("account_id")] + public string AccountId { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/GeoShapeProperty.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/GeoShapeProperty.g.cs index 3d1abb7614f..122cfe6d38f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/GeoShapeProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/GeoShapeProperty.g.cs @@ -32,7 +32,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Mapping; /// The geo_shape data type facilitates the indexing of and searching with arbitrary geo shapes such as rectangles /// and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class GeoShapeProperty : IProperty { @@ -81,7 +81,7 @@ public sealed partial class GeoShapeProperty : IProperty /// The geo_shape data type facilitates the indexing of and searching with arbitrary geo shapes such as rectangles /// and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class GeoShapePropertyDescriptor : SerializableDescriptor>, IBuildableDescriptor { @@ -339,7 +339,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// The geo_shape data type facilitates the indexing of and searching with arbitrary geo shapes such as rectangles /// and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class GeoShapePropertyDescriptor : SerializableDescriptor, IBuildableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/ShapeProperty.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/ShapeProperty.g.cs index 9472aa4b4ba..455ef9dbc20 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/ShapeProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/ShapeProperty.g.cs @@ -32,7 +32,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Mapping; /// The shape data type facilitates the indexing of and searching with arbitrary x, y cartesian shapes such as /// rectangles and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class ShapeProperty : IProperty { @@ -79,7 +79,7 @@ public sealed partial class ShapeProperty : IProperty /// The shape data type facilitates the indexing of and searching with arbitrary x, y cartesian shapes such as /// rectangles and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class ShapePropertyDescriptor : SerializableDescriptor>, IBuildableDescriptor { @@ -323,7 +323,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// The shape data type facilitates the indexing of and searching with arbitrary x, y cartesian shapes such as /// rectangles and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class ShapePropertyDescriptor : SerializableDescriptor, IBuildableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Like.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Like.g.cs index ef243c82d7a..afdf01fd760 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Like.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Like.g.cs @@ -34,7 +34,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.QueryDsl; /// /// Text that we want similar documents for or a lookup to a document's field for the text. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class Like : Union { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Query.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Query.g.cs index 792467a2dea..dda17d5a3bb 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Query.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Query.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.QueryDsl; /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// [JsonConverter(typeof(QueryConverter))] public sealed partial class Query diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ApiUrlLookup.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ApiUrlLookup.g.cs index 5d13d50a126..9ff3cbf6f78 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ApiUrlLookup.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ApiUrlLookup.g.cs @@ -137,6 +137,7 @@ internal static class ApiUrlLookup internal static ApiUrls InferencePut = new ApiUrls(new[] { "_inference/{inference_id}", "_inference/{task_type}/{inference_id}" }); internal static ApiUrls IngestDeletePipeline = new ApiUrls(new[] { "_ingest/pipeline/{id}" }); internal static ApiUrls IngestGeoIpStats = new ApiUrls(new[] { "_ingest/geoip/stats" }); + internal static ApiUrls IngestGetGeoipDatabase = new ApiUrls(new[] { "_ingest/geoip/database", "_ingest/geoip/database/{id}" }); internal static ApiUrls IngestGetPipeline = new ApiUrls(new[] { "_ingest/pipeline", "_ingest/pipeline/{id}" }); internal static ApiUrls IngestProcessorGrok = new ApiUrls(new[] { "_ingest/processor/grok" }); internal static ApiUrls IngestPutPipeline = new ApiUrls(new[] { "_ingest/pipeline/{id}" }); @@ -269,9 +270,12 @@ internal static class ApiUrlLookup internal static ApiUrls NoNamespaceUpdate = new ApiUrls(new[] { "{index}/_update/{id}" }); internal static ApiUrls NoNamespaceUpdateByQuery = new ApiUrls(new[] { "{index}/_update_by_query" }); internal static ApiUrls NoNamespaceUpdateByQueryRethrottle = new ApiUrls(new[] { "_update_by_query/{task_id}/_rethrottle" }); + internal static ApiUrls QueryRulesDeleteRule = new ApiUrls(new[] { "_query_rules/{ruleset_id}/_rule/{rule_id}" }); internal static ApiUrls QueryRulesDeleteRuleset = new ApiUrls(new[] { "_query_rules/{ruleset_id}" }); + internal static ApiUrls QueryRulesGetRule = new ApiUrls(new[] { "_query_rules/{ruleset_id}/_rule/{rule_id}" }); internal static ApiUrls QueryRulesGetRuleset = new ApiUrls(new[] { "_query_rules/{ruleset_id}" }); internal static ApiUrls QueryRulesListRulesets = new ApiUrls(new[] { "_query_rules" }); + internal static ApiUrls QueryRulesPutRule = new ApiUrls(new[] { "_query_rules/{ruleset_id}/_rule/{rule_id}" }); internal static ApiUrls QueryRulesPutRuleset = new ApiUrls(new[] { "_query_rules/{ruleset_id}" }); internal static ApiUrls RollupDeleteJob = new ApiUrls(new[] { "_rollup/job/{id}" }); internal static ApiUrls RollupGetJobs = new ApiUrls(new[] { "_rollup/job/{id}", "_rollup/job" }); @@ -295,6 +299,8 @@ internal static class ApiUrlLookup internal static ApiUrls SearchApplicationSearch = new ApiUrls(new[] { "_application/search_application/{name}/_search" }); internal static ApiUrls SecurityActivateUserProfile = new ApiUrls(new[] { "_security/profile/_activate" }); internal static ApiUrls SecurityAuthenticate = new ApiUrls(new[] { "_security/_authenticate" }); + internal static ApiUrls SecurityBulkDeleteRole = new ApiUrls(new[] { "_security/role" }); + internal static ApiUrls SecurityBulkPutRole = new ApiUrls(new[] { "_security/role" }); internal static ApiUrls SecurityChangePassword = new ApiUrls(new[] { "_security/user/{username}/_password", "_security/user/_password" }); internal static ApiUrls SecurityClearApiKeyCache = new ApiUrls(new[] { "_security/api_key/{ids}/_clear_cache" }); internal static ApiUrls SecurityClearCachedPrivileges = new ApiUrls(new[] { "_security/privilege/{application}/_clear_cache" }); @@ -335,6 +341,7 @@ internal static class ApiUrlLookup internal static ApiUrls SecurityPutRoleMapping = new ApiUrls(new[] { "_security/role_mapping/{name}" }); internal static ApiUrls SecurityPutUser = new ApiUrls(new[] { "_security/user/{username}" }); internal static ApiUrls SecurityQueryApiKeys = new ApiUrls(new[] { "_security/_query/api_key" }); + internal static ApiUrls SecurityQueryRole = new ApiUrls(new[] { "_security/_query/role" }); internal static ApiUrls SecurityQueryUser = new ApiUrls(new[] { "_security/_query/user" }); internal static ApiUrls SecuritySamlAuthenticate = new ApiUrls(new[] { "_security/saml/authenticate" }); internal static ApiUrls SecuritySamlCompleteLogout = new ApiUrls(new[] { "_security/saml/complete_logout" }); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs new file mode 100644 index 00000000000..2bd1e46f6b7 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs @@ -0,0 +1,150 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Requests; +using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Ingest; + +public sealed partial class GetGeoipDatabaseRequestParameters : RequestParameters +{ + /// + /// + /// Period to wait for a connection to the master node. + /// If no response is received before the timeout expires, the request fails and returns an error. + /// + /// + public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } +} + +/// +/// +/// Returns information about one or more geoip database configurations. +/// +/// +public sealed partial class GetGeoipDatabaseRequest : PlainRequest +{ + public GetGeoipDatabaseRequest() + { + } + + public GetGeoipDatabaseRequest(Elastic.Clients.Elasticsearch.Ids? id) : base(r => r.Optional("id", id)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.IngestGetGeoipDatabase; + + protected override HttpMethod StaticHttpMethod => HttpMethod.GET; + + internal override bool SupportsBody => false; + + internal override string OperationName => "ingest.get_geoip_database"; + + /// + /// + /// Period to wait for a connection to the master node. + /// If no response is received before the timeout expires, the request fails and returns an error. + /// + /// + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } +} + +/// +/// +/// Returns information about one or more geoip database configurations. +/// +/// +public sealed partial class GetGeoipDatabaseRequestDescriptor : RequestDescriptor, GetGeoipDatabaseRequestParameters> +{ + internal GetGeoipDatabaseRequestDescriptor(Action> configure) => configure.Invoke(this); + + public GetGeoipDatabaseRequestDescriptor(Elastic.Clients.Elasticsearch.Ids? id) : base(r => r.Optional("id", id)) + { + } + + public GetGeoipDatabaseRequestDescriptor() + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.IngestGetGeoipDatabase; + + protected override HttpMethod StaticHttpMethod => HttpMethod.GET; + + internal override bool SupportsBody => false; + + internal override string OperationName => "ingest.get_geoip_database"; + + public GetGeoipDatabaseRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? masterTimeout) => Qs("master_timeout", masterTimeout); + + public GetGeoipDatabaseRequestDescriptor Id(Elastic.Clients.Elasticsearch.Ids? id) + { + RouteValues.Optional("id", id); + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + } +} + +/// +/// +/// Returns information about one or more geoip database configurations. +/// +/// +public sealed partial class GetGeoipDatabaseRequestDescriptor : RequestDescriptor +{ + internal GetGeoipDatabaseRequestDescriptor(Action configure) => configure.Invoke(this); + + public GetGeoipDatabaseRequestDescriptor(Elastic.Clients.Elasticsearch.Ids? id) : base(r => r.Optional("id", id)) + { + } + + public GetGeoipDatabaseRequestDescriptor() + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.IngestGetGeoipDatabase; + + protected override HttpMethod StaticHttpMethod => HttpMethod.GET; + + internal override bool SupportsBody => false; + + internal override string OperationName => "ingest.get_geoip_database"; + + public GetGeoipDatabaseRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? masterTimeout) => Qs("master_timeout", masterTimeout); + + public GetGeoipDatabaseRequestDescriptor Id(Elastic.Clients.Elasticsearch.Ids? id) + { + RouteValues.Optional("id", id); + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetGeoipDatabaseResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetGeoipDatabaseResponse.g.cs new file mode 100644 index 00000000000..e0310e524bc --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetGeoipDatabaseResponse.g.cs @@ -0,0 +1,33 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport.Products.Elasticsearch; +using System; +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Ingest; + +public sealed partial class GetGeoipDatabaseResponse : ElasticsearchResponse +{ + [JsonInclude, JsonPropertyName("databases")] + public IReadOnlyCollection Databases { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRuleRequest.g.cs new file mode 100644 index 00000000000..18a81286bbb --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRuleRequest.g.cs @@ -0,0 +1,92 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Requests; +using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.QueryRules; + +public sealed partial class DeleteRuleRequestParameters : RequestParameters +{ +} + +/// +/// +/// Deletes a query rule within a query ruleset. +/// +/// +public sealed partial class DeleteRuleRequest : PlainRequest +{ + public DeleteRuleRequest(Elastic.Clients.Elasticsearch.Id rulesetId, Elastic.Clients.Elasticsearch.Id ruleId) : base(r => r.Required("ruleset_id", rulesetId).Required("rule_id", ruleId)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.QueryRulesDeleteRule; + + protected override HttpMethod StaticHttpMethod => HttpMethod.DELETE; + + internal override bool SupportsBody => false; + + internal override string OperationName => "query_rules.delete_rule"; +} + +/// +/// +/// Deletes a query rule within a query ruleset. +/// +/// +public sealed partial class DeleteRuleRequestDescriptor : RequestDescriptor +{ + internal DeleteRuleRequestDescriptor(Action configure) => configure.Invoke(this); + + public DeleteRuleRequestDescriptor(Elastic.Clients.Elasticsearch.Id rulesetId, Elastic.Clients.Elasticsearch.Id ruleId) : base(r => r.Required("ruleset_id", rulesetId).Required("rule_id", ruleId)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.QueryRulesDeleteRule; + + protected override HttpMethod StaticHttpMethod => HttpMethod.DELETE; + + internal override bool SupportsBody => false; + + internal override string OperationName => "query_rules.delete_rule"; + + public DeleteRuleRequestDescriptor RuleId(Elastic.Clients.Elasticsearch.Id ruleId) + { + RouteValues.Required("rule_id", ruleId); + return Self; + } + + public DeleteRuleRequestDescriptor RulesetId(Elastic.Clients.Elasticsearch.Id rulesetId) + { + RouteValues.Required("ruleset_id", rulesetId); + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRuleResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRuleResponse.g.cs new file mode 100644 index 00000000000..cd36153036e --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRuleResponse.g.cs @@ -0,0 +1,38 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport.Products.Elasticsearch; +using System; +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.QueryRules; + +public sealed partial class DeleteRuleResponse : ElasticsearchResponse +{ + /// + /// + /// For a successful response, this value is always true. On failure, an exception is returned instead. + /// + /// + [JsonInclude, JsonPropertyName("acknowledged")] + public bool Acknowledged { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRuleRequest.g.cs new file mode 100644 index 00000000000..2e9a351e3ca --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRuleRequest.g.cs @@ -0,0 +1,92 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Requests; +using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.QueryRules; + +public sealed partial class GetRuleRequestParameters : RequestParameters +{ +} + +/// +/// +/// Returns the details about a query rule within a query ruleset +/// +/// +public sealed partial class GetRuleRequest : PlainRequest +{ + public GetRuleRequest(Elastic.Clients.Elasticsearch.Id rulesetId, Elastic.Clients.Elasticsearch.Id ruleId) : base(r => r.Required("ruleset_id", rulesetId).Required("rule_id", ruleId)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.QueryRulesGetRule; + + protected override HttpMethod StaticHttpMethod => HttpMethod.GET; + + internal override bool SupportsBody => false; + + internal override string OperationName => "query_rules.get_rule"; +} + +/// +/// +/// Returns the details about a query rule within a query ruleset +/// +/// +public sealed partial class GetRuleRequestDescriptor : RequestDescriptor +{ + internal GetRuleRequestDescriptor(Action configure) => configure.Invoke(this); + + public GetRuleRequestDescriptor(Elastic.Clients.Elasticsearch.Id rulesetId, Elastic.Clients.Elasticsearch.Id ruleId) : base(r => r.Required("ruleset_id", rulesetId).Required("rule_id", ruleId)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.QueryRulesGetRule; + + protected override HttpMethod StaticHttpMethod => HttpMethod.GET; + + internal override bool SupportsBody => false; + + internal override string OperationName => "query_rules.get_rule"; + + public GetRuleRequestDescriptor RuleId(Elastic.Clients.Elasticsearch.Id ruleId) + { + RouteValues.Required("rule_id", ruleId); + return Self; + } + + public GetRuleRequestDescriptor RulesetId(Elastic.Clients.Elasticsearch.Id rulesetId) + { + RouteValues.Required("ruleset_id", rulesetId); + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRuleResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRuleResponse.g.cs new file mode 100644 index 00000000000..014f75a2f0f --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRuleResponse.g.cs @@ -0,0 +1,42 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport.Products.Elasticsearch; +using System; +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.QueryRules; + +public sealed partial class GetRuleResponse : ElasticsearchResponse +{ + [JsonInclude, JsonPropertyName("actions")] + public Elastic.Clients.Elasticsearch.QueryRules.QueryRuleActions Actions { get; init; } + [JsonInclude, JsonPropertyName("criteria")] + [SingleOrManyCollectionConverter(typeof(Elastic.Clients.Elasticsearch.QueryRules.QueryRuleCriteria))] + public IReadOnlyCollection Criteria { get; init; } + [JsonInclude, JsonPropertyName("priority")] + public int? Priority { get; init; } + [JsonInclude, JsonPropertyName("rule_id")] + public string RuleId { get; init; } + [JsonInclude, JsonPropertyName("type")] + public Elastic.Clients.Elasticsearch.QueryRules.QueryRuleType Type { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRuleRequest.g.cs new file mode 100644 index 00000000000..695e9c48d99 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRuleRequest.g.cs @@ -0,0 +1,239 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Requests; +using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.QueryRules; + +public sealed partial class PutRuleRequestParameters : RequestParameters +{ +} + +/// +/// +/// Creates or updates a query rule within a query ruleset. +/// +/// +public sealed partial class PutRuleRequest : PlainRequest +{ + public PutRuleRequest(Elastic.Clients.Elasticsearch.Id rulesetId, Elastic.Clients.Elasticsearch.Id ruleId) : base(r => r.Required("ruleset_id", rulesetId).Required("rule_id", ruleId)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.QueryRulesPutRule; + + protected override HttpMethod StaticHttpMethod => HttpMethod.PUT; + + internal override bool SupportsBody => true; + + internal override string OperationName => "query_rules.put_rule"; + + [JsonInclude, JsonPropertyName("actions")] + public Elastic.Clients.Elasticsearch.QueryRules.QueryRuleActions Actions { get; set; } + [JsonInclude, JsonPropertyName("criteria")] + [SingleOrManyCollectionConverter(typeof(Elastic.Clients.Elasticsearch.QueryRules.QueryRuleCriteria))] + public ICollection Criteria { get; set; } + [JsonInclude, JsonPropertyName("priority")] + public int? Priority { get; set; } + [JsonInclude, JsonPropertyName("type")] + public Elastic.Clients.Elasticsearch.QueryRules.QueryRuleType Type { get; set; } +} + +/// +/// +/// Creates or updates a query rule within a query ruleset. +/// +/// +public sealed partial class PutRuleRequestDescriptor : RequestDescriptor +{ + internal PutRuleRequestDescriptor(Action configure) => configure.Invoke(this); + + public PutRuleRequestDescriptor(Elastic.Clients.Elasticsearch.Id rulesetId, Elastic.Clients.Elasticsearch.Id ruleId) : base(r => r.Required("ruleset_id", rulesetId).Required("rule_id", ruleId)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.QueryRulesPutRule; + + protected override HttpMethod StaticHttpMethod => HttpMethod.PUT; + + internal override bool SupportsBody => true; + + internal override string OperationName => "query_rules.put_rule"; + + public PutRuleRequestDescriptor RuleId(Elastic.Clients.Elasticsearch.Id ruleId) + { + RouteValues.Required("rule_id", ruleId); + return Self; + } + + public PutRuleRequestDescriptor RulesetId(Elastic.Clients.Elasticsearch.Id rulesetId) + { + RouteValues.Required("ruleset_id", rulesetId); + return Self; + } + + private Elastic.Clients.Elasticsearch.QueryRules.QueryRuleActions ActionsValue { get; set; } + private Elastic.Clients.Elasticsearch.QueryRules.QueryRuleActionsDescriptor ActionsDescriptor { get; set; } + private Action ActionsDescriptorAction { get; set; } + private ICollection CriteriaValue { get; set; } + private Elastic.Clients.Elasticsearch.QueryRules.QueryRuleCriteriaDescriptor CriteriaDescriptor { get; set; } + private Action CriteriaDescriptorAction { get; set; } + private Action[] CriteriaDescriptorActions { get; set; } + private int? PriorityValue { get; set; } + private Elastic.Clients.Elasticsearch.QueryRules.QueryRuleType TypeValue { get; set; } + + public PutRuleRequestDescriptor Actions(Elastic.Clients.Elasticsearch.QueryRules.QueryRuleActions actions) + { + ActionsDescriptor = null; + ActionsDescriptorAction = null; + ActionsValue = actions; + return Self; + } + + public PutRuleRequestDescriptor Actions(Elastic.Clients.Elasticsearch.QueryRules.QueryRuleActionsDescriptor descriptor) + { + ActionsValue = null; + ActionsDescriptorAction = null; + ActionsDescriptor = descriptor; + return Self; + } + + public PutRuleRequestDescriptor Actions(Action configure) + { + ActionsValue = null; + ActionsDescriptor = null; + ActionsDescriptorAction = configure; + return Self; + } + + public PutRuleRequestDescriptor Criteria(ICollection criteria) + { + CriteriaDescriptor = null; + CriteriaDescriptorAction = null; + CriteriaDescriptorActions = null; + CriteriaValue = criteria; + return Self; + } + + public PutRuleRequestDescriptor Criteria(Elastic.Clients.Elasticsearch.QueryRules.QueryRuleCriteriaDescriptor descriptor) + { + CriteriaValue = null; + CriteriaDescriptorAction = null; + CriteriaDescriptorActions = null; + CriteriaDescriptor = descriptor; + return Self; + } + + public PutRuleRequestDescriptor Criteria(Action configure) + { + CriteriaValue = null; + CriteriaDescriptor = null; + CriteriaDescriptorActions = null; + CriteriaDescriptorAction = configure; + return Self; + } + + public PutRuleRequestDescriptor Criteria(params Action[] configure) + { + CriteriaValue = null; + CriteriaDescriptor = null; + CriteriaDescriptorAction = null; + CriteriaDescriptorActions = configure; + return Self; + } + + public PutRuleRequestDescriptor Priority(int? priority) + { + PriorityValue = priority; + return Self; + } + + public PutRuleRequestDescriptor Type(Elastic.Clients.Elasticsearch.QueryRules.QueryRuleType type) + { + TypeValue = type; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (ActionsDescriptor is not null) + { + writer.WritePropertyName("actions"); + JsonSerializer.Serialize(writer, ActionsDescriptor, options); + } + else if (ActionsDescriptorAction is not null) + { + writer.WritePropertyName("actions"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.QueryRules.QueryRuleActionsDescriptor(ActionsDescriptorAction), options); + } + else + { + writer.WritePropertyName("actions"); + JsonSerializer.Serialize(writer, ActionsValue, options); + } + + if (CriteriaDescriptor is not null) + { + writer.WritePropertyName("criteria"); + JsonSerializer.Serialize(writer, CriteriaDescriptor, options); + } + else if (CriteriaDescriptorAction is not null) + { + writer.WritePropertyName("criteria"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.QueryRules.QueryRuleCriteriaDescriptor(CriteriaDescriptorAction), options); + } + else if (CriteriaDescriptorActions is not null) + { + writer.WritePropertyName("criteria"); + if (CriteriaDescriptorActions.Length != 1) + writer.WriteStartArray(); + foreach (var action in CriteriaDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.QueryRules.QueryRuleCriteriaDescriptor(action), options); + } + + if (CriteriaDescriptorActions.Length != 1) + writer.WriteEndArray(); + } + else + { + writer.WritePropertyName("criteria"); + SingleOrManySerializationHelper.Serialize(CriteriaValue, writer, options); + } + + if (PriorityValue.HasValue) + { + writer.WritePropertyName("priority"); + writer.WriteNumberValue(PriorityValue.Value); + } + + writer.WritePropertyName("type"); + JsonSerializer.Serialize(writer, TypeValue, options); + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRuleResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRuleResponse.g.cs new file mode 100644 index 00000000000..b0df637361d --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRuleResponse.g.cs @@ -0,0 +1,33 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport.Products.Elasticsearch; +using System; +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.QueryRules; + +public sealed partial class PutRuleResponse : ElasticsearchResponse +{ + [JsonInclude, JsonPropertyName("result")] + public Elastic.Clients.Elasticsearch.Result Result { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs new file mode 100644 index 00000000000..1d684d4b90b --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs @@ -0,0 +1,119 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Requests; +using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Security; + +public sealed partial class BulkDeleteRoleRequestParameters : RequestParameters +{ + /// + /// + /// If true (the default) then refresh the affected shards to make this operation visible to search, if wait_for then wait for a refresh to make this operation visible to search, if false then do nothing with refreshes. + /// + /// + public Elastic.Clients.Elasticsearch.Refresh? Refresh { get => Q("refresh"); set => Q("refresh", value); } +} + +/// +/// +/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. +/// The bulk delete roles API cannot delete roles that are defined in roles files. +/// +/// +public sealed partial class BulkDeleteRoleRequest : PlainRequest +{ + internal override ApiUrls ApiUrls => ApiUrlLookup.SecurityBulkDeleteRole; + + protected override HttpMethod StaticHttpMethod => HttpMethod.DELETE; + + internal override bool SupportsBody => true; + + internal override string OperationName => "security.bulk_delete_role"; + + /// + /// + /// If true (the default) then refresh the affected shards to make this operation visible to search, if wait_for then wait for a refresh to make this operation visible to search, if false then do nothing with refreshes. + /// + /// + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Refresh? Refresh { get => Q("refresh"); set => Q("refresh", value); } + + /// + /// + /// An array of role names to delete + /// + /// + [JsonInclude, JsonPropertyName("names")] + public ICollection Names { get; set; } +} + +/// +/// +/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. +/// The bulk delete roles API cannot delete roles that are defined in roles files. +/// +/// +public sealed partial class BulkDeleteRoleRequestDescriptor : RequestDescriptor +{ + internal BulkDeleteRoleRequestDescriptor(Action configure) => configure.Invoke(this); + + public BulkDeleteRoleRequestDescriptor() + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.SecurityBulkDeleteRole; + + protected override HttpMethod StaticHttpMethod => HttpMethod.DELETE; + + internal override bool SupportsBody => true; + + internal override string OperationName => "security.bulk_delete_role"; + + public BulkDeleteRoleRequestDescriptor Refresh(Elastic.Clients.Elasticsearch.Refresh? refresh) => Qs("refresh", refresh); + + private ICollection NamesValue { get; set; } + + /// + /// + /// An array of role names to delete + /// + /// + public BulkDeleteRoleRequestDescriptor Names(ICollection names) + { + NamesValue = names; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + writer.WritePropertyName("names"); + JsonSerializer.Serialize(writer, NamesValue, options); + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkDeleteRoleResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkDeleteRoleResponse.g.cs new file mode 100644 index 00000000000..c09c14e8c35 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkDeleteRoleResponse.g.cs @@ -0,0 +1,54 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport.Products.Elasticsearch; +using System; +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Security; + +public sealed partial class BulkDeleteRoleResponse : ElasticsearchResponse +{ + /// + /// + /// Array of deleted roles + /// + /// + [JsonInclude, JsonPropertyName("deleted")] + public IReadOnlyCollection? Deleted { get; init; } + + /// + /// + /// Present if any deletes resulted in errors + /// + /// + [JsonInclude, JsonPropertyName("errors")] + public Elastic.Clients.Elasticsearch.Security.BulkError? Errors { get; init; } + + /// + /// + /// Array of roles that could not be found + /// + /// + [JsonInclude, JsonPropertyName("not_found")] + public IReadOnlyCollection? NotFound { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkPutRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkPutRoleRequest.g.cs new file mode 100644 index 00000000000..d7fb2065195 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkPutRoleRequest.g.cs @@ -0,0 +1,165 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Requests; +using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Security; + +public sealed partial class BulkPutRoleRequestParameters : RequestParameters +{ + /// + /// + /// If true (the default) then refresh the affected shards to make this operation visible to search, if wait_for then wait for a refresh to make this operation visible to search, if false then do nothing with refreshes. + /// + /// + public Elastic.Clients.Elasticsearch.Refresh? Refresh { get => Q("refresh"); set => Q("refresh", value); } +} + +/// +/// +/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. +/// The bulk create or update roles API cannot update roles that are defined in roles files. +/// +/// +public sealed partial class BulkPutRoleRequest : PlainRequest +{ + internal override ApiUrls ApiUrls => ApiUrlLookup.SecurityBulkPutRole; + + protected override HttpMethod StaticHttpMethod => HttpMethod.POST; + + internal override bool SupportsBody => true; + + internal override string OperationName => "security.bulk_put_role"; + + /// + /// + /// If true (the default) then refresh the affected shards to make this operation visible to search, if wait_for then wait for a refresh to make this operation visible to search, if false then do nothing with refreshes. + /// + /// + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Refresh? Refresh { get => Q("refresh"); set => Q("refresh", value); } + + /// + /// + /// A dictionary of role name to RoleDescriptor objects to add or update + /// + /// + [JsonInclude, JsonPropertyName("roles")] + public IDictionary Roles { get; set; } +} + +/// +/// +/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. +/// The bulk create or update roles API cannot update roles that are defined in roles files. +/// +/// +public sealed partial class BulkPutRoleRequestDescriptor : RequestDescriptor, BulkPutRoleRequestParameters> +{ + internal BulkPutRoleRequestDescriptor(Action> configure) => configure.Invoke(this); + + public BulkPutRoleRequestDescriptor() + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.SecurityBulkPutRole; + + protected override HttpMethod StaticHttpMethod => HttpMethod.POST; + + internal override bool SupportsBody => true; + + internal override string OperationName => "security.bulk_put_role"; + + public BulkPutRoleRequestDescriptor Refresh(Elastic.Clients.Elasticsearch.Refresh? refresh) => Qs("refresh", refresh); + + private IDictionary> RolesValue { get; set; } + + /// + /// + /// A dictionary of role name to RoleDescriptor objects to add or update + /// + /// + public BulkPutRoleRequestDescriptor Roles(Func>, FluentDescriptorDictionary>> selector) + { + RolesValue = selector?.Invoke(new FluentDescriptorDictionary>()); + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + writer.WritePropertyName("roles"); + JsonSerializer.Serialize(writer, RolesValue, options); + writer.WriteEndObject(); + } +} + +/// +/// +/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. +/// The bulk create or update roles API cannot update roles that are defined in roles files. +/// +/// +public sealed partial class BulkPutRoleRequestDescriptor : RequestDescriptor +{ + internal BulkPutRoleRequestDescriptor(Action configure) => configure.Invoke(this); + + public BulkPutRoleRequestDescriptor() + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.SecurityBulkPutRole; + + protected override HttpMethod StaticHttpMethod => HttpMethod.POST; + + internal override bool SupportsBody => true; + + internal override string OperationName => "security.bulk_put_role"; + + public BulkPutRoleRequestDescriptor Refresh(Elastic.Clients.Elasticsearch.Refresh? refresh) => Qs("refresh", refresh); + + private IDictionary RolesValue { get; set; } + + /// + /// + /// A dictionary of role name to RoleDescriptor objects to add or update + /// + /// + public BulkPutRoleRequestDescriptor Roles(Func, FluentDescriptorDictionary> selector) + { + RolesValue = selector?.Invoke(new FluentDescriptorDictionary()); + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + writer.WritePropertyName("roles"); + JsonSerializer.Serialize(writer, RolesValue, options); + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkPutRoleResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkPutRoleResponse.g.cs new file mode 100644 index 00000000000..82e4e4312b5 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkPutRoleResponse.g.cs @@ -0,0 +1,62 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport.Products.Elasticsearch; +using System; +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Security; + +public sealed partial class BulkPutRoleResponse : ElasticsearchResponse +{ + /// + /// + /// Array of created roles + /// + /// + [JsonInclude, JsonPropertyName("created")] + public IReadOnlyCollection? Created { get; init; } + + /// + /// + /// Present if any updates resulted in errors + /// + /// + [JsonInclude, JsonPropertyName("errors")] + public Elastic.Clients.Elasticsearch.Security.BulkError? Errors { get; init; } + + /// + /// + /// Array of role names without any changes + /// + /// + [JsonInclude, JsonPropertyName("noop")] + public IReadOnlyCollection? Noop { get; init; } + + /// + /// + /// Array of updated roles + /// + /// + [JsonInclude, JsonPropertyName("updated")] + public IReadOnlyCollection? Updated { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryRoleRequest.g.cs new file mode 100644 index 00000000000..ab8757e8cbd --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryRoleRequest.g.cs @@ -0,0 +1,531 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Requests; +using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Security; + +public sealed partial class QueryRoleRequestParameters : RequestParameters +{ +} + +/// +/// +/// Retrieves roles in a paginated manner. You can optionally filter the results with a query. +/// +/// +public sealed partial class QueryRoleRequest : PlainRequest +{ + internal override ApiUrls ApiUrls => ApiUrlLookup.SecurityQueryRole; + + protected override HttpMethod StaticHttpMethod => HttpMethod.POST; + + internal override bool SupportsBody => true; + + internal override string OperationName => "security.query_role"; + + /// + /// + /// Starting document offset. + /// By default, you cannot page through more than 10,000 hits using the from and size parameters. + /// To page through more hits, use the search_after parameter. + /// + /// + [JsonInclude, JsonPropertyName("from")] + public int? From { get; set; } + + /// + /// + /// A query to filter which roles to return. + /// If the query parameter is missing, it is equivalent to a match_all query. + /// The query supports a subset of query types, including match_all, bool, term, terms, match, + /// ids, prefix, wildcard, exists, range, and simple_query_string. + /// You can query the following information associated with roles: name, description, metadata, + /// applications.application, applications.privileges, applications.resources. + /// + /// + [JsonInclude, JsonPropertyName("query")] + public Elastic.Clients.Elasticsearch.Security.RoleQuery? Query { get; set; } + + /// + /// + /// Search after definition + /// + /// + [JsonInclude, JsonPropertyName("search_after")] + public ICollection? SearchAfter { get; set; } + + /// + /// + /// The number of hits to return. + /// By default, you cannot page through more than 10,000 hits using the from and size parameters. + /// To page through more hits, use the search_after parameter. + /// + /// + [JsonInclude, JsonPropertyName("size")] + public int? Size { get; set; } + + /// + /// + /// All public fields of a role are eligible for sorting. + /// In addition, sort can also be applied to the _doc field to sort by index order. + /// + /// + [JsonInclude, JsonPropertyName("sort")] + [SingleOrManyCollectionConverter(typeof(Elastic.Clients.Elasticsearch.SortOptions))] + public ICollection? Sort { get; set; } +} + +/// +/// +/// Retrieves roles in a paginated manner. You can optionally filter the results with a query. +/// +/// +public sealed partial class QueryRoleRequestDescriptor : RequestDescriptor, QueryRoleRequestParameters> +{ + internal QueryRoleRequestDescriptor(Action> configure) => configure.Invoke(this); + + public QueryRoleRequestDescriptor() + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.SecurityQueryRole; + + protected override HttpMethod StaticHttpMethod => HttpMethod.POST; + + internal override bool SupportsBody => true; + + internal override string OperationName => "security.query_role"; + + private int? FromValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.RoleQuery? QueryValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.RoleQueryDescriptor QueryDescriptor { get; set; } + private Action> QueryDescriptorAction { get; set; } + private ICollection? SearchAfterValue { get; set; } + private int? SizeValue { get; set; } + private ICollection? SortValue { get; set; } + private Elastic.Clients.Elasticsearch.SortOptionsDescriptor SortDescriptor { get; set; } + private Action> SortDescriptorAction { get; set; } + private Action>[] SortDescriptorActions { get; set; } + + /// + /// + /// Starting document offset. + /// By default, you cannot page through more than 10,000 hits using the from and size parameters. + /// To page through more hits, use the search_after parameter. + /// + /// + public QueryRoleRequestDescriptor From(int? from) + { + FromValue = from; + return Self; + } + + /// + /// + /// A query to filter which roles to return. + /// If the query parameter is missing, it is equivalent to a match_all query. + /// The query supports a subset of query types, including match_all, bool, term, terms, match, + /// ids, prefix, wildcard, exists, range, and simple_query_string. + /// You can query the following information associated with roles: name, description, metadata, + /// applications.application, applications.privileges, applications.resources. + /// + /// + public QueryRoleRequestDescriptor Query(Elastic.Clients.Elasticsearch.Security.RoleQuery? query) + { + QueryDescriptor = null; + QueryDescriptorAction = null; + QueryValue = query; + return Self; + } + + public QueryRoleRequestDescriptor Query(Elastic.Clients.Elasticsearch.Security.RoleQueryDescriptor descriptor) + { + QueryValue = null; + QueryDescriptorAction = null; + QueryDescriptor = descriptor; + return Self; + } + + public QueryRoleRequestDescriptor Query(Action> configure) + { + QueryValue = null; + QueryDescriptor = null; + QueryDescriptorAction = configure; + return Self; + } + + /// + /// + /// Search after definition + /// + /// + public QueryRoleRequestDescriptor SearchAfter(ICollection? searchAfter) + { + SearchAfterValue = searchAfter; + return Self; + } + + /// + /// + /// The number of hits to return. + /// By default, you cannot page through more than 10,000 hits using the from and size parameters. + /// To page through more hits, use the search_after parameter. + /// + /// + public QueryRoleRequestDescriptor Size(int? size) + { + SizeValue = size; + return Self; + } + + /// + /// + /// All public fields of a role are eligible for sorting. + /// In addition, sort can also be applied to the _doc field to sort by index order. + /// + /// + public QueryRoleRequestDescriptor Sort(ICollection? sort) + { + SortDescriptor = null; + SortDescriptorAction = null; + SortDescriptorActions = null; + SortValue = sort; + return Self; + } + + public QueryRoleRequestDescriptor Sort(Elastic.Clients.Elasticsearch.SortOptionsDescriptor descriptor) + { + SortValue = null; + SortDescriptorAction = null; + SortDescriptorActions = null; + SortDescriptor = descriptor; + return Self; + } + + public QueryRoleRequestDescriptor Sort(Action> configure) + { + SortValue = null; + SortDescriptor = null; + SortDescriptorActions = null; + SortDescriptorAction = configure; + return Self; + } + + public QueryRoleRequestDescriptor Sort(params Action>[] configure) + { + SortValue = null; + SortDescriptor = null; + SortDescriptorAction = null; + SortDescriptorActions = configure; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (FromValue.HasValue) + { + writer.WritePropertyName("from"); + writer.WriteNumberValue(FromValue.Value); + } + + if (QueryDescriptor is not null) + { + writer.WritePropertyName("query"); + JsonSerializer.Serialize(writer, QueryDescriptor, options); + } + else if (QueryDescriptorAction is not null) + { + writer.WritePropertyName("query"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.RoleQueryDescriptor(QueryDescriptorAction), options); + } + else if (QueryValue is not null) + { + writer.WritePropertyName("query"); + JsonSerializer.Serialize(writer, QueryValue, options); + } + + if (SearchAfterValue is not null) + { + writer.WritePropertyName("search_after"); + JsonSerializer.Serialize(writer, SearchAfterValue, options); + } + + if (SizeValue.HasValue) + { + writer.WritePropertyName("size"); + writer.WriteNumberValue(SizeValue.Value); + } + + if (SortDescriptor is not null) + { + writer.WritePropertyName("sort"); + JsonSerializer.Serialize(writer, SortDescriptor, options); + } + else if (SortDescriptorAction is not null) + { + writer.WritePropertyName("sort"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.SortOptionsDescriptor(SortDescriptorAction), options); + } + else if (SortDescriptorActions is not null) + { + writer.WritePropertyName("sort"); + if (SortDescriptorActions.Length != 1) + writer.WriteStartArray(); + foreach (var action in SortDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.SortOptionsDescriptor(action), options); + } + + if (SortDescriptorActions.Length != 1) + writer.WriteEndArray(); + } + else if (SortValue is not null) + { + writer.WritePropertyName("sort"); + SingleOrManySerializationHelper.Serialize(SortValue, writer, options); + } + + writer.WriteEndObject(); + } +} + +/// +/// +/// Retrieves roles in a paginated manner. You can optionally filter the results with a query. +/// +/// +public sealed partial class QueryRoleRequestDescriptor : RequestDescriptor +{ + internal QueryRoleRequestDescriptor(Action configure) => configure.Invoke(this); + + public QueryRoleRequestDescriptor() + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.SecurityQueryRole; + + protected override HttpMethod StaticHttpMethod => HttpMethod.POST; + + internal override bool SupportsBody => true; + + internal override string OperationName => "security.query_role"; + + private int? FromValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.RoleQuery? QueryValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.RoleQueryDescriptor QueryDescriptor { get; set; } + private Action QueryDescriptorAction { get; set; } + private ICollection? SearchAfterValue { get; set; } + private int? SizeValue { get; set; } + private ICollection? SortValue { get; set; } + private Elastic.Clients.Elasticsearch.SortOptionsDescriptor SortDescriptor { get; set; } + private Action SortDescriptorAction { get; set; } + private Action[] SortDescriptorActions { get; set; } + + /// + /// + /// Starting document offset. + /// By default, you cannot page through more than 10,000 hits using the from and size parameters. + /// To page through more hits, use the search_after parameter. + /// + /// + public QueryRoleRequestDescriptor From(int? from) + { + FromValue = from; + return Self; + } + + /// + /// + /// A query to filter which roles to return. + /// If the query parameter is missing, it is equivalent to a match_all query. + /// The query supports a subset of query types, including match_all, bool, term, terms, match, + /// ids, prefix, wildcard, exists, range, and simple_query_string. + /// You can query the following information associated with roles: name, description, metadata, + /// applications.application, applications.privileges, applications.resources. + /// + /// + public QueryRoleRequestDescriptor Query(Elastic.Clients.Elasticsearch.Security.RoleQuery? query) + { + QueryDescriptor = null; + QueryDescriptorAction = null; + QueryValue = query; + return Self; + } + + public QueryRoleRequestDescriptor Query(Elastic.Clients.Elasticsearch.Security.RoleQueryDescriptor descriptor) + { + QueryValue = null; + QueryDescriptorAction = null; + QueryDescriptor = descriptor; + return Self; + } + + public QueryRoleRequestDescriptor Query(Action configure) + { + QueryValue = null; + QueryDescriptor = null; + QueryDescriptorAction = configure; + return Self; + } + + /// + /// + /// Search after definition + /// + /// + public QueryRoleRequestDescriptor SearchAfter(ICollection? searchAfter) + { + SearchAfterValue = searchAfter; + return Self; + } + + /// + /// + /// The number of hits to return. + /// By default, you cannot page through more than 10,000 hits using the from and size parameters. + /// To page through more hits, use the search_after parameter. + /// + /// + public QueryRoleRequestDescriptor Size(int? size) + { + SizeValue = size; + return Self; + } + + /// + /// + /// All public fields of a role are eligible for sorting. + /// In addition, sort can also be applied to the _doc field to sort by index order. + /// + /// + public QueryRoleRequestDescriptor Sort(ICollection? sort) + { + SortDescriptor = null; + SortDescriptorAction = null; + SortDescriptorActions = null; + SortValue = sort; + return Self; + } + + public QueryRoleRequestDescriptor Sort(Elastic.Clients.Elasticsearch.SortOptionsDescriptor descriptor) + { + SortValue = null; + SortDescriptorAction = null; + SortDescriptorActions = null; + SortDescriptor = descriptor; + return Self; + } + + public QueryRoleRequestDescriptor Sort(Action configure) + { + SortValue = null; + SortDescriptor = null; + SortDescriptorActions = null; + SortDescriptorAction = configure; + return Self; + } + + public QueryRoleRequestDescriptor Sort(params Action[] configure) + { + SortValue = null; + SortDescriptor = null; + SortDescriptorAction = null; + SortDescriptorActions = configure; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (FromValue.HasValue) + { + writer.WritePropertyName("from"); + writer.WriteNumberValue(FromValue.Value); + } + + if (QueryDescriptor is not null) + { + writer.WritePropertyName("query"); + JsonSerializer.Serialize(writer, QueryDescriptor, options); + } + else if (QueryDescriptorAction is not null) + { + writer.WritePropertyName("query"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.RoleQueryDescriptor(QueryDescriptorAction), options); + } + else if (QueryValue is not null) + { + writer.WritePropertyName("query"); + JsonSerializer.Serialize(writer, QueryValue, options); + } + + if (SearchAfterValue is not null) + { + writer.WritePropertyName("search_after"); + JsonSerializer.Serialize(writer, SearchAfterValue, options); + } + + if (SizeValue.HasValue) + { + writer.WritePropertyName("size"); + writer.WriteNumberValue(SizeValue.Value); + } + + if (SortDescriptor is not null) + { + writer.WritePropertyName("sort"); + JsonSerializer.Serialize(writer, SortDescriptor, options); + } + else if (SortDescriptorAction is not null) + { + writer.WritePropertyName("sort"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.SortOptionsDescriptor(SortDescriptorAction), options); + } + else if (SortDescriptorActions is not null) + { + writer.WritePropertyName("sort"); + if (SortDescriptorActions.Length != 1) + writer.WriteStartArray(); + foreach (var action in SortDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.SortOptionsDescriptor(action), options); + } + + if (SortDescriptorActions.Length != 1) + writer.WriteEndArray(); + } + else if (SortValue is not null) + { + writer.WritePropertyName("sort"); + SingleOrManySerializationHelper.Serialize(SortValue, writer, options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryRoleResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryRoleResponse.g.cs new file mode 100644 index 00000000000..dab72c52d73 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryRoleResponse.g.cs @@ -0,0 +1,54 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport.Products.Elasticsearch; +using System; +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Security; + +public sealed partial class QueryRoleResponse : ElasticsearchResponse +{ + /// + /// + /// The number of roles returned in the response. + /// + /// + [JsonInclude, JsonPropertyName("count")] + public int Count { get; init; } + + /// + /// + /// The list of roles. + /// + /// + [JsonInclude, JsonPropertyName("roles")] + public IReadOnlyCollection Roles { get; init; } + + /// + /// + /// The total number of roles found. + /// + /// + [JsonInclude, JsonPropertyName("total")] + public int Total { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.AsyncSearch.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.AsyncSearch.g.cs index 7a6947663b3..0169e8ecc2f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.AsyncSearch.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.AsyncSearch.g.cs @@ -46,7 +46,7 @@ internal AsyncSearchNamespacedClient(ElasticsearchClient client) : base(client) /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteAsyncSearchResponse Delete(DeleteAsyncSearchRequest request) @@ -62,7 +62,7 @@ public virtual DeleteAsyncSearchResponse Delete(DeleteAsyncSearchRequest request /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(DeleteAsyncSearchRequest request, CancellationToken cancellationToken = default) { @@ -77,7 +77,7 @@ public virtual Task DeleteAsync(DeleteAsyncSearchRequ /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteAsyncSearchResponse Delete(DeleteAsyncSearchRequestDescriptor descriptor) @@ -93,7 +93,7 @@ public virtual DeleteAsyncSearchResponse Delete(DeleteAsyncSearchRequ /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteAsyncSearchResponse Delete(Elastic.Clients.Elasticsearch.Id id) @@ -110,7 +110,7 @@ public virtual DeleteAsyncSearchResponse Delete(Elastic.Clients.Elast /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteAsyncSearchResponse Delete(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest) @@ -128,7 +128,7 @@ public virtual DeleteAsyncSearchResponse Delete(Elastic.Clients.Elast /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteAsyncSearchResponse Delete(DeleteAsyncSearchRequestDescriptor descriptor) @@ -144,7 +144,7 @@ public virtual DeleteAsyncSearchResponse Delete(DeleteAsyncSearchRequestDescript /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteAsyncSearchResponse Delete(Elastic.Clients.Elasticsearch.Id id) @@ -161,7 +161,7 @@ public virtual DeleteAsyncSearchResponse Delete(Elastic.Clients.Elasticsearch.Id /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteAsyncSearchResponse Delete(Elastic.Clients.Elasticsearch.Id id, Action configureRequest) @@ -179,7 +179,7 @@ public virtual DeleteAsyncSearchResponse Delete(Elastic.Clients.Elasticsearch.Id /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(DeleteAsyncSearchRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -194,7 +194,7 @@ public virtual Task DeleteAsync(DeleteAsyn /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -210,7 +210,7 @@ public virtual Task DeleteAsync(Elastic.Cl /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -227,7 +227,7 @@ public virtual Task DeleteAsync(Elastic.Cl /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(DeleteAsyncSearchRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -242,7 +242,7 @@ public virtual Task DeleteAsync(DeleteAsyncSearchRequ /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -258,7 +258,7 @@ public virtual Task DeleteAsync(Elastic.Clients.Elast /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Id id, Action configureRequest, CancellationToken cancellationToken = default) { @@ -273,7 +273,7 @@ public virtual Task DeleteAsync(Elastic.Clients.Elast /// Retrieves the results of a previously submitted async search request given its identifier. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetAsyncSearchResponse Get(GetAsyncSearchRequest request) @@ -287,7 +287,7 @@ public virtual GetAsyncSearchResponse Get(GetAsyncSearchRe /// Retrieves the results of a previously submitted async search request given its identifier. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(GetAsyncSearchRequest request, CancellationToken cancellationToken = default) { @@ -300,7 +300,7 @@ public virtual Task> GetAsync(GetAs /// Retrieves the results of a previously submitted async search request given its identifier. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetAsyncSearchResponse Get(GetAsyncSearchRequestDescriptor descriptor) @@ -314,7 +314,7 @@ public virtual GetAsyncSearchResponse Get(GetAsyncSearchRe /// Retrieves the results of a previously submitted async search request given its identifier. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetAsyncSearchResponse Get(Elastic.Clients.Elasticsearch.Id id) @@ -329,7 +329,7 @@ public virtual GetAsyncSearchResponse Get(Elastic.Clients. /// Retrieves the results of a previously submitted async search request given its identifier. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetAsyncSearchResponse Get(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest) @@ -345,7 +345,7 @@ public virtual GetAsyncSearchResponse Get(Elastic.Clients. /// Retrieves the results of a previously submitted async search request given its identifier. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(GetAsyncSearchRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -358,7 +358,7 @@ public virtual Task> GetAsync(GetAs /// Retrieves the results of a previously submitted async search request given its identifier. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -372,7 +372,7 @@ public virtual Task> GetAsync(Elast /// Retrieves the results of a previously submitted async search request given its identifier. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -388,7 +388,7 @@ public virtual Task> GetAsync(Elast /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AsyncSearchStatusResponse Status(AsyncSearchStatusRequest request) @@ -403,7 +403,7 @@ public virtual AsyncSearchStatusResponse Status(AsyncSearchStatusRequest request /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(AsyncSearchStatusRequest request, CancellationToken cancellationToken = default) { @@ -417,7 +417,7 @@ public virtual Task StatusAsync(AsyncSearchStatusRequ /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AsyncSearchStatusResponse Status(AsyncSearchStatusRequestDescriptor descriptor) @@ -432,7 +432,7 @@ public virtual AsyncSearchStatusResponse Status(AsyncSearchStatusRequ /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AsyncSearchStatusResponse Status(Elastic.Clients.Elasticsearch.Id id) @@ -448,7 +448,7 @@ public virtual AsyncSearchStatusResponse Status(Elastic.Clients.Elast /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AsyncSearchStatusResponse Status(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest) @@ -465,7 +465,7 @@ public virtual AsyncSearchStatusResponse Status(Elastic.Clients.Elast /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AsyncSearchStatusResponse Status(AsyncSearchStatusRequestDescriptor descriptor) @@ -480,7 +480,7 @@ public virtual AsyncSearchStatusResponse Status(AsyncSearchStatusRequestDescript /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AsyncSearchStatusResponse Status(Elastic.Clients.Elasticsearch.Id id) @@ -496,7 +496,7 @@ public virtual AsyncSearchStatusResponse Status(Elastic.Clients.Elasticsearch.Id /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AsyncSearchStatusResponse Status(Elastic.Clients.Elasticsearch.Id id, Action configureRequest) @@ -513,7 +513,7 @@ public virtual AsyncSearchStatusResponse Status(Elastic.Clients.Elasticsearch.Id /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(AsyncSearchStatusRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -527,7 +527,7 @@ public virtual Task StatusAsync(AsyncSearc /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -542,7 +542,7 @@ public virtual Task StatusAsync(Elastic.Cl /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -558,7 +558,7 @@ public virtual Task StatusAsync(Elastic.Cl /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(AsyncSearchStatusRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -572,7 +572,7 @@ public virtual Task StatusAsync(AsyncSearchStatusRequ /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -587,7 +587,7 @@ public virtual Task StatusAsync(Elastic.Clients.Elast /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(Elastic.Clients.Elasticsearch.Id id, Action configureRequest, CancellationToken cancellationToken = default) { @@ -605,7 +605,7 @@ public virtual Task StatusAsync(Elastic.Clients.Elast /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SubmitAsyncSearchResponse Submit(SubmitAsyncSearchRequest request) @@ -622,7 +622,7 @@ public virtual SubmitAsyncSearchResponse Submit(SubmitAsyn /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> SubmitAsync(SubmitAsyncSearchRequest request, CancellationToken cancellationToken = default) { @@ -638,7 +638,7 @@ public virtual Task> SubmitAsync /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SubmitAsyncSearchResponse Submit(SubmitAsyncSearchRequestDescriptor descriptor) @@ -655,7 +655,7 @@ public virtual SubmitAsyncSearchResponse Submit(SubmitAsyn /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SubmitAsyncSearchResponse Submit(Elastic.Clients.Elasticsearch.Indices? indices) @@ -673,7 +673,7 @@ public virtual SubmitAsyncSearchResponse Submit(Elastic.Cl /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SubmitAsyncSearchResponse Submit(Elastic.Clients.Elasticsearch.Indices? indices, Action> configureRequest) @@ -692,7 +692,7 @@ public virtual SubmitAsyncSearchResponse Submit(Elastic.Cl /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SubmitAsyncSearchResponse Submit() @@ -710,7 +710,7 @@ public virtual SubmitAsyncSearchResponse Submit() /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SubmitAsyncSearchResponse Submit(Action> configureRequest) @@ -729,7 +729,7 @@ public virtual SubmitAsyncSearchResponse Submit(Actionsearch.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> SubmitAsync(SubmitAsyncSearchRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -745,7 +745,7 @@ public virtual Task> SubmitAsync /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> SubmitAsync(Elastic.Clients.Elasticsearch.Indices? indices, CancellationToken cancellationToken = default) { @@ -762,7 +762,7 @@ public virtual Task> SubmitAsync /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> SubmitAsync(Elastic.Clients.Elasticsearch.Indices? indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -780,7 +780,7 @@ public virtual Task> SubmitAsync /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> SubmitAsync(CancellationToken cancellationToken = default) { @@ -797,7 +797,7 @@ public virtual Task> SubmitAsync /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> SubmitAsync(Action> configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ccr.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ccr.g.cs index a6389cf2645..302f2b4bccf 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ccr.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ccr.g.cs @@ -43,7 +43,7 @@ internal CrossClusterReplicationNamespacedClient(ElasticsearchClient client) : b /// /// Deletes auto-follow patterns. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteAutoFollowPatternResponse DeleteAutoFollowPattern(DeleteAutoFollowPatternRequest request) @@ -56,7 +56,7 @@ public virtual DeleteAutoFollowPatternResponse DeleteAutoFollowPattern(DeleteAut /// /// Deletes auto-follow patterns. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAutoFollowPatternAsync(DeleteAutoFollowPatternRequest request, CancellationToken cancellationToken = default) { @@ -68,7 +68,7 @@ public virtual Task DeleteAutoFollowPatternAsyn /// /// Deletes auto-follow patterns. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteAutoFollowPatternResponse DeleteAutoFollowPattern(DeleteAutoFollowPatternRequestDescriptor descriptor) @@ -81,7 +81,7 @@ public virtual DeleteAutoFollowPatternResponse DeleteAutoFollowPattern(DeleteAut /// /// Deletes auto-follow patterns. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteAutoFollowPatternResponse DeleteAutoFollowPattern(Elastic.Clients.Elasticsearch.Name name) @@ -95,7 +95,7 @@ public virtual DeleteAutoFollowPatternResponse DeleteAutoFollowPattern(Elastic.C /// /// Deletes auto-follow patterns. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteAutoFollowPatternResponse DeleteAutoFollowPattern(Elastic.Clients.Elasticsearch.Name name, Action configureRequest) @@ -110,7 +110,7 @@ public virtual DeleteAutoFollowPatternResponse DeleteAutoFollowPattern(Elastic.C /// /// Deletes auto-follow patterns. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAutoFollowPatternAsync(DeleteAutoFollowPatternRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -122,7 +122,7 @@ public virtual Task DeleteAutoFollowPatternAsyn /// /// Deletes auto-follow patterns. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAutoFollowPatternAsync(Elastic.Clients.Elasticsearch.Name name, CancellationToken cancellationToken = default) { @@ -135,7 +135,7 @@ public virtual Task DeleteAutoFollowPatternAsyn /// /// Deletes auto-follow patterns. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAutoFollowPatternAsync(Elastic.Clients.Elasticsearch.Name name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -149,7 +149,7 @@ public virtual Task DeleteAutoFollowPatternAsyn /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowResponse Follow(FollowRequest request) @@ -162,7 +162,7 @@ public virtual FollowResponse Follow(FollowRequest request) /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowAsync(FollowRequest request, CancellationToken cancellationToken = default) { @@ -174,7 +174,7 @@ public virtual Task FollowAsync(FollowRequest request, Cancellat /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowResponse Follow(FollowRequestDescriptor descriptor) @@ -187,7 +187,7 @@ public virtual FollowResponse Follow(FollowRequestDescriptor /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowResponse Follow(Elastic.Clients.Elasticsearch.IndexName index) @@ -201,7 +201,7 @@ public virtual FollowResponse Follow(Elastic.Clients.Elasticsearch.In /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowResponse Follow(Elastic.Clients.Elasticsearch.IndexName index, Action> configureRequest) @@ -216,7 +216,7 @@ public virtual FollowResponse Follow(Elastic.Clients.Elasticsearch.In /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowResponse Follow() @@ -230,7 +230,7 @@ public virtual FollowResponse Follow() /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowResponse Follow(Action> configureRequest) @@ -245,7 +245,7 @@ public virtual FollowResponse Follow(Action /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowResponse Follow(FollowRequestDescriptor descriptor) @@ -258,7 +258,7 @@ public virtual FollowResponse Follow(FollowRequestDescriptor descriptor) /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowResponse Follow(Elastic.Clients.Elasticsearch.IndexName index) @@ -272,7 +272,7 @@ public virtual FollowResponse Follow(Elastic.Clients.Elasticsearch.IndexName ind /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowResponse Follow(Elastic.Clients.Elasticsearch.IndexName index, Action configureRequest) @@ -287,7 +287,7 @@ public virtual FollowResponse Follow(Elastic.Clients.Elasticsearch.IndexName ind /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowAsync(FollowRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -299,7 +299,7 @@ public virtual Task FollowAsync(FollowRequestDescript /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowAsync(Elastic.Clients.Elasticsearch.IndexName index, CancellationToken cancellationToken = default) { @@ -312,7 +312,7 @@ public virtual Task FollowAsync(Elastic.Clients.Elast /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowAsync(Elastic.Clients.Elasticsearch.IndexName index, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -326,7 +326,7 @@ public virtual Task FollowAsync(Elastic.Clients.Elast /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowAsync(CancellationToken cancellationToken = default) { @@ -339,7 +339,7 @@ public virtual Task FollowAsync(CancellationToken can /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -353,7 +353,7 @@ public virtual Task FollowAsync(Action /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowAsync(FollowRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -365,7 +365,7 @@ public virtual Task FollowAsync(FollowRequestDescriptor descript /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowAsync(Elastic.Clients.Elasticsearch.IndexName index, CancellationToken cancellationToken = default) { @@ -378,7 +378,7 @@ public virtual Task FollowAsync(Elastic.Clients.Elasticsearch.In /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowAsync(Elastic.Clients.Elasticsearch.IndexName index, Action configureRequest, CancellationToken cancellationToken = default) { @@ -392,7 +392,7 @@ public virtual Task FollowAsync(Elastic.Clients.Elasticsearch.In /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowInfoResponse FollowInfo(FollowInfoRequest request) @@ -405,7 +405,7 @@ public virtual FollowInfoResponse FollowInfo(FollowInfoRequest request) /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowInfoAsync(FollowInfoRequest request, CancellationToken cancellationToken = default) { @@ -417,7 +417,7 @@ public virtual Task FollowInfoAsync(FollowInfoRequest reques /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowInfoResponse FollowInfo(FollowInfoRequestDescriptor descriptor) @@ -430,7 +430,7 @@ public virtual FollowInfoResponse FollowInfo(FollowInfoRequestDescrip /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowInfoResponse FollowInfo(Elastic.Clients.Elasticsearch.Indices indices) @@ -444,7 +444,7 @@ public virtual FollowInfoResponse FollowInfo(Elastic.Clients.Elastics /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowInfoResponse FollowInfo(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest) @@ -459,7 +459,7 @@ public virtual FollowInfoResponse FollowInfo(Elastic.Clients.Elastics /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowInfoResponse FollowInfo() @@ -473,7 +473,7 @@ public virtual FollowInfoResponse FollowInfo() /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowInfoResponse FollowInfo(Action> configureRequest) @@ -488,7 +488,7 @@ public virtual FollowInfoResponse FollowInfo(Action /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowInfoResponse FollowInfo(FollowInfoRequestDescriptor descriptor) @@ -501,7 +501,7 @@ public virtual FollowInfoResponse FollowInfo(FollowInfoRequestDescriptor descrip /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowInfoResponse FollowInfo(Elastic.Clients.Elasticsearch.Indices indices) @@ -515,7 +515,7 @@ public virtual FollowInfoResponse FollowInfo(Elastic.Clients.Elasticsearch.Indic /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowInfoResponse FollowInfo(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest) @@ -530,7 +530,7 @@ public virtual FollowInfoResponse FollowInfo(Elastic.Clients.Elasticsearch.Indic /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowInfoAsync(FollowInfoRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -542,7 +542,7 @@ public virtual Task FollowInfoAsync(FollowInfoReq /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowInfoAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default) { @@ -555,7 +555,7 @@ public virtual Task FollowInfoAsync(Elastic.Clien /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowInfoAsync(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -569,7 +569,7 @@ public virtual Task FollowInfoAsync(Elastic.Clien /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowInfoAsync(CancellationToken cancellationToken = default) { @@ -582,7 +582,7 @@ public virtual Task FollowInfoAsync(CancellationT /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowInfoAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -596,7 +596,7 @@ public virtual Task FollowInfoAsync(Action /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowInfoAsync(FollowInfoRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -608,7 +608,7 @@ public virtual Task FollowInfoAsync(FollowInfoRequestDescrip /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowInfoAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default) { @@ -621,7 +621,7 @@ public virtual Task FollowInfoAsync(Elastic.Clients.Elastics /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowInfoAsync(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest, CancellationToken cancellationToken = default) { @@ -635,7 +635,7 @@ public virtual Task FollowInfoAsync(Elastic.Clients.Elastics /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowStatsResponse FollowStats(FollowStatsRequest request) @@ -648,7 +648,7 @@ public virtual FollowStatsResponse FollowStats(FollowStatsRequest request) /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowStatsAsync(FollowStatsRequest request, CancellationToken cancellationToken = default) { @@ -660,7 +660,7 @@ public virtual Task FollowStatsAsync(FollowStatsRequest req /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowStatsResponse FollowStats(FollowStatsRequestDescriptor descriptor) @@ -673,7 +673,7 @@ public virtual FollowStatsResponse FollowStats(FollowStatsRequestDesc /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowStatsResponse FollowStats(Elastic.Clients.Elasticsearch.Indices indices) @@ -687,7 +687,7 @@ public virtual FollowStatsResponse FollowStats(Elastic.Clients.Elasti /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowStatsResponse FollowStats(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest) @@ -702,7 +702,7 @@ public virtual FollowStatsResponse FollowStats(Elastic.Clients.Elasti /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowStatsResponse FollowStats() @@ -716,7 +716,7 @@ public virtual FollowStatsResponse FollowStats() /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowStatsResponse FollowStats(Action> configureRequest) @@ -731,7 +731,7 @@ public virtual FollowStatsResponse FollowStats(Action /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowStatsResponse FollowStats(FollowStatsRequestDescriptor descriptor) @@ -744,7 +744,7 @@ public virtual FollowStatsResponse FollowStats(FollowStatsRequestDescriptor desc /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowStatsResponse FollowStats(Elastic.Clients.Elasticsearch.Indices indices) @@ -758,7 +758,7 @@ public virtual FollowStatsResponse FollowStats(Elastic.Clients.Elasticsearch.Ind /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowStatsResponse FollowStats(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest) @@ -773,7 +773,7 @@ public virtual FollowStatsResponse FollowStats(Elastic.Clients.Elasticsearch.Ind /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowStatsAsync(FollowStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -785,7 +785,7 @@ public virtual Task FollowStatsAsync(FollowStats /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowStatsAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default) { @@ -798,7 +798,7 @@ public virtual Task FollowStatsAsync(Elastic.Cli /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowStatsAsync(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -812,7 +812,7 @@ public virtual Task FollowStatsAsync(Elastic.Cli /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowStatsAsync(CancellationToken cancellationToken = default) { @@ -825,7 +825,7 @@ public virtual Task FollowStatsAsync(Cancellatio /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowStatsAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -839,7 +839,7 @@ public virtual Task FollowStatsAsync(Action /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowStatsAsync(FollowStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -851,7 +851,7 @@ public virtual Task FollowStatsAsync(FollowStatsRequestDesc /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowStatsAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default) { @@ -864,7 +864,7 @@ public virtual Task FollowStatsAsync(Elastic.Clients.Elasti /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowStatsAsync(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest, CancellationToken cancellationToken = default) { @@ -878,7 +878,7 @@ public virtual Task FollowStatsAsync(Elastic.Clients.Elasti /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ForgetFollowerResponse ForgetFollower(ForgetFollowerRequest request) @@ -891,7 +891,7 @@ public virtual ForgetFollowerResponse ForgetFollower(ForgetFollowerRequest reque /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ForgetFollowerAsync(ForgetFollowerRequest request, CancellationToken cancellationToken = default) { @@ -903,7 +903,7 @@ public virtual Task ForgetFollowerAsync(ForgetFollowerRe /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ForgetFollowerResponse ForgetFollower(ForgetFollowerRequestDescriptor descriptor) @@ -916,7 +916,7 @@ public virtual ForgetFollowerResponse ForgetFollower(ForgetFollowerRe /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ForgetFollowerResponse ForgetFollower(Elastic.Clients.Elasticsearch.IndexName index) @@ -930,7 +930,7 @@ public virtual ForgetFollowerResponse ForgetFollower(Elastic.Clients. /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ForgetFollowerResponse ForgetFollower(Elastic.Clients.Elasticsearch.IndexName index, Action> configureRequest) @@ -945,7 +945,7 @@ public virtual ForgetFollowerResponse ForgetFollower(Elastic.Clients. /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ForgetFollowerResponse ForgetFollower() @@ -959,7 +959,7 @@ public virtual ForgetFollowerResponse ForgetFollower() /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ForgetFollowerResponse ForgetFollower(Action> configureRequest) @@ -974,7 +974,7 @@ public virtual ForgetFollowerResponse ForgetFollower(Action /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ForgetFollowerResponse ForgetFollower(ForgetFollowerRequestDescriptor descriptor) @@ -987,7 +987,7 @@ public virtual ForgetFollowerResponse ForgetFollower(ForgetFollowerRequestDescri /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ForgetFollowerResponse ForgetFollower(Elastic.Clients.Elasticsearch.IndexName index) @@ -1001,7 +1001,7 @@ public virtual ForgetFollowerResponse ForgetFollower(Elastic.Clients.Elasticsear /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ForgetFollowerResponse ForgetFollower(Elastic.Clients.Elasticsearch.IndexName index, Action configureRequest) @@ -1016,7 +1016,7 @@ public virtual ForgetFollowerResponse ForgetFollower(Elastic.Clients.Elasticsear /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ForgetFollowerAsync(ForgetFollowerRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1028,7 +1028,7 @@ public virtual Task ForgetFollowerAsync(Forge /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ForgetFollowerAsync(Elastic.Clients.Elasticsearch.IndexName index, CancellationToken cancellationToken = default) { @@ -1041,7 +1041,7 @@ public virtual Task ForgetFollowerAsync(Elast /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ForgetFollowerAsync(Elastic.Clients.Elasticsearch.IndexName index, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1055,7 +1055,7 @@ public virtual Task ForgetFollowerAsync(Elast /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ForgetFollowerAsync(CancellationToken cancellationToken = default) { @@ -1068,7 +1068,7 @@ public virtual Task ForgetFollowerAsync(Cance /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ForgetFollowerAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1082,7 +1082,7 @@ public virtual Task ForgetFollowerAsync(Actio /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ForgetFollowerAsync(ForgetFollowerRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1094,7 +1094,7 @@ public virtual Task ForgetFollowerAsync(ForgetFollowerRe /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ForgetFollowerAsync(Elastic.Clients.Elasticsearch.IndexName index, CancellationToken cancellationToken = default) { @@ -1107,7 +1107,7 @@ public virtual Task ForgetFollowerAsync(Elastic.Clients. /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ForgetFollowerAsync(Elastic.Clients.Elasticsearch.IndexName index, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1121,7 +1121,7 @@ public virtual Task ForgetFollowerAsync(Elastic.Clients. /// /// Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetAutoFollowPatternResponse GetAutoFollowPattern(GetAutoFollowPatternRequest request) @@ -1134,7 +1134,7 @@ public virtual GetAutoFollowPatternResponse GetAutoFollowPattern(GetAutoFollowPa /// /// Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetAutoFollowPatternAsync(GetAutoFollowPatternRequest request, CancellationToken cancellationToken = default) { @@ -1146,7 +1146,7 @@ public virtual Task GetAutoFollowPatternAsync(GetA /// /// Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetAutoFollowPatternResponse GetAutoFollowPattern(GetAutoFollowPatternRequestDescriptor descriptor) @@ -1159,7 +1159,7 @@ public virtual GetAutoFollowPatternResponse GetAutoFollowPattern(GetAutoFollowPa /// /// Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetAutoFollowPatternResponse GetAutoFollowPattern(Elastic.Clients.Elasticsearch.Name? name) @@ -1173,7 +1173,7 @@ public virtual GetAutoFollowPatternResponse GetAutoFollowPattern(Elastic.Clients /// /// Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetAutoFollowPatternResponse GetAutoFollowPattern(Elastic.Clients.Elasticsearch.Name? name, Action configureRequest) @@ -1188,7 +1188,7 @@ public virtual GetAutoFollowPatternResponse GetAutoFollowPattern(Elastic.Clients /// /// Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetAutoFollowPatternResponse GetAutoFollowPattern() @@ -1202,7 +1202,7 @@ public virtual GetAutoFollowPatternResponse GetAutoFollowPattern() /// /// Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetAutoFollowPatternResponse GetAutoFollowPattern(Action configureRequest) @@ -1217,7 +1217,7 @@ public virtual GetAutoFollowPatternResponse GetAutoFollowPattern(Action /// Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetAutoFollowPatternAsync(GetAutoFollowPatternRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1229,7 +1229,7 @@ public virtual Task GetAutoFollowPatternAsync(GetA /// /// Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetAutoFollowPatternAsync(Elastic.Clients.Elasticsearch.Name? name, CancellationToken cancellationToken = default) { @@ -1242,7 +1242,7 @@ public virtual Task GetAutoFollowPatternAsync(Elas /// /// Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetAutoFollowPatternAsync(Elastic.Clients.Elasticsearch.Name? name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1256,7 +1256,7 @@ public virtual Task GetAutoFollowPatternAsync(Elas /// /// Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetAutoFollowPatternAsync(CancellationToken cancellationToken = default) { @@ -1269,7 +1269,7 @@ public virtual Task GetAutoFollowPatternAsync(Canc /// /// Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetAutoFollowPatternAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -1283,7 +1283,7 @@ public virtual Task GetAutoFollowPatternAsync(Acti /// /// Pauses an auto-follow pattern /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseAutoFollowPatternResponse PauseAutoFollowPattern(PauseAutoFollowPatternRequest request) @@ -1296,7 +1296,7 @@ public virtual PauseAutoFollowPatternResponse PauseAutoFollowPattern(PauseAutoFo /// /// Pauses an auto-follow pattern /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseAutoFollowPatternAsync(PauseAutoFollowPatternRequest request, CancellationToken cancellationToken = default) { @@ -1308,7 +1308,7 @@ public virtual Task PauseAutoFollowPatternAsync( /// /// Pauses an auto-follow pattern /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseAutoFollowPatternResponse PauseAutoFollowPattern(PauseAutoFollowPatternRequestDescriptor descriptor) @@ -1321,7 +1321,7 @@ public virtual PauseAutoFollowPatternResponse PauseAutoFollowPattern(PauseAutoFo /// /// Pauses an auto-follow pattern /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseAutoFollowPatternResponse PauseAutoFollowPattern(Elastic.Clients.Elasticsearch.Name name) @@ -1335,7 +1335,7 @@ public virtual PauseAutoFollowPatternResponse PauseAutoFollowPattern(Elastic.Cli /// /// Pauses an auto-follow pattern /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseAutoFollowPatternResponse PauseAutoFollowPattern(Elastic.Clients.Elasticsearch.Name name, Action configureRequest) @@ -1350,7 +1350,7 @@ public virtual PauseAutoFollowPatternResponse PauseAutoFollowPattern(Elastic.Cli /// /// Pauses an auto-follow pattern /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseAutoFollowPatternAsync(PauseAutoFollowPatternRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1362,7 +1362,7 @@ public virtual Task PauseAutoFollowPatternAsync( /// /// Pauses an auto-follow pattern /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseAutoFollowPatternAsync(Elastic.Clients.Elasticsearch.Name name, CancellationToken cancellationToken = default) { @@ -1375,7 +1375,7 @@ public virtual Task PauseAutoFollowPatternAsync( /// /// Pauses an auto-follow pattern /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseAutoFollowPatternAsync(Elastic.Clients.Elasticsearch.Name name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1389,7 +1389,7 @@ public virtual Task PauseAutoFollowPatternAsync( /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseFollowResponse PauseFollow(PauseFollowRequest request) @@ -1402,7 +1402,7 @@ public virtual PauseFollowResponse PauseFollow(PauseFollowRequest request) /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseFollowAsync(PauseFollowRequest request, CancellationToken cancellationToken = default) { @@ -1414,7 +1414,7 @@ public virtual Task PauseFollowAsync(PauseFollowRequest req /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseFollowResponse PauseFollow(PauseFollowRequestDescriptor descriptor) @@ -1427,7 +1427,7 @@ public virtual PauseFollowResponse PauseFollow(PauseFollowRequestDesc /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseFollowResponse PauseFollow(Elastic.Clients.Elasticsearch.IndexName index) @@ -1441,7 +1441,7 @@ public virtual PauseFollowResponse PauseFollow(Elastic.Clients.Elasti /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseFollowResponse PauseFollow(Elastic.Clients.Elasticsearch.IndexName index, Action> configureRequest) @@ -1456,7 +1456,7 @@ public virtual PauseFollowResponse PauseFollow(Elastic.Clients.Elasti /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseFollowResponse PauseFollow() @@ -1470,7 +1470,7 @@ public virtual PauseFollowResponse PauseFollow() /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseFollowResponse PauseFollow(Action> configureRequest) @@ -1485,7 +1485,7 @@ public virtual PauseFollowResponse PauseFollow(Action /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseFollowResponse PauseFollow(PauseFollowRequestDescriptor descriptor) @@ -1498,7 +1498,7 @@ public virtual PauseFollowResponse PauseFollow(PauseFollowRequestDescriptor desc /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseFollowResponse PauseFollow(Elastic.Clients.Elasticsearch.IndexName index) @@ -1512,7 +1512,7 @@ public virtual PauseFollowResponse PauseFollow(Elastic.Clients.Elasticsearch.Ind /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseFollowResponse PauseFollow(Elastic.Clients.Elasticsearch.IndexName index, Action configureRequest) @@ -1527,7 +1527,7 @@ public virtual PauseFollowResponse PauseFollow(Elastic.Clients.Elasticsearch.Ind /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseFollowAsync(PauseFollowRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1539,7 +1539,7 @@ public virtual Task PauseFollowAsync(PauseFollow /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseFollowAsync(Elastic.Clients.Elasticsearch.IndexName index, CancellationToken cancellationToken = default) { @@ -1552,7 +1552,7 @@ public virtual Task PauseFollowAsync(Elastic.Cli /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseFollowAsync(Elastic.Clients.Elasticsearch.IndexName index, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1566,7 +1566,7 @@ public virtual Task PauseFollowAsync(Elastic.Cli /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseFollowAsync(CancellationToken cancellationToken = default) { @@ -1579,7 +1579,7 @@ public virtual Task PauseFollowAsync(Cancellatio /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseFollowAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1593,7 +1593,7 @@ public virtual Task PauseFollowAsync(Action /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseFollowAsync(PauseFollowRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1605,7 +1605,7 @@ public virtual Task PauseFollowAsync(PauseFollowRequestDesc /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseFollowAsync(Elastic.Clients.Elasticsearch.IndexName index, CancellationToken cancellationToken = default) { @@ -1618,7 +1618,7 @@ public virtual Task PauseFollowAsync(Elastic.Clients.Elasti /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseFollowAsync(Elastic.Clients.Elasticsearch.IndexName index, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1632,7 +1632,7 @@ public virtual Task PauseFollowAsync(Elastic.Clients.Elasti /// /// Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutAutoFollowPatternResponse PutAutoFollowPattern(PutAutoFollowPatternRequest request) @@ -1645,7 +1645,7 @@ public virtual PutAutoFollowPatternResponse PutAutoFollowPattern(PutAutoFollowPa /// /// Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutAutoFollowPatternAsync(PutAutoFollowPatternRequest request, CancellationToken cancellationToken = default) { @@ -1657,7 +1657,7 @@ public virtual Task PutAutoFollowPatternAsync(PutA /// /// Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutAutoFollowPatternResponse PutAutoFollowPattern(PutAutoFollowPatternRequestDescriptor descriptor) @@ -1670,7 +1670,7 @@ public virtual PutAutoFollowPatternResponse PutAutoFollowPattern(PutAutoFollowPa /// /// Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutAutoFollowPatternResponse PutAutoFollowPattern(Elastic.Clients.Elasticsearch.Name name) @@ -1684,7 +1684,7 @@ public virtual PutAutoFollowPatternResponse PutAutoFollowPattern(Elastic.Clients /// /// Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutAutoFollowPatternResponse PutAutoFollowPattern(Elastic.Clients.Elasticsearch.Name name, Action configureRequest) @@ -1699,7 +1699,7 @@ public virtual PutAutoFollowPatternResponse PutAutoFollowPattern(Elastic.Clients /// /// Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutAutoFollowPatternAsync(PutAutoFollowPatternRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1711,7 +1711,7 @@ public virtual Task PutAutoFollowPatternAsync(PutA /// /// Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutAutoFollowPatternAsync(Elastic.Clients.Elasticsearch.Name name, CancellationToken cancellationToken = default) { @@ -1724,7 +1724,7 @@ public virtual Task PutAutoFollowPatternAsync(Elas /// /// Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutAutoFollowPatternAsync(Elastic.Clients.Elasticsearch.Name name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1738,7 +1738,7 @@ public virtual Task PutAutoFollowPatternAsync(Elas /// /// Resumes an auto-follow pattern that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeAutoFollowPatternResponse ResumeAutoFollowPattern(ResumeAutoFollowPatternRequest request) @@ -1751,7 +1751,7 @@ public virtual ResumeAutoFollowPatternResponse ResumeAutoFollowPattern(ResumeAut /// /// Resumes an auto-follow pattern that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeAutoFollowPatternAsync(ResumeAutoFollowPatternRequest request, CancellationToken cancellationToken = default) { @@ -1763,7 +1763,7 @@ public virtual Task ResumeAutoFollowPatternAsyn /// /// Resumes an auto-follow pattern that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeAutoFollowPatternResponse ResumeAutoFollowPattern(ResumeAutoFollowPatternRequestDescriptor descriptor) @@ -1776,7 +1776,7 @@ public virtual ResumeAutoFollowPatternResponse ResumeAutoFollowPattern(ResumeAut /// /// Resumes an auto-follow pattern that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeAutoFollowPatternResponse ResumeAutoFollowPattern(Elastic.Clients.Elasticsearch.Name name) @@ -1790,7 +1790,7 @@ public virtual ResumeAutoFollowPatternResponse ResumeAutoFollowPattern(Elastic.C /// /// Resumes an auto-follow pattern that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeAutoFollowPatternResponse ResumeAutoFollowPattern(Elastic.Clients.Elasticsearch.Name name, Action configureRequest) @@ -1805,7 +1805,7 @@ public virtual ResumeAutoFollowPatternResponse ResumeAutoFollowPattern(Elastic.C /// /// Resumes an auto-follow pattern that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeAutoFollowPatternAsync(ResumeAutoFollowPatternRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1817,7 +1817,7 @@ public virtual Task ResumeAutoFollowPatternAsyn /// /// Resumes an auto-follow pattern that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeAutoFollowPatternAsync(Elastic.Clients.Elasticsearch.Name name, CancellationToken cancellationToken = default) { @@ -1830,7 +1830,7 @@ public virtual Task ResumeAutoFollowPatternAsyn /// /// Resumes an auto-follow pattern that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeAutoFollowPatternAsync(Elastic.Clients.Elasticsearch.Name name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1844,7 +1844,7 @@ public virtual Task ResumeAutoFollowPatternAsyn /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeFollowResponse ResumeFollow(ResumeFollowRequest request) @@ -1857,7 +1857,7 @@ public virtual ResumeFollowResponse ResumeFollow(ResumeFollowRequest request) /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeFollowAsync(ResumeFollowRequest request, CancellationToken cancellationToken = default) { @@ -1869,7 +1869,7 @@ public virtual Task ResumeFollowAsync(ResumeFollowRequest /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeFollowResponse ResumeFollow(ResumeFollowRequestDescriptor descriptor) @@ -1882,7 +1882,7 @@ public virtual ResumeFollowResponse ResumeFollow(ResumeFollowRequestD /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeFollowResponse ResumeFollow(Elastic.Clients.Elasticsearch.IndexName index) @@ -1896,7 +1896,7 @@ public virtual ResumeFollowResponse ResumeFollow(Elastic.Clients.Elas /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeFollowResponse ResumeFollow(Elastic.Clients.Elasticsearch.IndexName index, Action> configureRequest) @@ -1911,7 +1911,7 @@ public virtual ResumeFollowResponse ResumeFollow(Elastic.Clients.Elas /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeFollowResponse ResumeFollow() @@ -1925,7 +1925,7 @@ public virtual ResumeFollowResponse ResumeFollow() /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeFollowResponse ResumeFollow(Action> configureRequest) @@ -1940,7 +1940,7 @@ public virtual ResumeFollowResponse ResumeFollow(Action /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeFollowResponse ResumeFollow(ResumeFollowRequestDescriptor descriptor) @@ -1953,7 +1953,7 @@ public virtual ResumeFollowResponse ResumeFollow(ResumeFollowRequestDescriptor d /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeFollowResponse ResumeFollow(Elastic.Clients.Elasticsearch.IndexName index) @@ -1967,7 +1967,7 @@ public virtual ResumeFollowResponse ResumeFollow(Elastic.Clients.Elasticsearch.I /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeFollowResponse ResumeFollow(Elastic.Clients.Elasticsearch.IndexName index, Action configureRequest) @@ -1982,7 +1982,7 @@ public virtual ResumeFollowResponse ResumeFollow(Elastic.Clients.Elasticsearch.I /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeFollowAsync(ResumeFollowRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1994,7 +1994,7 @@ public virtual Task ResumeFollowAsync(ResumeFol /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeFollowAsync(Elastic.Clients.Elasticsearch.IndexName index, CancellationToken cancellationToken = default) { @@ -2007,7 +2007,7 @@ public virtual Task ResumeFollowAsync(Elastic.C /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeFollowAsync(Elastic.Clients.Elasticsearch.IndexName index, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -2021,7 +2021,7 @@ public virtual Task ResumeFollowAsync(Elastic.C /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeFollowAsync(CancellationToken cancellationToken = default) { @@ -2034,7 +2034,7 @@ public virtual Task ResumeFollowAsync(Cancellat /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeFollowAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -2048,7 +2048,7 @@ public virtual Task ResumeFollowAsync(Action /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeFollowAsync(ResumeFollowRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -2060,7 +2060,7 @@ public virtual Task ResumeFollowAsync(ResumeFollowRequestD /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeFollowAsync(Elastic.Clients.Elasticsearch.IndexName index, CancellationToken cancellationToken = default) { @@ -2073,7 +2073,7 @@ public virtual Task ResumeFollowAsync(Elastic.Clients.Elas /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeFollowAsync(Elastic.Clients.Elasticsearch.IndexName index, Action configureRequest, CancellationToken cancellationToken = default) { @@ -2087,7 +2087,7 @@ public virtual Task ResumeFollowAsync(Elastic.Clients.Elas /// /// Gets all stats related to cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CcrStatsResponse Stats(CcrStatsRequest request) @@ -2100,7 +2100,7 @@ public virtual CcrStatsResponse Stats(CcrStatsRequest request) /// /// Gets all stats related to cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(CcrStatsRequest request, CancellationToken cancellationToken = default) { @@ -2112,7 +2112,7 @@ public virtual Task StatsAsync(CcrStatsRequest request, Cancel /// /// Gets all stats related to cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CcrStatsResponse Stats(CcrStatsRequestDescriptor descriptor) @@ -2125,7 +2125,7 @@ public virtual CcrStatsResponse Stats(CcrStatsRequestDescriptor descriptor) /// /// Gets all stats related to cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CcrStatsResponse Stats() @@ -2139,7 +2139,7 @@ public virtual CcrStatsResponse Stats() /// /// Gets all stats related to cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CcrStatsResponse Stats(Action configureRequest) @@ -2154,7 +2154,7 @@ public virtual CcrStatsResponse Stats(Action configur /// /// Gets all stats related to cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(CcrStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -2166,7 +2166,7 @@ public virtual Task StatsAsync(CcrStatsRequestDescriptor descr /// /// Gets all stats related to cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(CancellationToken cancellationToken = default) { @@ -2179,7 +2179,7 @@ public virtual Task StatsAsync(CancellationToken cancellationT /// /// Gets all stats related to cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -2193,7 +2193,7 @@ public virtual Task StatsAsync(Action /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual UnfollowResponse Unfollow(UnfollowRequest request) @@ -2206,7 +2206,7 @@ public virtual UnfollowResponse Unfollow(UnfollowRequest request) /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UnfollowAsync(UnfollowRequest request, CancellationToken cancellationToken = default) { @@ -2218,7 +2218,7 @@ public virtual Task UnfollowAsync(UnfollowRequest request, Can /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual UnfollowResponse Unfollow(UnfollowRequestDescriptor descriptor) @@ -2231,7 +2231,7 @@ public virtual UnfollowResponse Unfollow(UnfollowRequestDescriptor /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual UnfollowResponse Unfollow(Elastic.Clients.Elasticsearch.IndexName index) @@ -2245,7 +2245,7 @@ public virtual UnfollowResponse Unfollow(Elastic.Clients.Elasticsearc /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual UnfollowResponse Unfollow(Elastic.Clients.Elasticsearch.IndexName index, Action> configureRequest) @@ -2260,7 +2260,7 @@ public virtual UnfollowResponse Unfollow(Elastic.Clients.Elasticsearc /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual UnfollowResponse Unfollow() @@ -2274,7 +2274,7 @@ public virtual UnfollowResponse Unfollow() /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual UnfollowResponse Unfollow(Action> configureRequest) @@ -2289,7 +2289,7 @@ public virtual UnfollowResponse Unfollow(Action /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual UnfollowResponse Unfollow(UnfollowRequestDescriptor descriptor) @@ -2302,7 +2302,7 @@ public virtual UnfollowResponse Unfollow(UnfollowRequestDescriptor descriptor) /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual UnfollowResponse Unfollow(Elastic.Clients.Elasticsearch.IndexName index) @@ -2316,7 +2316,7 @@ public virtual UnfollowResponse Unfollow(Elastic.Clients.Elasticsearch.IndexName /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual UnfollowResponse Unfollow(Elastic.Clients.Elasticsearch.IndexName index, Action configureRequest) @@ -2331,7 +2331,7 @@ public virtual UnfollowResponse Unfollow(Elastic.Clients.Elasticsearch.IndexName /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UnfollowAsync(UnfollowRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -2343,7 +2343,7 @@ public virtual Task UnfollowAsync(UnfollowRequestDe /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UnfollowAsync(Elastic.Clients.Elasticsearch.IndexName index, CancellationToken cancellationToken = default) { @@ -2356,7 +2356,7 @@ public virtual Task UnfollowAsync(Elastic.Clients.E /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UnfollowAsync(Elastic.Clients.Elasticsearch.IndexName index, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -2370,7 +2370,7 @@ public virtual Task UnfollowAsync(Elastic.Clients.E /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UnfollowAsync(CancellationToken cancellationToken = default) { @@ -2383,7 +2383,7 @@ public virtual Task UnfollowAsync(CancellationToken /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UnfollowAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -2397,7 +2397,7 @@ public virtual Task UnfollowAsync(Action /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UnfollowAsync(UnfollowRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -2409,7 +2409,7 @@ public virtual Task UnfollowAsync(UnfollowRequestDescriptor de /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UnfollowAsync(Elastic.Clients.Elasticsearch.IndexName index, CancellationToken cancellationToken = default) { @@ -2422,7 +2422,7 @@ public virtual Task UnfollowAsync(Elastic.Clients.Elasticsearc /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UnfollowAsync(Elastic.Clients.Elasticsearch.IndexName index, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Cluster.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Cluster.g.cs index 403230de812..b7c03eaef6a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Cluster.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Cluster.g.cs @@ -43,7 +43,7 @@ internal ClusterNamespacedClient(ElasticsearchClient client) : base(client) /// /// Provides explanations for shard allocations in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AllocationExplainResponse AllocationExplain(AllocationExplainRequest request) @@ -56,7 +56,7 @@ public virtual AllocationExplainResponse AllocationExplain(AllocationExplainRequ /// /// Provides explanations for shard allocations in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AllocationExplainAsync(AllocationExplainRequest request, CancellationToken cancellationToken = default) { @@ -68,7 +68,7 @@ public virtual Task AllocationExplainAsync(Allocation /// /// Provides explanations for shard allocations in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AllocationExplainResponse AllocationExplain(AllocationExplainRequestDescriptor descriptor) @@ -81,7 +81,7 @@ public virtual AllocationExplainResponse AllocationExplain(AllocationExplainRequ /// /// Provides explanations for shard allocations in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AllocationExplainResponse AllocationExplain() @@ -95,7 +95,7 @@ public virtual AllocationExplainResponse AllocationExplain() /// /// Provides explanations for shard allocations in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AllocationExplainResponse AllocationExplain(Action configureRequest) @@ -110,7 +110,7 @@ public virtual AllocationExplainResponse AllocationExplain(Action /// Provides explanations for shard allocations in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AllocationExplainAsync(AllocationExplainRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -122,7 +122,7 @@ public virtual Task AllocationExplainAsync(Allocation /// /// Provides explanations for shard allocations in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AllocationExplainAsync(CancellationToken cancellationToken = default) { @@ -135,7 +135,7 @@ public virtual Task AllocationExplainAsync(Cancellati /// /// Provides explanations for shard allocations in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AllocationExplainAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -151,7 +151,7 @@ public virtual Task AllocationExplainAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteComponentTemplateResponse DeleteComponentTemplate(DeleteComponentTemplateRequest request) @@ -166,7 +166,7 @@ public virtual DeleteComponentTemplateResponse DeleteComponentTemplate(DeleteCom /// Deletes component templates. /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteComponentTemplateAsync(DeleteComponentTemplateRequest request, CancellationToken cancellationToken = default) { @@ -180,7 +180,7 @@ public virtual Task DeleteComponentTemplateAsyn /// Deletes component templates. /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteComponentTemplateResponse DeleteComponentTemplate(DeleteComponentTemplateRequestDescriptor descriptor) @@ -195,7 +195,7 @@ public virtual DeleteComponentTemplateResponse DeleteComponentTemplate(DeleteCom /// Deletes component templates. /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteComponentTemplateResponse DeleteComponentTemplate(Elastic.Clients.Elasticsearch.Names name) @@ -211,7 +211,7 @@ public virtual DeleteComponentTemplateResponse DeleteComponentTemplate(Elastic.C /// Deletes component templates. /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteComponentTemplateResponse DeleteComponentTemplate(Elastic.Clients.Elasticsearch.Names name, Action configureRequest) @@ -228,7 +228,7 @@ public virtual DeleteComponentTemplateResponse DeleteComponentTemplate(Elastic.C /// Deletes component templates. /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteComponentTemplateAsync(DeleteComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -242,7 +242,7 @@ public virtual Task DeleteComponentTemplateAsyn /// Deletes component templates. /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteComponentTemplateAsync(Elastic.Clients.Elasticsearch.Names name, CancellationToken cancellationToken = default) { @@ -257,7 +257,7 @@ public virtual Task DeleteComponentTemplateAsyn /// Deletes component templates. /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteComponentTemplateAsync(Elastic.Clients.Elasticsearch.Names name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -271,7 +271,7 @@ public virtual Task DeleteComponentTemplateAsyn /// /// Clears cluster voting config exclusions. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteVotingConfigExclusionsResponse DeleteVotingConfigExclusions(DeleteVotingConfigExclusionsRequest request) @@ -284,7 +284,7 @@ public virtual DeleteVotingConfigExclusionsResponse DeleteVotingConfigExclusions /// /// Clears cluster voting config exclusions. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteVotingConfigExclusionsAsync(DeleteVotingConfigExclusionsRequest request, CancellationToken cancellationToken = default) { @@ -296,7 +296,7 @@ public virtual Task DeleteVotingConfigExcl /// /// Clears cluster voting config exclusions. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteVotingConfigExclusionsResponse DeleteVotingConfigExclusions(DeleteVotingConfigExclusionsRequestDescriptor descriptor) @@ -309,7 +309,7 @@ public virtual DeleteVotingConfigExclusionsResponse DeleteVotingConfigExclusions /// /// Clears cluster voting config exclusions. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteVotingConfigExclusionsResponse DeleteVotingConfigExclusions() @@ -323,7 +323,7 @@ public virtual DeleteVotingConfigExclusionsResponse DeleteVotingConfigExclusions /// /// Clears cluster voting config exclusions. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteVotingConfigExclusionsResponse DeleteVotingConfigExclusions(Action configureRequest) @@ -338,7 +338,7 @@ public virtual DeleteVotingConfigExclusionsResponse DeleteVotingConfigExclusions /// /// Clears cluster voting config exclusions. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteVotingConfigExclusionsAsync(DeleteVotingConfigExclusionsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -350,7 +350,7 @@ public virtual Task DeleteVotingConfigExcl /// /// Clears cluster voting config exclusions. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteVotingConfigExclusionsAsync(CancellationToken cancellationToken = default) { @@ -363,7 +363,7 @@ public virtual Task DeleteVotingConfigExcl /// /// Clears cluster voting config exclusions. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteVotingConfigExclusionsAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -378,7 +378,7 @@ public virtual Task DeleteVotingConfigExcl /// Check component templates. /// Returns information about whether a particular component template exists. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExistsComponentTemplateResponse ExistsComponentTemplate(ExistsComponentTemplateRequest request) @@ -392,7 +392,7 @@ public virtual ExistsComponentTemplateResponse ExistsComponentTemplate(ExistsCom /// Check component templates. /// Returns information about whether a particular component template exists. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExistsComponentTemplateAsync(ExistsComponentTemplateRequest request, CancellationToken cancellationToken = default) { @@ -405,7 +405,7 @@ public virtual Task ExistsComponentTemplateAsyn /// Check component templates. /// Returns information about whether a particular component template exists. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExistsComponentTemplateResponse ExistsComponentTemplate(ExistsComponentTemplateRequestDescriptor descriptor) @@ -419,7 +419,7 @@ public virtual ExistsComponentTemplateResponse ExistsComponentTemplate(ExistsCom /// Check component templates. /// Returns information about whether a particular component template exists. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExistsComponentTemplateResponse ExistsComponentTemplate(Elastic.Clients.Elasticsearch.Names name) @@ -434,7 +434,7 @@ public virtual ExistsComponentTemplateResponse ExistsComponentTemplate(Elastic.C /// Check component templates. /// Returns information about whether a particular component template exists. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExistsComponentTemplateResponse ExistsComponentTemplate(Elastic.Clients.Elasticsearch.Names name, Action configureRequest) @@ -450,7 +450,7 @@ public virtual ExistsComponentTemplateResponse ExistsComponentTemplate(Elastic.C /// Check component templates. /// Returns information about whether a particular component template exists. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExistsComponentTemplateAsync(ExistsComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -463,7 +463,7 @@ public virtual Task ExistsComponentTemplateAsyn /// Check component templates. /// Returns information about whether a particular component template exists. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExistsComponentTemplateAsync(Elastic.Clients.Elasticsearch.Names name, CancellationToken cancellationToken = default) { @@ -477,7 +477,7 @@ public virtual Task ExistsComponentTemplateAsyn /// Check component templates. /// Returns information about whether a particular component template exists. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExistsComponentTemplateAsync(Elastic.Clients.Elasticsearch.Names name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -492,7 +492,7 @@ public virtual Task ExistsComponentTemplateAsyn /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetComponentTemplateResponse GetComponentTemplate(GetComponentTemplateRequest request) @@ -506,7 +506,7 @@ public virtual GetComponentTemplateResponse GetComponentTemplate(GetComponentTem /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetComponentTemplateAsync(GetComponentTemplateRequest request, CancellationToken cancellationToken = default) { @@ -519,7 +519,7 @@ public virtual Task GetComponentTemplateAsync(GetC /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetComponentTemplateResponse GetComponentTemplate(GetComponentTemplateRequestDescriptor descriptor) @@ -533,7 +533,7 @@ public virtual GetComponentTemplateResponse GetComponentTemplate(GetComponentTem /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetComponentTemplateResponse GetComponentTemplate(Elastic.Clients.Elasticsearch.Name? name) @@ -548,7 +548,7 @@ public virtual GetComponentTemplateResponse GetComponentTemplate(Elastic.Clients /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetComponentTemplateResponse GetComponentTemplate(Elastic.Clients.Elasticsearch.Name? name, Action configureRequest) @@ -564,7 +564,7 @@ public virtual GetComponentTemplateResponse GetComponentTemplate(Elastic.Clients /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetComponentTemplateResponse GetComponentTemplate() @@ -579,7 +579,7 @@ public virtual GetComponentTemplateResponse GetComponentTemplate() /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetComponentTemplateResponse GetComponentTemplate(Action configureRequest) @@ -595,7 +595,7 @@ public virtual GetComponentTemplateResponse GetComponentTemplate(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetComponentTemplateAsync(GetComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -608,7 +608,7 @@ public virtual Task GetComponentTemplateAsync(GetC /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetComponentTemplateAsync(Elastic.Clients.Elasticsearch.Name? name, CancellationToken cancellationToken = default) { @@ -622,7 +622,7 @@ public virtual Task GetComponentTemplateAsync(Elas /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetComponentTemplateAsync(Elastic.Clients.Elasticsearch.Name? name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -637,7 +637,7 @@ public virtual Task GetComponentTemplateAsync(Elas /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetComponentTemplateAsync(CancellationToken cancellationToken = default) { @@ -651,7 +651,7 @@ public virtual Task GetComponentTemplateAsync(Canc /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetComponentTemplateAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -666,7 +666,7 @@ public virtual Task GetComponentTemplateAsync(Acti /// Returns cluster-wide settings. /// By default, it returns only settings that have been explicitly defined. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetClusterSettingsResponse GetSettings(GetClusterSettingsRequest request) @@ -680,7 +680,7 @@ public virtual GetClusterSettingsResponse GetSettings(GetClusterSettingsRequest /// Returns cluster-wide settings. /// By default, it returns only settings that have been explicitly defined. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetSettingsAsync(GetClusterSettingsRequest request, CancellationToken cancellationToken = default) { @@ -693,7 +693,7 @@ public virtual Task GetSettingsAsync(GetClusterSetti /// Returns cluster-wide settings. /// By default, it returns only settings that have been explicitly defined. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetClusterSettingsResponse GetSettings(GetClusterSettingsRequestDescriptor descriptor) @@ -707,7 +707,7 @@ public virtual GetClusterSettingsResponse GetSettings(GetClusterSettingsRequestD /// Returns cluster-wide settings. /// By default, it returns only settings that have been explicitly defined. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetClusterSettingsResponse GetSettings() @@ -722,7 +722,7 @@ public virtual GetClusterSettingsResponse GetSettings() /// Returns cluster-wide settings. /// By default, it returns only settings that have been explicitly defined. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetClusterSettingsResponse GetSettings(Action configureRequest) @@ -738,7 +738,7 @@ public virtual GetClusterSettingsResponse GetSettings(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetSettingsAsync(GetClusterSettingsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -751,7 +751,7 @@ public virtual Task GetSettingsAsync(GetClusterSetti /// Returns cluster-wide settings. /// By default, it returns only settings that have been explicitly defined. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetSettingsAsync(CancellationToken cancellationToken = default) { @@ -765,7 +765,7 @@ public virtual Task GetSettingsAsync(CancellationTok /// Returns cluster-wide settings. /// By default, it returns only settings that have been explicitly defined. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetSettingsAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -780,7 +780,7 @@ public virtual Task GetSettingsAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HealthResponse Health(HealthRequest request) @@ -794,7 +794,7 @@ public virtual HealthResponse Health(HealthRequest request) /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(HealthRequest request, CancellationToken cancellationToken = default) { @@ -807,7 +807,7 @@ public virtual Task HealthAsync(HealthRequest request, Cancellat /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HealthResponse Health(HealthRequestDescriptor descriptor) @@ -821,7 +821,7 @@ public virtual HealthResponse Health(HealthRequestDescriptor - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HealthResponse Health(Elastic.Clients.Elasticsearch.Indices? indices) @@ -836,7 +836,7 @@ public virtual HealthResponse Health(Elastic.Clients.Elasticsearch.In /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HealthResponse Health(Elastic.Clients.Elasticsearch.Indices? indices, Action> configureRequest) @@ -852,7 +852,7 @@ public virtual HealthResponse Health(Elastic.Clients.Elasticsearch.In /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HealthResponse Health() @@ -867,7 +867,7 @@ public virtual HealthResponse Health() /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HealthResponse Health(Action> configureRequest) @@ -883,7 +883,7 @@ public virtual HealthResponse Health(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HealthResponse Health(HealthRequestDescriptor descriptor) @@ -897,7 +897,7 @@ public virtual HealthResponse Health(HealthRequestDescriptor descriptor) /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HealthResponse Health(Elastic.Clients.Elasticsearch.Indices? indices) @@ -912,7 +912,7 @@ public virtual HealthResponse Health(Elastic.Clients.Elasticsearch.Indices? indi /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HealthResponse Health(Elastic.Clients.Elasticsearch.Indices? indices, Action configureRequest) @@ -928,7 +928,7 @@ public virtual HealthResponse Health(Elastic.Clients.Elasticsearch.Indices? indi /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HealthResponse Health() @@ -943,7 +943,7 @@ public virtual HealthResponse Health() /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HealthResponse Health(Action configureRequest) @@ -959,7 +959,7 @@ public virtual HealthResponse Health(Action configureRe /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(HealthRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -972,7 +972,7 @@ public virtual Task HealthAsync(HealthRequestDescript /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Indices? indices, CancellationToken cancellationToken = default) { @@ -986,7 +986,7 @@ public virtual Task HealthAsync(Elastic.Clients.Elast /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Indices? indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1001,7 +1001,7 @@ public virtual Task HealthAsync(Elastic.Clients.Elast /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(CancellationToken cancellationToken = default) { @@ -1015,7 +1015,7 @@ public virtual Task HealthAsync(CancellationToken can /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1030,7 +1030,7 @@ public virtual Task HealthAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(HealthRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1043,7 +1043,7 @@ public virtual Task HealthAsync(HealthRequestDescriptor descript /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Indices? indices, CancellationToken cancellationToken = default) { @@ -1057,7 +1057,7 @@ public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.In /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Indices? indices, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1072,7 +1072,7 @@ public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.In /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(CancellationToken cancellationToken = default) { @@ -1086,7 +1086,7 @@ public virtual Task HealthAsync(CancellationToken cancellationTo /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -1101,7 +1101,7 @@ public virtual Task HealthAsync(Action /// Get cluster info. /// Returns basic information about the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClusterInfoResponse Info(ClusterInfoRequest request) @@ -1115,7 +1115,7 @@ public virtual ClusterInfoResponse Info(ClusterInfoRequest request) /// Get cluster info. /// Returns basic information about the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(ClusterInfoRequest request, CancellationToken cancellationToken = default) { @@ -1128,7 +1128,7 @@ public virtual Task InfoAsync(ClusterInfoRequest request, C /// Get cluster info. /// Returns basic information about the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClusterInfoResponse Info(ClusterInfoRequestDescriptor descriptor) @@ -1142,7 +1142,7 @@ public virtual ClusterInfoResponse Info(ClusterInfoRequestDescriptor descriptor) /// Get cluster info. /// Returns basic information about the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClusterInfoResponse Info(IReadOnlyCollection target) @@ -1157,7 +1157,7 @@ public virtual ClusterInfoResponse Info(IReadOnlyCollection - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClusterInfoResponse Info(IReadOnlyCollection target, Action configureRequest) @@ -1173,7 +1173,7 @@ public virtual ClusterInfoResponse Info(IReadOnlyCollection - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(ClusterInfoRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1186,7 +1186,7 @@ public virtual Task InfoAsync(ClusterInfoRequestDescriptor /// Get cluster info. /// Returns basic information about the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(IReadOnlyCollection target, CancellationToken cancellationToken = default) { @@ -1200,7 +1200,7 @@ public virtual Task InfoAsync(IReadOnlyCollection - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(IReadOnlyCollection target, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1217,7 +1217,7 @@ public virtual Task InfoAsync(IReadOnlyCollection - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PendingTasksResponse PendingTasks(PendingTasksRequest request) @@ -1233,7 +1233,7 @@ public virtual PendingTasksResponse PendingTasks(PendingTasksRequest request) /// These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests. /// However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PendingTasksAsync(PendingTasksRequest request, CancellationToken cancellationToken = default) { @@ -1248,7 +1248,7 @@ public virtual Task PendingTasksAsync(PendingTasksRequest /// These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests. /// However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PendingTasksResponse PendingTasks(PendingTasksRequestDescriptor descriptor) @@ -1264,7 +1264,7 @@ public virtual PendingTasksResponse PendingTasks(PendingTasksRequestDescriptor d /// These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests. /// However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PendingTasksResponse PendingTasks() @@ -1281,7 +1281,7 @@ public virtual PendingTasksResponse PendingTasks() /// These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests. /// However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PendingTasksResponse PendingTasks(Action configureRequest) @@ -1299,7 +1299,7 @@ public virtual PendingTasksResponse PendingTasks(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PendingTasksAsync(PendingTasksRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1314,7 +1314,7 @@ public virtual Task PendingTasksAsync(PendingTasksRequestD /// These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests. /// However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PendingTasksAsync(CancellationToken cancellationToken = default) { @@ -1330,7 +1330,7 @@ public virtual Task PendingTasksAsync(CancellationToken ca /// These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests. /// However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PendingTasksAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -1344,7 +1344,7 @@ public virtual Task PendingTasksAsync(Action /// Updates the cluster voting config exclusions by node ids or node names. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PostVotingConfigExclusionsResponse PostVotingConfigExclusions(PostVotingConfigExclusionsRequest request) @@ -1357,7 +1357,7 @@ public virtual PostVotingConfigExclusionsResponse PostVotingConfigExclusions(Pos /// /// Updates the cluster voting config exclusions by node ids or node names. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PostVotingConfigExclusionsAsync(PostVotingConfigExclusionsRequest request, CancellationToken cancellationToken = default) { @@ -1369,7 +1369,7 @@ public virtual Task PostVotingConfigExclusio /// /// Updates the cluster voting config exclusions by node ids or node names. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PostVotingConfigExclusionsResponse PostVotingConfigExclusions(PostVotingConfigExclusionsRequestDescriptor descriptor) @@ -1382,7 +1382,7 @@ public virtual PostVotingConfigExclusionsResponse PostVotingConfigExclusions(Pos /// /// Updates the cluster voting config exclusions by node ids or node names. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PostVotingConfigExclusionsResponse PostVotingConfigExclusions() @@ -1396,7 +1396,7 @@ public virtual PostVotingConfigExclusionsResponse PostVotingConfigExclusions() /// /// Updates the cluster voting config exclusions by node ids or node names. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PostVotingConfigExclusionsResponse PostVotingConfigExclusions(Action configureRequest) @@ -1411,7 +1411,7 @@ public virtual PostVotingConfigExclusionsResponse PostVotingConfigExclusions(Act /// /// Updates the cluster voting config exclusions by node ids or node names. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PostVotingConfigExclusionsAsync(PostVotingConfigExclusionsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1423,7 +1423,7 @@ public virtual Task PostVotingConfigExclusio /// /// Updates the cluster voting config exclusions by node ids or node names. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PostVotingConfigExclusionsAsync(CancellationToken cancellationToken = default) { @@ -1436,7 +1436,7 @@ public virtual Task PostVotingConfigExclusio /// /// Updates the cluster voting config exclusions by node ids or node names. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PostVotingConfigExclusionsAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -1469,7 +1469,7 @@ public virtual Task PostVotingConfigExclusio /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutComponentTemplateResponse PutComponentTemplate(PutComponentTemplateRequest request) @@ -1501,7 +1501,7 @@ public virtual PutComponentTemplateResponse PutComponentTemplate(PutComponentTem /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(PutComponentTemplateRequest request, CancellationToken cancellationToken = default) { @@ -1532,7 +1532,7 @@ public virtual Task PutComponentTemplateAsync(PutC /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutComponentTemplateResponse PutComponentTemplate(PutComponentTemplateRequestDescriptor descriptor) @@ -1564,7 +1564,7 @@ public virtual PutComponentTemplateResponse PutComponentTemplate(PutC /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutComponentTemplateResponse PutComponentTemplate(Elastic.Clients.Elasticsearch.Name name) @@ -1597,7 +1597,7 @@ public virtual PutComponentTemplateResponse PutComponentTemplate(Elas /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutComponentTemplateResponse PutComponentTemplate(Elastic.Clients.Elasticsearch.Name name, Action> configureRequest) @@ -1631,7 +1631,7 @@ public virtual PutComponentTemplateResponse PutComponentTemplate(Elas /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutComponentTemplateResponse PutComponentTemplate(PutComponentTemplateRequestDescriptor descriptor) @@ -1663,7 +1663,7 @@ public virtual PutComponentTemplateResponse PutComponentTemplate(PutComponentTem /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutComponentTemplateResponse PutComponentTemplate(Elastic.Clients.Elasticsearch.Name name) @@ -1696,7 +1696,7 @@ public virtual PutComponentTemplateResponse PutComponentTemplate(Elastic.Clients /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutComponentTemplateResponse PutComponentTemplate(Elastic.Clients.Elasticsearch.Name name, Action configureRequest) @@ -1730,7 +1730,7 @@ public virtual PutComponentTemplateResponse PutComponentTemplate(Elastic.Clients /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(PutComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1761,7 +1761,7 @@ public virtual Task PutComponentTemplateAsync/* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(Elastic.Clients.Elasticsearch.Name name, CancellationToken cancellationToken = default) { @@ -1793,7 +1793,7 @@ public virtual Task PutComponentTemplateAsync/* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(Elastic.Clients.Elasticsearch.Name name, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1826,7 +1826,7 @@ public virtual Task PutComponentTemplateAsync/* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(PutComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1857,7 +1857,7 @@ public virtual Task PutComponentTemplateAsync(PutC /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(Elastic.Clients.Elasticsearch.Name name, CancellationToken cancellationToken = default) { @@ -1889,7 +1889,7 @@ public virtual Task PutComponentTemplateAsync(Elas /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(Elastic.Clients.Elasticsearch.Name name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1904,7 +1904,7 @@ public virtual Task PutComponentTemplateAsync(Elas /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClusterStatsResponse Stats(ClusterStatsRequest request) @@ -1918,7 +1918,7 @@ public virtual ClusterStatsResponse Stats(ClusterStatsRequest request) /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(ClusterStatsRequest request, CancellationToken cancellationToken = default) { @@ -1931,7 +1931,7 @@ public virtual Task StatsAsync(ClusterStatsRequest request /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClusterStatsResponse Stats(ClusterStatsRequestDescriptor descriptor) @@ -1945,7 +1945,7 @@ public virtual ClusterStatsResponse Stats(ClusterStatsRequestDescriptor descript /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClusterStatsResponse Stats(Elastic.Clients.Elasticsearch.NodeIds? nodeId) @@ -1960,7 +1960,7 @@ public virtual ClusterStatsResponse Stats(Elastic.Clients.Elasticsearch.NodeIds? /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClusterStatsResponse Stats(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Action configureRequest) @@ -1976,7 +1976,7 @@ public virtual ClusterStatsResponse Stats(Elastic.Clients.Elasticsearch.NodeIds? /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClusterStatsResponse Stats() @@ -1991,7 +1991,7 @@ public virtual ClusterStatsResponse Stats() /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClusterStatsResponse Stats(Action configureRequest) @@ -2007,7 +2007,7 @@ public virtual ClusterStatsResponse Stats(Action /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(ClusterStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -2020,7 +2020,7 @@ public virtual Task StatsAsync(ClusterStatsRequestDescript /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.NodeIds? nodeId, CancellationToken cancellationToken = default) { @@ -2034,7 +2034,7 @@ public virtual Task StatsAsync(Elastic.Clients.Elasticsear /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -2049,7 +2049,7 @@ public virtual Task StatsAsync(Elastic.Clients.Elasticsear /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(CancellationToken cancellationToken = default) { @@ -2063,7 +2063,7 @@ public virtual Task StatsAsync(CancellationToken cancellat /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Enrich.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Enrich.g.cs index 9b1d2a49d43..cbb8fa9e435 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Enrich.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Enrich.g.cs @@ -157,7 +157,7 @@ public virtual Task DeletePolicyAsync(Elastic.Clients.Elas /// /// Creates the enrich index for an existing enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExecutePolicyResponse ExecutePolicy(ExecutePolicyRequest request) @@ -170,7 +170,7 @@ public virtual ExecutePolicyResponse ExecutePolicy(ExecutePolicyRequest request) /// /// Creates the enrich index for an existing enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExecutePolicyAsync(ExecutePolicyRequest request, CancellationToken cancellationToken = default) { @@ -182,7 +182,7 @@ public virtual Task ExecutePolicyAsync(ExecutePolicyReque /// /// Creates the enrich index for an existing enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExecutePolicyResponse ExecutePolicy(ExecutePolicyRequestDescriptor descriptor) @@ -195,7 +195,7 @@ public virtual ExecutePolicyResponse ExecutePolicy(ExecutePolicyRequestDescripto /// /// Creates the enrich index for an existing enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExecutePolicyResponse ExecutePolicy(Elastic.Clients.Elasticsearch.Name name) @@ -209,7 +209,7 @@ public virtual ExecutePolicyResponse ExecutePolicy(Elastic.Clients.Elasticsearch /// /// Creates the enrich index for an existing enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExecutePolicyResponse ExecutePolicy(Elastic.Clients.Elasticsearch.Name name, Action configureRequest) @@ -224,7 +224,7 @@ public virtual ExecutePolicyResponse ExecutePolicy(Elastic.Clients.Elasticsearch /// /// Creates the enrich index for an existing enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExecutePolicyAsync(ExecutePolicyRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -236,7 +236,7 @@ public virtual Task ExecutePolicyAsync(ExecutePolicyReque /// /// Creates the enrich index for an existing enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExecutePolicyAsync(Elastic.Clients.Elasticsearch.Name name, CancellationToken cancellationToken = default) { @@ -249,7 +249,7 @@ public virtual Task ExecutePolicyAsync(Elastic.Clients.El /// /// Creates the enrich index for an existing enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExecutePolicyAsync(Elastic.Clients.Elasticsearch.Name name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -438,7 +438,7 @@ public virtual Task GetPolicyAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPolicyResponse PutPolicy(PutPolicyRequest request) @@ -452,7 +452,7 @@ public virtual PutPolicyResponse PutPolicy(PutPolicyRequest request) /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(PutPolicyRequest request, CancellationToken cancellationToken = default) { @@ -465,7 +465,7 @@ public virtual Task PutPolicyAsync(PutPolicyRequest request, /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPolicyResponse PutPolicy(PutPolicyRequestDescriptor descriptor) @@ -479,7 +479,7 @@ public virtual PutPolicyResponse PutPolicy(PutPolicyRequestDescriptor /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPolicyResponse PutPolicy(Elastic.Clients.Elasticsearch.Name name) @@ -494,7 +494,7 @@ public virtual PutPolicyResponse PutPolicy(Elastic.Clients.Elasticsea /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPolicyResponse PutPolicy(Elastic.Clients.Elasticsearch.Name name, Action> configureRequest) @@ -510,7 +510,7 @@ public virtual PutPolicyResponse PutPolicy(Elastic.Clients.Elasticsea /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPolicyResponse PutPolicy(PutPolicyRequestDescriptor descriptor) @@ -524,7 +524,7 @@ public virtual PutPolicyResponse PutPolicy(PutPolicyRequestDescriptor descriptor /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPolicyResponse PutPolicy(Elastic.Clients.Elasticsearch.Name name) @@ -539,7 +539,7 @@ public virtual PutPolicyResponse PutPolicy(Elastic.Clients.Elasticsearch.Name na /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPolicyResponse PutPolicy(Elastic.Clients.Elasticsearch.Name name, Action configureRequest) @@ -555,7 +555,7 @@ public virtual PutPolicyResponse PutPolicy(Elastic.Clients.Elasticsearch.Name na /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(PutPolicyRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -568,7 +568,7 @@ public virtual Task PutPolicyAsync(PutPolicyReques /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsearch.Name name, CancellationToken cancellationToken = default) { @@ -582,7 +582,7 @@ public virtual Task PutPolicyAsync(Elastic.Clients /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsearch.Name name, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -597,7 +597,7 @@ public virtual Task PutPolicyAsync(Elastic.Clients /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(PutPolicyRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -610,7 +610,7 @@ public virtual Task PutPolicyAsync(PutPolicyRequestDescriptor /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsearch.Name name, CancellationToken cancellationToken = default) { @@ -624,7 +624,7 @@ public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsea /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsearch.Name name, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Eql.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Eql.g.cs index 5fc3a064dde..288fe04ee8c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Eql.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Eql.g.cs @@ -244,7 +244,7 @@ public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch /// /// Returns the current status and available results for an async EQL search or a stored synchronous EQL search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual EqlGetResponse Get(EqlGetRequest request) @@ -257,7 +257,7 @@ public virtual EqlGetResponse Get(EqlGetRequest request) /// /// Returns the current status and available results for an async EQL search or a stored synchronous EQL search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(EqlGetRequest request, CancellationToken cancellationToken = default) { @@ -269,7 +269,7 @@ public virtual Task> GetAsync(EqlGetRequest reque /// /// Returns the current status and available results for an async EQL search or a stored synchronous EQL search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual EqlGetResponse Get(EqlGetRequestDescriptor descriptor) @@ -282,7 +282,7 @@ public virtual EqlGetResponse Get(EqlGetRequestDescriptor /// Returns the current status and available results for an async EQL search or a stored synchronous EQL search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual EqlGetResponse Get(Elastic.Clients.Elasticsearch.Id id) @@ -296,7 +296,7 @@ public virtual EqlGetResponse Get(Elastic.Clients.Elasticsearch. /// /// Returns the current status and available results for an async EQL search or a stored synchronous EQL search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual EqlGetResponse Get(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest) @@ -311,7 +311,7 @@ public virtual EqlGetResponse Get(Elastic.Clients.Elasticsearch. /// /// Returns the current status and available results for an async EQL search or a stored synchronous EQL search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(EqlGetRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -323,7 +323,7 @@ public virtual Task> GetAsync(EqlGetRequestDescri /// /// Returns the current status and available results for an async EQL search or a stored synchronous EQL search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -336,7 +336,7 @@ public virtual Task> GetAsync(Elastic.Clients.Ela /// /// Returns the current status and available results for an async EQL search or a stored synchronous EQL search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -350,7 +350,7 @@ public virtual Task> GetAsync(Elastic.Clients.Ela /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetEqlStatusResponse GetStatus(GetEqlStatusRequest request) @@ -363,7 +363,7 @@ public virtual GetEqlStatusResponse GetStatus(GetEqlStatusRequest request) /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(GetEqlStatusRequest request, CancellationToken cancellationToken = default) { @@ -375,7 +375,7 @@ public virtual Task GetStatusAsync(GetEqlStatusRequest req /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetEqlStatusResponse GetStatus(GetEqlStatusRequestDescriptor descriptor) @@ -388,7 +388,7 @@ public virtual GetEqlStatusResponse GetStatus(GetEqlStatusRequestDesc /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetEqlStatusResponse GetStatus(Elastic.Clients.Elasticsearch.Id id) @@ -402,7 +402,7 @@ public virtual GetEqlStatusResponse GetStatus(Elastic.Clients.Elastic /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetEqlStatusResponse GetStatus(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest) @@ -417,7 +417,7 @@ public virtual GetEqlStatusResponse GetStatus(Elastic.Clients.Elastic /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetEqlStatusResponse GetStatus(GetEqlStatusRequestDescriptor descriptor) @@ -430,7 +430,7 @@ public virtual GetEqlStatusResponse GetStatus(GetEqlStatusRequestDescriptor desc /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetEqlStatusResponse GetStatus(Elastic.Clients.Elasticsearch.Id id) @@ -444,7 +444,7 @@ public virtual GetEqlStatusResponse GetStatus(Elastic.Clients.Elasticsearch.Id i /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetEqlStatusResponse GetStatus(Elastic.Clients.Elasticsearch.Id id, Action configureRequest) @@ -459,7 +459,7 @@ public virtual GetEqlStatusResponse GetStatus(Elastic.Clients.Elasticsearch.Id i /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(GetEqlStatusRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -471,7 +471,7 @@ public virtual Task GetStatusAsync(GetEqlStatus /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -484,7 +484,7 @@ public virtual Task GetStatusAsync(Elastic.Clie /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -498,7 +498,7 @@ public virtual Task GetStatusAsync(Elastic.Clie /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(GetEqlStatusRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -510,7 +510,7 @@ public virtual Task GetStatusAsync(GetEqlStatusRequestDesc /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -523,7 +523,7 @@ public virtual Task GetStatusAsync(Elastic.Clients.Elastic /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(Elastic.Clients.Elasticsearch.Id id, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Esql.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Esql.g.cs index bb12af89fb3..c0957362790 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Esql.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Esql.g.cs @@ -43,7 +43,7 @@ internal EsqlNamespacedClient(ElasticsearchClient client) : base(client) /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual EsqlQueryResponse Query(EsqlQueryRequest request) @@ -56,7 +56,7 @@ public virtual EsqlQueryResponse Query(EsqlQueryRequest request) /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(EsqlQueryRequest request, CancellationToken cancellationToken = default) { @@ -68,7 +68,7 @@ public virtual Task QueryAsync(EsqlQueryRequest request, Canc /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual EsqlQueryResponse Query(EsqlQueryRequestDescriptor descriptor) @@ -81,7 +81,7 @@ public virtual EsqlQueryResponse Query(EsqlQueryRequestDescriptor /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual EsqlQueryResponse Query() @@ -95,7 +95,7 @@ public virtual EsqlQueryResponse Query() /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual EsqlQueryResponse Query(Action> configureRequest) @@ -110,7 +110,7 @@ public virtual EsqlQueryResponse Query(Action /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual EsqlQueryResponse Query(EsqlQueryRequestDescriptor descriptor) @@ -123,7 +123,7 @@ public virtual EsqlQueryResponse Query(EsqlQueryRequestDescriptor descriptor) /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual EsqlQueryResponse Query() @@ -137,7 +137,7 @@ public virtual EsqlQueryResponse Query() /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual EsqlQueryResponse Query(Action configureRequest) @@ -152,7 +152,7 @@ public virtual EsqlQueryResponse Query(Action config /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(EsqlQueryRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -164,7 +164,7 @@ public virtual Task QueryAsync(EsqlQueryRequestDes /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(CancellationToken cancellationToken = default) { @@ -177,7 +177,7 @@ public virtual Task QueryAsync(CancellationToken c /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -191,7 +191,7 @@ public virtual Task QueryAsync(Action /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(EsqlQueryRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -203,7 +203,7 @@ public virtual Task QueryAsync(EsqlQueryRequestDescriptor des /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(CancellationToken cancellationToken = default) { @@ -216,7 +216,7 @@ public virtual Task QueryAsync(CancellationToken cancellation /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Graph.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Graph.g.cs index bbe5008837a..81edb557a37 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Graph.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Graph.g.cs @@ -43,7 +43,7 @@ internal GraphNamespacedClient(ElasticsearchClient client) : base(client) /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExploreResponse Explore(ExploreRequest request) @@ -56,7 +56,7 @@ public virtual ExploreResponse Explore(ExploreRequest request) /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(ExploreRequest request, CancellationToken cancellationToken = default) { @@ -68,7 +68,7 @@ public virtual Task ExploreAsync(ExploreRequest request, Cancel /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExploreResponse Explore(ExploreRequestDescriptor descriptor) @@ -81,7 +81,7 @@ public virtual ExploreResponse Explore(ExploreRequestDescriptor /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExploreResponse Explore(Elastic.Clients.Elasticsearch.Indices indices) @@ -95,7 +95,7 @@ public virtual ExploreResponse Explore(Elastic.Clients.Elasticsearch. /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExploreResponse Explore(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest) @@ -110,7 +110,7 @@ public virtual ExploreResponse Explore(Elastic.Clients.Elasticsearch. /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExploreResponse Explore() @@ -124,7 +124,7 @@ public virtual ExploreResponse Explore() /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExploreResponse Explore(Action> configureRequest) @@ -139,7 +139,7 @@ public virtual ExploreResponse Explore(Action /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExploreResponse Explore(ExploreRequestDescriptor descriptor) @@ -152,7 +152,7 @@ public virtual ExploreResponse Explore(ExploreRequestDescriptor descriptor) /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExploreResponse Explore(Elastic.Clients.Elasticsearch.Indices indices) @@ -166,7 +166,7 @@ public virtual ExploreResponse Explore(Elastic.Clients.Elasticsearch.Indices ind /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExploreResponse Explore(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest) @@ -181,7 +181,7 @@ public virtual ExploreResponse Explore(Elastic.Clients.Elasticsearch.Indices ind /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(ExploreRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -193,7 +193,7 @@ public virtual Task ExploreAsync(ExploreRequestDescr /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default) { @@ -206,7 +206,7 @@ public virtual Task ExploreAsync(Elastic.Clients.Ela /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -220,7 +220,7 @@ public virtual Task ExploreAsync(Elastic.Clients.Ela /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(CancellationToken cancellationToken = default) { @@ -233,7 +233,7 @@ public virtual Task ExploreAsync(CancellationToken c /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -247,7 +247,7 @@ public virtual Task ExploreAsync(Action /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(ExploreRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -259,7 +259,7 @@ public virtual Task ExploreAsync(ExploreRequestDescriptor descr /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default) { @@ -272,7 +272,7 @@ public virtual Task ExploreAsync(Elastic.Clients.Elasticsearch. /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Indices.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Indices.g.cs index 2a92aa190e6..db556857ddd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Indices.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Indices.g.cs @@ -43,7 +43,7 @@ internal IndicesNamespacedClient(ElasticsearchClient client) : base(client) /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AnalyzeIndexResponse Analyze(AnalyzeIndexRequest request) @@ -56,7 +56,7 @@ public virtual AnalyzeIndexResponse Analyze(AnalyzeIndexRequest request) /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(AnalyzeIndexRequest request, CancellationToken cancellationToken = default) { @@ -68,7 +68,7 @@ public virtual Task AnalyzeAsync(AnalyzeIndexRequest reque /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AnalyzeIndexResponse Analyze(AnalyzeIndexRequestDescriptor descriptor) @@ -81,7 +81,7 @@ public virtual AnalyzeIndexResponse Analyze(AnalyzeIndexRequestDescri /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AnalyzeIndexResponse Analyze(Elastic.Clients.Elasticsearch.IndexName? index) @@ -95,7 +95,7 @@ public virtual AnalyzeIndexResponse Analyze(Elastic.Clients.Elasticse /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AnalyzeIndexResponse Analyze(Elastic.Clients.Elasticsearch.IndexName? index, Action> configureRequest) @@ -110,7 +110,7 @@ public virtual AnalyzeIndexResponse Analyze(Elastic.Clients.Elasticse /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AnalyzeIndexResponse Analyze() @@ -124,7 +124,7 @@ public virtual AnalyzeIndexResponse Analyze() /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AnalyzeIndexResponse Analyze(Action> configureRequest) @@ -139,7 +139,7 @@ public virtual AnalyzeIndexResponse Analyze(Action /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AnalyzeIndexResponse Analyze(AnalyzeIndexRequestDescriptor descriptor) @@ -152,7 +152,7 @@ public virtual AnalyzeIndexResponse Analyze(AnalyzeIndexRequestDescriptor descri /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AnalyzeIndexResponse Analyze(Elastic.Clients.Elasticsearch.IndexName? index) @@ -166,7 +166,7 @@ public virtual AnalyzeIndexResponse Analyze(Elastic.Clients.Elasticsearch.IndexN /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AnalyzeIndexResponse Analyze(Elastic.Clients.Elasticsearch.IndexName? index, Action configureRequest) @@ -181,7 +181,7 @@ public virtual AnalyzeIndexResponse Analyze(Elastic.Clients.Elasticsearch.IndexN /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AnalyzeIndexResponse Analyze() @@ -195,7 +195,7 @@ public virtual AnalyzeIndexResponse Analyze() /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AnalyzeIndexResponse Analyze(Action configureRequest) @@ -210,7 +210,7 @@ public virtual AnalyzeIndexResponse Analyze(Action /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(AnalyzeIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -222,7 +222,7 @@ public virtual Task AnalyzeAsync(AnalyzeIndexRe /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(Elastic.Clients.Elasticsearch.IndexName? index, CancellationToken cancellationToken = default) { @@ -235,7 +235,7 @@ public virtual Task AnalyzeAsync(Elastic.Client /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(Elastic.Clients.Elasticsearch.IndexName? index, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -249,7 +249,7 @@ public virtual Task AnalyzeAsync(Elastic.Client /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(CancellationToken cancellationToken = default) { @@ -262,7 +262,7 @@ public virtual Task AnalyzeAsync(CancellationTo /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -276,7 +276,7 @@ public virtual Task AnalyzeAsync(Action /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(AnalyzeIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -288,7 +288,7 @@ public virtual Task AnalyzeAsync(AnalyzeIndexRequestDescri /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(Elastic.Clients.Elasticsearch.IndexName? index, CancellationToken cancellationToken = default) { @@ -301,7 +301,7 @@ public virtual Task AnalyzeAsync(Elastic.Clients.Elasticse /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(Elastic.Clients.Elasticsearch.IndexName? index, Action configureRequest, CancellationToken cancellationToken = default) { @@ -315,7 +315,7 @@ public virtual Task AnalyzeAsync(Elastic.Clients.Elasticse /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(CancellationToken cancellationToken = default) { @@ -328,7 +328,7 @@ public virtual Task AnalyzeAsync(CancellationToken cancell /// /// Performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -906,7 +906,7 @@ public virtual Task CloneAsync(Elastic.Clients.Elasticsearch /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseIndexResponse Close(CloseIndexRequest request) @@ -919,7 +919,7 @@ public virtual CloseIndexResponse Close(CloseIndexRequest request) /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(CloseIndexRequest request, CancellationToken cancellationToken = default) { @@ -931,7 +931,7 @@ public virtual Task CloseAsync(CloseIndexRequest request, Ca /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseIndexResponse Close(CloseIndexRequestDescriptor descriptor) @@ -944,7 +944,7 @@ public virtual CloseIndexResponse Close(CloseIndexRequestDescriptor /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseIndexResponse Close(Elastic.Clients.Elasticsearch.Indices indices) @@ -958,7 +958,7 @@ public virtual CloseIndexResponse Close(Elastic.Clients.Elasticsearch /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseIndexResponse Close(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest) @@ -973,7 +973,7 @@ public virtual CloseIndexResponse Close(Elastic.Clients.Elasticsearch /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseIndexResponse Close() @@ -987,7 +987,7 @@ public virtual CloseIndexResponse Close() /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseIndexResponse Close(Action> configureRequest) @@ -1002,7 +1002,7 @@ public virtual CloseIndexResponse Close(Action /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseIndexResponse Close(CloseIndexRequestDescriptor descriptor) @@ -1015,7 +1015,7 @@ public virtual CloseIndexResponse Close(CloseIndexRequestDescriptor descriptor) /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseIndexResponse Close(Elastic.Clients.Elasticsearch.Indices indices) @@ -1029,7 +1029,7 @@ public virtual CloseIndexResponse Close(Elastic.Clients.Elasticsearch.Indices in /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseIndexResponse Close(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest) @@ -1044,7 +1044,7 @@ public virtual CloseIndexResponse Close(Elastic.Clients.Elasticsearch.Indices in /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(CloseIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1056,7 +1056,7 @@ public virtual Task CloseAsync(CloseIndexRequestD /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default) { @@ -1069,7 +1069,7 @@ public virtual Task CloseAsync(Elastic.Clients.El /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1083,7 +1083,7 @@ public virtual Task CloseAsync(Elastic.Clients.El /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(CancellationToken cancellationToken = default) { @@ -1096,7 +1096,7 @@ public virtual Task CloseAsync(CancellationToken /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1110,7 +1110,7 @@ public virtual Task CloseAsync(Action /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(CloseIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1122,7 +1122,7 @@ public virtual Task CloseAsync(CloseIndexRequestDescriptor d /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default) { @@ -1135,7 +1135,7 @@ public virtual Task CloseAsync(Elastic.Clients.Elasticsearch /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1150,7 +1150,7 @@ public virtual Task CloseAsync(Elastic.Clients.Elasticsearch /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CreateIndexResponse Create(CreateIndexRequest request) @@ -1164,7 +1164,7 @@ public virtual CreateIndexResponse Create(CreateIndexRequest request) /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(CreateIndexRequest request, CancellationToken cancellationToken = default) { @@ -1177,7 +1177,7 @@ public virtual Task CreateAsync(CreateIndexRequest request, /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CreateIndexResponse Create(CreateIndexRequestDescriptor descriptor) @@ -1191,7 +1191,7 @@ public virtual CreateIndexResponse Create(CreateIndexRequestDescripto /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CreateIndexResponse Create(Elastic.Clients.Elasticsearch.IndexName index) @@ -1206,7 +1206,7 @@ public virtual CreateIndexResponse Create(Elastic.Clients.Elasticsear /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CreateIndexResponse Create(Elastic.Clients.Elasticsearch.IndexName index, Action> configureRequest) @@ -1222,7 +1222,7 @@ public virtual CreateIndexResponse Create(Elastic.Clients.Elasticsear /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CreateIndexResponse Create() @@ -1237,7 +1237,7 @@ public virtual CreateIndexResponse Create() /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CreateIndexResponse Create(Action> configureRequest) @@ -1253,7 +1253,7 @@ public virtual CreateIndexResponse Create(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CreateIndexResponse Create(CreateIndexRequestDescriptor descriptor) @@ -1267,7 +1267,7 @@ public virtual CreateIndexResponse Create(CreateIndexRequestDescriptor descripto /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CreateIndexResponse Create(Elastic.Clients.Elasticsearch.IndexName index) @@ -1282,7 +1282,7 @@ public virtual CreateIndexResponse Create(Elastic.Clients.Elasticsearch.IndexNam /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CreateIndexResponse Create(Elastic.Clients.Elasticsearch.IndexName index, Action configureRequest) @@ -1298,7 +1298,7 @@ public virtual CreateIndexResponse Create(Elastic.Clients.Elasticsearch.IndexNam /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(CreateIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1311,7 +1311,7 @@ public virtual Task CreateAsync(CreateIndexReque /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(Elastic.Clients.Elasticsearch.IndexName index, CancellationToken cancellationToken = default) { @@ -1325,7 +1325,7 @@ public virtual Task CreateAsync(Elastic.Clients. /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(Elastic.Clients.Elasticsearch.IndexName index, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1340,7 +1340,7 @@ public virtual Task CreateAsync(Elastic.Clients. /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(CancellationToken cancellationToken = default) { @@ -1354,7 +1354,7 @@ public virtual Task CreateAsync(CancellationToke /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1369,7 +1369,7 @@ public virtual Task CreateAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(CreateIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1382,7 +1382,7 @@ public virtual Task CreateAsync(CreateIndexRequestDescripto /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(Elastic.Clients.Elasticsearch.IndexName index, CancellationToken cancellationToken = default) { @@ -1396,7 +1396,7 @@ public virtual Task CreateAsync(Elastic.Clients.Elasticsear /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(Elastic.Clients.Elasticsearch.IndexName index, Action configureRequest, CancellationToken cancellationToken = default) { @@ -2692,7 +2692,7 @@ public virtual Task DeleteTemplateAsync(Elastic.Clients. /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DiskUsageResponse DiskUsage(DiskUsageRequest request) @@ -2705,7 +2705,7 @@ public virtual DiskUsageResponse DiskUsage(DiskUsageRequest request) /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DiskUsageAsync(DiskUsageRequest request, CancellationToken cancellationToken = default) { @@ -2717,7 +2717,7 @@ public virtual Task DiskUsageAsync(DiskUsageRequest request, /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DiskUsageResponse DiskUsage(DiskUsageRequestDescriptor descriptor) @@ -2730,7 +2730,7 @@ public virtual DiskUsageResponse DiskUsage(DiskUsageRequestDescriptor /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DiskUsageResponse DiskUsage(Elastic.Clients.Elasticsearch.Indices indices) @@ -2744,7 +2744,7 @@ public virtual DiskUsageResponse DiskUsage(Elastic.Clients.Elasticsea /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DiskUsageResponse DiskUsage(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest) @@ -2759,7 +2759,7 @@ public virtual DiskUsageResponse DiskUsage(Elastic.Clients.Elasticsea /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DiskUsageResponse DiskUsage() @@ -2773,7 +2773,7 @@ public virtual DiskUsageResponse DiskUsage() /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DiskUsageResponse DiskUsage(Action> configureRequest) @@ -2788,7 +2788,7 @@ public virtual DiskUsageResponse DiskUsage(Action /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DiskUsageResponse DiskUsage(DiskUsageRequestDescriptor descriptor) @@ -2801,7 +2801,7 @@ public virtual DiskUsageResponse DiskUsage(DiskUsageRequestDescriptor descriptor /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DiskUsageResponse DiskUsage(Elastic.Clients.Elasticsearch.Indices indices) @@ -2815,7 +2815,7 @@ public virtual DiskUsageResponse DiskUsage(Elastic.Clients.Elasticsearch.Indices /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DiskUsageResponse DiskUsage(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest) @@ -2830,7 +2830,7 @@ public virtual DiskUsageResponse DiskUsage(Elastic.Clients.Elasticsearch.Indices /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DiskUsageAsync(DiskUsageRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -2842,7 +2842,7 @@ public virtual Task DiskUsageAsync(DiskUsageReques /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DiskUsageAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default) { @@ -2855,7 +2855,7 @@ public virtual Task DiskUsageAsync(Elastic.Clients /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DiskUsageAsync(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -2869,7 +2869,7 @@ public virtual Task DiskUsageAsync(Elastic.Clients /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DiskUsageAsync(CancellationToken cancellationToken = default) { @@ -2882,7 +2882,7 @@ public virtual Task DiskUsageAsync(CancellationTok /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DiskUsageAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -2896,7 +2896,7 @@ public virtual Task DiskUsageAsync(Action /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DiskUsageAsync(DiskUsageRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -2908,7 +2908,7 @@ public virtual Task DiskUsageAsync(DiskUsageRequestDescriptor /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DiskUsageAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default) { @@ -2921,7 +2921,7 @@ public virtual Task DiskUsageAsync(Elastic.Clients.Elasticsea /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DiskUsageAsync(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest, CancellationToken cancellationToken = default) { @@ -2935,7 +2935,7 @@ public virtual Task DiskUsageAsync(Elastic.Clients.Elasticsea /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DownsampleResponse Downsample(DownsampleRequest request) @@ -2948,7 +2948,7 @@ public virtual DownsampleResponse Downsample(DownsampleRequest request) /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DownsampleAsync(DownsampleRequest request, CancellationToken cancellationToken = default) { @@ -2960,7 +2960,7 @@ public virtual Task DownsampleAsync(DownsampleRequest reques /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DownsampleResponse Downsample(DownsampleRequestDescriptor descriptor) @@ -2973,7 +2973,7 @@ public virtual DownsampleResponse Downsample(DownsampleRequestDescrip /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DownsampleResponse Downsample(Elastic.Clients.Elasticsearch.IndexManagement.DownsampleConfig config, Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName targetIndex) @@ -2987,7 +2987,7 @@ public virtual DownsampleResponse Downsample(Elastic.Clients.Elastics /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DownsampleResponse Downsample(Elastic.Clients.Elasticsearch.IndexManagement.DownsampleConfig config, Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName targetIndex, Action> configureRequest) @@ -3002,7 +3002,7 @@ public virtual DownsampleResponse Downsample(Elastic.Clients.Elastics /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DownsampleResponse Downsample(DownsampleRequestDescriptor descriptor) @@ -3015,7 +3015,7 @@ public virtual DownsampleResponse Downsample(DownsampleRequestDescriptor descrip /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DownsampleResponse Downsample(Elastic.Clients.Elasticsearch.IndexManagement.DownsampleConfig config, Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName targetIndex) @@ -3029,7 +3029,7 @@ public virtual DownsampleResponse Downsample(Elastic.Clients.Elasticsearch.Index /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DownsampleResponse Downsample(Elastic.Clients.Elasticsearch.IndexManagement.DownsampleConfig config, Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName targetIndex, Action configureRequest) @@ -3044,7 +3044,7 @@ public virtual DownsampleResponse Downsample(Elastic.Clients.Elasticsearch.Index /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DownsampleAsync(DownsampleRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -3056,7 +3056,7 @@ public virtual Task DownsampleAsync(DownsampleReq /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DownsampleAsync(Elastic.Clients.Elasticsearch.IndexManagement.DownsampleConfig config, Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName targetIndex, CancellationToken cancellationToken = default) { @@ -3069,7 +3069,7 @@ public virtual Task DownsampleAsync(Elastic.Clien /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DownsampleAsync(Elastic.Clients.Elasticsearch.IndexManagement.DownsampleConfig config, Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName targetIndex, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -3083,7 +3083,7 @@ public virtual Task DownsampleAsync(Elastic.Clien /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DownsampleAsync(DownsampleRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -3095,7 +3095,7 @@ public virtual Task DownsampleAsync(DownsampleRequestDescrip /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DownsampleAsync(Elastic.Clients.Elasticsearch.IndexManagement.DownsampleConfig config, Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName targetIndex, CancellationToken cancellationToken = default) { @@ -3108,7 +3108,7 @@ public virtual Task DownsampleAsync(Elastic.Clients.Elastics /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DownsampleAsync(Elastic.Clients.Elasticsearch.IndexManagement.DownsampleConfig config, Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName targetIndex, Action configureRequest, CancellationToken cancellationToken = default) { @@ -4428,7 +4428,7 @@ public virtual Task FieldUsageStatsAsync(Elastic.Client /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FlushResponse Flush(FlushRequest request) @@ -4441,7 +4441,7 @@ public virtual FlushResponse Flush(FlushRequest request) /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(FlushRequest request, CancellationToken cancellationToken = default) { @@ -4453,7 +4453,7 @@ public virtual Task FlushAsync(FlushRequest request, Cancellation /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FlushResponse Flush(FlushRequestDescriptor descriptor) @@ -4466,7 +4466,7 @@ public virtual FlushResponse Flush(FlushRequestDescriptor /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FlushResponse Flush(Elastic.Clients.Elasticsearch.Indices? indices) @@ -4480,7 +4480,7 @@ public virtual FlushResponse Flush(Elastic.Clients.Elasticsearch.Indi /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FlushResponse Flush(Elastic.Clients.Elasticsearch.Indices? indices, Action> configureRequest) @@ -4495,7 +4495,7 @@ public virtual FlushResponse Flush(Elastic.Clients.Elasticsearch.Indi /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FlushResponse Flush() @@ -4509,7 +4509,7 @@ public virtual FlushResponse Flush() /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FlushResponse Flush(Action> configureRequest) @@ -4524,7 +4524,7 @@ public virtual FlushResponse Flush(Action /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FlushResponse Flush(FlushRequestDescriptor descriptor) @@ -4537,7 +4537,7 @@ public virtual FlushResponse Flush(FlushRequestDescriptor descriptor) /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FlushResponse Flush(Elastic.Clients.Elasticsearch.Indices? indices) @@ -4551,7 +4551,7 @@ public virtual FlushResponse Flush(Elastic.Clients.Elasticsearch.Indices? indice /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FlushResponse Flush(Elastic.Clients.Elasticsearch.Indices? indices, Action configureRequest) @@ -4566,7 +4566,7 @@ public virtual FlushResponse Flush(Elastic.Clients.Elasticsearch.Indices? indice /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FlushResponse Flush() @@ -4580,7 +4580,7 @@ public virtual FlushResponse Flush() /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FlushResponse Flush(Action configureRequest) @@ -4595,7 +4595,7 @@ public virtual FlushResponse Flush(Action configureReque /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(FlushRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -4607,7 +4607,7 @@ public virtual Task FlushAsync(FlushRequestDescriptor< /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(Elastic.Clients.Elasticsearch.Indices? indices, CancellationToken cancellationToken = default) { @@ -4620,7 +4620,7 @@ public virtual Task FlushAsync(Elastic.Clients.Elastic /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(Elastic.Clients.Elasticsearch.Indices? indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -4634,7 +4634,7 @@ public virtual Task FlushAsync(Elastic.Clients.Elastic /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(CancellationToken cancellationToken = default) { @@ -4647,7 +4647,7 @@ public virtual Task FlushAsync(CancellationToken cance /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -4661,7 +4661,7 @@ public virtual Task FlushAsync(Action /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(FlushRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -4673,7 +4673,7 @@ public virtual Task FlushAsync(FlushRequestDescriptor descriptor, /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(Elastic.Clients.Elasticsearch.Indices? indices, CancellationToken cancellationToken = default) { @@ -4686,7 +4686,7 @@ public virtual Task FlushAsync(Elastic.Clients.Elasticsearch.Indi /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(Elastic.Clients.Elasticsearch.Indices? indices, Action configureRequest, CancellationToken cancellationToken = default) { @@ -4700,7 +4700,7 @@ public virtual Task FlushAsync(Elastic.Clients.Elasticsearch.Indi /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(CancellationToken cancellationToken = default) { @@ -4713,7 +4713,7 @@ public virtual Task FlushAsync(CancellationToken cancellationToke /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -10519,7 +10519,7 @@ public virtual Task ResolveIndexAsync(Elastic.Clients.Elas /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual RolloverResponse Rollover(RolloverRequest request) @@ -10533,7 +10533,7 @@ public virtual RolloverResponse Rollover(RolloverRequest request) /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(RolloverRequest request, CancellationToken cancellationToken = default) { @@ -10546,7 +10546,7 @@ public virtual Task RolloverAsync(RolloverRequest request, Can /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual RolloverResponse Rollover(RolloverRequestDescriptor descriptor) @@ -10560,7 +10560,7 @@ public virtual RolloverResponse Rollover(RolloverRequestDescriptor - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearch.IndexAlias alias, Elastic.Clients.Elasticsearch.IndexName? newIndex) @@ -10575,7 +10575,7 @@ public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearc /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearch.IndexAlias alias, Elastic.Clients.Elasticsearch.IndexName? newIndex, Action> configureRequest) @@ -10591,7 +10591,7 @@ public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearc /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearch.IndexAlias alias) @@ -10606,7 +10606,7 @@ public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearc /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearch.IndexAlias alias, Action> configureRequest) @@ -10622,7 +10622,7 @@ public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearc /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual RolloverResponse Rollover(RolloverRequestDescriptor descriptor) @@ -10636,7 +10636,7 @@ public virtual RolloverResponse Rollover(RolloverRequestDescriptor descriptor) /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearch.IndexAlias alias, Elastic.Clients.Elasticsearch.IndexName? newIndex) @@ -10651,7 +10651,7 @@ public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearch.IndexAlia /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearch.IndexAlias alias, Elastic.Clients.Elasticsearch.IndexName? newIndex, Action configureRequest) @@ -10667,7 +10667,7 @@ public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearch.IndexAlia /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearch.IndexAlias alias) @@ -10682,7 +10682,7 @@ public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearch.IndexAlia /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearch.IndexAlias alias, Action configureRequest) @@ -10698,7 +10698,7 @@ public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearch.IndexAlia /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(RolloverRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -10711,7 +10711,7 @@ public virtual Task RolloverAsync(RolloverRequestDe /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.IndexAlias alias, Elastic.Clients.Elasticsearch.IndexName? newIndex, CancellationToken cancellationToken = default) { @@ -10725,7 +10725,7 @@ public virtual Task RolloverAsync(Elastic.Clients.E /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.IndexAlias alias, Elastic.Clients.Elasticsearch.IndexName? newIndex, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -10740,7 +10740,7 @@ public virtual Task RolloverAsync(Elastic.Clients.E /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.IndexAlias alias, CancellationToken cancellationToken = default) { @@ -10754,7 +10754,7 @@ public virtual Task RolloverAsync(Elastic.Clients.E /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.IndexAlias alias, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -10769,7 +10769,7 @@ public virtual Task RolloverAsync(Elastic.Clients.E /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(RolloverRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -10782,7 +10782,7 @@ public virtual Task RolloverAsync(RolloverRequestDescriptor de /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.IndexAlias alias, Elastic.Clients.Elasticsearch.IndexName? newIndex, CancellationToken cancellationToken = default) { @@ -10796,7 +10796,7 @@ public virtual Task RolloverAsync(Elastic.Clients.Elasticsearc /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.IndexAlias alias, Elastic.Clients.Elasticsearch.IndexName? newIndex, Action configureRequest, CancellationToken cancellationToken = default) { @@ -10811,7 +10811,7 @@ public virtual Task RolloverAsync(Elastic.Clients.Elasticsearc /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.IndexAlias alias, CancellationToken cancellationToken = default) { @@ -10825,7 +10825,7 @@ public virtual Task RolloverAsync(Elastic.Clients.Elasticsearc /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.IndexAlias alias, Action configureRequest, CancellationToken cancellationToken = default) { @@ -11481,7 +11481,7 @@ public virtual Task ShardStoresAsync(Action /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ShrinkIndexResponse Shrink(ShrinkIndexRequest request) @@ -11494,7 +11494,7 @@ public virtual ShrinkIndexResponse Shrink(ShrinkIndexRequest request) /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ShrinkAsync(ShrinkIndexRequest request, CancellationToken cancellationToken = default) { @@ -11506,7 +11506,7 @@ public virtual Task ShrinkAsync(ShrinkIndexRequest request, /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ShrinkIndexResponse Shrink(ShrinkIndexRequestDescriptor descriptor) @@ -11519,7 +11519,7 @@ public virtual ShrinkIndexResponse Shrink(ShrinkIndexRequestDescripto /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ShrinkIndexResponse Shrink(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target) @@ -11533,7 +11533,7 @@ public virtual ShrinkIndexResponse Shrink(Elastic.Clients.Elasticsear /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ShrinkIndexResponse Shrink(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target, Action> configureRequest) @@ -11548,7 +11548,7 @@ public virtual ShrinkIndexResponse Shrink(Elastic.Clients.Elasticsear /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ShrinkIndexResponse Shrink(ShrinkIndexRequestDescriptor descriptor) @@ -11561,7 +11561,7 @@ public virtual ShrinkIndexResponse Shrink(ShrinkIndexRequestDescriptor descripto /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ShrinkIndexResponse Shrink(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target) @@ -11575,7 +11575,7 @@ public virtual ShrinkIndexResponse Shrink(Elastic.Clients.Elasticsearch.IndexNam /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ShrinkIndexResponse Shrink(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target, Action configureRequest) @@ -11590,7 +11590,7 @@ public virtual ShrinkIndexResponse Shrink(Elastic.Clients.Elasticsearch.IndexNam /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ShrinkAsync(ShrinkIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -11602,7 +11602,7 @@ public virtual Task ShrinkAsync(ShrinkIndexReque /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ShrinkAsync(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target, CancellationToken cancellationToken = default) { @@ -11615,7 +11615,7 @@ public virtual Task ShrinkAsync(Elastic.Clients. /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ShrinkAsync(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -11629,7 +11629,7 @@ public virtual Task ShrinkAsync(Elastic.Clients. /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ShrinkAsync(ShrinkIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -11641,7 +11641,7 @@ public virtual Task ShrinkAsync(ShrinkIndexRequestDescripto /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ShrinkAsync(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target, CancellationToken cancellationToken = default) { @@ -11654,7 +11654,7 @@ public virtual Task ShrinkAsync(Elastic.Clients.Elasticsear /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ShrinkAsync(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target, Action configureRequest, CancellationToken cancellationToken = default) { @@ -12103,7 +12103,7 @@ public virtual Task SimulateTemplateAsync(Action /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SplitIndexResponse Split(SplitIndexRequest request) @@ -12116,7 +12116,7 @@ public virtual SplitIndexResponse Split(SplitIndexRequest request) /// /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task SplitAsync(SplitIndexRequest request, CancellationToken cancellationToken = default) { @@ -12128,7 +12128,7 @@ public virtual Task SplitAsync(SplitIndexRequest request, Ca /// /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SplitIndexResponse Split(SplitIndexRequestDescriptor descriptor) @@ -12141,7 +12141,7 @@ public virtual SplitIndexResponse Split(SplitIndexRequestDescriptor /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SplitIndexResponse Split(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target) @@ -12155,7 +12155,7 @@ public virtual SplitIndexResponse Split(Elastic.Clients.Elasticsearch /// /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SplitIndexResponse Split(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target, Action> configureRequest) @@ -12170,7 +12170,7 @@ public virtual SplitIndexResponse Split(Elastic.Clients.Elasticsearch /// /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SplitIndexResponse Split(SplitIndexRequestDescriptor descriptor) @@ -12183,7 +12183,7 @@ public virtual SplitIndexResponse Split(SplitIndexRequestDescriptor descriptor) /// /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SplitIndexResponse Split(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target) @@ -12197,7 +12197,7 @@ public virtual SplitIndexResponse Split(Elastic.Clients.Elasticsearch.IndexName /// /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SplitIndexResponse Split(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target, Action configureRequest) @@ -12212,7 +12212,7 @@ public virtual SplitIndexResponse Split(Elastic.Clients.Elasticsearch.IndexName /// /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task SplitAsync(SplitIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -12224,7 +12224,7 @@ public virtual Task SplitAsync(SplitIndexRequestD /// /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task SplitAsync(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target, CancellationToken cancellationToken = default) { @@ -12237,7 +12237,7 @@ public virtual Task SplitAsync(Elastic.Clients.El /// /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task SplitAsync(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -12251,7 +12251,7 @@ public virtual Task SplitAsync(Elastic.Clients.El /// /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task SplitAsync(SplitIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -12263,7 +12263,7 @@ public virtual Task SplitAsync(SplitIndexRequestDescriptor d /// /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task SplitAsync(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target, CancellationToken cancellationToken = default) { @@ -12276,7 +12276,7 @@ public virtual Task SplitAsync(Elastic.Clients.Elasticsearch /// /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task SplitAsync(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ingest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ingest.g.cs index 86a38064532..6f18a080e88 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ingest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ingest.g.cs @@ -230,7 +230,7 @@ public virtual Task DeletePipelineAsync(Elastic.Clients. /// /// Gets download statistics for GeoIP2 databases used with the geoip processor. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GeoIpStatsResponse GeoIpStats(GeoIpStatsRequest request) @@ -243,7 +243,7 @@ public virtual GeoIpStatsResponse GeoIpStats(GeoIpStatsRequest request) /// /// Gets download statistics for GeoIP2 databases used with the geoip processor. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GeoIpStatsAsync(GeoIpStatsRequest request, CancellationToken cancellationToken = default) { @@ -255,7 +255,7 @@ public virtual Task GeoIpStatsAsync(GeoIpStatsRequest reques /// /// Gets download statistics for GeoIP2 databases used with the geoip processor. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GeoIpStatsResponse GeoIpStats(GeoIpStatsRequestDescriptor descriptor) @@ -268,7 +268,7 @@ public virtual GeoIpStatsResponse GeoIpStats(GeoIpStatsRequestDescriptor descrip /// /// Gets download statistics for GeoIP2 databases used with the geoip processor. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GeoIpStatsResponse GeoIpStats() @@ -282,7 +282,7 @@ public virtual GeoIpStatsResponse GeoIpStats() /// /// Gets download statistics for GeoIP2 databases used with the geoip processor. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GeoIpStatsResponse GeoIpStats(Action configureRequest) @@ -297,7 +297,7 @@ public virtual GeoIpStatsResponse GeoIpStats(Action /// /// Gets download statistics for GeoIP2 databases used with the geoip processor. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GeoIpStatsAsync(GeoIpStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -309,7 +309,7 @@ public virtual Task GeoIpStatsAsync(GeoIpStatsRequestDescrip /// /// Gets download statistics for GeoIP2 databases used with the geoip processor. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GeoIpStatsAsync(CancellationToken cancellationToken = default) { @@ -322,7 +322,7 @@ public virtual Task GeoIpStatsAsync(CancellationToken cancel /// /// Gets download statistics for GeoIP2 databases used with the geoip processor. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GeoIpStatsAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -332,6 +332,305 @@ public virtual Task GeoIpStatsAsync(Action(descriptor, cancellationToken); } + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual GetGeoipDatabaseResponse GetGeoipDatabase(GetGeoipDatabaseRequest request) + { + request.BeforeRequest(); + return DoRequest(request); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetGeoipDatabaseAsync(GetGeoipDatabaseRequest request, CancellationToken cancellationToken = default) + { + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual GetGeoipDatabaseResponse GetGeoipDatabase(GetGeoipDatabaseRequestDescriptor descriptor) + { + descriptor.BeforeRequest(); + return DoRequest, GetGeoipDatabaseResponse, GetGeoipDatabaseRequestParameters>(descriptor); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual GetGeoipDatabaseResponse GetGeoipDatabase(Elastic.Clients.Elasticsearch.Ids? id) + { + var descriptor = new GetGeoipDatabaseRequestDescriptor(id); + descriptor.BeforeRequest(); + return DoRequest, GetGeoipDatabaseResponse, GetGeoipDatabaseRequestParameters>(descriptor); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual GetGeoipDatabaseResponse GetGeoipDatabase(Elastic.Clients.Elasticsearch.Ids? id, Action> configureRequest) + { + var descriptor = new GetGeoipDatabaseRequestDescriptor(id); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest, GetGeoipDatabaseResponse, GetGeoipDatabaseRequestParameters>(descriptor); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual GetGeoipDatabaseResponse GetGeoipDatabase() + { + var descriptor = new GetGeoipDatabaseRequestDescriptor(); + descriptor.BeforeRequest(); + return DoRequest, GetGeoipDatabaseResponse, GetGeoipDatabaseRequestParameters>(descriptor); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual GetGeoipDatabaseResponse GetGeoipDatabase(Action> configureRequest) + { + var descriptor = new GetGeoipDatabaseRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest, GetGeoipDatabaseResponse, GetGeoipDatabaseRequestParameters>(descriptor); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual GetGeoipDatabaseResponse GetGeoipDatabase(GetGeoipDatabaseRequestDescriptor descriptor) + { + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual GetGeoipDatabaseResponse GetGeoipDatabase(Elastic.Clients.Elasticsearch.Ids? id) + { + var descriptor = new GetGeoipDatabaseRequestDescriptor(id); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual GetGeoipDatabaseResponse GetGeoipDatabase(Elastic.Clients.Elasticsearch.Ids? id, Action configureRequest) + { + var descriptor = new GetGeoipDatabaseRequestDescriptor(id); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual GetGeoipDatabaseResponse GetGeoipDatabase() + { + var descriptor = new GetGeoipDatabaseRequestDescriptor(); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual GetGeoipDatabaseResponse GetGeoipDatabase(Action configureRequest) + { + var descriptor = new GetGeoipDatabaseRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetGeoipDatabaseAsync(GetGeoipDatabaseRequestDescriptor descriptor, CancellationToken cancellationToken = default) + { + descriptor.BeforeRequest(); + return DoRequestAsync, GetGeoipDatabaseResponse, GetGeoipDatabaseRequestParameters>(descriptor, cancellationToken); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Ids? id, CancellationToken cancellationToken = default) + { + var descriptor = new GetGeoipDatabaseRequestDescriptor(id); + descriptor.BeforeRequest(); + return DoRequestAsync, GetGeoipDatabaseResponse, GetGeoipDatabaseRequestParameters>(descriptor, cancellationToken); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Ids? id, Action> configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new GetGeoipDatabaseRequestDescriptor(id); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync, GetGeoipDatabaseResponse, GetGeoipDatabaseRequestParameters>(descriptor, cancellationToken); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetGeoipDatabaseAsync(CancellationToken cancellationToken = default) + { + var descriptor = new GetGeoipDatabaseRequestDescriptor(); + descriptor.BeforeRequest(); + return DoRequestAsync, GetGeoipDatabaseResponse, GetGeoipDatabaseRequestParameters>(descriptor, cancellationToken); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetGeoipDatabaseAsync(Action> configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new GetGeoipDatabaseRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync, GetGeoipDatabaseResponse, GetGeoipDatabaseRequestParameters>(descriptor, cancellationToken); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetGeoipDatabaseAsync(GetGeoipDatabaseRequestDescriptor descriptor, CancellationToken cancellationToken = default) + { + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Ids? id, CancellationToken cancellationToken = default) + { + var descriptor = new GetGeoipDatabaseRequestDescriptor(id); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Ids? id, Action configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new GetGeoipDatabaseRequestDescriptor(id); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetGeoipDatabaseAsync(CancellationToken cancellationToken = default) + { + var descriptor = new GetGeoipDatabaseRequestDescriptor(); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Returns information about one or more geoip database configurations. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetGeoipDatabaseAsync(Action configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new GetGeoipDatabaseRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + /// /// /// Returns information about one or more ingest pipelines. @@ -659,7 +958,7 @@ public virtual Task GetPipelineAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ProcessorGrokResponse ProcessorGrok(ProcessorGrokRequest request) @@ -674,7 +973,7 @@ public virtual ProcessorGrokResponse ProcessorGrok(ProcessorGrokRequest request) /// You choose which field to extract matched fields from, as well as the grok pattern you expect will match. /// A grok pattern is like a regular expression that supports aliased expressions that can be reused. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ProcessorGrokAsync(ProcessorGrokRequest request, CancellationToken cancellationToken = default) { @@ -688,7 +987,7 @@ public virtual Task ProcessorGrokAsync(ProcessorGrokReque /// You choose which field to extract matched fields from, as well as the grok pattern you expect will match. /// A grok pattern is like a regular expression that supports aliased expressions that can be reused. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ProcessorGrokResponse ProcessorGrok(ProcessorGrokRequestDescriptor descriptor) @@ -703,7 +1002,7 @@ public virtual ProcessorGrokResponse ProcessorGrok(ProcessorGrokRequestDescripto /// You choose which field to extract matched fields from, as well as the grok pattern you expect will match. /// A grok pattern is like a regular expression that supports aliased expressions that can be reused. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ProcessorGrokResponse ProcessorGrok() @@ -719,7 +1018,7 @@ public virtual ProcessorGrokResponse ProcessorGrok() /// You choose which field to extract matched fields from, as well as the grok pattern you expect will match. /// A grok pattern is like a regular expression that supports aliased expressions that can be reused. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ProcessorGrokResponse ProcessorGrok(Action configureRequest) @@ -736,7 +1035,7 @@ public virtual ProcessorGrokResponse ProcessorGrok(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ProcessorGrokAsync(ProcessorGrokRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -750,7 +1049,7 @@ public virtual Task ProcessorGrokAsync(ProcessorGrokReque /// You choose which field to extract matched fields from, as well as the grok pattern you expect will match. /// A grok pattern is like a regular expression that supports aliased expressions that can be reused. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ProcessorGrokAsync(CancellationToken cancellationToken = default) { @@ -765,7 +1064,7 @@ public virtual Task ProcessorGrokAsync(CancellationToken /// You choose which field to extract matched fields from, as well as the grok pattern you expect will match. /// A grok pattern is like a regular expression that supports aliased expressions that can be reused. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ProcessorGrokAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -780,7 +1079,7 @@ public virtual Task ProcessorGrokAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPipelineResponse PutPipeline(PutPipelineRequest request) @@ -794,7 +1093,7 @@ public virtual PutPipelineResponse PutPipeline(PutPipelineRequest request) /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(PutPipelineRequest request, CancellationToken cancellationToken = default) { @@ -807,7 +1106,7 @@ public virtual Task PutPipelineAsync(PutPipelineRequest req /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPipelineResponse PutPipeline(PutPipelineRequestDescriptor descriptor) @@ -821,7 +1120,7 @@ public virtual PutPipelineResponse PutPipeline(PutPipelineRequestDesc /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPipelineResponse PutPipeline(Elastic.Clients.Elasticsearch.Id id) @@ -836,7 +1135,7 @@ public virtual PutPipelineResponse PutPipeline(Elastic.Clients.Elasti /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPipelineResponse PutPipeline(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest) @@ -852,7 +1151,7 @@ public virtual PutPipelineResponse PutPipeline(Elastic.Clients.Elasti /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPipelineResponse PutPipeline(PutPipelineRequestDescriptor descriptor) @@ -866,7 +1165,7 @@ public virtual PutPipelineResponse PutPipeline(PutPipelineRequestDescriptor desc /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPipelineResponse PutPipeline(Elastic.Clients.Elasticsearch.Id id) @@ -881,7 +1180,7 @@ public virtual PutPipelineResponse PutPipeline(Elastic.Clients.Elasticsearch.Id /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPipelineResponse PutPipeline(Elastic.Clients.Elasticsearch.Id id, Action configureRequest) @@ -897,7 +1196,7 @@ public virtual PutPipelineResponse PutPipeline(Elastic.Clients.Elasticsearch.Id /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(PutPipelineRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -910,7 +1209,7 @@ public virtual Task PutPipelineAsync(PutPipeline /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -924,7 +1223,7 @@ public virtual Task PutPipelineAsync(Elastic.Cli /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -939,7 +1238,7 @@ public virtual Task PutPipelineAsync(Elastic.Cli /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(PutPipelineRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -952,7 +1251,7 @@ public virtual Task PutPipelineAsync(PutPipelineRequestDesc /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -966,7 +1265,7 @@ public virtual Task PutPipelineAsync(Elastic.Clients.Elasti /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(Elastic.Clients.Elasticsearch.Id id, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ml.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ml.g.cs index c1c6b5fc52b..3ac1051ceb5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ml.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ml.g.cs @@ -185,7 +185,7 @@ public virtual Task ClearTrainedModelD /// If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. /// When a datafeed that has a specified end date stops, it automatically closes its associated job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseJobResponse CloseJob(CloseJobRequest request) @@ -202,7 +202,7 @@ public virtual CloseJobResponse CloseJob(CloseJobRequest request) /// If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. /// When a datafeed that has a specified end date stops, it automatically closes its associated job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseJobAsync(CloseJobRequest request, CancellationToken cancellationToken = default) { @@ -218,7 +218,7 @@ public virtual Task CloseJobAsync(CloseJobRequest request, Can /// If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. /// When a datafeed that has a specified end date stops, it automatically closes its associated job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseJobResponse CloseJob(CloseJobRequestDescriptor descriptor) @@ -235,7 +235,7 @@ public virtual CloseJobResponse CloseJob(CloseJobRequestDescriptor descriptor) /// If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. /// When a datafeed that has a specified end date stops, it automatically closes its associated job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseJobResponse CloseJob(Elastic.Clients.Elasticsearch.Id jobId) @@ -253,7 +253,7 @@ public virtual CloseJobResponse CloseJob(Elastic.Clients.Elasticsearch.Id jobId) /// If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. /// When a datafeed that has a specified end date stops, it automatically closes its associated job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseJobResponse CloseJob(Elastic.Clients.Elasticsearch.Id jobId, Action configureRequest) @@ -272,7 +272,7 @@ public virtual CloseJobResponse CloseJob(Elastic.Clients.Elasticsearch.Id jobId, /// If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. /// When a datafeed that has a specified end date stops, it automatically closes its associated job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseJobAsync(CloseJobRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -288,7 +288,7 @@ public virtual Task CloseJobAsync(CloseJobRequestDescriptor de /// If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. /// When a datafeed that has a specified end date stops, it automatically closes its associated job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseJobAsync(Elastic.Clients.Elasticsearch.Id jobId, CancellationToken cancellationToken = default) { @@ -305,7 +305,7 @@ public virtual Task CloseJobAsync(Elastic.Clients.Elasticsearc /// If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. /// When a datafeed that has a specified end date stops, it automatically closes its associated job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseJobAsync(Elastic.Clients.Elasticsearch.Id jobId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -320,7 +320,7 @@ public virtual Task CloseJobAsync(Elastic.Clients.Elasticsearc /// Delete a calendar. /// Removes all scheduled events from a calendar, then deletes it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteCalendarResponse DeleteCalendar(DeleteCalendarRequest request) @@ -334,7 +334,7 @@ public virtual DeleteCalendarResponse DeleteCalendar(DeleteCalendarRequest reque /// Delete a calendar. /// Removes all scheduled events from a calendar, then deletes it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarAsync(DeleteCalendarRequest request, CancellationToken cancellationToken = default) { @@ -347,7 +347,7 @@ public virtual Task DeleteCalendarAsync(DeleteCalendarRe /// Delete a calendar. /// Removes all scheduled events from a calendar, then deletes it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteCalendarResponse DeleteCalendar(DeleteCalendarRequestDescriptor descriptor) @@ -361,7 +361,7 @@ public virtual DeleteCalendarResponse DeleteCalendar(DeleteCalendarRequestDescri /// Delete a calendar. /// Removes all scheduled events from a calendar, then deletes it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteCalendarResponse DeleteCalendar(Elastic.Clients.Elasticsearch.Id calendarId) @@ -376,7 +376,7 @@ public virtual DeleteCalendarResponse DeleteCalendar(Elastic.Clients.Elasticsear /// Delete a calendar. /// Removes all scheduled events from a calendar, then deletes it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteCalendarResponse DeleteCalendar(Elastic.Clients.Elasticsearch.Id calendarId, Action configureRequest) @@ -392,7 +392,7 @@ public virtual DeleteCalendarResponse DeleteCalendar(Elastic.Clients.Elasticsear /// Delete a calendar. /// Removes all scheduled events from a calendar, then deletes it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarAsync(DeleteCalendarRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -405,7 +405,7 @@ public virtual Task DeleteCalendarAsync(DeleteCalendarRe /// Delete a calendar. /// Removes all scheduled events from a calendar, then deletes it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarAsync(Elastic.Clients.Elasticsearch.Id calendarId, CancellationToken cancellationToken = default) { @@ -419,7 +419,7 @@ public virtual Task DeleteCalendarAsync(Elastic.Clients. /// Delete a calendar. /// Removes all scheduled events from a calendar, then deletes it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarAsync(Elastic.Clients.Elasticsearch.Id calendarId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -433,7 +433,7 @@ public virtual Task DeleteCalendarAsync(Elastic.Clients. /// /// Delete events from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteCalendarEventResponse DeleteCalendarEvent(DeleteCalendarEventRequest request) @@ -446,7 +446,7 @@ public virtual DeleteCalendarEventResponse DeleteCalendarEvent(DeleteCalendarEve /// /// Delete events from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarEventAsync(DeleteCalendarEventRequest request, CancellationToken cancellationToken = default) { @@ -458,7 +458,7 @@ public virtual Task DeleteCalendarEventAsync(Delete /// /// Delete events from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteCalendarEventResponse DeleteCalendarEvent(DeleteCalendarEventRequestDescriptor descriptor) @@ -471,7 +471,7 @@ public virtual DeleteCalendarEventResponse DeleteCalendarEvent(DeleteCalendarEve /// /// Delete events from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteCalendarEventResponse DeleteCalendarEvent(Elastic.Clients.Elasticsearch.Id calendarId, Elastic.Clients.Elasticsearch.Id eventId) @@ -485,7 +485,7 @@ public virtual DeleteCalendarEventResponse DeleteCalendarEvent(Elastic.Clients.E /// /// Delete events from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteCalendarEventResponse DeleteCalendarEvent(Elastic.Clients.Elasticsearch.Id calendarId, Elastic.Clients.Elasticsearch.Id eventId, Action configureRequest) @@ -500,7 +500,7 @@ public virtual DeleteCalendarEventResponse DeleteCalendarEvent(Elastic.Clients.E /// /// Delete events from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarEventAsync(DeleteCalendarEventRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -512,7 +512,7 @@ public virtual Task DeleteCalendarEventAsync(Delete /// /// Delete events from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarEventAsync(Elastic.Clients.Elasticsearch.Id calendarId, Elastic.Clients.Elasticsearch.Id eventId, CancellationToken cancellationToken = default) { @@ -525,7 +525,7 @@ public virtual Task DeleteCalendarEventAsync(Elasti /// /// Delete events from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarEventAsync(Elastic.Clients.Elasticsearch.Id calendarId, Elastic.Clients.Elasticsearch.Id eventId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -539,7 +539,7 @@ public virtual Task DeleteCalendarEventAsync(Elasti /// /// Delete anomaly jobs from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteCalendarJobResponse DeleteCalendarJob(DeleteCalendarJobRequest request) @@ -552,7 +552,7 @@ public virtual DeleteCalendarJobResponse DeleteCalendarJob(DeleteCalendarJobRequ /// /// Delete anomaly jobs from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarJobAsync(DeleteCalendarJobRequest request, CancellationToken cancellationToken = default) { @@ -564,7 +564,7 @@ public virtual Task DeleteCalendarJobAsync(DeleteCale /// /// Delete anomaly jobs from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteCalendarJobResponse DeleteCalendarJob(DeleteCalendarJobRequestDescriptor descriptor) @@ -577,7 +577,7 @@ public virtual DeleteCalendarJobResponse DeleteCalendarJob(DeleteCalendarJobRequ /// /// Delete anomaly jobs from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteCalendarJobResponse DeleteCalendarJob(Elastic.Clients.Elasticsearch.Id calendarId, Elastic.Clients.Elasticsearch.Ids jobId) @@ -591,7 +591,7 @@ public virtual DeleteCalendarJobResponse DeleteCalendarJob(Elastic.Clients.Elast /// /// Delete anomaly jobs from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteCalendarJobResponse DeleteCalendarJob(Elastic.Clients.Elasticsearch.Id calendarId, Elastic.Clients.Elasticsearch.Ids jobId, Action configureRequest) @@ -606,7 +606,7 @@ public virtual DeleteCalendarJobResponse DeleteCalendarJob(Elastic.Clients.Elast /// /// Delete anomaly jobs from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarJobAsync(DeleteCalendarJobRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -618,7 +618,7 @@ public virtual Task DeleteCalendarJobAsync(DeleteCale /// /// Delete anomaly jobs from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarJobAsync(Elastic.Clients.Elasticsearch.Id calendarId, Elastic.Clients.Elasticsearch.Ids jobId, CancellationToken cancellationToken = default) { @@ -631,7 +631,7 @@ public virtual Task DeleteCalendarJobAsync(Elastic.Cl /// /// Delete anomaly jobs from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarJobAsync(Elastic.Clients.Elasticsearch.Id calendarId, Elastic.Clients.Elasticsearch.Ids jobId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -645,7 +645,7 @@ public virtual Task DeleteCalendarJobAsync(Elastic.Cl /// /// Delete a datafeed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteDatafeedResponse DeleteDatafeed(DeleteDatafeedRequest request) @@ -658,7 +658,7 @@ public virtual DeleteDatafeedResponse DeleteDatafeed(DeleteDatafeedRequest reque /// /// Delete a datafeed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDatafeedAsync(DeleteDatafeedRequest request, CancellationToken cancellationToken = default) { @@ -670,7 +670,7 @@ public virtual Task DeleteDatafeedAsync(DeleteDatafeedRe /// /// Delete a datafeed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteDatafeedResponse DeleteDatafeed(DeleteDatafeedRequestDescriptor descriptor) @@ -683,7 +683,7 @@ public virtual DeleteDatafeedResponse DeleteDatafeed(DeleteDatafeedRequestDescri /// /// Delete a datafeed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteDatafeedResponse DeleteDatafeed(Elastic.Clients.Elasticsearch.Id datafeedId) @@ -697,7 +697,7 @@ public virtual DeleteDatafeedResponse DeleteDatafeed(Elastic.Clients.Elasticsear /// /// Delete a datafeed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteDatafeedResponse DeleteDatafeed(Elastic.Clients.Elasticsearch.Id datafeedId, Action configureRequest) @@ -712,7 +712,7 @@ public virtual DeleteDatafeedResponse DeleteDatafeed(Elastic.Clients.Elasticsear /// /// Delete a datafeed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDatafeedAsync(DeleteDatafeedRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -724,7 +724,7 @@ public virtual Task DeleteDatafeedAsync(DeleteDatafeedRe /// /// Delete a datafeed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDatafeedAsync(Elastic.Clients.Elasticsearch.Id datafeedId, CancellationToken cancellationToken = default) { @@ -737,7 +737,7 @@ public virtual Task DeleteDatafeedAsync(Elastic.Clients. /// /// Delete a datafeed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDatafeedAsync(Elastic.Clients.Elasticsearch.Id datafeedId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -751,7 +751,7 @@ public virtual Task DeleteDatafeedAsync(Elastic.Clients. /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(DeleteDataFrameAnalyticsRequest request) @@ -764,7 +764,7 @@ public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(DeleteD /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(DeleteDataFrameAnalyticsRequest request, CancellationToken cancellationToken = default) { @@ -776,7 +776,7 @@ public virtual Task DeleteDataFrameAnalyticsAs /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(DeleteDataFrameAnalyticsRequestDescriptor descriptor) @@ -789,7 +789,7 @@ public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(Elastic.Clients.Elasticsearch.Id id) @@ -803,7 +803,7 @@ public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest) @@ -818,7 +818,7 @@ public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(DeleteDataFrameAnalyticsRequestDescriptor descriptor) @@ -831,7 +831,7 @@ public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(DeleteD /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(Elastic.Clients.Elasticsearch.Id id) @@ -845,7 +845,7 @@ public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(Elastic /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(Elastic.Clients.Elasticsearch.Id id, Action configureRequest) @@ -860,7 +860,7 @@ public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(Elastic /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(DeleteDataFrameAnalyticsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -872,7 +872,7 @@ public virtual Task DeleteDataFrameAnalyticsAs /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -885,7 +885,7 @@ public virtual Task DeleteDataFrameAnalyticsAs /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -899,7 +899,7 @@ public virtual Task DeleteDataFrameAnalyticsAs /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(DeleteDataFrameAnalyticsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -911,7 +911,7 @@ public virtual Task DeleteDataFrameAnalyticsAs /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -924,7 +924,7 @@ public virtual Task DeleteDataFrameAnalyticsAs /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Id id, Action configureRequest, CancellationToken cancellationToken = default) { @@ -9068,7 +9068,7 @@ public virtual Task PutDatafeedAsync(Elastic.Clients.Elasti /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(PutDataFrameAnalyticsRequest request) @@ -9083,7 +9083,7 @@ public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(PutDataFrameA /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(PutDataFrameAnalyticsRequest request, CancellationToken cancellationToken = default) { @@ -9097,7 +9097,7 @@ public virtual Task PutDataFrameAnalyticsAsync(Pu /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(PutDataFrameAnalyticsRequestDescriptor descriptor) @@ -9112,7 +9112,7 @@ public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(Pu /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(Elastic.Clients.Elasticsearch.Id id) @@ -9128,7 +9128,7 @@ public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(El /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest) @@ -9145,7 +9145,7 @@ public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(El /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(PutDataFrameAnalyticsRequestDescriptor descriptor) @@ -9160,7 +9160,7 @@ public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(PutDataFrameA /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(Elastic.Clients.Elasticsearch.Id id) @@ -9176,7 +9176,7 @@ public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(Elastic.Clien /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(Elastic.Clients.Elasticsearch.Id id, Action configureRequest) @@ -9193,7 +9193,7 @@ public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(Elastic.Clien /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(PutDataFrameAnalyticsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -9207,7 +9207,7 @@ public virtual Task PutDataFrameAnalyticsAsync - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -9222,7 +9222,7 @@ public virtual Task PutDataFrameAnalyticsAsync - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -9238,7 +9238,7 @@ public virtual Task PutDataFrameAnalyticsAsync - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(PutDataFrameAnalyticsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -9252,7 +9252,7 @@ public virtual Task PutDataFrameAnalyticsAsync(Pu /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -9267,7 +9267,7 @@ public virtual Task PutDataFrameAnalyticsAsync(El /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Id id, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Nodes.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Nodes.g.cs index 4b2fa88c489..7588571dea4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Nodes.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Nodes.g.cs @@ -280,7 +280,7 @@ public virtual Task GetRepositoriesMetering /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HotThreadsResponse HotThreads(HotThreadsRequest request) @@ -294,7 +294,7 @@ public virtual HotThreadsResponse HotThreads(HotThreadsRequest request) /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HotThreadsAsync(HotThreadsRequest request, CancellationToken cancellationToken = default) { @@ -307,7 +307,7 @@ public virtual Task HotThreadsAsync(HotThreadsRequest reques /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HotThreadsResponse HotThreads(HotThreadsRequestDescriptor descriptor) @@ -321,7 +321,7 @@ public virtual HotThreadsResponse HotThreads(HotThreadsRequestDescriptor descrip /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HotThreadsResponse HotThreads(Elastic.Clients.Elasticsearch.NodeIds? nodeId) @@ -336,7 +336,7 @@ public virtual HotThreadsResponse HotThreads(Elastic.Clients.Elasticsearch.NodeI /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HotThreadsResponse HotThreads(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Action configureRequest) @@ -352,7 +352,7 @@ public virtual HotThreadsResponse HotThreads(Elastic.Clients.Elasticsearch.NodeI /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HotThreadsResponse HotThreads() @@ -367,7 +367,7 @@ public virtual HotThreadsResponse HotThreads() /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HotThreadsResponse HotThreads(Action configureRequest) @@ -383,7 +383,7 @@ public virtual HotThreadsResponse HotThreads(Action /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HotThreadsAsync(HotThreadsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -396,7 +396,7 @@ public virtual Task HotThreadsAsync(HotThreadsRequestDescrip /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HotThreadsAsync(Elastic.Clients.Elasticsearch.NodeIds? nodeId, CancellationToken cancellationToken = default) { @@ -410,7 +410,7 @@ public virtual Task HotThreadsAsync(Elastic.Clients.Elastics /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HotThreadsAsync(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -425,7 +425,7 @@ public virtual Task HotThreadsAsync(Elastic.Clients.Elastics /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HotThreadsAsync(CancellationToken cancellationToken = default) { @@ -439,7 +439,7 @@ public virtual Task HotThreadsAsync(CancellationToken cancel /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HotThreadsAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -453,7 +453,7 @@ public virtual Task HotThreadsAsync(Action /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesInfoResponse Info(NodesInfoRequest request) @@ -466,7 +466,7 @@ public virtual NodesInfoResponse Info(NodesInfoRequest request) /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(NodesInfoRequest request, CancellationToken cancellationToken = default) { @@ -478,7 +478,7 @@ public virtual Task InfoAsync(NodesInfoRequest request, Cance /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesInfoResponse Info(NodesInfoRequestDescriptor descriptor) @@ -491,7 +491,7 @@ public virtual NodesInfoResponse Info(NodesInfoRequestDescriptor descriptor) /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesInfoResponse Info(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric) @@ -505,7 +505,7 @@ public virtual NodesInfoResponse Info(Elastic.Clients.Elasticsearch.NodeIds? nod /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesInfoResponse Info(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, Action configureRequest) @@ -520,7 +520,7 @@ public virtual NodesInfoResponse Info(Elastic.Clients.Elasticsearch.NodeIds? nod /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesInfoResponse Info() @@ -534,7 +534,7 @@ public virtual NodesInfoResponse Info() /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesInfoResponse Info(Action configureRequest) @@ -549,7 +549,7 @@ public virtual NodesInfoResponse Info(Action configu /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(NodesInfoRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -561,7 +561,7 @@ public virtual Task InfoAsync(NodesInfoRequestDescriptor desc /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, CancellationToken cancellationToken = default) { @@ -574,7 +574,7 @@ public virtual Task InfoAsync(Elastic.Clients.Elasticsearch.N /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, Action configureRequest, CancellationToken cancellationToken = default) { @@ -588,7 +588,7 @@ public virtual Task InfoAsync(Elastic.Clients.Elasticsearch.N /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(CancellationToken cancellationToken = default) { @@ -601,7 +601,7 @@ public virtual Task InfoAsync(CancellationToken cancellationT /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -777,7 +777,7 @@ public virtual Task ReloadSecureSettingsAsync(Acti /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesStatsResponse Stats(NodesStatsRequest request) @@ -790,7 +790,7 @@ public virtual NodesStatsResponse Stats(NodesStatsRequest request) /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(NodesStatsRequest request, CancellationToken cancellationToken = default) { @@ -802,7 +802,7 @@ public virtual Task StatsAsync(NodesStatsRequest request, Ca /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesStatsResponse Stats(NodesStatsRequestDescriptor descriptor) @@ -815,7 +815,7 @@ public virtual NodesStatsResponse Stats(NodesStatsRequestDescriptor /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesStatsResponse Stats(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, Elastic.Clients.Elasticsearch.Metrics? indexMetric) @@ -829,7 +829,7 @@ public virtual NodesStatsResponse Stats(Elastic.Clients.Elasticsearch /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesStatsResponse Stats(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, Elastic.Clients.Elasticsearch.Metrics? indexMetric, Action> configureRequest) @@ -844,7 +844,7 @@ public virtual NodesStatsResponse Stats(Elastic.Clients.Elasticsearch /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesStatsResponse Stats() @@ -858,7 +858,7 @@ public virtual NodesStatsResponse Stats() /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesStatsResponse Stats(Action> configureRequest) @@ -873,7 +873,7 @@ public virtual NodesStatsResponse Stats(Action /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesStatsResponse Stats(NodesStatsRequestDescriptor descriptor) @@ -886,7 +886,7 @@ public virtual NodesStatsResponse Stats(NodesStatsRequestDescriptor descriptor) /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesStatsResponse Stats(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, Elastic.Clients.Elasticsearch.Metrics? indexMetric) @@ -900,7 +900,7 @@ public virtual NodesStatsResponse Stats(Elastic.Clients.Elasticsearch.NodeIds? n /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesStatsResponse Stats(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, Elastic.Clients.Elasticsearch.Metrics? indexMetric, Action configureRequest) @@ -915,7 +915,7 @@ public virtual NodesStatsResponse Stats(Elastic.Clients.Elasticsearch.NodeIds? n /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesStatsResponse Stats() @@ -929,7 +929,7 @@ public virtual NodesStatsResponse Stats() /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesStatsResponse Stats(Action configureRequest) @@ -944,7 +944,7 @@ public virtual NodesStatsResponse Stats(Action conf /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(NodesStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -956,7 +956,7 @@ public virtual Task StatsAsync(NodesStatsRequestD /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, Elastic.Clients.Elasticsearch.Metrics? indexMetric, CancellationToken cancellationToken = default) { @@ -969,7 +969,7 @@ public virtual Task StatsAsync(Elastic.Clients.El /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, Elastic.Clients.Elasticsearch.Metrics? indexMetric, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -983,7 +983,7 @@ public virtual Task StatsAsync(Elastic.Clients.El /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(CancellationToken cancellationToken = default) { @@ -996,7 +996,7 @@ public virtual Task StatsAsync(CancellationToken /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1010,7 +1010,7 @@ public virtual Task StatsAsync(Action /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(NodesStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1022,7 +1022,7 @@ public virtual Task StatsAsync(NodesStatsRequestDescriptor d /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, Elastic.Clients.Elasticsearch.Metrics? indexMetric, CancellationToken cancellationToken = default) { @@ -1035,7 +1035,7 @@ public virtual Task StatsAsync(Elastic.Clients.Elasticsearch /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, Elastic.Clients.Elasticsearch.Metrics? indexMetric, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1049,7 +1049,7 @@ public virtual Task StatsAsync(Elastic.Clients.Elasticsearch /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(CancellationToken cancellationToken = default) { @@ -1062,7 +1062,7 @@ public virtual Task StatsAsync(CancellationToken cancellatio /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -1076,7 +1076,7 @@ public virtual Task StatsAsync(Action /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesUsageResponse Usage(NodesUsageRequest request) @@ -1089,7 +1089,7 @@ public virtual NodesUsageResponse Usage(NodesUsageRequest request) /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UsageAsync(NodesUsageRequest request, CancellationToken cancellationToken = default) { @@ -1101,7 +1101,7 @@ public virtual Task UsageAsync(NodesUsageRequest request, Ca /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesUsageResponse Usage(NodesUsageRequestDescriptor descriptor) @@ -1114,7 +1114,7 @@ public virtual NodesUsageResponse Usage(NodesUsageRequestDescriptor descriptor) /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesUsageResponse Usage(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric) @@ -1128,7 +1128,7 @@ public virtual NodesUsageResponse Usage(Elastic.Clients.Elasticsearch.NodeIds? n /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesUsageResponse Usage(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, Action configureRequest) @@ -1143,7 +1143,7 @@ public virtual NodesUsageResponse Usage(Elastic.Clients.Elasticsearch.NodeIds? n /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesUsageResponse Usage() @@ -1157,7 +1157,7 @@ public virtual NodesUsageResponse Usage() /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesUsageResponse Usage(Action configureRequest) @@ -1172,7 +1172,7 @@ public virtual NodesUsageResponse Usage(Action conf /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UsageAsync(NodesUsageRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1184,7 +1184,7 @@ public virtual Task UsageAsync(NodesUsageRequestDescriptor d /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UsageAsync(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, CancellationToken cancellationToken = default) { @@ -1197,7 +1197,7 @@ public virtual Task UsageAsync(Elastic.Clients.Elasticsearch /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UsageAsync(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1211,7 +1211,7 @@ public virtual Task UsageAsync(Elastic.Clients.Elasticsearch /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UsageAsync(CancellationToken cancellationToken = default) { @@ -1224,7 +1224,7 @@ public virtual Task UsageAsync(CancellationToken cancellatio /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UsageAsync(Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.QueryRules.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.QueryRules.g.cs index 0a400749631..f09318cfb7b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.QueryRules.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.QueryRules.g.cs @@ -39,6 +39,112 @@ internal QueryRulesNamespacedClient(ElasticsearchClient client) : base(client) { } + /// + /// + /// Deletes a query rule within a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual DeleteRuleResponse DeleteRule(DeleteRuleRequest request) + { + request.BeforeRequest(); + return DoRequest(request); + } + + /// + /// + /// Deletes a query rule within a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task DeleteRuleAsync(DeleteRuleRequest request, CancellationToken cancellationToken = default) + { + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + /// + /// + /// Deletes a query rule within a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual DeleteRuleResponse DeleteRule(DeleteRuleRequestDescriptor descriptor) + { + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Deletes a query rule within a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual DeleteRuleResponse DeleteRule(Elastic.Clients.Elasticsearch.Id rulesetId, Elastic.Clients.Elasticsearch.Id ruleId) + { + var descriptor = new DeleteRuleRequestDescriptor(rulesetId, ruleId); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Deletes a query rule within a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual DeleteRuleResponse DeleteRule(Elastic.Clients.Elasticsearch.Id rulesetId, Elastic.Clients.Elasticsearch.Id ruleId, Action configureRequest) + { + var descriptor = new DeleteRuleRequestDescriptor(rulesetId, ruleId); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Deletes a query rule within a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task DeleteRuleAsync(DeleteRuleRequestDescriptor descriptor, CancellationToken cancellationToken = default) + { + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Deletes a query rule within a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task DeleteRuleAsync(Elastic.Clients.Elasticsearch.Id rulesetId, Elastic.Clients.Elasticsearch.Id ruleId, CancellationToken cancellationToken = default) + { + var descriptor = new DeleteRuleRequestDescriptor(rulesetId, ruleId); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Deletes a query rule within a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task DeleteRuleAsync(Elastic.Clients.Elasticsearch.Id rulesetId, Elastic.Clients.Elasticsearch.Id ruleId, Action configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new DeleteRuleRequestDescriptor(rulesetId, ruleId); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + /// /// /// Deletes a query ruleset. @@ -145,6 +251,112 @@ public virtual Task DeleteRulesetAsync(Elastic.Clients.El return DoRequestAsync(descriptor, cancellationToken); } + /// + /// + /// Returns the details about a query rule within a query ruleset + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual GetRuleResponse GetRule(GetRuleRequest request) + { + request.BeforeRequest(); + return DoRequest(request); + } + + /// + /// + /// Returns the details about a query rule within a query ruleset + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetRuleAsync(GetRuleRequest request, CancellationToken cancellationToken = default) + { + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + /// + /// + /// Returns the details about a query rule within a query ruleset + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual GetRuleResponse GetRule(GetRuleRequestDescriptor descriptor) + { + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Returns the details about a query rule within a query ruleset + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual GetRuleResponse GetRule(Elastic.Clients.Elasticsearch.Id rulesetId, Elastic.Clients.Elasticsearch.Id ruleId) + { + var descriptor = new GetRuleRequestDescriptor(rulesetId, ruleId); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Returns the details about a query rule within a query ruleset + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual GetRuleResponse GetRule(Elastic.Clients.Elasticsearch.Id rulesetId, Elastic.Clients.Elasticsearch.Id ruleId, Action configureRequest) + { + var descriptor = new GetRuleRequestDescriptor(rulesetId, ruleId); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Returns the details about a query rule within a query ruleset + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetRuleAsync(GetRuleRequestDescriptor descriptor, CancellationToken cancellationToken = default) + { + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Returns the details about a query rule within a query ruleset + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetRuleAsync(Elastic.Clients.Elasticsearch.Id rulesetId, Elastic.Clients.Elasticsearch.Id ruleId, CancellationToken cancellationToken = default) + { + var descriptor = new GetRuleRequestDescriptor(rulesetId, ruleId); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Returns the details about a query rule within a query ruleset + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetRuleAsync(Elastic.Clients.Elasticsearch.Id rulesetId, Elastic.Clients.Elasticsearch.Id ruleId, Action configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new GetRuleRequestDescriptor(rulesetId, ruleId); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + /// /// /// Returns the details about a query ruleset @@ -357,6 +569,112 @@ public virtual Task ListRulesetsAsync(Action(descriptor, cancellationToken); } + /// + /// + /// Creates or updates a query rule within a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual PutRuleResponse PutRule(PutRuleRequest request) + { + request.BeforeRequest(); + return DoRequest(request); + } + + /// + /// + /// Creates or updates a query rule within a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task PutRuleAsync(PutRuleRequest request, CancellationToken cancellationToken = default) + { + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + /// + /// + /// Creates or updates a query rule within a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual PutRuleResponse PutRule(PutRuleRequestDescriptor descriptor) + { + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Creates or updates a query rule within a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual PutRuleResponse PutRule(Elastic.Clients.Elasticsearch.Id rulesetId, Elastic.Clients.Elasticsearch.Id ruleId) + { + var descriptor = new PutRuleRequestDescriptor(rulesetId, ruleId); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Creates or updates a query rule within a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual PutRuleResponse PutRule(Elastic.Clients.Elasticsearch.Id rulesetId, Elastic.Clients.Elasticsearch.Id ruleId, Action configureRequest) + { + var descriptor = new PutRuleRequestDescriptor(rulesetId, ruleId); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Creates or updates a query rule within a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task PutRuleAsync(PutRuleRequestDescriptor descriptor, CancellationToken cancellationToken = default) + { + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Creates or updates a query rule within a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task PutRuleAsync(Elastic.Clients.Elasticsearch.Id rulesetId, Elastic.Clients.Elasticsearch.Id ruleId, CancellationToken cancellationToken = default) + { + var descriptor = new PutRuleRequestDescriptor(rulesetId, ruleId); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Creates or updates a query rule within a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task PutRuleAsync(Elastic.Clients.Elasticsearch.Id rulesetId, Elastic.Clients.Elasticsearch.Id ruleId, Action configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new PutRuleRequestDescriptor(rulesetId, ruleId); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + /// /// /// Creates or updates a query ruleset. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Security.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Security.g.cs index 082b0e1a4af..d35c282ebc8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Security.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Security.g.cs @@ -283,6 +283,321 @@ public virtual Task AuthenticateAsync(Action(descriptor, cancellationToken); } + /// + /// + /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// The bulk delete roles API cannot delete roles that are defined in roles files. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual BulkDeleteRoleResponse BulkDeleteRole(BulkDeleteRoleRequest request) + { + request.BeforeRequest(); + return DoRequest(request); + } + + /// + /// + /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// The bulk delete roles API cannot delete roles that are defined in roles files. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task BulkDeleteRoleAsync(BulkDeleteRoleRequest request, CancellationToken cancellationToken = default) + { + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + /// + /// + /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// The bulk delete roles API cannot delete roles that are defined in roles files. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual BulkDeleteRoleResponse BulkDeleteRole(BulkDeleteRoleRequestDescriptor descriptor) + { + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// The bulk delete roles API cannot delete roles that are defined in roles files. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual BulkDeleteRoleResponse BulkDeleteRole() + { + var descriptor = new BulkDeleteRoleRequestDescriptor(); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// The bulk delete roles API cannot delete roles that are defined in roles files. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual BulkDeleteRoleResponse BulkDeleteRole(Action configureRequest) + { + var descriptor = new BulkDeleteRoleRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// The bulk delete roles API cannot delete roles that are defined in roles files. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task BulkDeleteRoleAsync(BulkDeleteRoleRequestDescriptor descriptor, CancellationToken cancellationToken = default) + { + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// The bulk delete roles API cannot delete roles that are defined in roles files. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task BulkDeleteRoleAsync(CancellationToken cancellationToken = default) + { + var descriptor = new BulkDeleteRoleRequestDescriptor(); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// The bulk delete roles API cannot delete roles that are defined in roles files. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task BulkDeleteRoleAsync(Action configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new BulkDeleteRoleRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// The bulk create or update roles API cannot update roles that are defined in roles files. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual BulkPutRoleResponse BulkPutRole(BulkPutRoleRequest request) + { + request.BeforeRequest(); + return DoRequest(request); + } + + /// + /// + /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// The bulk create or update roles API cannot update roles that are defined in roles files. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task BulkPutRoleAsync(BulkPutRoleRequest request, CancellationToken cancellationToken = default) + { + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + /// + /// + /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// The bulk create or update roles API cannot update roles that are defined in roles files. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual BulkPutRoleResponse BulkPutRole(BulkPutRoleRequestDescriptor descriptor) + { + descriptor.BeforeRequest(); + return DoRequest, BulkPutRoleResponse, BulkPutRoleRequestParameters>(descriptor); + } + + /// + /// + /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// The bulk create or update roles API cannot update roles that are defined in roles files. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual BulkPutRoleResponse BulkPutRole() + { + var descriptor = new BulkPutRoleRequestDescriptor(); + descriptor.BeforeRequest(); + return DoRequest, BulkPutRoleResponse, BulkPutRoleRequestParameters>(descriptor); + } + + /// + /// + /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// The bulk create or update roles API cannot update roles that are defined in roles files. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual BulkPutRoleResponse BulkPutRole(Action> configureRequest) + { + var descriptor = new BulkPutRoleRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest, BulkPutRoleResponse, BulkPutRoleRequestParameters>(descriptor); + } + + /// + /// + /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// The bulk create or update roles API cannot update roles that are defined in roles files. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual BulkPutRoleResponse BulkPutRole(BulkPutRoleRequestDescriptor descriptor) + { + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// The bulk create or update roles API cannot update roles that are defined in roles files. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual BulkPutRoleResponse BulkPutRole() + { + var descriptor = new BulkPutRoleRequestDescriptor(); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// The bulk create or update roles API cannot update roles that are defined in roles files. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual BulkPutRoleResponse BulkPutRole(Action configureRequest) + { + var descriptor = new BulkPutRoleRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// The bulk create or update roles API cannot update roles that are defined in roles files. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task BulkPutRoleAsync(BulkPutRoleRequestDescriptor descriptor, CancellationToken cancellationToken = default) + { + descriptor.BeforeRequest(); + return DoRequestAsync, BulkPutRoleResponse, BulkPutRoleRequestParameters>(descriptor, cancellationToken); + } + + /// + /// + /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// The bulk create or update roles API cannot update roles that are defined in roles files. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task BulkPutRoleAsync(CancellationToken cancellationToken = default) + { + var descriptor = new BulkPutRoleRequestDescriptor(); + descriptor.BeforeRequest(); + return DoRequestAsync, BulkPutRoleResponse, BulkPutRoleRequestParameters>(descriptor, cancellationToken); + } + + /// + /// + /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// The bulk create or update roles API cannot update roles that are defined in roles files. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task BulkPutRoleAsync(Action> configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new BulkPutRoleRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync, BulkPutRoleResponse, BulkPutRoleRequestParameters>(descriptor, cancellationToken); + } + + /// + /// + /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// The bulk create or update roles API cannot update roles that are defined in roles files. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task BulkPutRoleAsync(BulkPutRoleRequestDescriptor descriptor, CancellationToken cancellationToken = default) + { + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// The bulk create or update roles API cannot update roles that are defined in roles files. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task BulkPutRoleAsync(CancellationToken cancellationToken = default) + { + var descriptor = new BulkPutRoleRequestDescriptor(); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// The bulk create or update roles API cannot update roles that are defined in roles files. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task BulkPutRoleAsync(Action configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new BulkPutRoleRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + /// /// /// Changes the passwords of users in the native realm and built-in users. @@ -5757,6 +6072,193 @@ public virtual Task QueryApiKeysAsync(Action(descriptor, cancellationToken); } + /// + /// + /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual QueryRoleResponse QueryRole(QueryRoleRequest request) + { + request.BeforeRequest(); + return DoRequest(request); + } + + /// + /// + /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task QueryRoleAsync(QueryRoleRequest request, CancellationToken cancellationToken = default) + { + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + /// + /// + /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual QueryRoleResponse QueryRole(QueryRoleRequestDescriptor descriptor) + { + descriptor.BeforeRequest(); + return DoRequest, QueryRoleResponse, QueryRoleRequestParameters>(descriptor); + } + + /// + /// + /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual QueryRoleResponse QueryRole() + { + var descriptor = new QueryRoleRequestDescriptor(); + descriptor.BeforeRequest(); + return DoRequest, QueryRoleResponse, QueryRoleRequestParameters>(descriptor); + } + + /// + /// + /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual QueryRoleResponse QueryRole(Action> configureRequest) + { + var descriptor = new QueryRoleRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest, QueryRoleResponse, QueryRoleRequestParameters>(descriptor); + } + + /// + /// + /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual QueryRoleResponse QueryRole(QueryRoleRequestDescriptor descriptor) + { + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual QueryRoleResponse QueryRole() + { + var descriptor = new QueryRoleRequestDescriptor(); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual QueryRoleResponse QueryRole(Action configureRequest) + { + var descriptor = new QueryRoleRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task QueryRoleAsync(QueryRoleRequestDescriptor descriptor, CancellationToken cancellationToken = default) + { + descriptor.BeforeRequest(); + return DoRequestAsync, QueryRoleResponse, QueryRoleRequestParameters>(descriptor, cancellationToken); + } + + /// + /// + /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task QueryRoleAsync(CancellationToken cancellationToken = default) + { + var descriptor = new QueryRoleRequestDescriptor(); + descriptor.BeforeRequest(); + return DoRequestAsync, QueryRoleResponse, QueryRoleRequestParameters>(descriptor, cancellationToken); + } + + /// + /// + /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task QueryRoleAsync(Action> configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new QueryRoleRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync, QueryRoleResponse, QueryRoleRequestParameters>(descriptor, cancellationToken); + } + + /// + /// + /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task QueryRoleAsync(QueryRoleRequestDescriptor descriptor, CancellationToken cancellationToken = default) + { + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task QueryRoleAsync(CancellationToken cancellationToken = default) + { + var descriptor = new QueryRoleRequestDescriptor(); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task QueryRoleAsync(Action configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new QueryRoleRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + /// /// /// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Tasks.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Tasks.g.cs index a31f622b0da..254c5209727 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Tasks.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Tasks.g.cs @@ -43,7 +43,7 @@ internal TasksNamespacedClient(ElasticsearchClient client) : base(client) /// /// Cancels a task, if it can be cancelled through an API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CancelResponse Cancel(CancelRequest request) @@ -56,7 +56,7 @@ public virtual CancelResponse Cancel(CancelRequest request) /// /// Cancels a task, if it can be cancelled through an API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CancelAsync(CancelRequest request, CancellationToken cancellationToken = default) { @@ -68,7 +68,7 @@ public virtual Task CancelAsync(CancelRequest request, Cancellat /// /// Cancels a task, if it can be cancelled through an API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CancelResponse Cancel(CancelRequestDescriptor descriptor) @@ -81,7 +81,7 @@ public virtual CancelResponse Cancel(CancelRequestDescriptor descriptor) /// /// Cancels a task, if it can be cancelled through an API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CancelResponse Cancel(Elastic.Clients.Elasticsearch.TaskId? taskId) @@ -95,7 +95,7 @@ public virtual CancelResponse Cancel(Elastic.Clients.Elasticsearch.TaskId? taskI /// /// Cancels a task, if it can be cancelled through an API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CancelResponse Cancel(Elastic.Clients.Elasticsearch.TaskId? taskId, Action configureRequest) @@ -110,7 +110,7 @@ public virtual CancelResponse Cancel(Elastic.Clients.Elasticsearch.TaskId? taskI /// /// Cancels a task, if it can be cancelled through an API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CancelResponse Cancel() @@ -124,7 +124,7 @@ public virtual CancelResponse Cancel() /// /// Cancels a task, if it can be cancelled through an API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CancelResponse Cancel(Action configureRequest) @@ -139,7 +139,7 @@ public virtual CancelResponse Cancel(Action configureRe /// /// Cancels a task, if it can be cancelled through an API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CancelAsync(CancelRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -151,7 +151,7 @@ public virtual Task CancelAsync(CancelRequestDescriptor descript /// /// Cancels a task, if it can be cancelled through an API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CancelAsync(Elastic.Clients.Elasticsearch.TaskId? taskId, CancellationToken cancellationToken = default) { @@ -164,7 +164,7 @@ public virtual Task CancelAsync(Elastic.Clients.Elasticsearch.Ta /// /// Cancels a task, if it can be cancelled through an API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CancelAsync(Elastic.Clients.Elasticsearch.TaskId? taskId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -178,7 +178,7 @@ public virtual Task CancelAsync(Elastic.Clients.Elasticsearch.Ta /// /// Cancels a task, if it can be cancelled through an API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CancelAsync(CancellationToken cancellationToken = default) { @@ -191,7 +191,7 @@ public virtual Task CancelAsync(CancellationToken cancellationTo /// /// Cancels a task, if it can be cancelled through an API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CancelAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -206,7 +206,7 @@ public virtual Task CancelAsync(Action /// Get task information. /// Returns information about the tasks currently executing in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetTasksResponse Get(GetTasksRequest request) @@ -220,7 +220,7 @@ public virtual GetTasksResponse Get(GetTasksRequest request) /// Get task information. /// Returns information about the tasks currently executing in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetAsync(GetTasksRequest request, CancellationToken cancellationToken = default) { @@ -233,7 +233,7 @@ public virtual Task GetAsync(GetTasksRequest request, Cancella /// Get task information. /// Returns information about the tasks currently executing in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetTasksResponse Get(GetTasksRequestDescriptor descriptor) @@ -247,7 +247,7 @@ public virtual GetTasksResponse Get(GetTasksRequestDescriptor descriptor) /// Get task information. /// Returns information about the tasks currently executing in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetTasksResponse Get(Elastic.Clients.Elasticsearch.Id taskId) @@ -262,7 +262,7 @@ public virtual GetTasksResponse Get(Elastic.Clients.Elasticsearch.Id taskId) /// Get task information. /// Returns information about the tasks currently executing in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetTasksResponse Get(Elastic.Clients.Elasticsearch.Id taskId, Action configureRequest) @@ -278,7 +278,7 @@ public virtual GetTasksResponse Get(Elastic.Clients.Elasticsearch.Id taskId, Act /// Get task information. /// Returns information about the tasks currently executing in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetAsync(GetTasksRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -291,7 +291,7 @@ public virtual Task GetAsync(GetTasksRequestDescriptor descrip /// Get task information. /// Returns information about the tasks currently executing in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetAsync(Elastic.Clients.Elasticsearch.Id taskId, CancellationToken cancellationToken = default) { @@ -305,7 +305,7 @@ public virtual Task GetAsync(Elastic.Clients.Elasticsearch.Id /// Get task information. /// Returns information about the tasks currently executing in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetAsync(Elastic.Clients.Elasticsearch.Id taskId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -319,7 +319,7 @@ public virtual Task GetAsync(Elastic.Clients.Elasticsearch.Id /// /// The task management API returns information about tasks currently executing on one or more nodes in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ListResponse List(ListRequest request) @@ -332,7 +332,7 @@ public virtual ListResponse List(ListRequest request) /// /// The task management API returns information about tasks currently executing on one or more nodes in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ListAsync(ListRequest request, CancellationToken cancellationToken = default) { @@ -344,7 +344,7 @@ public virtual Task ListAsync(ListRequest request, CancellationTok /// /// The task management API returns information about tasks currently executing on one or more nodes in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ListResponse List(ListRequestDescriptor descriptor) @@ -357,7 +357,7 @@ public virtual ListResponse List(ListRequestDescriptor descriptor) /// /// The task management API returns information about tasks currently executing on one or more nodes in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ListResponse List() @@ -371,7 +371,7 @@ public virtual ListResponse List() /// /// The task management API returns information about tasks currently executing on one or more nodes in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ListResponse List(Action configureRequest) @@ -386,7 +386,7 @@ public virtual ListResponse List(Action configureRequest) /// /// The task management API returns information about tasks currently executing on one or more nodes in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ListAsync(ListRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -398,7 +398,7 @@ public virtual Task ListAsync(ListRequestDescriptor descriptor, Ca /// /// The task management API returns information about tasks currently executing on one or more nodes in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ListAsync(CancellationToken cancellationToken = default) { @@ -411,7 +411,7 @@ public virtual Task ListAsync(CancellationToken cancellationToken /// /// The task management API returns information about tasks currently executing on one or more nodes in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ListAsync(Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.g.cs index 43473816c0c..c28ef2403d0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.g.cs @@ -124,7 +124,7 @@ private partial void SetupNamespaces() /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual BulkResponse Bulk(BulkRequest request) @@ -139,7 +139,7 @@ public virtual BulkResponse Bulk(BulkRequest request) /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(BulkRequest request, CancellationToken cancellationToken = default) { @@ -153,7 +153,7 @@ public virtual Task BulkAsync(BulkRequest request, CancellationTok /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual BulkResponse Bulk(BulkRequestDescriptor descriptor) @@ -168,7 +168,7 @@ public virtual BulkResponse Bulk(BulkRequestDescriptor des /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual BulkResponse Bulk(Elastic.Clients.Elasticsearch.IndexName? index) @@ -184,7 +184,7 @@ public virtual BulkResponse Bulk(Elastic.Clients.Elasticsearch.IndexN /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual BulkResponse Bulk(Elastic.Clients.Elasticsearch.IndexName? index, Action> configureRequest) @@ -201,7 +201,7 @@ public virtual BulkResponse Bulk(Elastic.Clients.Elasticsearch.IndexN /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual BulkResponse Bulk() @@ -217,7 +217,7 @@ public virtual BulkResponse Bulk() /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual BulkResponse Bulk(Action> configureRequest) @@ -234,7 +234,7 @@ public virtual BulkResponse Bulk(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual BulkResponse Bulk(BulkRequestDescriptor descriptor) @@ -249,7 +249,7 @@ public virtual BulkResponse Bulk(BulkRequestDescriptor descriptor) /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual BulkResponse Bulk(Elastic.Clients.Elasticsearch.IndexName? index) @@ -265,7 +265,7 @@ public virtual BulkResponse Bulk(Elastic.Clients.Elasticsearch.IndexName? index) /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual BulkResponse Bulk(Elastic.Clients.Elasticsearch.IndexName? index, Action configureRequest) @@ -282,7 +282,7 @@ public virtual BulkResponse Bulk(Elastic.Clients.Elasticsearch.IndexName? index, /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual BulkResponse Bulk() @@ -298,7 +298,7 @@ public virtual BulkResponse Bulk() /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual BulkResponse Bulk(Action configureRequest) @@ -315,7 +315,7 @@ public virtual BulkResponse Bulk(Action configureRequest) /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(BulkRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -329,7 +329,7 @@ public virtual Task BulkAsync(BulkRequestDescriptor - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(Elastic.Clients.Elasticsearch.IndexName? index, CancellationToken cancellationToken = default) { @@ -344,7 +344,7 @@ public virtual Task BulkAsync(Elastic.Clients.Elasticse /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(Elastic.Clients.Elasticsearch.IndexName? index, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -360,7 +360,7 @@ public virtual Task BulkAsync(Elastic.Clients.Elasticse /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(CancellationToken cancellationToken = default) { @@ -375,7 +375,7 @@ public virtual Task BulkAsync(CancellationToken cancell /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -391,7 +391,7 @@ public virtual Task BulkAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(BulkRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -405,7 +405,7 @@ public virtual Task BulkAsync(BulkRequestDescriptor descriptor, Ca /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(Elastic.Clients.Elasticsearch.IndexName? index, CancellationToken cancellationToken = default) { @@ -420,7 +420,7 @@ public virtual Task BulkAsync(Elastic.Clients.Elasticsearch.IndexN /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(Elastic.Clients.Elasticsearch.IndexName? index, Action configureRequest, CancellationToken cancellationToken = default) { @@ -436,7 +436,7 @@ public virtual Task BulkAsync(Elastic.Clients.Elasticsearch.IndexN /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(CancellationToken cancellationToken = default) { @@ -451,7 +451,7 @@ public virtual Task BulkAsync(CancellationToken cancellationToken /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -465,7 +465,7 @@ public virtual Task BulkAsync(Action config /// /// Clears the search context and results for a scrolling search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClearScrollResponse ClearScroll(ClearScrollRequest request) @@ -478,7 +478,7 @@ public virtual ClearScrollResponse ClearScroll(ClearScrollRequest request) /// /// Clears the search context and results for a scrolling search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClearScrollAsync(ClearScrollRequest request, CancellationToken cancellationToken = default) { @@ -490,7 +490,7 @@ public virtual Task ClearScrollAsync(ClearScrollRequest req /// /// Clears the search context and results for a scrolling search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClearScrollResponse ClearScroll(ClearScrollRequestDescriptor descriptor) @@ -503,7 +503,7 @@ public virtual ClearScrollResponse ClearScroll(ClearScrollRequestDescriptor desc /// /// Clears the search context and results for a scrolling search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClearScrollResponse ClearScroll() @@ -517,7 +517,7 @@ public virtual ClearScrollResponse ClearScroll() /// /// Clears the search context and results for a scrolling search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClearScrollResponse ClearScroll(Action configureRequest) @@ -532,7 +532,7 @@ public virtual ClearScrollResponse ClearScroll(Action /// Clears the search context and results for a scrolling search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClearScrollAsync(ClearScrollRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -544,7 +544,7 @@ public virtual Task ClearScrollAsync(ClearScrollRequestDesc /// /// Clears the search context and results for a scrolling search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClearScrollAsync(CancellationToken cancellationToken = default) { @@ -557,7 +557,7 @@ public virtual Task ClearScrollAsync(CancellationToken canc /// /// Clears the search context and results for a scrolling search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClearScrollAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -571,7 +571,7 @@ public virtual Task ClearScrollAsync(Action /// Closes a point-in-time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClosePointInTimeResponse ClosePointInTime(ClosePointInTimeRequest request) @@ -584,7 +584,7 @@ public virtual ClosePointInTimeResponse ClosePointInTime(ClosePointInTimeRequest /// /// Closes a point-in-time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClosePointInTimeAsync(ClosePointInTimeRequest request, CancellationToken cancellationToken = default) { @@ -596,7 +596,7 @@ public virtual Task ClosePointInTimeAsync(ClosePointIn /// /// Closes a point-in-time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClosePointInTimeResponse ClosePointInTime(ClosePointInTimeRequestDescriptor descriptor) @@ -609,7 +609,7 @@ public virtual ClosePointInTimeResponse ClosePointInTime(ClosePointInTimeRequest /// /// Closes a point-in-time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClosePointInTimeResponse ClosePointInTime() @@ -623,7 +623,7 @@ public virtual ClosePointInTimeResponse ClosePointInTime() /// /// Closes a point-in-time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClosePointInTimeResponse ClosePointInTime(Action configureRequest) @@ -638,7 +638,7 @@ public virtual ClosePointInTimeResponse ClosePointInTime(Action /// Closes a point-in-time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClosePointInTimeAsync(ClosePointInTimeRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -650,7 +650,7 @@ public virtual Task ClosePointInTimeAsync(ClosePointIn /// /// Closes a point-in-time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClosePointInTimeAsync(CancellationToken cancellationToken = default) { @@ -663,7 +663,7 @@ public virtual Task ClosePointInTimeAsync(Cancellation /// /// Closes a point-in-time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClosePointInTimeAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -6379,7 +6379,7 @@ public virtual Task> MultiSearchTemplateA /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual OpenPointInTimeResponse OpenPointInTime(OpenPointInTimeRequest request) @@ -6397,7 +6397,7 @@ public virtual OpenPointInTimeResponse OpenPointInTime(OpenPointInTimeRequest re /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(OpenPointInTimeRequest request, CancellationToken cancellationToken = default) { @@ -6414,7 +6414,7 @@ public virtual Task OpenPointInTimeAsync(OpenPointInTim /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual OpenPointInTimeResponse OpenPointInTime(OpenPointInTimeRequestDescriptor descriptor) @@ -6432,7 +6432,7 @@ public virtual OpenPointInTimeResponse OpenPointInTime(OpenPointInTim /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual OpenPointInTimeResponse OpenPointInTime(Elastic.Clients.Elasticsearch.Indices indices) @@ -6451,7 +6451,7 @@ public virtual OpenPointInTimeResponse OpenPointInTime(Elastic.Client /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual OpenPointInTimeResponse OpenPointInTime(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest) @@ -6471,7 +6471,7 @@ public virtual OpenPointInTimeResponse OpenPointInTime(Elastic.Client /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual OpenPointInTimeResponse OpenPointInTime() @@ -6490,7 +6490,7 @@ public virtual OpenPointInTimeResponse OpenPointInTime() /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual OpenPointInTimeResponse OpenPointInTime(Action> configureRequest) @@ -6510,7 +6510,7 @@ public virtual OpenPointInTimeResponse OpenPointInTime(Actionsearch_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual OpenPointInTimeResponse OpenPointInTime(OpenPointInTimeRequestDescriptor descriptor) @@ -6528,7 +6528,7 @@ public virtual OpenPointInTimeResponse OpenPointInTime(OpenPointInTimeRequestDes /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual OpenPointInTimeResponse OpenPointInTime(Elastic.Clients.Elasticsearch.Indices indices) @@ -6547,7 +6547,7 @@ public virtual OpenPointInTimeResponse OpenPointInTime(Elastic.Clients.Elasticse /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual OpenPointInTimeResponse OpenPointInTime(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest) @@ -6567,7 +6567,7 @@ public virtual OpenPointInTimeResponse OpenPointInTime(Elastic.Clients.Elasticse /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(OpenPointInTimeRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -6584,7 +6584,7 @@ public virtual Task OpenPointInTimeAsync(Ope /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default) { @@ -6602,7 +6602,7 @@ public virtual Task OpenPointInTimeAsync(Ela /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -6621,7 +6621,7 @@ public virtual Task OpenPointInTimeAsync(Ela /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(CancellationToken cancellationToken = default) { @@ -6639,7 +6639,7 @@ public virtual Task OpenPointInTimeAsync(Can /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -6658,7 +6658,7 @@ public virtual Task OpenPointInTimeAsync(Act /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(OpenPointInTimeRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -6675,7 +6675,7 @@ public virtual Task OpenPointInTimeAsync(OpenPointInTim /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default) { @@ -6693,7 +6693,7 @@ public virtual Task OpenPointInTimeAsync(Elastic.Client /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/Normalizers.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/Normalizers.g.cs index 69d46b4219a..efa42e9196d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/Normalizers.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/Normalizers.g.cs @@ -122,7 +122,7 @@ public override void Write(Utf8JsonWriter writer, INormalizer value, JsonSeriali } /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// [JsonConverter(typeof(NormalizerInterfaceConverter))] public partial interface INormalizer diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/PhoneticTokenFilter.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/PhoneticTokenFilter.g.cs index 69d9babc174..edc88d5e128 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/PhoneticTokenFilter.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/PhoneticTokenFilter.g.cs @@ -33,15 +33,15 @@ public sealed partial class PhoneticTokenFilter : ITokenFilter public Elastic.Clients.Elasticsearch.Analysis.PhoneticEncoder Encoder { get; set; } [JsonInclude, JsonPropertyName("languageset")] [SingleOrManyCollectionConverter(typeof(Elastic.Clients.Elasticsearch.Analysis.PhoneticLanguage))] - public ICollection Languageset { get; set; } + public ICollection? Languageset { get; set; } [JsonInclude, JsonPropertyName("max_code_len")] public int? MaxCodeLen { get; set; } [JsonInclude, JsonPropertyName("name_type")] - public Elastic.Clients.Elasticsearch.Analysis.PhoneticNameType NameType { get; set; } + public Elastic.Clients.Elasticsearch.Analysis.PhoneticNameType? NameType { get; set; } [JsonInclude, JsonPropertyName("replace")] public bool? Replace { get; set; } [JsonInclude, JsonPropertyName("rule_type")] - public Elastic.Clients.Elasticsearch.Analysis.PhoneticRuleType RuleType { get; set; } + public Elastic.Clients.Elasticsearch.Analysis.PhoneticRuleType? RuleType { get; set; } [JsonInclude, JsonPropertyName("type")] public string Type => "phonetic"; @@ -59,11 +59,11 @@ public PhoneticTokenFilterDescriptor() : base() } private Elastic.Clients.Elasticsearch.Analysis.PhoneticEncoder EncoderValue { get; set; } - private ICollection LanguagesetValue { get; set; } + private ICollection? LanguagesetValue { get; set; } private int? MaxCodeLenValue { get; set; } - private Elastic.Clients.Elasticsearch.Analysis.PhoneticNameType NameTypeValue { get; set; } + private Elastic.Clients.Elasticsearch.Analysis.PhoneticNameType? NameTypeValue { get; set; } private bool? ReplaceValue { get; set; } - private Elastic.Clients.Elasticsearch.Analysis.PhoneticRuleType RuleTypeValue { get; set; } + private Elastic.Clients.Elasticsearch.Analysis.PhoneticRuleType? RuleTypeValue { get; set; } private string? VersionValue { get; set; } public PhoneticTokenFilterDescriptor Encoder(Elastic.Clients.Elasticsearch.Analysis.PhoneticEncoder encoder) @@ -72,7 +72,7 @@ public PhoneticTokenFilterDescriptor Encoder(Elastic.Clients.Elasticsearch.Analy return Self; } - public PhoneticTokenFilterDescriptor Languageset(ICollection languageset) + public PhoneticTokenFilterDescriptor Languageset(ICollection? languageset) { LanguagesetValue = languageset; return Self; @@ -84,7 +84,7 @@ public PhoneticTokenFilterDescriptor MaxCodeLen(int? maxCodeLen) return Self; } - public PhoneticTokenFilterDescriptor NameType(Elastic.Clients.Elasticsearch.Analysis.PhoneticNameType nameType) + public PhoneticTokenFilterDescriptor NameType(Elastic.Clients.Elasticsearch.Analysis.PhoneticNameType? nameType) { NameTypeValue = nameType; return Self; @@ -96,7 +96,7 @@ public PhoneticTokenFilterDescriptor Replace(bool? replace = true) return Self; } - public PhoneticTokenFilterDescriptor RuleType(Elastic.Clients.Elasticsearch.Analysis.PhoneticRuleType ruleType) + public PhoneticTokenFilterDescriptor RuleType(Elastic.Clients.Elasticsearch.Analysis.PhoneticRuleType? ruleType) { RuleTypeValue = ruleType; return Self; @@ -113,24 +113,36 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStartObject(); writer.WritePropertyName("encoder"); JsonSerializer.Serialize(writer, EncoderValue, options); - writer.WritePropertyName("languageset"); - SingleOrManySerializationHelper.Serialize(LanguagesetValue, writer, options); + if (LanguagesetValue is not null) + { + writer.WritePropertyName("languageset"); + SingleOrManySerializationHelper.Serialize(LanguagesetValue, writer, options); + } + if (MaxCodeLenValue.HasValue) { writer.WritePropertyName("max_code_len"); writer.WriteNumberValue(MaxCodeLenValue.Value); } - writer.WritePropertyName("name_type"); - JsonSerializer.Serialize(writer, NameTypeValue, options); + if (NameTypeValue is not null) + { + writer.WritePropertyName("name_type"); + JsonSerializer.Serialize(writer, NameTypeValue, options); + } + if (ReplaceValue.HasValue) { writer.WritePropertyName("replace"); writer.WriteBooleanValue(ReplaceValue.Value); } - writer.WritePropertyName("rule_type"); - JsonSerializer.Serialize(writer, RuleTypeValue, options); + if (RuleTypeValue is not null) + { + writer.WritePropertyName("rule_type"); + JsonSerializer.Serialize(writer, RuleTypeValue, options); + } + writer.WritePropertyName("type"); writer.WriteStringValue("phonetic"); if (!string.IsNullOrEmpty(VersionValue)) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/ByteSize.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/ByteSize.g.cs index 0f08d482e39..5414414a252 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/ByteSize.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/ByteSize.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch; /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class ByteSize : Union { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Context.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Context.g.cs index ef078650fed..400b13112a4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Context.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Context.g.cs @@ -34,7 +34,7 @@ namespace Elastic.Clients.Elasticsearch.Core.Search; /// /// Text or location that we want similar documents for or a lookup to a document's field for the text. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class Context : Union { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricDiscountedCumulativeGain.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricDiscountedCumulativeGain.g.cs index 826d382f757..a8cc3f95f58 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricDiscountedCumulativeGain.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricDiscountedCumulativeGain.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Core.RankEval; /// /// Discounted cumulative gain (DCG) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricDiscountedCumulativeGain { @@ -56,7 +56,7 @@ public sealed partial class RankEvalMetricDiscountedCumulativeGain /// /// Discounted cumulative gain (DCG) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricDiscountedCumulativeGainDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricExpectedReciprocalRank.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricExpectedReciprocalRank.g.cs index 3254a83b773..8228aa19f04 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricExpectedReciprocalRank.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricExpectedReciprocalRank.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Core.RankEval; /// /// Expected Reciprocal Rank (ERR) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricExpectedReciprocalRank { @@ -56,7 +56,7 @@ public sealed partial class RankEvalMetricExpectedReciprocalRank /// /// Expected Reciprocal Rank (ERR) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricExpectedReciprocalRankDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricMeanReciprocalRank.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricMeanReciprocalRank.g.cs index c4db14312ee..f8eb8da98ff 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricMeanReciprocalRank.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricMeanReciprocalRank.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Core.RankEval; /// /// Mean Reciprocal Rank /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricMeanReciprocalRank { @@ -56,7 +56,7 @@ public sealed partial class RankEvalMetricMeanReciprocalRank /// /// Mean Reciprocal Rank /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricMeanReciprocalRankDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricPrecision.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricPrecision.g.cs index c3e05cf1752..f20081bf15e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricPrecision.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricPrecision.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Core.RankEval; /// /// Precision at K (P@k) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricPrecision { @@ -64,7 +64,7 @@ public sealed partial class RankEvalMetricPrecision /// /// Precision at K (P@k) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricPrecisionDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricRecall.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricRecall.g.cs index 9b74ed76b40..a6c3382a51f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricRecall.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricRecall.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Core.RankEval; /// /// Recall at K (R@k) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricRecall { @@ -56,7 +56,7 @@ public sealed partial class RankEvalMetricRecall /// /// Recall at K (R@k) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricRecallDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Fuzziness.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Fuzziness.g.cs index 677ebac3179..8e7161ffe81 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Fuzziness.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Fuzziness.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch; /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class Fuzziness : Union { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexSettings.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexSettings.g.cs index 413a5276c83..8a53108a912 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexSettings.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexSettings.g.cs @@ -739,7 +739,7 @@ public override void Write(Utf8JsonWriter writer, IndexSettings value, JsonSeria } /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// [JsonConverter(typeof(IndexSettingsConverter))] public sealed partial class IndexSettings @@ -840,7 +840,7 @@ public sealed partial class IndexSettings } /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class IndexSettingsDescriptor : SerializableDescriptor> { @@ -2277,7 +2277,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class IndexSettingsDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettings.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettings.g.cs index f3896c871f4..2dc02e63f1f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettings.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettings.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; /// /// Mapping Limit Settings /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class MappingLimitSettings { @@ -57,7 +57,7 @@ public sealed partial class MappingLimitSettings /// /// Mapping Limit Settings /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class MappingLimitSettingsDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DatabaseConfiguration.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DatabaseConfiguration.g.cs new file mode 100644 index 00000000000..081c3db871f --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DatabaseConfiguration.g.cs @@ -0,0 +1,36 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Ingest; + +public sealed partial class DatabaseConfiguration +{ + [JsonInclude, JsonPropertyName("maxmind")] + public Elastic.Clients.Elasticsearch.Ingest.Maxmind Maxmind { get; init; } + [JsonInclude, JsonPropertyName("name")] + public string Name { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DatabaseConfigurationMetadata.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DatabaseConfigurationMetadata.g.cs new file mode 100644 index 00000000000..8403d2a1a44 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DatabaseConfigurationMetadata.g.cs @@ -0,0 +1,40 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Ingest; + +public sealed partial class DatabaseConfigurationMetadata +{ + [JsonInclude, JsonPropertyName("database")] + public Elastic.Clients.Elasticsearch.Ingest.DatabaseConfiguration Database { get; init; } + [JsonInclude, JsonPropertyName("id")] + public string Id { get; init; } + [JsonInclude, JsonPropertyName("modified_date_millis")] + public long ModifiedDateMillis { get; init; } + [JsonInclude, JsonPropertyName("version")] + public long Version { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Maxmind.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Maxmind.g.cs new file mode 100644 index 00000000000..3a002d188e1 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Maxmind.g.cs @@ -0,0 +1,34 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Ingest; + +public sealed partial class Maxmind +{ + [JsonInclude, JsonPropertyName("account_id")] + public string AccountId { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/GeoShapeProperty.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/GeoShapeProperty.g.cs index b62fefd471e..e33440f85fe 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/GeoShapeProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/GeoShapeProperty.g.cs @@ -32,7 +32,7 @@ namespace Elastic.Clients.Elasticsearch.Mapping; /// The geo_shape data type facilitates the indexing of and searching with arbitrary geo shapes such as rectangles /// and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class GeoShapeProperty : IProperty { @@ -81,7 +81,7 @@ public sealed partial class GeoShapeProperty : IProperty /// The geo_shape data type facilitates the indexing of and searching with arbitrary geo shapes such as rectangles /// and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class GeoShapePropertyDescriptor : SerializableDescriptor>, IBuildableDescriptor { @@ -339,7 +339,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// The geo_shape data type facilitates the indexing of and searching with arbitrary geo shapes such as rectangles /// and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class GeoShapePropertyDescriptor : SerializableDescriptor, IBuildableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/ShapeProperty.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/ShapeProperty.g.cs index 82b0be2b913..57142cbced1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/ShapeProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/ShapeProperty.g.cs @@ -32,7 +32,7 @@ namespace Elastic.Clients.Elasticsearch.Mapping; /// The shape data type facilitates the indexing of and searching with arbitrary x, y cartesian shapes such as /// rectangles and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class ShapeProperty : IProperty { @@ -79,7 +79,7 @@ public sealed partial class ShapeProperty : IProperty /// The shape data type facilitates the indexing of and searching with arbitrary x, y cartesian shapes such as /// rectangles and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class ShapePropertyDescriptor : SerializableDescriptor>, IBuildableDescriptor { @@ -323,7 +323,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// The shape data type facilitates the indexing of and searching with arbitrary x, y cartesian shapes such as /// rectangles and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class ShapePropertyDescriptor : SerializableDescriptor, IBuildableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/BoolQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/BoolQuery.g.cs index 7f15c1861a2..bbf7f54b574 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/BoolQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/BoolQuery.g.cs @@ -90,6 +90,7 @@ public sealed partial class BoolQuery public static implicit operator Elastic.Clients.Elasticsearch.QueryDsl.Query(BoolQuery boolQuery) => Elastic.Clients.Elasticsearch.QueryDsl.Query.Bool(boolQuery); public static implicit operator Elastic.Clients.Elasticsearch.Security.ApiKeyQuery(BoolQuery boolQuery) => Elastic.Clients.Elasticsearch.Security.ApiKeyQuery.Bool(boolQuery); + public static implicit operator Elastic.Clients.Elasticsearch.Security.RoleQuery(BoolQuery boolQuery) => Elastic.Clients.Elasticsearch.Security.RoleQuery.Bool(boolQuery); public static implicit operator Elastic.Clients.Elasticsearch.Security.UserQuery(BoolQuery boolQuery) => Elastic.Clients.Elasticsearch.Security.UserQuery.Bool(boolQuery); } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/ExistsQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/ExistsQuery.g.cs index bfb513e3808..a2913d4e92e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/ExistsQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/ExistsQuery.g.cs @@ -52,6 +52,7 @@ public sealed partial class ExistsQuery public static implicit operator Elastic.Clients.Elasticsearch.QueryDsl.Query(ExistsQuery existsQuery) => Elastic.Clients.Elasticsearch.QueryDsl.Query.Exists(existsQuery); public static implicit operator Elastic.Clients.Elasticsearch.Security.ApiKeyQuery(ExistsQuery existsQuery) => Elastic.Clients.Elasticsearch.Security.ApiKeyQuery.Exists(existsQuery); + public static implicit operator Elastic.Clients.Elasticsearch.Security.RoleQuery(ExistsQuery existsQuery) => Elastic.Clients.Elasticsearch.Security.RoleQuery.Exists(existsQuery); public static implicit operator Elastic.Clients.Elasticsearch.Security.UserQuery(ExistsQuery existsQuery) => Elastic.Clients.Elasticsearch.Security.UserQuery.Exists(existsQuery); } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/IdsQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/IdsQuery.g.cs index 7fc972890ad..f805f200673 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/IdsQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/IdsQuery.g.cs @@ -52,6 +52,7 @@ public sealed partial class IdsQuery public static implicit operator Elastic.Clients.Elasticsearch.QueryDsl.Query(IdsQuery idsQuery) => Elastic.Clients.Elasticsearch.QueryDsl.Query.Ids(idsQuery); public static implicit operator Elastic.Clients.Elasticsearch.Security.ApiKeyQuery(IdsQuery idsQuery) => Elastic.Clients.Elasticsearch.Security.ApiKeyQuery.Ids(idsQuery); + public static implicit operator Elastic.Clients.Elasticsearch.Security.RoleQuery(IdsQuery idsQuery) => Elastic.Clients.Elasticsearch.Security.RoleQuery.Ids(idsQuery); public static implicit operator Elastic.Clients.Elasticsearch.Security.UserQuery(IdsQuery idsQuery) => Elastic.Clients.Elasticsearch.Security.UserQuery.Ids(idsQuery); } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Like.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Like.g.cs index 05bde5e6950..7fe667bd3bb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Like.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Like.g.cs @@ -34,7 +34,7 @@ namespace Elastic.Clients.Elasticsearch.QueryDsl; /// /// Text that we want similar documents for or a lookup to a document's field for the text. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class Like : Union { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/MatchAllQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/MatchAllQuery.g.cs index da8928ca40d..d3a4a66a503 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/MatchAllQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/MatchAllQuery.g.cs @@ -44,6 +44,7 @@ public sealed partial class MatchAllQuery public static implicit operator Elastic.Clients.Elasticsearch.QueryDsl.Query(MatchAllQuery matchAllQuery) => Elastic.Clients.Elasticsearch.QueryDsl.Query.MatchAll(matchAllQuery); public static implicit operator Elastic.Clients.Elasticsearch.Security.ApiKeyQuery(MatchAllQuery matchAllQuery) => Elastic.Clients.Elasticsearch.Security.ApiKeyQuery.MatchAll(matchAllQuery); + public static implicit operator Elastic.Clients.Elasticsearch.Security.RoleQuery(MatchAllQuery matchAllQuery) => Elastic.Clients.Elasticsearch.Security.RoleQuery.MatchAll(matchAllQuery); public static implicit operator Elastic.Clients.Elasticsearch.Security.UserQuery(MatchAllQuery matchAllQuery) => Elastic.Clients.Elasticsearch.Security.UserQuery.MatchAll(matchAllQuery); } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/MatchQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/MatchQuery.g.cs index 960628ede3e..21611f7384a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/MatchQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/MatchQuery.g.cs @@ -334,6 +334,7 @@ public MatchQuery(Elastic.Clients.Elasticsearch.Field field) public static implicit operator Elastic.Clients.Elasticsearch.QueryDsl.Query(MatchQuery matchQuery) => Elastic.Clients.Elasticsearch.QueryDsl.Query.Match(matchQuery); public static implicit operator Elastic.Clients.Elasticsearch.Security.ApiKeyQuery(MatchQuery matchQuery) => Elastic.Clients.Elasticsearch.Security.ApiKeyQuery.Match(matchQuery); + public static implicit operator Elastic.Clients.Elasticsearch.Security.RoleQuery(MatchQuery matchQuery) => Elastic.Clients.Elasticsearch.Security.RoleQuery.Match(matchQuery); public static implicit operator Elastic.Clients.Elasticsearch.Security.UserQuery(MatchQuery matchQuery) => Elastic.Clients.Elasticsearch.Security.UserQuery.Match(matchQuery); } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/PrefixQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/PrefixQuery.g.cs index f1e7e200b2d..bf5373da149 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/PrefixQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/PrefixQuery.g.cs @@ -164,6 +164,7 @@ public PrefixQuery(Elastic.Clients.Elasticsearch.Field field) public static implicit operator Elastic.Clients.Elasticsearch.QueryDsl.Query(PrefixQuery prefixQuery) => Elastic.Clients.Elasticsearch.QueryDsl.Query.Prefix(prefixQuery); public static implicit operator Elastic.Clients.Elasticsearch.Security.ApiKeyQuery(PrefixQuery prefixQuery) => Elastic.Clients.Elasticsearch.Security.ApiKeyQuery.Prefix(prefixQuery); + public static implicit operator Elastic.Clients.Elasticsearch.Security.RoleQuery(PrefixQuery prefixQuery) => Elastic.Clients.Elasticsearch.Security.RoleQuery.Prefix(prefixQuery); public static implicit operator Elastic.Clients.Elasticsearch.Security.UserQuery(PrefixQuery prefixQuery) => Elastic.Clients.Elasticsearch.Security.UserQuery.Prefix(prefixQuery); } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Query.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Query.g.cs index 80ad52ae4a3..2413f3deea1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Query.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Query.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.QueryDsl; /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// [JsonConverter(typeof(QueryConverter))] public sealed partial class Query @@ -92,6 +92,7 @@ internal Query(string variantName, object variant) public static Query Rule(Elastic.Clients.Elasticsearch.QueryDsl.RuleQuery ruleQuery) => new Query("rule", ruleQuery); public static Query Script(Elastic.Clients.Elasticsearch.QueryDsl.ScriptQuery scriptQuery) => new Query("script", scriptQuery); public static Query ScriptScore(Elastic.Clients.Elasticsearch.QueryDsl.ScriptScoreQuery scriptScoreQuery) => new Query("script_score", scriptScoreQuery); + public static Query Semantic(Elastic.Clients.Elasticsearch.QueryDsl.SemanticQuery semanticQuery) => new Query("semantic", semanticQuery); public static Query Shape(Elastic.Clients.Elasticsearch.QueryDsl.ShapeQuery shapeQuery) => new Query("shape", shapeQuery); public static Query SimpleQueryString(Elastic.Clients.Elasticsearch.QueryDsl.SimpleQueryStringQuery simpleQueryStringQuery) => new Query("simple_query_string", simpleQueryStringQuery); public static Query SpanContaining(Elastic.Clients.Elasticsearch.QueryDsl.SpanContainingQuery spanContainingQuery) => new Query("span_containing", spanContainingQuery); @@ -103,6 +104,7 @@ internal Query(string variantName, object variant) public static Query SpanOr(Elastic.Clients.Elasticsearch.QueryDsl.SpanOrQuery spanOrQuery) => new Query("span_or", spanOrQuery); public static Query SpanTerm(Elastic.Clients.Elasticsearch.QueryDsl.SpanTermQuery spanTermQuery) => new Query("span_term", spanTermQuery); public static Query SpanWithin(Elastic.Clients.Elasticsearch.QueryDsl.SpanWithinQuery spanWithinQuery) => new Query("span_within", spanWithinQuery); + public static Query SparseVector(Elastic.Clients.Elasticsearch.QueryDsl.SparseVectorQuery sparseVectorQuery) => new Query("sparse_vector", sparseVectorQuery); public static Query Term(Elastic.Clients.Elasticsearch.QueryDsl.TermQuery termQuery) => new Query("term", termQuery); public static Query Terms(Elastic.Clients.Elasticsearch.QueryDsl.TermsQuery termsQuery) => new Query("terms", termsQuery); public static Query TermsSet(Elastic.Clients.Elasticsearch.QueryDsl.TermsSetQuery termsSetQuery) => new Query("terms_set", termsSetQuery); @@ -415,6 +417,13 @@ public override Query Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSe continue; } + if (propertyName == "semantic") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + if (propertyName == "shape") { variantValue = JsonSerializer.Deserialize(ref reader, options); @@ -492,6 +501,13 @@ public override Query Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSe continue; } + if (propertyName == "sparse_vector") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + if (propertyName == "term") { variantValue = JsonSerializer.Deserialize(ref reader, options); @@ -670,6 +686,9 @@ public override void Write(Utf8JsonWriter writer, Query value, JsonSerializerOpt case "script_score": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.QueryDsl.ScriptScoreQuery)value.Variant, options); break; + case "semantic": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.QueryDsl.SemanticQuery)value.Variant, options); + break; case "shape": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.QueryDsl.ShapeQuery)value.Variant, options); break; @@ -703,6 +722,9 @@ public override void Write(Utf8JsonWriter writer, Query value, JsonSerializerOpt case "span_within": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.QueryDsl.SpanWithinQuery)value.Variant, options); break; + case "sparse_vector": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.QueryDsl.SparseVectorQuery)value.Variant, options); + break; case "term": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.QueryDsl.TermQuery)value.Variant, options); break; @@ -840,6 +862,8 @@ private QueryDescriptor Set(object variant, string variantName) public QueryDescriptor Script(Action configure) => Set(configure, "script"); public QueryDescriptor ScriptScore(Elastic.Clients.Elasticsearch.QueryDsl.ScriptScoreQuery scriptScoreQuery) => Set(scriptScoreQuery, "script_score"); public QueryDescriptor ScriptScore(Action> configure) => Set(configure, "script_score"); + public QueryDescriptor Semantic(Elastic.Clients.Elasticsearch.QueryDsl.SemanticQuery semanticQuery) => Set(semanticQuery, "semantic"); + public QueryDescriptor Semantic(Action configure) => Set(configure, "semantic"); public QueryDescriptor Shape(Elastic.Clients.Elasticsearch.QueryDsl.ShapeQuery shapeQuery) => Set(shapeQuery, "shape"); public QueryDescriptor Shape(Action> configure) => Set(configure, "shape"); public QueryDescriptor SimpleQueryString(Elastic.Clients.Elasticsearch.QueryDsl.SimpleQueryStringQuery simpleQueryStringQuery) => Set(simpleQueryStringQuery, "simple_query_string"); @@ -862,6 +886,8 @@ private QueryDescriptor Set(object variant, string variantName) public QueryDescriptor SpanTerm(Action> configure) => Set(configure, "span_term"); public QueryDescriptor SpanWithin(Elastic.Clients.Elasticsearch.QueryDsl.SpanWithinQuery spanWithinQuery) => Set(spanWithinQuery, "span_within"); public QueryDescriptor SpanWithin(Action> configure) => Set(configure, "span_within"); + public QueryDescriptor SparseVector(Elastic.Clients.Elasticsearch.QueryDsl.SparseVectorQuery sparseVectorQuery) => Set(sparseVectorQuery, "sparse_vector"); + public QueryDescriptor SparseVector(Action> configure) => Set(configure, "sparse_vector"); public QueryDescriptor Term(Elastic.Clients.Elasticsearch.QueryDsl.TermQuery termQuery) => Set(termQuery, "term"); public QueryDescriptor Term(Action> configure) => Set(configure, "term"); public QueryDescriptor Terms(Elastic.Clients.Elasticsearch.QueryDsl.TermsQuery termsQuery) => Set(termsQuery, "terms"); @@ -1006,6 +1032,8 @@ private QueryDescriptor Set(object variant, string variantName) public QueryDescriptor Script(Action configure) => Set(configure, "script"); public QueryDescriptor ScriptScore(Elastic.Clients.Elasticsearch.QueryDsl.ScriptScoreQuery scriptScoreQuery) => Set(scriptScoreQuery, "script_score"); public QueryDescriptor ScriptScore(Action configure) => Set(configure, "script_score"); + public QueryDescriptor Semantic(Elastic.Clients.Elasticsearch.QueryDsl.SemanticQuery semanticQuery) => Set(semanticQuery, "semantic"); + public QueryDescriptor Semantic(Action configure) => Set(configure, "semantic"); public QueryDescriptor Shape(Elastic.Clients.Elasticsearch.QueryDsl.ShapeQuery shapeQuery) => Set(shapeQuery, "shape"); public QueryDescriptor Shape(Action configure) => Set(configure, "shape"); public QueryDescriptor SimpleQueryString(Elastic.Clients.Elasticsearch.QueryDsl.SimpleQueryStringQuery simpleQueryStringQuery) => Set(simpleQueryStringQuery, "simple_query_string"); @@ -1028,6 +1056,8 @@ private QueryDescriptor Set(object variant, string variantName) public QueryDescriptor SpanTerm(Action configure) => Set(configure, "span_term"); public QueryDescriptor SpanWithin(Elastic.Clients.Elasticsearch.QueryDsl.SpanWithinQuery spanWithinQuery) => Set(spanWithinQuery, "span_within"); public QueryDescriptor SpanWithin(Action configure) => Set(configure, "span_within"); + public QueryDescriptor SparseVector(Elastic.Clients.Elasticsearch.QueryDsl.SparseVectorQuery sparseVectorQuery) => Set(sparseVectorQuery, "sparse_vector"); + public QueryDescriptor SparseVector(Action configure) => Set(configure, "sparse_vector"); public QueryDescriptor Term(Elastic.Clients.Elasticsearch.QueryDsl.TermQuery termQuery) => Set(termQuery, "term"); public QueryDescriptor Term(Action configure) => Set(configure, "term"); public QueryDescriptor Terms(Elastic.Clients.Elasticsearch.QueryDsl.TermsQuery termsQuery) => Set(termsQuery, "terms"); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/SemanticQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/SemanticQuery.g.cs new file mode 100644 index 00000000000..a3d088ca0c8 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/SemanticQuery.g.cs @@ -0,0 +1,140 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.QueryDsl; + +public sealed partial class SemanticQuery +{ + /// + /// + /// Floating point number used to decrease or increase the relevance scores of the query. + /// Boost values are relative to the default value of 1.0. + /// A boost value between 0 and 1.0 decreases the relevance score. + /// A value greater than 1.0 increases the relevance score. + /// + /// + [JsonInclude, JsonPropertyName("boost")] + public float? Boost { get; set; } + + /// + /// + /// The field to query, which must be a semantic_text field type + /// + /// + [JsonInclude, JsonPropertyName("field")] + public string Field { get; set; } + + /// + /// + /// The query text + /// + /// + [JsonInclude, JsonPropertyName("query")] + public string Query { get; set; } + [JsonInclude, JsonPropertyName("_name")] + public string? QueryName { get; set; } + + public static implicit operator Elastic.Clients.Elasticsearch.QueryDsl.Query(SemanticQuery semanticQuery) => Elastic.Clients.Elasticsearch.QueryDsl.Query.Semantic(semanticQuery); +} + +public sealed partial class SemanticQueryDescriptor : SerializableDescriptor +{ + internal SemanticQueryDescriptor(Action configure) => configure.Invoke(this); + + public SemanticQueryDescriptor() : base() + { + } + + private float? BoostValue { get; set; } + private string FieldValue { get; set; } + private string QueryValue { get; set; } + private string? QueryNameValue { get; set; } + + /// + /// + /// Floating point number used to decrease or increase the relevance scores of the query. + /// Boost values are relative to the default value of 1.0. + /// A boost value between 0 and 1.0 decreases the relevance score. + /// A value greater than 1.0 increases the relevance score. + /// + /// + public SemanticQueryDescriptor Boost(float? boost) + { + BoostValue = boost; + return Self; + } + + /// + /// + /// The field to query, which must be a semantic_text field type + /// + /// + public SemanticQueryDescriptor Field(string field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// The query text + /// + /// + public SemanticQueryDescriptor Query(string query) + { + QueryValue = query; + return Self; + } + + public SemanticQueryDescriptor QueryName(string? queryName) + { + QueryNameValue = queryName; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (BoostValue.HasValue) + { + writer.WritePropertyName("boost"); + writer.WriteNumberValue(BoostValue.Value); + } + + writer.WritePropertyName("field"); + writer.WriteStringValue(FieldValue); + writer.WritePropertyName("query"); + writer.WriteStringValue(QueryValue); + if (!string.IsNullOrEmpty(QueryNameValue)) + { + writer.WritePropertyName("_name"); + writer.WriteStringValue(QueryNameValue); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/SimpleQueryStringQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/SimpleQueryStringQuery.g.cs index 97767321ddf..14e77720775 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/SimpleQueryStringQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/SimpleQueryStringQuery.g.cs @@ -152,6 +152,7 @@ public sealed partial class SimpleQueryStringQuery public static implicit operator Elastic.Clients.Elasticsearch.QueryDsl.Query(SimpleQueryStringQuery simpleQueryStringQuery) => Elastic.Clients.Elasticsearch.QueryDsl.Query.SimpleQueryString(simpleQueryStringQuery); public static implicit operator Elastic.Clients.Elasticsearch.Security.ApiKeyQuery(SimpleQueryStringQuery simpleQueryStringQuery) => Elastic.Clients.Elasticsearch.Security.ApiKeyQuery.SimpleQueryString(simpleQueryStringQuery); + public static implicit operator Elastic.Clients.Elasticsearch.Security.RoleQuery(SimpleQueryStringQuery simpleQueryStringQuery) => Elastic.Clients.Elasticsearch.Security.RoleQuery.SimpleQueryString(simpleQueryStringQuery); public static implicit operator Elastic.Clients.Elasticsearch.Security.UserQuery(SimpleQueryStringQuery simpleQueryStringQuery) => Elastic.Clients.Elasticsearch.Security.UserQuery.SimpleQueryString(simpleQueryStringQuery); } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/SparseVectorQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/SparseVectorQuery.g.cs new file mode 100644 index 00000000000..cb6c959ad3d --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/SparseVectorQuery.g.cs @@ -0,0 +1,637 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.QueryDsl; + +[JsonConverter(typeof(SparseVectorQueryConverter))] +public sealed partial class SparseVectorQuery +{ + internal SparseVectorQuery(string variantName, object variant) + { + if (variantName is null) + throw new ArgumentNullException(nameof(variantName)); + if (variant is null) + throw new ArgumentNullException(nameof(variant)); + if (string.IsNullOrWhiteSpace(variantName)) + throw new ArgumentException("Variant name must not be empty or whitespace."); + VariantName = variantName; + Variant = variant; + } + + internal object Variant { get; } + internal string VariantName { get; } + + public static SparseVectorQuery InferenceId(Elastic.Clients.Elasticsearch.Id id) => new SparseVectorQuery("inference_id", id); + + /// + /// + /// Floating point number used to decrease or increase the relevance scores of the query. + /// Boost values are relative to the default value of 1.0. + /// A boost value between 0 and 1.0 decreases the relevance score. + /// A value greater than 1.0 increases the relevance score. + /// + /// + [JsonInclude, JsonPropertyName("boost")] + public float? Boost { get; set; } + + /// + /// + /// The name of the field that contains the token-weight pairs to be searched against. + /// This field must be a mapped sparse_vector field. + /// + /// + [JsonInclude, JsonPropertyName("field")] + public Elastic.Clients.Elasticsearch.Field Field { get; set; } + + /// + /// + /// Whether to perform pruning, omitting the non-significant tokens from the query to improve query performance. + /// If prune is true but the pruning_config is not specified, pruning will occur but default values will be used. + /// Default: false + /// + /// + [JsonInclude, JsonPropertyName("prune")] + public bool? Prune { get; set; } + + /// + /// + /// Optional pruning configuration. + /// If enabled, this will omit non-significant tokens from the query in order to improve query performance. + /// This is only used if prune is set to true. + /// If prune is set to true but pruning_config is not specified, default values will be used. + /// + /// + [JsonInclude, JsonPropertyName("pruning_config")] + public Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfig? PruningConfig { get; set; } + + /// + /// + /// The query text you want to use for search. + /// If inference_id is specified, query must also be specified. + /// + /// + [JsonInclude, JsonPropertyName("query")] + public string? Query { get; set; } + [JsonInclude, JsonPropertyName("_name")] + public string? QueryName { get; set; } + + public bool TryGet([NotNullWhen(true)] out T? result) where T : class + { + result = default; + if (Variant is T variant) + { + result = variant; + return true; + } + + return false; + } +} + +internal sealed partial class SparseVectorQueryConverter : JsonConverter +{ + public override SparseVectorQuery Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + if (reader.TokenType != JsonTokenType.StartObject) + { + throw new JsonException("Expected start token."); + } + + object? variantValue = default; + string? variantNameValue = default; + float? boostValue = default; + Elastic.Clients.Elasticsearch.Field fieldValue = default; + bool? pruneValue = default; + Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfig? pruningConfigValue = default; + string? queryValue = default; + string? queryNameValue = default; + while (reader.Read() && reader.TokenType != JsonTokenType.EndObject) + { + if (reader.TokenType != JsonTokenType.PropertyName) + { + throw new JsonException("Expected a property name token."); + } + + if (reader.TokenType != JsonTokenType.PropertyName) + { + throw new JsonException("Expected a property name token representing the name of an Elasticsearch field."); + } + + var propertyName = reader.GetString(); + reader.Read(); + if (propertyName == "boost") + { + boostValue = JsonSerializer.Deserialize(ref reader, options); + continue; + } + + if (propertyName == "field") + { + fieldValue = JsonSerializer.Deserialize(ref reader, options); + continue; + } + + if (propertyName == "prune") + { + pruneValue = JsonSerializer.Deserialize(ref reader, options); + continue; + } + + if (propertyName == "pruning_config") + { + pruningConfigValue = JsonSerializer.Deserialize(ref reader, options); + continue; + } + + if (propertyName == "query") + { + queryValue = JsonSerializer.Deserialize(ref reader, options); + continue; + } + + if (propertyName == "_name") + { + queryNameValue = JsonSerializer.Deserialize(ref reader, options); + continue; + } + + if (propertyName == "inference_id") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + + throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'SparseVectorQuery' from the response."); + } + + var result = new SparseVectorQuery(variantNameValue, variantValue); + result.Boost = boostValue; + result.Field = fieldValue; + result.Prune = pruneValue; + result.PruningConfig = pruningConfigValue; + result.Query = queryValue; + result.QueryName = queryNameValue; + return result; + } + + public override void Write(Utf8JsonWriter writer, SparseVectorQuery value, JsonSerializerOptions options) + { + writer.WriteStartObject(); + if (value.Boost.HasValue) + { + writer.WritePropertyName("boost"); + writer.WriteNumberValue(value.Boost.Value); + } + + if (value.Field is not null) + { + writer.WritePropertyName("field"); + JsonSerializer.Serialize(writer, value.Field, options); + } + + if (value.Prune.HasValue) + { + writer.WritePropertyName("prune"); + writer.WriteBooleanValue(value.Prune.Value); + } + + if (value.PruningConfig is not null) + { + writer.WritePropertyName("pruning_config"); + JsonSerializer.Serialize(writer, value.PruningConfig, options); + } + + if (!string.IsNullOrEmpty(value.Query)) + { + writer.WritePropertyName("query"); + writer.WriteStringValue(value.Query); + } + + if (!string.IsNullOrEmpty(value.QueryName)) + { + writer.WritePropertyName("_name"); + writer.WriteStringValue(value.QueryName); + } + + if (value.VariantName is not null && value.Variant is not null) + { + writer.WritePropertyName(value.VariantName); + switch (value.VariantName) + { + case "inference_id": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Id)value.Variant, options); + break; + } + } + + writer.WriteEndObject(); + } +} + +public sealed partial class SparseVectorQueryDescriptor : SerializableDescriptor> +{ + internal SparseVectorQueryDescriptor(Action> configure) => configure.Invoke(this); + + public SparseVectorQueryDescriptor() : base() + { + } + + private bool ContainsVariant { get; set; } + private string ContainedVariantName { get; set; } + private object Variant { get; set; } + private Descriptor Descriptor { get; set; } + + private SparseVectorQueryDescriptor Set(Action descriptorAction, string variantName) where T : Descriptor + { + ContainedVariantName = variantName; + ContainsVariant = true; + var descriptor = (T)Activator.CreateInstance(typeof(T), true); + descriptorAction?.Invoke(descriptor); + Descriptor = descriptor; + return Self; + } + + private SparseVectorQueryDescriptor Set(object variant, string variantName) + { + Variant = variant; + ContainedVariantName = variantName; + ContainsVariant = true; + return Self; + } + + private float? BoostValue { get; set; } + private Elastic.Clients.Elasticsearch.Field FieldValue { get; set; } + private bool? PruneValue { get; set; } + private Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfig? PruningConfigValue { get; set; } + private string? QueryValue { get; set; } + private string? QueryNameValue { get; set; } + + /// + /// + /// Floating point number used to decrease or increase the relevance scores of the query. + /// Boost values are relative to the default value of 1.0. + /// A boost value between 0 and 1.0 decreases the relevance score. + /// A value greater than 1.0 increases the relevance score. + /// + /// + public SparseVectorQueryDescriptor Boost(float? boost) + { + BoostValue = boost; + return Self; + } + + /// + /// + /// The name of the field that contains the token-weight pairs to be searched against. + /// This field must be a mapped sparse_vector field. + /// + /// + public SparseVectorQueryDescriptor Field(Elastic.Clients.Elasticsearch.Field field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// The name of the field that contains the token-weight pairs to be searched against. + /// This field must be a mapped sparse_vector field. + /// + /// + public SparseVectorQueryDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// The name of the field that contains the token-weight pairs to be searched against. + /// This field must be a mapped sparse_vector field. + /// + /// + public SparseVectorQueryDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Whether to perform pruning, omitting the non-significant tokens from the query to improve query performance. + /// If prune is true but the pruning_config is not specified, pruning will occur but default values will be used. + /// Default: false + /// + /// + public SparseVectorQueryDescriptor Prune(bool? prune = true) + { + PruneValue = prune; + return Self; + } + + /// + /// + /// Optional pruning configuration. + /// If enabled, this will omit non-significant tokens from the query in order to improve query performance. + /// This is only used if prune is set to true. + /// If prune is set to true but pruning_config is not specified, default values will be used. + /// + /// + public SparseVectorQueryDescriptor PruningConfig(Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfig? pruningConfig) + { + PruningConfigValue = pruningConfig; + return Self; + } + + /// + /// + /// The query text you want to use for search. + /// If inference_id is specified, query must also be specified. + /// + /// + public SparseVectorQueryDescriptor Query(string? query) + { + QueryValue = query; + return Self; + } + + public SparseVectorQueryDescriptor QueryName(string? queryName) + { + QueryNameValue = queryName; + return Self; + } + + public SparseVectorQueryDescriptor InferenceId(Elastic.Clients.Elasticsearch.Id id) => Set(id, "inference_id"); + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (BoostValue.HasValue) + { + writer.WritePropertyName("boost"); + writer.WriteNumberValue(BoostValue.Value); + } + + if (FieldValue is not null) + { + writer.WritePropertyName("field"); + JsonSerializer.Serialize(writer, FieldValue, options); + } + + if (PruneValue.HasValue) + { + writer.WritePropertyName("prune"); + writer.WriteBooleanValue(PruneValue.Value); + } + + if (PruningConfigValue is not null) + { + writer.WritePropertyName("pruning_config"); + JsonSerializer.Serialize(writer, PruningConfigValue, options); + } + + if (!string.IsNullOrEmpty(QueryValue)) + { + writer.WritePropertyName("query"); + writer.WriteStringValue(QueryValue); + } + + if (!string.IsNullOrEmpty(QueryNameValue)) + { + writer.WritePropertyName("_name"); + writer.WriteStringValue(QueryNameValue); + } + + if (!string.IsNullOrEmpty(ContainedVariantName)) + { + writer.WritePropertyName(ContainedVariantName); + if (Variant is not null) + { + JsonSerializer.Serialize(writer, Variant, Variant.GetType(), options); + writer.WriteEndObject(); + return; + } + + JsonSerializer.Serialize(writer, Descriptor, Descriptor.GetType(), options); + } + + writer.WriteEndObject(); + } +} + +public sealed partial class SparseVectorQueryDescriptor : SerializableDescriptor +{ + internal SparseVectorQueryDescriptor(Action configure) => configure.Invoke(this); + + public SparseVectorQueryDescriptor() : base() + { + } + + private bool ContainsVariant { get; set; } + private string ContainedVariantName { get; set; } + private object Variant { get; set; } + private Descriptor Descriptor { get; set; } + + private SparseVectorQueryDescriptor Set(Action descriptorAction, string variantName) where T : Descriptor + { + ContainedVariantName = variantName; + ContainsVariant = true; + var descriptor = (T)Activator.CreateInstance(typeof(T), true); + descriptorAction?.Invoke(descriptor); + Descriptor = descriptor; + return Self; + } + + private SparseVectorQueryDescriptor Set(object variant, string variantName) + { + Variant = variant; + ContainedVariantName = variantName; + ContainsVariant = true; + return Self; + } + + private float? BoostValue { get; set; } + private Elastic.Clients.Elasticsearch.Field FieldValue { get; set; } + private bool? PruneValue { get; set; } + private Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfig? PruningConfigValue { get; set; } + private string? QueryValue { get; set; } + private string? QueryNameValue { get; set; } + + /// + /// + /// Floating point number used to decrease or increase the relevance scores of the query. + /// Boost values are relative to the default value of 1.0. + /// A boost value between 0 and 1.0 decreases the relevance score. + /// A value greater than 1.0 increases the relevance score. + /// + /// + public SparseVectorQueryDescriptor Boost(float? boost) + { + BoostValue = boost; + return Self; + } + + /// + /// + /// The name of the field that contains the token-weight pairs to be searched against. + /// This field must be a mapped sparse_vector field. + /// + /// + public SparseVectorQueryDescriptor Field(Elastic.Clients.Elasticsearch.Field field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// The name of the field that contains the token-weight pairs to be searched against. + /// This field must be a mapped sparse_vector field. + /// + /// + public SparseVectorQueryDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// The name of the field that contains the token-weight pairs to be searched against. + /// This field must be a mapped sparse_vector field. + /// + /// + public SparseVectorQueryDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Whether to perform pruning, omitting the non-significant tokens from the query to improve query performance. + /// If prune is true but the pruning_config is not specified, pruning will occur but default values will be used. + /// Default: false + /// + /// + public SparseVectorQueryDescriptor Prune(bool? prune = true) + { + PruneValue = prune; + return Self; + } + + /// + /// + /// Optional pruning configuration. + /// If enabled, this will omit non-significant tokens from the query in order to improve query performance. + /// This is only used if prune is set to true. + /// If prune is set to true but pruning_config is not specified, default values will be used. + /// + /// + public SparseVectorQueryDescriptor PruningConfig(Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfig? pruningConfig) + { + PruningConfigValue = pruningConfig; + return Self; + } + + /// + /// + /// The query text you want to use for search. + /// If inference_id is specified, query must also be specified. + /// + /// + public SparseVectorQueryDescriptor Query(string? query) + { + QueryValue = query; + return Self; + } + + public SparseVectorQueryDescriptor QueryName(string? queryName) + { + QueryNameValue = queryName; + return Self; + } + + public SparseVectorQueryDescriptor InferenceId(Elastic.Clients.Elasticsearch.Id id) => Set(id, "inference_id"); + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (BoostValue.HasValue) + { + writer.WritePropertyName("boost"); + writer.WriteNumberValue(BoostValue.Value); + } + + if (FieldValue is not null) + { + writer.WritePropertyName("field"); + JsonSerializer.Serialize(writer, FieldValue, options); + } + + if (PruneValue.HasValue) + { + writer.WritePropertyName("prune"); + writer.WriteBooleanValue(PruneValue.Value); + } + + if (PruningConfigValue is not null) + { + writer.WritePropertyName("pruning_config"); + JsonSerializer.Serialize(writer, PruningConfigValue, options); + } + + if (!string.IsNullOrEmpty(QueryValue)) + { + writer.WritePropertyName("query"); + writer.WriteStringValue(QueryValue); + } + + if (!string.IsNullOrEmpty(QueryNameValue)) + { + writer.WritePropertyName("_name"); + writer.WriteStringValue(QueryNameValue); + } + + if (!string.IsNullOrEmpty(ContainedVariantName)) + { + writer.WritePropertyName(ContainedVariantName); + if (Variant is not null) + { + JsonSerializer.Serialize(writer, Variant, Variant.GetType(), options); + writer.WriteEndObject(); + return; + } + + JsonSerializer.Serialize(writer, Descriptor, Descriptor.GetType(), options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermQuery.g.cs index 05ab38712f4..3a3e17909a0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermQuery.g.cs @@ -145,6 +145,7 @@ public TermQuery(Elastic.Clients.Elasticsearch.Field field) public static implicit operator Elastic.Clients.Elasticsearch.QueryDsl.Query(TermQuery termQuery) => Elastic.Clients.Elasticsearch.QueryDsl.Query.Term(termQuery); public static implicit operator Elastic.Clients.Elasticsearch.Security.ApiKeyQuery(TermQuery termQuery) => Elastic.Clients.Elasticsearch.Security.ApiKeyQuery.Term(termQuery); + public static implicit operator Elastic.Clients.Elasticsearch.Security.RoleQuery(TermQuery termQuery) => Elastic.Clients.Elasticsearch.Security.RoleQuery.Term(termQuery); public static implicit operator Elastic.Clients.Elasticsearch.Security.UserQuery(TermQuery termQuery) => Elastic.Clients.Elasticsearch.Security.UserQuery.Term(termQuery); } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermsQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermsQuery.g.cs index 62cdca72499..d3e4b3079ad 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermsQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermsQuery.g.cs @@ -109,6 +109,7 @@ public sealed partial class TermsQuery public static implicit operator Elastic.Clients.Elasticsearch.QueryDsl.Query(TermsQuery termsQuery) => Elastic.Clients.Elasticsearch.QueryDsl.Query.Terms(termsQuery); public static implicit operator Elastic.Clients.Elasticsearch.Security.ApiKeyQuery(TermsQuery termsQuery) => Elastic.Clients.Elasticsearch.Security.ApiKeyQuery.Terms(termsQuery); + public static implicit operator Elastic.Clients.Elasticsearch.Security.RoleQuery(TermsQuery termsQuery) => Elastic.Clients.Elasticsearch.Security.RoleQuery.Terms(termsQuery); public static implicit operator Elastic.Clients.Elasticsearch.Security.UserQuery(TermsQuery termsQuery) => Elastic.Clients.Elasticsearch.Security.UserQuery.Terms(termsQuery); } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/WildcardQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/WildcardQuery.g.cs index 9fdf7d25989..5b449de8d98 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/WildcardQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/WildcardQuery.g.cs @@ -186,6 +186,7 @@ public WildcardQuery(Elastic.Clients.Elasticsearch.Field field) public static implicit operator Elastic.Clients.Elasticsearch.QueryDsl.Query(WildcardQuery wildcardQuery) => Elastic.Clients.Elasticsearch.QueryDsl.Query.Wildcard(wildcardQuery); public static implicit operator Elastic.Clients.Elasticsearch.Security.ApiKeyQuery(WildcardQuery wildcardQuery) => Elastic.Clients.Elasticsearch.Security.ApiKeyQuery.Wildcard(wildcardQuery); + public static implicit operator Elastic.Clients.Elasticsearch.Security.RoleQuery(WildcardQuery wildcardQuery) => Elastic.Clients.Elasticsearch.Security.RoleQuery.Wildcard(wildcardQuery); public static implicit operator Elastic.Clients.Elasticsearch.Security.UserQuery(WildcardQuery wildcardQuery) => Elastic.Clients.Elasticsearch.Security.UserQuery.Wildcard(wildcardQuery); } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/BulkError.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/BulkError.g.cs new file mode 100644 index 00000000000..a77fb2ce0d3 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/BulkError.g.cs @@ -0,0 +1,47 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Security; + +public sealed partial class BulkError +{ + /// + /// + /// The number of errors + /// + /// + [JsonInclude, JsonPropertyName("count")] + public int Count { get; init; } + + /// + /// + /// Details about the errors, keyed by role name + /// + /// + [JsonInclude, JsonPropertyName("details")] + public IReadOnlyDictionary Details { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/QueryRole.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/QueryRole.g.cs new file mode 100644 index 00000000000..53b1d944db9 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/QueryRole.g.cs @@ -0,0 +1,182 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Security; + +internal sealed partial class QueryRoleConverter : JsonConverter +{ + public override QueryRole Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + if (reader.TokenType != JsonTokenType.StartObject) + throw new JsonException("Unexpected JSON detected."); + IReadOnlyCollection? applications = default; + IReadOnlyCollection? cluster = default; + string? description = default; + IReadOnlyCollection? global = default; + IReadOnlyCollection? indices = default; + IReadOnlyDictionary? metadata = default; + string name = default; + IReadOnlyCollection? runAs = default; + IReadOnlyCollection? sort = default; + IReadOnlyDictionary? transientMetadata = default; + while (reader.Read() && reader.TokenType != JsonTokenType.EndObject) + { + if (reader.TokenType == JsonTokenType.PropertyName) + { + var property = reader.GetString(); + if (property == "applications") + { + applications = JsonSerializer.Deserialize?>(ref reader, options); + continue; + } + + if (property == "cluster") + { + cluster = JsonSerializer.Deserialize?>(ref reader, options); + continue; + } + + if (property == "description") + { + description = JsonSerializer.Deserialize(ref reader, options); + continue; + } + + if (property == "global") + { + global = SingleOrManySerializationHelper.Deserialize(ref reader, options); + continue; + } + + if (property == "indices" || property == "index") + { + indices = JsonSerializer.Deserialize?>(ref reader, options); + continue; + } + + if (property == "metadata") + { + metadata = JsonSerializer.Deserialize?>(ref reader, options); + continue; + } + + if (property == "name") + { + name = JsonSerializer.Deserialize(ref reader, options); + continue; + } + + if (property == "run_as") + { + runAs = JsonSerializer.Deserialize?>(ref reader, options); + continue; + } + + if (property == "_sort") + { + sort = JsonSerializer.Deserialize?>(ref reader, options); + continue; + } + + if (property == "transient_metadata") + { + transientMetadata = JsonSerializer.Deserialize?>(ref reader, options); + continue; + } + } + } + + return new QueryRole { Applications = applications, Cluster = cluster, Description = description, Global = global, Indices = indices, Metadata = metadata, Name = name, RunAs = runAs, Sort = sort, TransientMetadata = transientMetadata }; + } + + public override void Write(Utf8JsonWriter writer, QueryRole value, JsonSerializerOptions options) + { + throw new NotImplementedException("'QueryRole' is a readonly type, used only on responses and does not support being written to JSON."); + } +} + +[JsonConverter(typeof(QueryRoleConverter))] +public sealed partial class QueryRole +{ + /// + /// + /// A list of application privilege entries + /// + /// + public IReadOnlyCollection? Applications { get; init; } + + /// + /// + /// A list of cluster privileges. These privileges define the cluster level actions that API keys are able to execute. + /// + /// + public IReadOnlyCollection? Cluster { get; init; } + + /// + /// + /// Optional description of the role descriptor + /// + /// + public string? Description { get; init; } + + /// + /// + /// An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware. Support for global privileges is currently limited to the management of application privileges. + /// + /// + public IReadOnlyCollection? Global { get; init; } + + /// + /// + /// A list of indices permissions entries. + /// + /// + public IReadOnlyCollection? Indices { get; init; } + + /// + /// + /// Optional meta-data. Within the metadata object, keys that begin with _ are reserved for system usage. + /// + /// + public IReadOnlyDictionary? Metadata { get; init; } + + /// + /// + /// Name of the role. + /// + /// + public string Name { get; init; } + + /// + /// + /// A list of users that the API keys can impersonate. Note: in Serverless, the run-as feature is disabled. For API compatibility, you can still specify an empty run_as field, but a non-empty list will be rejected. + /// + /// + public IReadOnlyCollection? RunAs { get; init; } + public IReadOnlyCollection? Sort { get; init; } + public IReadOnlyDictionary? TransientMetadata { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RoleQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RoleQuery.g.cs new file mode 100644 index 00000000000..862b9b99044 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RoleQuery.g.cs @@ -0,0 +1,384 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +#nullable restore + +using Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Security; + +[JsonConverter(typeof(RoleQueryConverter))] +public sealed partial class RoleQuery +{ + internal RoleQuery(string variantName, object variant) + { + if (variantName is null) + throw new ArgumentNullException(nameof(variantName)); + if (variant is null) + throw new ArgumentNullException(nameof(variant)); + if (string.IsNullOrWhiteSpace(variantName)) + throw new ArgumentException("Variant name must not be empty or whitespace."); + VariantName = variantName; + Variant = variant; + } + + internal object Variant { get; } + internal string VariantName { get; } + + public static RoleQuery Bool(Elastic.Clients.Elasticsearch.QueryDsl.BoolQuery boolQuery) => new RoleQuery("bool", boolQuery); + public static RoleQuery Exists(Elastic.Clients.Elasticsearch.QueryDsl.ExistsQuery existsQuery) => new RoleQuery("exists", existsQuery); + public static RoleQuery Ids(Elastic.Clients.Elasticsearch.QueryDsl.IdsQuery idsQuery) => new RoleQuery("ids", idsQuery); + public static RoleQuery Match(Elastic.Clients.Elasticsearch.QueryDsl.MatchQuery matchQuery) => new RoleQuery("match", matchQuery); + public static RoleQuery MatchAll(Elastic.Clients.Elasticsearch.QueryDsl.MatchAllQuery matchAllQuery) => new RoleQuery("match_all", matchAllQuery); + public static RoleQuery Prefix(Elastic.Clients.Elasticsearch.QueryDsl.PrefixQuery prefixQuery) => new RoleQuery("prefix", prefixQuery); + public static RoleQuery Range(Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQuery rangeQuery) => new RoleQuery("range", rangeQuery); + public static RoleQuery Range(Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQuery rangeQuery) => new RoleQuery("range", rangeQuery); + public static RoleQuery Range(Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQuery rangeQuery) => new RoleQuery("range", rangeQuery); + public static RoleQuery Range(Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQuery rangeQuery) => new RoleQuery("range", rangeQuery); + public static RoleQuery SimpleQueryString(Elastic.Clients.Elasticsearch.QueryDsl.SimpleQueryStringQuery simpleQueryStringQuery) => new RoleQuery("simple_query_string", simpleQueryStringQuery); + public static RoleQuery Term(Elastic.Clients.Elasticsearch.QueryDsl.TermQuery termQuery) => new RoleQuery("term", termQuery); + public static RoleQuery Terms(Elastic.Clients.Elasticsearch.QueryDsl.TermsQuery termsQuery) => new RoleQuery("terms", termsQuery); + public static RoleQuery Wildcard(Elastic.Clients.Elasticsearch.QueryDsl.WildcardQuery wildcardQuery) => new RoleQuery("wildcard", wildcardQuery); + + public bool TryGet([NotNullWhen(true)] out T? result) where T : class + { + result = default; + if (Variant is T variant) + { + result = variant; + return true; + } + + return false; + } +} + +internal sealed partial class RoleQueryConverter : JsonConverter +{ + public override RoleQuery Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + if (reader.TokenType != JsonTokenType.StartObject) + { + throw new JsonException("Expected start token."); + } + + object? variantValue = default; + string? variantNameValue = default; + while (reader.Read() && reader.TokenType != JsonTokenType.EndObject) + { + if (reader.TokenType != JsonTokenType.PropertyName) + { + throw new JsonException("Expected a property name token."); + } + + if (reader.TokenType != JsonTokenType.PropertyName) + { + throw new JsonException("Expected a property name token representing the name of an Elasticsearch field."); + } + + var propertyName = reader.GetString(); + reader.Read(); + if (propertyName == "bool") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + + if (propertyName == "exists") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + + if (propertyName == "ids") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + + if (propertyName == "match") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + + if (propertyName == "match_all") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + + if (propertyName == "prefix") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + + if (propertyName == "range") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + + if (propertyName == "simple_query_string") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + + if (propertyName == "term") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + + if (propertyName == "terms") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + + if (propertyName == "wildcard") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + + throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'RoleQuery' from the response."); + } + + var result = new RoleQuery(variantNameValue, variantValue); + return result; + } + + public override void Write(Utf8JsonWriter writer, RoleQuery value, JsonSerializerOptions options) + { + writer.WriteStartObject(); + if (value.VariantName is not null && value.Variant is not null) + { + writer.WritePropertyName(value.VariantName); + switch (value.VariantName) + { + case "bool": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.QueryDsl.BoolQuery)value.Variant, options); + break; + case "exists": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.QueryDsl.ExistsQuery)value.Variant, options); + break; + case "ids": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.QueryDsl.IdsQuery)value.Variant, options); + break; + case "match": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.QueryDsl.MatchQuery)value.Variant, options); + break; + case "match_all": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.QueryDsl.MatchAllQuery)value.Variant, options); + break; + case "prefix": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.QueryDsl.PrefixQuery)value.Variant, options); + break; + case "range": + JsonSerializer.Serialize(writer, value.Variant, value.Variant.GetType(), options); + break; + case "simple_query_string": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.QueryDsl.SimpleQueryStringQuery)value.Variant, options); + break; + case "term": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.QueryDsl.TermQuery)value.Variant, options); + break; + case "terms": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.QueryDsl.TermsQuery)value.Variant, options); + break; + case "wildcard": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.QueryDsl.WildcardQuery)value.Variant, options); + break; + } + } + + writer.WriteEndObject(); + } +} + +public sealed partial class RoleQueryDescriptor : SerializableDescriptor> +{ + internal RoleQueryDescriptor(Action> configure) => configure.Invoke(this); + + public RoleQueryDescriptor() : base() + { + } + + private bool ContainsVariant { get; set; } + private string ContainedVariantName { get; set; } + private object Variant { get; set; } + private Descriptor Descriptor { get; set; } + + private RoleQueryDescriptor Set(Action descriptorAction, string variantName) where T : Descriptor + { + ContainedVariantName = variantName; + ContainsVariant = true; + var descriptor = (T)Activator.CreateInstance(typeof(T), true); + descriptorAction?.Invoke(descriptor); + Descriptor = descriptor; + return Self; + } + + private RoleQueryDescriptor Set(object variant, string variantName) + { + Variant = variant; + ContainedVariantName = variantName; + ContainsVariant = true; + return Self; + } + + public RoleQueryDescriptor Bool(Elastic.Clients.Elasticsearch.QueryDsl.BoolQuery boolQuery) => Set(boolQuery, "bool"); + public RoleQueryDescriptor Bool(Action> configure) => Set(configure, "bool"); + public RoleQueryDescriptor Exists(Elastic.Clients.Elasticsearch.QueryDsl.ExistsQuery existsQuery) => Set(existsQuery, "exists"); + public RoleQueryDescriptor Exists(Action> configure) => Set(configure, "exists"); + public RoleQueryDescriptor Ids(Elastic.Clients.Elasticsearch.QueryDsl.IdsQuery idsQuery) => Set(idsQuery, "ids"); + public RoleQueryDescriptor Ids(Action configure) => Set(configure, "ids"); + public RoleQueryDescriptor Match(Elastic.Clients.Elasticsearch.QueryDsl.MatchQuery matchQuery) => Set(matchQuery, "match"); + public RoleQueryDescriptor Match(Action> configure) => Set(configure, "match"); + public RoleQueryDescriptor MatchAll(Elastic.Clients.Elasticsearch.QueryDsl.MatchAllQuery matchAllQuery) => Set(matchAllQuery, "match_all"); + public RoleQueryDescriptor MatchAll(Action configure) => Set(configure, "match_all"); + public RoleQueryDescriptor Prefix(Elastic.Clients.Elasticsearch.QueryDsl.PrefixQuery prefixQuery) => Set(prefixQuery, "prefix"); + public RoleQueryDescriptor Prefix(Action> configure) => Set(configure, "prefix"); + public RoleQueryDescriptor Range(Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQuery rangeQuery) => Set(rangeQuery, "range"); + public RoleQueryDescriptor Range(Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQuery rangeQuery) => Set(rangeQuery, "range"); + public RoleQueryDescriptor Range(Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQuery rangeQuery) => Set(rangeQuery, "range"); + public RoleQueryDescriptor Range(Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQuery rangeQuery) => Set(rangeQuery, "range"); + public RoleQueryDescriptor SimpleQueryString(Elastic.Clients.Elasticsearch.QueryDsl.SimpleQueryStringQuery simpleQueryStringQuery) => Set(simpleQueryStringQuery, "simple_query_string"); + public RoleQueryDescriptor SimpleQueryString(Action> configure) => Set(configure, "simple_query_string"); + public RoleQueryDescriptor Term(Elastic.Clients.Elasticsearch.QueryDsl.TermQuery termQuery) => Set(termQuery, "term"); + public RoleQueryDescriptor Term(Action> configure) => Set(configure, "term"); + public RoleQueryDescriptor Terms(Elastic.Clients.Elasticsearch.QueryDsl.TermsQuery termsQuery) => Set(termsQuery, "terms"); + public RoleQueryDescriptor Terms(Action> configure) => Set(configure, "terms"); + public RoleQueryDescriptor Wildcard(Elastic.Clients.Elasticsearch.QueryDsl.WildcardQuery wildcardQuery) => Set(wildcardQuery, "wildcard"); + public RoleQueryDescriptor Wildcard(Action> configure) => Set(configure, "wildcard"); + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(ContainedVariantName)) + { + writer.WritePropertyName(ContainedVariantName); + if (Variant is not null) + { + JsonSerializer.Serialize(writer, Variant, Variant.GetType(), options); + writer.WriteEndObject(); + return; + } + + JsonSerializer.Serialize(writer, Descriptor, Descriptor.GetType(), options); + } + + writer.WriteEndObject(); + } +} + +public sealed partial class RoleQueryDescriptor : SerializableDescriptor +{ + internal RoleQueryDescriptor(Action configure) => configure.Invoke(this); + + public RoleQueryDescriptor() : base() + { + } + + private bool ContainsVariant { get; set; } + private string ContainedVariantName { get; set; } + private object Variant { get; set; } + private Descriptor Descriptor { get; set; } + + private RoleQueryDescriptor Set(Action descriptorAction, string variantName) where T : Descriptor + { + ContainedVariantName = variantName; + ContainsVariant = true; + var descriptor = (T)Activator.CreateInstance(typeof(T), true); + descriptorAction?.Invoke(descriptor); + Descriptor = descriptor; + return Self; + } + + private RoleQueryDescriptor Set(object variant, string variantName) + { + Variant = variant; + ContainedVariantName = variantName; + ContainsVariant = true; + return Self; + } + + public RoleQueryDescriptor Bool(Elastic.Clients.Elasticsearch.QueryDsl.BoolQuery boolQuery) => Set(boolQuery, "bool"); + public RoleQueryDescriptor Bool(Action configure) => Set(configure, "bool"); + public RoleQueryDescriptor Exists(Elastic.Clients.Elasticsearch.QueryDsl.ExistsQuery existsQuery) => Set(existsQuery, "exists"); + public RoleQueryDescriptor Exists(Action configure) => Set(configure, "exists"); + public RoleQueryDescriptor Ids(Elastic.Clients.Elasticsearch.QueryDsl.IdsQuery idsQuery) => Set(idsQuery, "ids"); + public RoleQueryDescriptor Ids(Action configure) => Set(configure, "ids"); + public RoleQueryDescriptor Match(Elastic.Clients.Elasticsearch.QueryDsl.MatchQuery matchQuery) => Set(matchQuery, "match"); + public RoleQueryDescriptor Match(Action configure) => Set(configure, "match"); + public RoleQueryDescriptor MatchAll(Elastic.Clients.Elasticsearch.QueryDsl.MatchAllQuery matchAllQuery) => Set(matchAllQuery, "match_all"); + public RoleQueryDescriptor MatchAll(Action configure) => Set(configure, "match_all"); + public RoleQueryDescriptor Prefix(Elastic.Clients.Elasticsearch.QueryDsl.PrefixQuery prefixQuery) => Set(prefixQuery, "prefix"); + public RoleQueryDescriptor Prefix(Action configure) => Set(configure, "prefix"); + public RoleQueryDescriptor Range(Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQuery rangeQuery) => Set(rangeQuery, "range"); + public RoleQueryDescriptor Range(Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQuery rangeQuery) => Set(rangeQuery, "range"); + public RoleQueryDescriptor Range(Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQuery rangeQuery) => Set(rangeQuery, "range"); + public RoleQueryDescriptor Range(Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQuery rangeQuery) => Set(rangeQuery, "range"); + public RoleQueryDescriptor SimpleQueryString(Elastic.Clients.Elasticsearch.QueryDsl.SimpleQueryStringQuery simpleQueryStringQuery) => Set(simpleQueryStringQuery, "simple_query_string"); + public RoleQueryDescriptor SimpleQueryString(Action configure) => Set(configure, "simple_query_string"); + public RoleQueryDescriptor Term(Elastic.Clients.Elasticsearch.QueryDsl.TermQuery termQuery) => Set(termQuery, "term"); + public RoleQueryDescriptor Term(Action configure) => Set(configure, "term"); + public RoleQueryDescriptor Terms(Elastic.Clients.Elasticsearch.QueryDsl.TermsQuery termsQuery) => Set(termsQuery, "terms"); + public RoleQueryDescriptor Terms(Action configure) => Set(configure, "terms"); + public RoleQueryDescriptor Wildcard(Elastic.Clients.Elasticsearch.QueryDsl.WildcardQuery wildcardQuery) => Set(wildcardQuery, "wildcard"); + public RoleQueryDescriptor Wildcard(Action configure) => Set(configure, "wildcard"); + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(ContainedVariantName)) + { + writer.WritePropertyName(ContainedVariantName); + if (Variant is not null) + { + JsonSerializer.Serialize(writer, Variant, Variant.GetType(), options); + writer.WriteEndObject(); + return; + } + + JsonSerializer.Serialize(writer, Descriptor, Descriptor.GetType(), options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file