diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ClearTrainedModelDeploymentCacheRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ClearTrainedModelDeploymentCacheRequest.g.cs index b4eb05ebc3a..36a51c7cd41 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ClearTrainedModelDeploymentCacheRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ClearTrainedModelDeploymentCacheRequest.g.cs @@ -34,7 +34,7 @@ public sealed partial class ClearTrainedModelDeploymentCacheRequestParameters : } /// -/// Clears a trained model deployment cache on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
+/// Clear trained model deployment cache.
Cache will be cleared on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
///
public sealed partial class ClearTrainedModelDeploymentCacheRequest : PlainRequest { @@ -52,7 +52,7 @@ public ClearTrainedModelDeploymentCacheRequest(Elastic.Clients.Elasticsearch.Ser } /// -/// Clears a trained model deployment cache on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
+/// Clear trained model deployment cache.
Cache will be cleared on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
///
public sealed partial class ClearTrainedModelDeploymentCacheRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarEventRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarEventRequest.g.cs index 01ce5c83203..9b49e8b415c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarEventRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarEventRequest.g.cs @@ -34,7 +34,7 @@ public sealed partial class DeleteCalendarEventRequestParameters : RequestParame } /// -/// Deletes scheduled events from a calendar. +/// Delete events from a calendar. /// public sealed partial class DeleteCalendarEventRequest : PlainRequest { @@ -52,7 +52,7 @@ public DeleteCalendarEventRequest(Elastic.Clients.Elasticsearch.Serverless.Id ca } /// -/// Deletes scheduled events from a calendar. +/// Delete events from a calendar. /// public sealed partial class DeleteCalendarEventRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarJobRequest.g.cs index d8e11d89026..6a5666bcc9b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarJobRequest.g.cs @@ -34,7 +34,7 @@ public sealed partial class DeleteCalendarJobRequestParameters : RequestParamete } /// -/// Deletes anomaly detection jobs from a calendar. +/// Delete anomaly jobs from a calendar. /// public sealed partial class DeleteCalendarJobRequest : PlainRequest { @@ -52,7 +52,7 @@ public DeleteCalendarJobRequest(Elastic.Clients.Elasticsearch.Serverless.Id cale } /// -/// Deletes anomaly detection jobs from a calendar. +/// Delete anomaly jobs from a calendar. /// public sealed partial class DeleteCalendarJobRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarRequest.g.cs index 19420077b60..9be1d1f2e82 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarRequest.g.cs @@ -34,7 +34,7 @@ public sealed partial class DeleteCalendarRequestParameters : RequestParameters } /// -/// Removes all scheduled events from a calendar, then deletes it. +/// Delete a calendar.
Removes all scheduled events from a calendar, then deletes it.
///
public sealed partial class DeleteCalendarRequest : PlainRequest { @@ -52,7 +52,7 @@ public DeleteCalendarRequest(Elastic.Clients.Elasticsearch.Serverless.Id calenda } /// -/// Removes all scheduled events from a calendar, then deletes it. +/// Delete a calendar.
Removes all scheduled events from a calendar, then deletes it.
///
public sealed partial class DeleteCalendarRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteDataFrameAnalyticsRequest.g.cs index 0a6eab0a2cc..5fc67a67cce 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteDataFrameAnalyticsRequest.g.cs @@ -43,7 +43,7 @@ public sealed partial class DeleteDataFrameAnalyticsRequestParameters : RequestP } /// -/// Deletes a data frame analytics job. +/// Delete a data frame analytics job. /// public sealed partial class DeleteDataFrameAnalyticsRequest : PlainRequest { @@ -73,7 +73,7 @@ public DeleteDataFrameAnalyticsRequest(Elastic.Clients.Elasticsearch.Serverless. } /// -/// Deletes a data frame analytics job. +/// Delete a data frame analytics job. /// public sealed partial class DeleteDataFrameAnalyticsRequestDescriptor : RequestDescriptor, DeleteDataFrameAnalyticsRequestParameters> { @@ -106,7 +106,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } /// -/// Deletes a data frame analytics job. +/// Delete a data frame analytics job. /// public sealed partial class DeleteDataFrameAnalyticsRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteDatafeedRequest.g.cs index 24b697b980d..68d45eb6a23 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteDatafeedRequest.g.cs @@ -38,7 +38,7 @@ public sealed partial class DeleteDatafeedRequestParameters : RequestParameters } /// -/// Deletes an existing datafeed. +/// Delete a datafeed. /// public sealed partial class DeleteDatafeedRequest : PlainRequest { @@ -62,7 +62,7 @@ public DeleteDatafeedRequest(Elastic.Clients.Elasticsearch.Serverless.Id datafee } /// -/// Deletes an existing datafeed. +/// Delete a datafeed. /// public sealed partial class DeleteDatafeedRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteExpiredDataRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteExpiredDataRequest.g.cs index b2d2cf5f839..893d8ff8f50 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteExpiredDataRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteExpiredDataRequest.g.cs @@ -34,7 +34,7 @@ public sealed partial class DeleteExpiredDataRequestParameters : RequestParamete } /// -/// Deletes expired and unused machine learning data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
+/// Delete expired ML data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
///
public sealed partial class DeleteExpiredDataRequest : PlainRequest { @@ -68,7 +68,7 @@ public DeleteExpiredDataRequest(Elastic.Clients.Elasticsearch.Serverless.Id? job } /// -/// Deletes expired and unused machine learning data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
+/// Delete expired ML data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
///
public sealed partial class DeleteExpiredDataRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteFilterRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteFilterRequest.g.cs index b230d569edf..35aa833ceb2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteFilterRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteFilterRequest.g.cs @@ -34,7 +34,7 @@ public sealed partial class DeleteFilterRequestParameters : RequestParameters } /// -/// Deletes a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
+/// Delete a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
///
public sealed partial class DeleteFilterRequest : PlainRequest { @@ -52,7 +52,7 @@ public DeleteFilterRequest(Elastic.Clients.Elasticsearch.Serverless.Id filterId) } /// -/// Deletes a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
+/// Delete a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
///
public sealed partial class DeleteFilterRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteForecastRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteForecastRequest.g.cs index 5e92c925f7b..6d2ea2dc85c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteForecastRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteForecastRequest.g.cs @@ -43,7 +43,7 @@ public sealed partial class DeleteForecastRequestParameters : RequestParameters } /// -/// Deletes forecasts from a machine learning job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
+/// Delete forecasts from a job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
///
public sealed partial class DeleteForecastRequest : PlainRequest { @@ -77,7 +77,7 @@ public DeleteForecastRequest(Elastic.Clients.Elasticsearch.Serverless.Id jobId, } /// -/// Deletes forecasts from a machine learning job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
+/// Delete forecasts from a job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
///
public sealed partial class DeleteForecastRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteModelSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteModelSnapshotRequest.g.cs index 3ac45cef101..eedd1e2c08d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteModelSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteModelSnapshotRequest.g.cs @@ -34,7 +34,7 @@ public sealed partial class DeleteModelSnapshotRequestParameters : RequestParame } /// -/// Deletes an existing model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
+/// Delete a model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
///
public sealed partial class DeleteModelSnapshotRequest : PlainRequest { @@ -52,7 +52,7 @@ public DeleteModelSnapshotRequest(Elastic.Clients.Elasticsearch.Serverless.Id jo } /// -/// Deletes an existing model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
+/// Delete a model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
///
public sealed partial class DeleteModelSnapshotRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteTrainedModelAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteTrainedModelAliasRequest.g.cs index ac5c2ffa128..aebee3831f2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteTrainedModelAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteTrainedModelAliasRequest.g.cs @@ -34,7 +34,7 @@ public sealed partial class DeleteTrainedModelAliasRequestParameters : RequestPa } /// -/// Deletes a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
+/// Delete a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
///
public sealed partial class DeleteTrainedModelAliasRequest : PlainRequest { @@ -52,7 +52,7 @@ public DeleteTrainedModelAliasRequest(Elastic.Clients.Elasticsearch.Serverless.I } /// -/// Deletes a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
+/// Delete a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
///
public sealed partial class DeleteTrainedModelAliasRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteTrainedModelRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteTrainedModelRequest.g.cs index c92107b21ea..1ea4ab36782 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteTrainedModelRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteTrainedModelRequest.g.cs @@ -38,7 +38,7 @@ public sealed partial class DeleteTrainedModelRequestParameters : RequestParamet } /// -/// Deletes an existing trained inference model that is currently not referenced
by an ingest pipeline.
+/// Delete an unreferenced trained model.
The request deletes a trained inference model that is not referenced by an ingest pipeline.
///
public sealed partial class DeleteTrainedModelRequest : PlainRequest { @@ -62,7 +62,7 @@ public DeleteTrainedModelRequest(Elastic.Clients.Elasticsearch.Serverless.Id mod } /// -/// Deletes an existing trained inference model that is currently not referenced
by an ingest pipeline.
+/// Delete an unreferenced trained model.
The request deletes a trained inference model that is not referenced by an ingest pipeline.
///
public sealed partial class DeleteTrainedModelRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/EstimateModelMemoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/EstimateModelMemoryRequest.g.cs index b446bdd8913..4ae9f1c96b8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/EstimateModelMemoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/EstimateModelMemoryRequest.g.cs @@ -34,7 +34,7 @@ public sealed partial class EstimateModelMemoryRequestParameters : RequestParame } /// -/// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+/// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
///
public sealed partial class EstimateModelMemoryRequest : PlainRequest { @@ -66,7 +66,7 @@ public sealed partial class EstimateModelMemoryRequest : PlainRequest -/// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+/// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
/// public sealed partial class EstimateModelMemoryRequestDescriptor : RequestDescriptor, EstimateModelMemoryRequestParameters> { @@ -171,7 +171,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } /// -/// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+/// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
///
public sealed partial class EstimateModelMemoryRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/EvaluateDataFrameRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/EvaluateDataFrameRequest.g.cs index 95ed639c19e..6b85f377ba1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/EvaluateDataFrameRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/EvaluateDataFrameRequest.g.cs @@ -34,7 +34,7 @@ public sealed partial class EvaluateDataFrameRequestParameters : RequestParamete } /// -/// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+/// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
///
public sealed partial class EvaluateDataFrameRequest : PlainRequest { @@ -66,7 +66,7 @@ public sealed partial class EvaluateDataFrameRequest : PlainRequest -/// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+/// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
/// public sealed partial class EvaluateDataFrameRequestDescriptor : RequestDescriptor, EvaluateDataFrameRequestParameters> { @@ -197,7 +197,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } /// -/// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+/// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
///
public sealed partial class EvaluateDataFrameRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs index 3756849d456..ecacb9e9139 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs @@ -34,7 +34,7 @@ public sealed partial class ExplainDataFrameAnalyticsRequestParameters : Request } /// -/// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+/// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
///
public sealed partial class ExplainDataFrameAnalyticsRequest : PlainRequest { @@ -104,7 +104,7 @@ public ExplainDataFrameAnalyticsRequest(Elastic.Clients.Elasticsearch.Serverless } /// -/// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+/// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
///
public sealed partial class ExplainDataFrameAnalyticsRequestDescriptor : RequestDescriptor, ExplainDataFrameAnalyticsRequestParameters> { @@ -389,7 +389,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } /// -/// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+/// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
///
public sealed partial class ExplainDataFrameAnalyticsRequestDescriptor : RequestDescriptor { 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 15559c8d596..8633ff7d9f5 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 @@ -38,7 +38,7 @@ internal MachineLearningNamespacedClient(ElasticsearchClient client) : base(clie } /// - /// Clears a trained model deployment cache on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
+ /// Clear trained model deployment cache.
Cache will be cleared on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ClearTrainedModelDeploymentCacheAsync(ClearTrainedModelDeploymentCacheRequest request, CancellationToken cancellationToken = default) @@ -48,7 +48,7 @@ public virtual Task ClearTrainedModelD } /// - /// Clears a trained model deployment cache on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
+ /// Clear trained model deployment cache.
Cache will be cleared on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ClearTrainedModelDeploymentCacheAsync(ClearTrainedModelDeploymentCacheRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -58,7 +58,7 @@ public virtual Task ClearTrainedModelD } /// - /// Clears a trained model deployment cache on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
+ /// Clear trained model deployment cache.
Cache will be cleared on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ClearTrainedModelDeploymentCacheAsync(Elastic.Clients.Elasticsearch.Serverless.Id modelId, CancellationToken cancellationToken = default) @@ -69,7 +69,7 @@ public virtual Task ClearTrainedModelD } /// - /// Clears a trained model deployment cache on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
+ /// Clear trained model deployment cache.
Cache will be cleared on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ClearTrainedModelDeploymentCacheAsync(Elastic.Clients.Elasticsearch.Serverless.Id modelId, Action configureRequest, CancellationToken cancellationToken = default) @@ -124,7 +124,7 @@ public virtual Task CloseJobAsync(Elastic.Clients.Elasticsearc } /// - /// Removes all scheduled events from a calendar, then deletes it. + /// Delete a calendar.
Removes all scheduled events from a calendar, then deletes it.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteCalendarAsync(DeleteCalendarRequest request, CancellationToken cancellationToken = default) @@ -134,7 +134,7 @@ public virtual Task DeleteCalendarAsync(DeleteCalendarRe } /// - /// Removes all scheduled events from a calendar, then deletes it. + /// Delete a calendar.
Removes all scheduled events from a calendar, then deletes it.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteCalendarAsync(DeleteCalendarRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -144,7 +144,7 @@ public virtual Task DeleteCalendarAsync(DeleteCalendarRe } /// - /// Removes all scheduled events from a calendar, then deletes it. + /// Delete a calendar.
Removes all scheduled events from a calendar, then deletes it.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteCalendarAsync(Elastic.Clients.Elasticsearch.Serverless.Id calendarId, CancellationToken cancellationToken = default) @@ -155,7 +155,7 @@ public virtual Task DeleteCalendarAsync(Elastic.Clients. } /// - /// Removes all scheduled events from a calendar, then deletes it. + /// Delete a calendar.
Removes all scheduled events from a calendar, then deletes it.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteCalendarAsync(Elastic.Clients.Elasticsearch.Serverless.Id calendarId, Action configureRequest, CancellationToken cancellationToken = default) @@ -167,7 +167,7 @@ public virtual Task DeleteCalendarAsync(Elastic.Clients. } /// - /// Deletes scheduled events from a calendar. + /// Delete events from a calendar. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarEventAsync(DeleteCalendarEventRequest request, CancellationToken cancellationToken = default) @@ -177,7 +177,7 @@ public virtual Task DeleteCalendarEventAsync(Delete } /// - /// Deletes scheduled events from a calendar. + /// Delete events from a calendar. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarEventAsync(DeleteCalendarEventRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -187,7 +187,7 @@ public virtual Task DeleteCalendarEventAsync(Delete } /// - /// Deletes scheduled events from a calendar. + /// Delete events from a calendar. /// 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) @@ -198,7 +198,7 @@ public virtual Task DeleteCalendarEventAsync(Elasti } /// - /// Deletes scheduled events from a calendar. + /// Delete events from a calendar. /// 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) @@ -210,7 +210,7 @@ public virtual Task DeleteCalendarEventAsync(Elasti } /// - /// Deletes anomaly detection jobs from a calendar. + /// Delete anomaly jobs from a calendar. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarJobAsync(DeleteCalendarJobRequest request, CancellationToken cancellationToken = default) @@ -220,7 +220,7 @@ public virtual Task DeleteCalendarJobAsync(DeleteCale } /// - /// Deletes anomaly detection jobs from a calendar. + /// Delete anomaly jobs from a calendar. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarJobAsync(DeleteCalendarJobRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -230,7 +230,7 @@ public virtual Task DeleteCalendarJobAsync(DeleteCale } /// - /// Deletes anomaly detection jobs from a calendar. + /// Delete anomaly jobs from a calendar. /// 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) @@ -241,7 +241,7 @@ public virtual Task DeleteCalendarJobAsync(Elastic.Cl } /// - /// Deletes anomaly detection jobs from a calendar. + /// Delete anomaly jobs from a calendar. /// 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) @@ -253,7 +253,7 @@ public virtual Task DeleteCalendarJobAsync(Elastic.Cl } /// - /// Deletes an existing datafeed. + /// Delete a datafeed. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDatafeedAsync(DeleteDatafeedRequest request, CancellationToken cancellationToken = default) @@ -263,7 +263,7 @@ public virtual Task DeleteDatafeedAsync(DeleteDatafeedRe } /// - /// Deletes an existing datafeed. + /// Delete a datafeed. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDatafeedAsync(DeleteDatafeedRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -273,7 +273,7 @@ public virtual Task DeleteDatafeedAsync(DeleteDatafeedRe } /// - /// Deletes an existing datafeed. + /// Delete a datafeed. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDatafeedAsync(Elastic.Clients.Elasticsearch.Serverless.Id datafeedId, CancellationToken cancellationToken = default) @@ -284,7 +284,7 @@ public virtual Task DeleteDatafeedAsync(Elastic.Clients. } /// - /// Deletes an existing datafeed. + /// Delete a datafeed. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDatafeedAsync(Elastic.Clients.Elasticsearch.Serverless.Id datafeedId, Action configureRequest, CancellationToken cancellationToken = default) @@ -296,7 +296,7 @@ public virtual Task DeleteDatafeedAsync(Elastic.Clients. } /// - /// Deletes a data frame analytics job. + /// Delete a data frame analytics job. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(DeleteDataFrameAnalyticsRequest request, CancellationToken cancellationToken = default) @@ -306,7 +306,7 @@ public virtual Task DeleteDataFrameAnalyticsAs } /// - /// Deletes a data frame analytics job. + /// Delete a data frame analytics job. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(DeleteDataFrameAnalyticsRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -316,7 +316,7 @@ public virtual Task DeleteDataFrameAnalyticsAs } /// - /// Deletes a data frame analytics job. + /// Delete a data frame analytics job. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) @@ -327,7 +327,7 @@ public virtual Task DeleteDataFrameAnalyticsAs } /// - /// Deletes a data frame analytics job. + /// Delete a data frame analytics job. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action> configureRequest, CancellationToken cancellationToken = default) @@ -339,7 +339,7 @@ public virtual Task DeleteDataFrameAnalyticsAs } /// - /// Deletes a data frame analytics job. + /// Delete a data frame analytics job. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(DeleteDataFrameAnalyticsRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -349,7 +349,7 @@ public virtual Task DeleteDataFrameAnalyticsAs } /// - /// Deletes a data frame analytics job. + /// Delete a data frame analytics job. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) @@ -360,7 +360,7 @@ public virtual Task DeleteDataFrameAnalyticsAs } /// - /// Deletes a data frame analytics job. + /// Delete a data frame analytics job. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action configureRequest, CancellationToken cancellationToken = default) @@ -372,7 +372,7 @@ public virtual Task DeleteDataFrameAnalyticsAs } /// - /// Deletes expired and unused machine learning data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
+ /// Delete expired ML data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteExpiredDataAsync(DeleteExpiredDataRequest request, CancellationToken cancellationToken = default) @@ -382,7 +382,7 @@ public virtual Task DeleteExpiredDataAsync(DeleteExpi } /// - /// Deletes expired and unused machine learning data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
+ /// Delete expired ML data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteExpiredDataAsync(DeleteExpiredDataRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -392,7 +392,7 @@ public virtual Task DeleteExpiredDataAsync(DeleteExpi } /// - /// Deletes expired and unused machine learning data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
+ /// Delete expired ML data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteExpiredDataAsync(Elastic.Clients.Elasticsearch.Serverless.Id? jobId, CancellationToken cancellationToken = default) @@ -403,7 +403,7 @@ public virtual Task DeleteExpiredDataAsync(Elastic.Cl } /// - /// Deletes expired and unused machine learning data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
+ /// Delete expired ML data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteExpiredDataAsync(Elastic.Clients.Elasticsearch.Serverless.Id? jobId, Action configureRequest, CancellationToken cancellationToken = default) @@ -415,7 +415,7 @@ public virtual Task DeleteExpiredDataAsync(Elastic.Cl } /// - /// Deletes expired and unused machine learning data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
+ /// Delete expired ML data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteExpiredDataAsync(CancellationToken cancellationToken = default) @@ -426,7 +426,7 @@ public virtual Task DeleteExpiredDataAsync(Cancellati } /// - /// Deletes expired and unused machine learning data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
+ /// Delete expired ML data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteExpiredDataAsync(Action configureRequest, CancellationToken cancellationToken = default) @@ -438,7 +438,7 @@ public virtual Task DeleteExpiredDataAsync(Action - /// Deletes a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
+ /// Delete a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
/// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteFilterAsync(DeleteFilterRequest request, CancellationToken cancellationToken = default) @@ -448,7 +448,7 @@ public virtual Task DeleteFilterAsync(DeleteFilterRequest } /// - /// Deletes a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
+ /// Delete a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteFilterAsync(DeleteFilterRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -458,7 +458,7 @@ public virtual Task DeleteFilterAsync(DeleteFilterRequestD } /// - /// Deletes a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
+ /// Delete a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteFilterAsync(Elastic.Clients.Elasticsearch.Serverless.Id filterId, CancellationToken cancellationToken = default) @@ -469,7 +469,7 @@ public virtual Task DeleteFilterAsync(Elastic.Clients.Elas } /// - /// Deletes a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
+ /// Delete a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteFilterAsync(Elastic.Clients.Elasticsearch.Serverless.Id filterId, Action configureRequest, CancellationToken cancellationToken = default) @@ -481,7 +481,7 @@ public virtual Task DeleteFilterAsync(Elastic.Clients.Elas } /// - /// Deletes forecasts from a machine learning job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
+ /// Delete forecasts from a job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteForecastAsync(DeleteForecastRequest request, CancellationToken cancellationToken = default) @@ -491,7 +491,7 @@ public virtual Task DeleteForecastAsync(DeleteForecastRe } /// - /// Deletes forecasts from a machine learning job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
+ /// Delete forecasts from a job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteForecastAsync(DeleteForecastRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -501,7 +501,7 @@ public virtual Task DeleteForecastAsync(DeleteForecastRe } /// - /// Deletes forecasts from a machine learning job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
+ /// Delete forecasts from a job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteForecastAsync(Elastic.Clients.Elasticsearch.Serverless.Id jobId, Elastic.Clients.Elasticsearch.Serverless.Id? forecastId, CancellationToken cancellationToken = default) @@ -512,7 +512,7 @@ public virtual Task DeleteForecastAsync(Elastic.Clients. } /// - /// Deletes forecasts from a machine learning job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
+ /// Delete forecasts from a job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteForecastAsync(Elastic.Clients.Elasticsearch.Serverless.Id jobId, Elastic.Clients.Elasticsearch.Serverless.Id? forecastId, Action configureRequest, CancellationToken cancellationToken = default) @@ -524,7 +524,7 @@ public virtual Task DeleteForecastAsync(Elastic.Clients. } /// - /// Deletes forecasts from a machine learning job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
+ /// Delete forecasts from a job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteForecastAsync(Elastic.Clients.Elasticsearch.Serverless.Id jobId, CancellationToken cancellationToken = default) @@ -535,7 +535,7 @@ public virtual Task DeleteForecastAsync(Elastic.Clients. } /// - /// Deletes forecasts from a machine learning job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
+ /// Delete forecasts from a job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteForecastAsync(Elastic.Clients.Elasticsearch.Serverless.Id jobId, Action configureRequest, CancellationToken cancellationToken = default) @@ -590,7 +590,7 @@ public virtual Task DeleteJobAsync(Elastic.Clients.Elasticsea } /// - /// Deletes an existing model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
+ /// Delete a model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteModelSnapshotAsync(DeleteModelSnapshotRequest request, CancellationToken cancellationToken = default) @@ -600,7 +600,7 @@ public virtual Task DeleteModelSnapshotAsync(Delete } /// - /// Deletes an existing model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
+ /// Delete a model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteModelSnapshotAsync(DeleteModelSnapshotRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -610,7 +610,7 @@ public virtual Task DeleteModelSnapshotAsync(Delete } /// - /// Deletes an existing model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
+ /// Delete a model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteModelSnapshotAsync(Elastic.Clients.Elasticsearch.Serverless.Id jobId, Elastic.Clients.Elasticsearch.Serverless.Id snapshotId, CancellationToken cancellationToken = default) @@ -621,7 +621,7 @@ public virtual Task DeleteModelSnapshotAsync(Elasti } /// - /// Deletes an existing model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
+ /// Delete a model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteModelSnapshotAsync(Elastic.Clients.Elasticsearch.Serverless.Id jobId, Elastic.Clients.Elasticsearch.Serverless.Id snapshotId, Action configureRequest, CancellationToken cancellationToken = default) @@ -633,7 +633,7 @@ public virtual Task DeleteModelSnapshotAsync(Elasti } /// - /// Deletes an existing trained inference model that is currently not referenced
by an ingest pipeline.
+ /// Delete an unreferenced trained model.
The request deletes a trained inference model that is not referenced by an ingest pipeline.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteTrainedModelAsync(DeleteTrainedModelRequest request, CancellationToken cancellationToken = default) @@ -643,7 +643,7 @@ public virtual Task DeleteTrainedModelAsync(DeleteTr } /// - /// Deletes an existing trained inference model that is currently not referenced
by an ingest pipeline.
+ /// Delete an unreferenced trained model.
The request deletes a trained inference model that is not referenced by an ingest pipeline.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteTrainedModelAsync(DeleteTrainedModelRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -653,7 +653,7 @@ public virtual Task DeleteTrainedModelAsync(DeleteTr } /// - /// Deletes an existing trained inference model that is currently not referenced
by an ingest pipeline.
+ /// Delete an unreferenced trained model.
The request deletes a trained inference model that is not referenced by an ingest pipeline.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteTrainedModelAsync(Elastic.Clients.Elasticsearch.Serverless.Id modelId, CancellationToken cancellationToken = default) @@ -664,7 +664,7 @@ public virtual Task DeleteTrainedModelAsync(Elastic. } /// - /// Deletes an existing trained inference model that is currently not referenced
by an ingest pipeline.
+ /// Delete an unreferenced trained model.
The request deletes a trained inference model that is not referenced by an ingest pipeline.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteTrainedModelAsync(Elastic.Clients.Elasticsearch.Serverless.Id modelId, Action configureRequest, CancellationToken cancellationToken = default) @@ -676,7 +676,7 @@ public virtual Task DeleteTrainedModelAsync(Elastic. } /// - /// Deletes a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
+ /// Delete a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteTrainedModelAliasAsync(DeleteTrainedModelAliasRequest request, CancellationToken cancellationToken = default) @@ -686,7 +686,7 @@ public virtual Task DeleteTrainedModelAliasAsyn } /// - /// Deletes a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
+ /// Delete a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteTrainedModelAliasAsync(DeleteTrainedModelAliasRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -696,7 +696,7 @@ public virtual Task DeleteTrainedModelAliasAsyn } /// - /// Deletes a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
+ /// Delete a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteTrainedModelAliasAsync(Elastic.Clients.Elasticsearch.Serverless.Id modelId, Elastic.Clients.Elasticsearch.Serverless.Name modelAlias, CancellationToken cancellationToken = default) @@ -707,7 +707,7 @@ public virtual Task DeleteTrainedModelAliasAsyn } /// - /// Deletes a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
+ /// Delete a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteTrainedModelAliasAsync(Elastic.Clients.Elasticsearch.Serverless.Id modelId, Elastic.Clients.Elasticsearch.Serverless.Name modelAlias, Action configureRequest, CancellationToken cancellationToken = default) @@ -719,7 +719,7 @@ public virtual Task DeleteTrainedModelAliasAsyn } /// - /// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+ /// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task EstimateModelMemoryAsync(EstimateModelMemoryRequest request, CancellationToken cancellationToken = default) @@ -729,7 +729,7 @@ public virtual Task EstimateModelMemoryAsync(Estima } /// - /// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+ /// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task EstimateModelMemoryAsync(EstimateModelMemoryRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -739,7 +739,7 @@ public virtual Task EstimateModelMemoryAsync - /// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+ /// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
/// Learn more about this API in the Elasticsearch documentation. /// public virtual Task EstimateModelMemoryAsync(CancellationToken cancellationToken = default) @@ -750,7 +750,7 @@ public virtual Task EstimateModelMemoryAsync - /// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+ /// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
/// Learn more about this API in the Elasticsearch documentation. /// public virtual Task EstimateModelMemoryAsync(Action> configureRequest, CancellationToken cancellationToken = default) @@ -762,7 +762,7 @@ public virtual Task EstimateModelMemoryAsync - /// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+ /// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
/// Learn more about this API in the Elasticsearch documentation. /// public virtual Task EstimateModelMemoryAsync(EstimateModelMemoryRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -772,7 +772,7 @@ public virtual Task EstimateModelMemoryAsync(Estima } /// - /// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+ /// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task EstimateModelMemoryAsync(CancellationToken cancellationToken = default) @@ -783,7 +783,7 @@ public virtual Task EstimateModelMemoryAsync(Cancel } /// - /// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+ /// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task EstimateModelMemoryAsync(Action configureRequest, CancellationToken cancellationToken = default) @@ -795,7 +795,7 @@ public virtual Task EstimateModelMemoryAsync(Action } /// - /// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+ /// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task EvaluateDataFrameAsync(EvaluateDataFrameRequest request, CancellationToken cancellationToken = default) @@ -805,7 +805,7 @@ public virtual Task EvaluateDataFrameAsync(EvaluateDa } /// - /// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+ /// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task EvaluateDataFrameAsync(EvaluateDataFrameRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -815,7 +815,7 @@ public virtual Task EvaluateDataFrameAsync } /// - /// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+ /// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task EvaluateDataFrameAsync(CancellationToken cancellationToken = default) @@ -826,7 +826,7 @@ public virtual Task EvaluateDataFrameAsync } /// - /// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+ /// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task EvaluateDataFrameAsync(Action> configureRequest, CancellationToken cancellationToken = default) @@ -838,7 +838,7 @@ public virtual Task EvaluateDataFrameAsync } /// - /// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+ /// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task EvaluateDataFrameAsync(EvaluateDataFrameRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -848,7 +848,7 @@ public virtual Task EvaluateDataFrameAsync(EvaluateDa } /// - /// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+ /// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task EvaluateDataFrameAsync(CancellationToken cancellationToken = default) @@ -859,7 +859,7 @@ public virtual Task EvaluateDataFrameAsync(Cancellati } /// - /// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+ /// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task EvaluateDataFrameAsync(Action configureRequest, CancellationToken cancellationToken = default) @@ -871,7 +871,7 @@ public virtual Task EvaluateDataFrameAsync(Action - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExplainDataFrameAnalyticsAsync(ExplainDataFrameAnalyticsRequest request, CancellationToken cancellationToken = default) @@ -881,7 +881,7 @@ public virtual Task ExplainDataFrameAnalytics } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ExplainDataFrameAnalyticsAsync(ExplainDataFrameAnalyticsRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -891,7 +891,7 @@ public virtual Task ExplainDataFrameAnalytics } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ExplainDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Serverless.Id? id, CancellationToken cancellationToken = default) @@ -902,7 +902,7 @@ public virtual Task ExplainDataFrameAnalytics } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ExplainDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Serverless.Id? id, Action> configureRequest, CancellationToken cancellationToken = default) @@ -914,7 +914,7 @@ public virtual Task ExplainDataFrameAnalytics } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ExplainDataFrameAnalyticsAsync(CancellationToken cancellationToken = default) @@ -925,7 +925,7 @@ public virtual Task ExplainDataFrameAnalytics } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ExplainDataFrameAnalyticsAsync(Action> configureRequest, CancellationToken cancellationToken = default) @@ -937,7 +937,7 @@ public virtual Task ExplainDataFrameAnalytics } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ExplainDataFrameAnalyticsAsync(ExplainDataFrameAnalyticsRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -947,7 +947,7 @@ public virtual Task ExplainDataFrameAnalytics } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ExplainDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Serverless.Id? id, CancellationToken cancellationToken = default) @@ -958,7 +958,7 @@ public virtual Task ExplainDataFrameAnalytics } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ExplainDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Serverless.Id? id, Action configureRequest, CancellationToken cancellationToken = default) @@ -970,7 +970,7 @@ public virtual Task ExplainDataFrameAnalytics } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ExplainDataFrameAnalyticsAsync(CancellationToken cancellationToken = default) @@ -981,7 +981,7 @@ public virtual Task ExplainDataFrameAnalytics } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ExplainDataFrameAnalyticsAsync(Action configureRequest, CancellationToken cancellationToken = default) diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/Actions.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/Actions.g.cs new file mode 100644 index 00000000000..fc3d3ae94cc --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/Actions.g.cs @@ -0,0 +1,103 @@ +// 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.IndexLifecycleManagement; + +public sealed partial class Actions +{ + /// + /// Phases allowed: warm, cold. + /// + [JsonInclude, JsonPropertyName("allocate")] + public Elastic.Clients.Elasticsearch.Serverless.IndexLifecycleManagement.AllocateAction? Allocate { get; init; } + + /// + /// Phases allowed: delete. + /// + [JsonInclude, JsonPropertyName("delete")] + public Elastic.Clients.Elasticsearch.Serverless.IndexLifecycleManagement.DeleteAction? Delete { get; init; } + + /// + /// Phases allowed: hot, warm, cold. + /// + [JsonInclude, JsonPropertyName("downsample")] + public Elastic.Clients.Elasticsearch.Serverless.IndexLifecycleManagement.DownsampleAction? Downsample { get; init; } + + /// + /// Phases allowed: hot, warm. + /// + [JsonInclude, JsonPropertyName("forcemerge")] + public Elastic.Clients.Elasticsearch.Serverless.IndexLifecycleManagement.ForceMergeAction? Forcemerge { get; init; } + + /// + /// Phases allowed: warm, cold. + /// + [JsonInclude, JsonPropertyName("migrate")] + public Elastic.Clients.Elasticsearch.Serverless.IndexLifecycleManagement.MigrateAction? Migrate { get; init; } + + /// + /// Phases allowed: hot, warm, cold. + /// + [JsonInclude, JsonPropertyName("readonly")] + public Elastic.Clients.Elasticsearch.Serverless.EmptyObject? Readonly { get; init; } + + /// + /// Phases allowed: hot. + /// + [JsonInclude, JsonPropertyName("rollover")] + public Elastic.Clients.Elasticsearch.Serverless.IndexLifecycleManagement.RolloverAction? Rollover { get; init; } + + /// + /// Phases allowed: hot, cold, frozen. + /// + [JsonInclude, JsonPropertyName("searchable_snapshot")] + public Elastic.Clients.Elasticsearch.Serverless.IndexLifecycleManagement.SearchableSnapshotAction? SearchableSnapshot { get; init; } + + /// + /// Phases allowed: hot, warm, cold. + /// + [JsonInclude, JsonPropertyName("set_priority")] + public Elastic.Clients.Elasticsearch.Serverless.IndexLifecycleManagement.SetPriorityAction? SetPriority { get; init; } + + /// + /// Phases allowed: hot, warm. + /// + [JsonInclude, JsonPropertyName("shrink")] + public Elastic.Clients.Elasticsearch.Serverless.IndexLifecycleManagement.ShrinkAction? Shrink { get; init; } + + /// + /// Phases allowed: hot, warm, cold, frozen. + /// + [JsonInclude, JsonPropertyName("unfollow")] + public Elastic.Clients.Elasticsearch.Serverless.EmptyObject? Unfollow { get; init; } + + /// + /// Phases allowed: delete. + /// + [JsonInclude, JsonPropertyName("wait_for_snapshot")] + public Elastic.Clients.Elasticsearch.Serverless.IndexLifecycleManagement.WaitForSnapshotAction? WaitForSnapshot { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/AllocateAction.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/AllocateAction.g.cs new file mode 100644 index 00000000000..10e67920270 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/AllocateAction.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.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.IndexLifecycleManagement; + +public sealed partial class AllocateAction +{ + [JsonInclude, JsonPropertyName("exclude")] + public IReadOnlyDictionary? Exclude { get; init; } + [JsonInclude, JsonPropertyName("include")] + public IReadOnlyDictionary? Include { get; init; } + [JsonInclude, JsonPropertyName("number_of_replicas")] + public int? NumberOfReplicas { get; init; } + [JsonInclude, JsonPropertyName("require")] + public IReadOnlyDictionary? Require { get; init; } + [JsonInclude, JsonPropertyName("total_shards_per_node")] + public int? TotalShardsPerNode { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/Configurations.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/DeleteAction.g.cs similarity index 74% rename from src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/Configurations.g.cs rename to src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/DeleteAction.g.cs index b5a01a2a30a..b6595e79aec 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/Configurations.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/DeleteAction.g.cs @@ -27,12 +27,8 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexLifecycleManagement; -public sealed partial class Configurations +public sealed partial class DeleteAction { - [JsonInclude, JsonPropertyName("forcemerge")] - public Elastic.Clients.Elasticsearch.Serverless.IndexLifecycleManagement.ForceMergeConfiguration? Forcemerge { get; init; } - [JsonInclude, JsonPropertyName("rollover")] - public Elastic.Clients.Elasticsearch.Serverless.IndexManagement.RolloverConditions? Rollover { get; init; } - [JsonInclude, JsonPropertyName("shrink")] - public Elastic.Clients.Elasticsearch.Serverless.IndexLifecycleManagement.ShrinkConfiguration? Shrink { get; init; } + [JsonInclude, JsonPropertyName("delete_searchable_snapshot")] + public bool? DeleteSearchableSnapshot { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/DownsampleAction.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/DownsampleAction.g.cs new file mode 100644 index 00000000000..5f4c4956068 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/DownsampleAction.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.IndexLifecycleManagement; + +public sealed partial class DownsampleAction +{ + [JsonInclude, JsonPropertyName("fixed_interval")] + public string FixedInterval { get; init; } + [JsonInclude, JsonPropertyName("wait_timeout")] + public Elastic.Clients.Elasticsearch.Serverless.Duration? WaitTimeout { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/ForceMergeConfiguration.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/ForceMergeAction.g.cs similarity index 92% rename from src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/ForceMergeConfiguration.g.cs rename to src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/ForceMergeAction.g.cs index dc3498a4174..1f57a878dbf 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/ForceMergeConfiguration.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/ForceMergeAction.g.cs @@ -27,8 +27,10 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexLifecycleManagement; -public sealed partial class ForceMergeConfiguration +public sealed partial class ForceMergeAction { + [JsonInclude, JsonPropertyName("index_codec")] + public string? IndexCodec { get; init; } [JsonInclude, JsonPropertyName("max_num_segments")] public int MaxNumSegments { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/ShrinkConfiguration.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/MigrateAction.g.cs similarity index 91% rename from src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/ShrinkConfiguration.g.cs rename to src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/MigrateAction.g.cs index bb652d94851..5526d51e6ba 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/ShrinkConfiguration.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/MigrateAction.g.cs @@ -27,8 +27,8 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexLifecycleManagement; -public sealed partial class ShrinkConfiguration +public sealed partial class MigrateAction { - [JsonInclude, JsonPropertyName("number_of_shards")] - public int NumberOfShards { get; init; } + [JsonInclude, JsonPropertyName("enabled")] + public bool? Enabled { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/Phase.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/Phase.g.cs index 276a65599a1..c4d4385d142 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/Phase.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/Phase.g.cs @@ -30,9 +30,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexLifecycleManagement; public sealed partial class Phase { [JsonInclude, JsonPropertyName("actions")] - public object? Actions { get; init; } - [JsonInclude, JsonPropertyName("configurations")] - public Elastic.Clients.Elasticsearch.Serverless.IndexLifecycleManagement.Configurations? Configurations { get; init; } + public Elastic.Clients.Elasticsearch.Serverless.IndexLifecycleManagement.Actions? Actions { get; init; } [JsonInclude, JsonPropertyName("min_age")] public Union? MinAge { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/RolloverAction.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/RolloverAction.g.cs new file mode 100644 index 00000000000..71e1fa516b0 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/RolloverAction.g.cs @@ -0,0 +1,52 @@ +// 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.IndexLifecycleManagement; + +public sealed partial class RolloverAction +{ + [JsonInclude, JsonPropertyName("max_age")] + public Elastic.Clients.Elasticsearch.Serverless.Duration? MaxAge { get; init; } + [JsonInclude, JsonPropertyName("max_docs")] + public long? MaxDocs { get; init; } + [JsonInclude, JsonPropertyName("max_primary_shard_docs")] + public long? MaxPrimaryShardDocs { get; init; } + [JsonInclude, JsonPropertyName("max_primary_shard_size")] + public Elastic.Clients.Elasticsearch.Serverless.ByteSize? MaxPrimaryShardSize { get; init; } + [JsonInclude, JsonPropertyName("max_size")] + public Elastic.Clients.Elasticsearch.Serverless.ByteSize? MaxSize { get; init; } + [JsonInclude, JsonPropertyName("min_age")] + public Elastic.Clients.Elasticsearch.Serverless.Duration? MinAge { get; init; } + [JsonInclude, JsonPropertyName("min_docs")] + public long? MinDocs { get; init; } + [JsonInclude, JsonPropertyName("min_primary_shard_docs")] + public long? MinPrimaryShardDocs { get; init; } + [JsonInclude, JsonPropertyName("min_primary_shard_size")] + public Elastic.Clients.Elasticsearch.Serverless.ByteSize? MinPrimaryShardSize { get; init; } + [JsonInclude, JsonPropertyName("min_size")] + public Elastic.Clients.Elasticsearch.Serverless.ByteSize? MinSize { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/SearchableSnapshotAction.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/SearchableSnapshotAction.g.cs new file mode 100644 index 00000000000..75fa239c141 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/SearchableSnapshotAction.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.IndexLifecycleManagement; + +public sealed partial class SearchableSnapshotAction +{ + [JsonInclude, JsonPropertyName("force_merge_index")] + public bool? ForceMergeIndex { get; init; } + [JsonInclude, JsonPropertyName("snapshot_repository")] + public string SnapshotRepository { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/SetPriorityAction.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/SetPriorityAction.g.cs new file mode 100644 index 00000000000..515826b7aaf --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/SetPriorityAction.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.IndexLifecycleManagement; + +public sealed partial class SetPriorityAction +{ + [JsonInclude, JsonPropertyName("priority")] + public int? Priority { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/ShrinkAction.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/ShrinkAction.g.cs new file mode 100644 index 00000000000..c1aa5ee27c4 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/ShrinkAction.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.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.IndexLifecycleManagement; + +public sealed partial class ShrinkAction +{ + [JsonInclude, JsonPropertyName("allow_write_after_shrink")] + public bool? AllowWriteAfterShrink { get; init; } + [JsonInclude, JsonPropertyName("max_primary_shard_size")] + public Elastic.Clients.Elasticsearch.Serverless.ByteSize? MaxPrimaryShardSize { get; init; } + [JsonInclude, JsonPropertyName("number_of_shards")] + public int? NumberOfShards { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/WaitForSnapshotAction.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/WaitForSnapshotAction.g.cs new file mode 100644 index 00000000000..bb5cff0a8db --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexLifecycleManagement/WaitForSnapshotAction.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.IndexLifecycleManagement; + +public sealed partial class WaitForSnapshotAction +{ + [JsonInclude, JsonPropertyName("policy")] + public string Policy { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/TrainedModelDeploymentStats.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/TrainedModelDeploymentStats.g.cs index 63fc3ef7678..49ad5788b33 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/TrainedModelDeploymentStats.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/TrainedModelDeploymentStats.g.cs @@ -65,7 +65,7 @@ public sealed partial class TrainedModelDeploymentStats /// The deployment stats for each node that currently has the model allocated.
In serverless, stats are reported for a single unnamed virtual node.
/// [JsonInclude, JsonPropertyName("nodes")] - public Elastic.Clients.Elasticsearch.Serverless.MachineLearning.TrainedModelDeploymentNodesStats Nodes { get; init; } + public IReadOnlyCollection Nodes { get; init; } /// /// The number of allocations requested. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/TrainedModelInferenceStats.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/TrainedModelInferenceStats.g.cs index 69eed13c5c0..76c173b47b1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/TrainedModelInferenceStats.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/TrainedModelInferenceStats.g.cs @@ -57,5 +57,5 @@ public sealed partial class TrainedModelInferenceStats /// The time when the statistics were last updated. /// [JsonInclude, JsonPropertyName("timestamp")] - public DateTimeOffset Timestamp { get; init; } + public long Timestamp { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ClearTrainedModelDeploymentCacheRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ClearTrainedModelDeploymentCacheRequest.g.cs index f4143c394b9..cfaf169ba62 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ClearTrainedModelDeploymentCacheRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ClearTrainedModelDeploymentCacheRequest.g.cs @@ -34,7 +34,7 @@ public sealed partial class ClearTrainedModelDeploymentCacheRequestParameters : } /// -/// Clears a trained model deployment cache on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
+/// Clear trained model deployment cache.
Cache will be cleared on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
///
public sealed partial class ClearTrainedModelDeploymentCacheRequest : PlainRequest { @@ -52,7 +52,7 @@ public ClearTrainedModelDeploymentCacheRequest(Elastic.Clients.Elasticsearch.Id } /// -/// Clears a trained model deployment cache on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
+/// Clear trained model deployment cache.
Cache will be cleared on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
///
public sealed partial class ClearTrainedModelDeploymentCacheRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarEventRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarEventRequest.g.cs index a5daf598486..3acf3df73c9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarEventRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarEventRequest.g.cs @@ -34,7 +34,7 @@ public sealed partial class DeleteCalendarEventRequestParameters : RequestParame } /// -/// Deletes scheduled events from a calendar. +/// Delete events from a calendar. /// public sealed partial class DeleteCalendarEventRequest : PlainRequest { @@ -52,7 +52,7 @@ public DeleteCalendarEventRequest(Elastic.Clients.Elasticsearch.Id calendarId, E } /// -/// Deletes scheduled events from a calendar. +/// Delete events from a calendar. /// public sealed partial class DeleteCalendarEventRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarJobRequest.g.cs index 281898bc718..b0d03c9939a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarJobRequest.g.cs @@ -34,7 +34,7 @@ public sealed partial class DeleteCalendarJobRequestParameters : RequestParamete } /// -/// Deletes anomaly detection jobs from a calendar. +/// Delete anomaly jobs from a calendar. /// public sealed partial class DeleteCalendarJobRequest : PlainRequest { @@ -52,7 +52,7 @@ public DeleteCalendarJobRequest(Elastic.Clients.Elasticsearch.Id calendarId, Ela } /// -/// Deletes anomaly detection jobs from a calendar. +/// Delete anomaly jobs from a calendar. /// public sealed partial class DeleteCalendarJobRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarRequest.g.cs index 931621931ba..3cae39c71fc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarRequest.g.cs @@ -34,7 +34,7 @@ public sealed partial class DeleteCalendarRequestParameters : RequestParameters } /// -/// Removes all scheduled events from a calendar, then deletes it. +/// Delete a calendar.
Removes all scheduled events from a calendar, then deletes it.
///
public sealed partial class DeleteCalendarRequest : PlainRequest { @@ -52,7 +52,7 @@ public DeleteCalendarRequest(Elastic.Clients.Elasticsearch.Id calendarId) : base } /// -/// Removes all scheduled events from a calendar, then deletes it. +/// Delete a calendar.
Removes all scheduled events from a calendar, then deletes it.
///
public sealed partial class DeleteCalendarRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteDataFrameAnalyticsRequest.g.cs index 3332f0c3adc..69a32038a4e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteDataFrameAnalyticsRequest.g.cs @@ -43,7 +43,7 @@ public sealed partial class DeleteDataFrameAnalyticsRequestParameters : RequestP } /// -/// Deletes a data frame analytics job. +/// Delete a data frame analytics job. /// public sealed partial class DeleteDataFrameAnalyticsRequest : PlainRequest { @@ -73,7 +73,7 @@ public DeleteDataFrameAnalyticsRequest(Elastic.Clients.Elasticsearch.Id id) : ba } /// -/// Deletes a data frame analytics job. +/// Delete a data frame analytics job. /// public sealed partial class DeleteDataFrameAnalyticsRequestDescriptor : RequestDescriptor, DeleteDataFrameAnalyticsRequestParameters> { @@ -106,7 +106,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } /// -/// Deletes a data frame analytics job. +/// Delete a data frame analytics job. /// public sealed partial class DeleteDataFrameAnalyticsRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteDatafeedRequest.g.cs index 0649ed439df..09bcc2bdd8a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteDatafeedRequest.g.cs @@ -38,7 +38,7 @@ public sealed partial class DeleteDatafeedRequestParameters : RequestParameters } /// -/// Deletes an existing datafeed. +/// Delete a datafeed. /// public sealed partial class DeleteDatafeedRequest : PlainRequest { @@ -62,7 +62,7 @@ public DeleteDatafeedRequest(Elastic.Clients.Elasticsearch.Id datafeedId) : base } /// -/// Deletes an existing datafeed. +/// Delete a datafeed. /// public sealed partial class DeleteDatafeedRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteExpiredDataRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteExpiredDataRequest.g.cs index dcf1dabfeae..a1bcdea9ab1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteExpiredDataRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteExpiredDataRequest.g.cs @@ -34,7 +34,7 @@ public sealed partial class DeleteExpiredDataRequestParameters : RequestParamete } /// -/// Deletes expired and unused machine learning data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
+/// Delete expired ML data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
///
public sealed partial class DeleteExpiredDataRequest : PlainRequest { @@ -68,7 +68,7 @@ public DeleteExpiredDataRequest(Elastic.Clients.Elasticsearch.Id? jobId) : base( } /// -/// Deletes expired and unused machine learning data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
+/// Delete expired ML data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
///
public sealed partial class DeleteExpiredDataRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteFilterRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteFilterRequest.g.cs index b977b7ab8c5..3dc19febe8d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteFilterRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteFilterRequest.g.cs @@ -34,7 +34,7 @@ public sealed partial class DeleteFilterRequestParameters : RequestParameters } /// -/// Deletes a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
+/// Delete a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
///
public sealed partial class DeleteFilterRequest : PlainRequest { @@ -52,7 +52,7 @@ public DeleteFilterRequest(Elastic.Clients.Elasticsearch.Id filterId) : base(r = } /// -/// Deletes a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
+/// Delete a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
///
public sealed partial class DeleteFilterRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteForecastRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteForecastRequest.g.cs index 20274253dcf..f5313e789e1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteForecastRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteForecastRequest.g.cs @@ -43,7 +43,7 @@ public sealed partial class DeleteForecastRequestParameters : RequestParameters } /// -/// Deletes forecasts from a machine learning job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
+/// Delete forecasts from a job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
///
public sealed partial class DeleteForecastRequest : PlainRequest { @@ -77,7 +77,7 @@ public DeleteForecastRequest(Elastic.Clients.Elasticsearch.Id jobId, Elastic.Cli } /// -/// Deletes forecasts from a machine learning job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
+/// Delete forecasts from a job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
///
public sealed partial class DeleteForecastRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteModelSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteModelSnapshotRequest.g.cs index ab71fe4a076..10d6576215b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteModelSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteModelSnapshotRequest.g.cs @@ -34,7 +34,7 @@ public sealed partial class DeleteModelSnapshotRequestParameters : RequestParame } /// -/// Deletes an existing model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
+/// Delete a model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
///
public sealed partial class DeleteModelSnapshotRequest : PlainRequest { @@ -52,7 +52,7 @@ public DeleteModelSnapshotRequest(Elastic.Clients.Elasticsearch.Id jobId, Elasti } /// -/// Deletes an existing model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
+/// Delete a model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
///
public sealed partial class DeleteModelSnapshotRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteTrainedModelAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteTrainedModelAliasRequest.g.cs index d8ecf19812b..05d1d5a7a58 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteTrainedModelAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteTrainedModelAliasRequest.g.cs @@ -34,7 +34,7 @@ public sealed partial class DeleteTrainedModelAliasRequestParameters : RequestPa } /// -/// Deletes a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
+/// Delete a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
///
public sealed partial class DeleteTrainedModelAliasRequest : PlainRequest { @@ -52,7 +52,7 @@ public DeleteTrainedModelAliasRequest(Elastic.Clients.Elasticsearch.Id modelId, } /// -/// Deletes a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
+/// Delete a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
///
public sealed partial class DeleteTrainedModelAliasRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteTrainedModelRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteTrainedModelRequest.g.cs index f804231c394..ef374ea4bfb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteTrainedModelRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteTrainedModelRequest.g.cs @@ -38,7 +38,7 @@ public sealed partial class DeleteTrainedModelRequestParameters : RequestParamet } /// -/// Deletes an existing trained inference model that is currently not referenced
by an ingest pipeline.
+/// Delete an unreferenced trained model.
The request deletes a trained inference model that is not referenced by an ingest pipeline.
///
public sealed partial class DeleteTrainedModelRequest : PlainRequest { @@ -62,7 +62,7 @@ public DeleteTrainedModelRequest(Elastic.Clients.Elasticsearch.Id modelId) : bas } /// -/// Deletes an existing trained inference model that is currently not referenced
by an ingest pipeline.
+/// Delete an unreferenced trained model.
The request deletes a trained inference model that is not referenced by an ingest pipeline.
///
public sealed partial class DeleteTrainedModelRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/EstimateModelMemoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/EstimateModelMemoryRequest.g.cs index f7dbbac0e2e..da34c31316e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/EstimateModelMemoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/EstimateModelMemoryRequest.g.cs @@ -34,7 +34,7 @@ public sealed partial class EstimateModelMemoryRequestParameters : RequestParame } /// -/// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+/// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
///
public sealed partial class EstimateModelMemoryRequest : PlainRequest { @@ -66,7 +66,7 @@ public sealed partial class EstimateModelMemoryRequest : PlainRequest -/// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+/// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
/// public sealed partial class EstimateModelMemoryRequestDescriptor : RequestDescriptor, EstimateModelMemoryRequestParameters> { @@ -171,7 +171,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } /// -/// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+/// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
///
public sealed partial class EstimateModelMemoryRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/EvaluateDataFrameRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/EvaluateDataFrameRequest.g.cs index e3450537970..a704d661701 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/EvaluateDataFrameRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/EvaluateDataFrameRequest.g.cs @@ -34,7 +34,7 @@ public sealed partial class EvaluateDataFrameRequestParameters : RequestParamete } /// -/// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+/// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
///
public sealed partial class EvaluateDataFrameRequest : PlainRequest { @@ -66,7 +66,7 @@ public sealed partial class EvaluateDataFrameRequest : PlainRequest -/// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+/// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
/// public sealed partial class EvaluateDataFrameRequestDescriptor : RequestDescriptor, EvaluateDataFrameRequestParameters> { @@ -197,7 +197,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } /// -/// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+/// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
///
public sealed partial class EvaluateDataFrameRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs index 26054820e68..f78900268ba 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs @@ -34,7 +34,7 @@ public sealed partial class ExplainDataFrameAnalyticsRequestParameters : Request } /// -/// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+/// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
///
public sealed partial class ExplainDataFrameAnalyticsRequest : PlainRequest { @@ -104,7 +104,7 @@ public ExplainDataFrameAnalyticsRequest(Elastic.Clients.Elasticsearch.Id? id) : } /// -/// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+/// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
///
public sealed partial class ExplainDataFrameAnalyticsRequestDescriptor : RequestDescriptor, ExplainDataFrameAnalyticsRequestParameters> { @@ -389,7 +389,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } /// -/// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+/// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
///
public sealed partial class ExplainDataFrameAnalyticsRequestDescriptor : RequestDescriptor { 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 e7da0f6a26a..bb955282839 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ml.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ml.g.cs @@ -38,7 +38,7 @@ internal MachineLearningNamespacedClient(ElasticsearchClient client) : base(clie } /// - /// Clears a trained model deployment cache on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
+ /// Clear trained model deployment cache.
Cache will be cleared on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -49,7 +49,7 @@ public virtual ClearTrainedModelDeploymentCacheResponse ClearTrainedModelDeploym } /// - /// Clears a trained model deployment cache on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
+ /// Clear trained model deployment cache.
Cache will be cleared on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ClearTrainedModelDeploymentCacheAsync(ClearTrainedModelDeploymentCacheRequest request, CancellationToken cancellationToken = default) @@ -59,7 +59,7 @@ public virtual Task ClearTrainedModelD } /// - /// Clears a trained model deployment cache on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
+ /// Clear trained model deployment cache.
Cache will be cleared on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -70,7 +70,7 @@ public virtual ClearTrainedModelDeploymentCacheResponse ClearTrainedModelDeploym } /// - /// Clears a trained model deployment cache on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
+ /// Clear trained model deployment cache.
Cache will be cleared on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -82,7 +82,7 @@ public virtual ClearTrainedModelDeploymentCacheResponse ClearTrainedModelDeploym } /// - /// Clears a trained model deployment cache on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
+ /// Clear trained model deployment cache.
Cache will be cleared on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -95,7 +95,7 @@ public virtual ClearTrainedModelDeploymentCacheResponse ClearTrainedModelDeploym } /// - /// Clears a trained model deployment cache on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
+ /// Clear trained model deployment cache.
Cache will be cleared on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ClearTrainedModelDeploymentCacheAsync(ClearTrainedModelDeploymentCacheRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -105,7 +105,7 @@ public virtual Task ClearTrainedModelD } /// - /// Clears a trained model deployment cache on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
+ /// Clear trained model deployment cache.
Cache will be cleared on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ClearTrainedModelDeploymentCacheAsync(Elastic.Clients.Elasticsearch.Id modelId, CancellationToken cancellationToken = default) @@ -116,7 +116,7 @@ public virtual Task ClearTrainedModelD } /// - /// Clears a trained model deployment cache on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
+ /// Clear trained model deployment cache.
Cache will be cleared on all nodes where the trained model is assigned.
A trained model deployment may have an inference cache enabled.
As requests are handled by each allocated node, their responses may be cached on that individual node.
Calling this API clears the caches without restarting the deployment.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ClearTrainedModelDeploymentCacheAsync(Elastic.Clients.Elasticsearch.Id modelId, Action configureRequest, CancellationToken cancellationToken = default) @@ -218,7 +218,7 @@ public virtual Task CloseJobAsync(Elastic.Clients.Elasticsearc } /// - /// Removes all scheduled events from a calendar, then deletes it. + /// Delete a calendar.
Removes all scheduled events from a calendar, then deletes it.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -229,7 +229,7 @@ public virtual DeleteCalendarResponse DeleteCalendar(DeleteCalendarRequest reque } /// - /// Removes all scheduled events from a calendar, then deletes it. + /// Delete a calendar.
Removes all scheduled events from a calendar, then deletes it.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteCalendarAsync(DeleteCalendarRequest request, CancellationToken cancellationToken = default) @@ -239,7 +239,7 @@ public virtual Task DeleteCalendarAsync(DeleteCalendarRe } /// - /// Removes all scheduled events from a calendar, then deletes it. + /// Delete a calendar.
Removes all scheduled events from a calendar, then deletes it.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -250,7 +250,7 @@ public virtual DeleteCalendarResponse DeleteCalendar(DeleteCalendarRequestDescri } /// - /// Removes all scheduled events from a calendar, then deletes it. + /// Delete a calendar.
Removes all scheduled events from a calendar, then deletes it.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -262,7 +262,7 @@ public virtual DeleteCalendarResponse DeleteCalendar(Elastic.Clients.Elasticsear } /// - /// Removes all scheduled events from a calendar, then deletes it. + /// Delete a calendar.
Removes all scheduled events from a calendar, then deletes it.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -275,7 +275,7 @@ public virtual DeleteCalendarResponse DeleteCalendar(Elastic.Clients.Elasticsear } /// - /// Removes all scheduled events from a calendar, then deletes it. + /// Delete a calendar.
Removes all scheduled events from a calendar, then deletes it.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteCalendarAsync(DeleteCalendarRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -285,7 +285,7 @@ public virtual Task DeleteCalendarAsync(DeleteCalendarRe } /// - /// Removes all scheduled events from a calendar, then deletes it. + /// Delete a calendar.
Removes all scheduled events from a calendar, then deletes it.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteCalendarAsync(Elastic.Clients.Elasticsearch.Id calendarId, CancellationToken cancellationToken = default) @@ -296,7 +296,7 @@ public virtual Task DeleteCalendarAsync(Elastic.Clients. } /// - /// Removes all scheduled events from a calendar, then deletes it. + /// Delete a calendar.
Removes all scheduled events from a calendar, then deletes it.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteCalendarAsync(Elastic.Clients.Elasticsearch.Id calendarId, Action configureRequest, CancellationToken cancellationToken = default) @@ -308,7 +308,7 @@ public virtual Task DeleteCalendarAsync(Elastic.Clients. } /// - /// Deletes scheduled events from a calendar. + /// Delete events from a calendar. /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -319,7 +319,7 @@ public virtual DeleteCalendarEventResponse DeleteCalendarEvent(DeleteCalendarEve } /// - /// Deletes scheduled events from a calendar. + /// Delete events from a calendar. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarEventAsync(DeleteCalendarEventRequest request, CancellationToken cancellationToken = default) @@ -329,7 +329,7 @@ public virtual Task DeleteCalendarEventAsync(Delete } /// - /// Deletes scheduled events from a calendar. + /// Delete events from a calendar. /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -340,7 +340,7 @@ public virtual DeleteCalendarEventResponse DeleteCalendarEvent(DeleteCalendarEve } /// - /// Deletes scheduled events from a calendar. + /// Delete events from a calendar. /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -352,7 +352,7 @@ public virtual DeleteCalendarEventResponse DeleteCalendarEvent(Elastic.Clients.E } /// - /// Deletes scheduled events from a calendar. + /// Delete events from a calendar. /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -365,7 +365,7 @@ public virtual DeleteCalendarEventResponse DeleteCalendarEvent(Elastic.Clients.E } /// - /// Deletes scheduled events from a calendar. + /// Delete events from a calendar. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarEventAsync(DeleteCalendarEventRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -375,7 +375,7 @@ public virtual Task DeleteCalendarEventAsync(Delete } /// - /// Deletes scheduled events from a calendar. + /// Delete events from a calendar. /// 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) @@ -386,7 +386,7 @@ public virtual Task DeleteCalendarEventAsync(Elasti } /// - /// Deletes scheduled events from a calendar. + /// Delete events from a calendar. /// 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) @@ -398,7 +398,7 @@ public virtual Task DeleteCalendarEventAsync(Elasti } /// - /// Deletes anomaly detection jobs from a calendar. + /// Delete anomaly jobs from a calendar. /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -409,7 +409,7 @@ public virtual DeleteCalendarJobResponse DeleteCalendarJob(DeleteCalendarJobRequ } /// - /// Deletes anomaly detection jobs from a calendar. + /// Delete anomaly jobs from a calendar. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarJobAsync(DeleteCalendarJobRequest request, CancellationToken cancellationToken = default) @@ -419,7 +419,7 @@ public virtual Task DeleteCalendarJobAsync(DeleteCale } /// - /// Deletes anomaly detection jobs from a calendar. + /// Delete anomaly jobs from a calendar. /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -430,7 +430,7 @@ public virtual DeleteCalendarJobResponse DeleteCalendarJob(DeleteCalendarJobRequ } /// - /// Deletes anomaly detection jobs from a calendar. + /// Delete anomaly jobs from a calendar. /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -442,7 +442,7 @@ public virtual DeleteCalendarJobResponse DeleteCalendarJob(Elastic.Clients.Elast } /// - /// Deletes anomaly detection jobs from a calendar. + /// Delete anomaly jobs from a calendar. /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -455,7 +455,7 @@ public virtual DeleteCalendarJobResponse DeleteCalendarJob(Elastic.Clients.Elast } /// - /// Deletes anomaly detection jobs from a calendar. + /// Delete anomaly jobs from a calendar. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarJobAsync(DeleteCalendarJobRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -465,7 +465,7 @@ public virtual Task DeleteCalendarJobAsync(DeleteCale } /// - /// Deletes anomaly detection jobs from a calendar. + /// Delete anomaly jobs from a calendar. /// 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) @@ -476,7 +476,7 @@ public virtual Task DeleteCalendarJobAsync(Elastic.Cl } /// - /// Deletes anomaly detection jobs from a calendar. + /// Delete anomaly jobs from a calendar. /// 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) @@ -488,7 +488,7 @@ public virtual Task DeleteCalendarJobAsync(Elastic.Cl } /// - /// Deletes an existing datafeed. + /// Delete a datafeed. /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -499,7 +499,7 @@ public virtual DeleteDatafeedResponse DeleteDatafeed(DeleteDatafeedRequest reque } /// - /// Deletes an existing datafeed. + /// Delete a datafeed. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDatafeedAsync(DeleteDatafeedRequest request, CancellationToken cancellationToken = default) @@ -509,7 +509,7 @@ public virtual Task DeleteDatafeedAsync(DeleteDatafeedRe } /// - /// Deletes an existing datafeed. + /// Delete a datafeed. /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -520,7 +520,7 @@ public virtual DeleteDatafeedResponse DeleteDatafeed(DeleteDatafeedRequestDescri } /// - /// Deletes an existing datafeed. + /// Delete a datafeed. /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -532,7 +532,7 @@ public virtual DeleteDatafeedResponse DeleteDatafeed(Elastic.Clients.Elasticsear } /// - /// Deletes an existing datafeed. + /// Delete a datafeed. /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -545,7 +545,7 @@ public virtual DeleteDatafeedResponse DeleteDatafeed(Elastic.Clients.Elasticsear } /// - /// Deletes an existing datafeed. + /// Delete a datafeed. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDatafeedAsync(DeleteDatafeedRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -555,7 +555,7 @@ public virtual Task DeleteDatafeedAsync(DeleteDatafeedRe } /// - /// Deletes an existing datafeed. + /// Delete a datafeed. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDatafeedAsync(Elastic.Clients.Elasticsearch.Id datafeedId, CancellationToken cancellationToken = default) @@ -566,7 +566,7 @@ public virtual Task DeleteDatafeedAsync(Elastic.Clients. } /// - /// Deletes an existing datafeed. + /// Delete a datafeed. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDatafeedAsync(Elastic.Clients.Elasticsearch.Id datafeedId, Action configureRequest, CancellationToken cancellationToken = default) @@ -578,7 +578,7 @@ public virtual Task DeleteDatafeedAsync(Elastic.Clients. } /// - /// Deletes a data frame analytics job. + /// Delete a data frame analytics job. /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -589,7 +589,7 @@ public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(DeleteD } /// - /// Deletes a data frame analytics job. + /// Delete a data frame analytics job. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(DeleteDataFrameAnalyticsRequest request, CancellationToken cancellationToken = default) @@ -599,7 +599,7 @@ public virtual Task DeleteDataFrameAnalyticsAs } /// - /// Deletes a data frame analytics job. + /// Delete a data frame analytics job. /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -610,7 +610,7 @@ public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics - /// Deletes a data frame analytics job. + /// Delete a data frame analytics job. /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -622,7 +622,7 @@ public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics - /// Deletes a data frame analytics job. + /// Delete a data frame analytics job. /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -635,7 +635,7 @@ public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics - /// Deletes a data frame analytics job. + /// Delete a data frame analytics job. /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -646,7 +646,7 @@ public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(DeleteD } /// - /// Deletes a data frame analytics job. + /// Delete a data frame analytics job. /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -658,7 +658,7 @@ public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(Elastic } /// - /// Deletes a data frame analytics job. + /// Delete a data frame analytics job. /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -671,7 +671,7 @@ public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(Elastic } /// - /// Deletes a data frame analytics job. + /// Delete a data frame analytics job. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(DeleteDataFrameAnalyticsRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -681,7 +681,7 @@ public virtual Task DeleteDataFrameAnalyticsAs } /// - /// Deletes a data frame analytics job. + /// Delete a data frame analytics job. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) @@ -692,7 +692,7 @@ public virtual Task DeleteDataFrameAnalyticsAs } /// - /// Deletes a data frame analytics job. + /// Delete a data frame analytics job. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest, CancellationToken cancellationToken = default) @@ -704,7 +704,7 @@ public virtual Task DeleteDataFrameAnalyticsAs } /// - /// Deletes a data frame analytics job. + /// Delete a data frame analytics job. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(DeleteDataFrameAnalyticsRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -714,7 +714,7 @@ public virtual Task DeleteDataFrameAnalyticsAs } /// - /// Deletes a data frame analytics job. + /// Delete a data frame analytics job. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) @@ -725,7 +725,7 @@ public virtual Task DeleteDataFrameAnalyticsAs } /// - /// Deletes a data frame analytics job. + /// Delete a data frame analytics job. /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Id id, Action configureRequest, CancellationToken cancellationToken = default) @@ -737,7 +737,7 @@ public virtual Task DeleteDataFrameAnalyticsAs } /// - /// Deletes expired and unused machine learning data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
+ /// Delete expired ML data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -748,7 +748,7 @@ public virtual DeleteExpiredDataResponse DeleteExpiredData(DeleteExpiredDataRequ } /// - /// Deletes expired and unused machine learning data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
+ /// Delete expired ML data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteExpiredDataAsync(DeleteExpiredDataRequest request, CancellationToken cancellationToken = default) @@ -758,7 +758,7 @@ public virtual Task DeleteExpiredDataAsync(DeleteExpi } /// - /// Deletes expired and unused machine learning data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
+ /// Delete expired ML data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -769,7 +769,7 @@ public virtual DeleteExpiredDataResponse DeleteExpiredData(DeleteExpiredDataRequ } /// - /// Deletes expired and unused machine learning data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
+ /// Delete expired ML data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -781,7 +781,7 @@ public virtual DeleteExpiredDataResponse DeleteExpiredData(Elastic.Clients.Elast } /// - /// Deletes expired and unused machine learning data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
+ /// Delete expired ML data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -794,7 +794,7 @@ public virtual DeleteExpiredDataResponse DeleteExpiredData(Elastic.Clients.Elast } /// - /// Deletes expired and unused machine learning data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
+ /// Delete expired ML data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -806,7 +806,7 @@ public virtual DeleteExpiredDataResponse DeleteExpiredData() } /// - /// Deletes expired and unused machine learning data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
+ /// Delete expired ML data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -819,7 +819,7 @@ public virtual DeleteExpiredDataResponse DeleteExpiredData(Action - /// Deletes expired and unused machine learning data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
+ /// Delete expired ML data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
/// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteExpiredDataAsync(DeleteExpiredDataRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -829,7 +829,7 @@ public virtual Task DeleteExpiredDataAsync(DeleteExpi } /// - /// Deletes expired and unused machine learning data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
+ /// Delete expired ML data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteExpiredDataAsync(Elastic.Clients.Elasticsearch.Id? jobId, CancellationToken cancellationToken = default) @@ -840,7 +840,7 @@ public virtual Task DeleteExpiredDataAsync(Elastic.Cl } /// - /// Deletes expired and unused machine learning data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
+ /// Delete expired ML data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteExpiredDataAsync(Elastic.Clients.Elasticsearch.Id? jobId, Action configureRequest, CancellationToken cancellationToken = default) @@ -852,7 +852,7 @@ public virtual Task DeleteExpiredDataAsync(Elastic.Cl } /// - /// Deletes expired and unused machine learning data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
+ /// Delete expired ML data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteExpiredDataAsync(CancellationToken cancellationToken = default) @@ -863,7 +863,7 @@ public virtual Task DeleteExpiredDataAsync(Cancellati } /// - /// Deletes expired and unused machine learning data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
+ /// Delete expired ML data.
Deletes all job results, model snapshots and forecast data that have exceeded
their retention days period. Machine learning state documents that are not
associated with any job are also deleted.
You can limit the request to a single or set of anomaly detection jobs by
using a job identifier, a group name, a comma-separated list of jobs, or a
wildcard expression. You can delete expired data for all anomaly detection
jobs by using _all, by specifying * as the , or by omitting the
.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteExpiredDataAsync(Action configureRequest, CancellationToken cancellationToken = default) @@ -875,7 +875,7 @@ public virtual Task DeleteExpiredDataAsync(Action - /// Deletes a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
+ /// Delete a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
/// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -886,7 +886,7 @@ public virtual DeleteFilterResponse DeleteFilter(DeleteFilterRequest request) } /// - /// Deletes a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
+ /// Delete a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteFilterAsync(DeleteFilterRequest request, CancellationToken cancellationToken = default) @@ -896,7 +896,7 @@ public virtual Task DeleteFilterAsync(DeleteFilterRequest } /// - /// Deletes a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
+ /// Delete a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -907,7 +907,7 @@ public virtual DeleteFilterResponse DeleteFilter(DeleteFilterRequestDescriptor d } /// - /// Deletes a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
+ /// Delete a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -919,7 +919,7 @@ public virtual DeleteFilterResponse DeleteFilter(Elastic.Clients.Elasticsearch.I } /// - /// Deletes a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
+ /// Delete a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -932,7 +932,7 @@ public virtual DeleteFilterResponse DeleteFilter(Elastic.Clients.Elasticsearch.I } /// - /// Deletes a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
+ /// Delete a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteFilterAsync(DeleteFilterRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -942,7 +942,7 @@ public virtual Task DeleteFilterAsync(DeleteFilterRequestD } /// - /// Deletes a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
+ /// Delete a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteFilterAsync(Elastic.Clients.Elasticsearch.Id filterId, CancellationToken cancellationToken = default) @@ -953,7 +953,7 @@ public virtual Task DeleteFilterAsync(Elastic.Clients.Elas } /// - /// Deletes a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
+ /// Delete a filter.
If an anomaly detection job references the filter, you cannot delete the
filter. You must update or delete the job before you can delete the filter.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteFilterAsync(Elastic.Clients.Elasticsearch.Id filterId, Action configureRequest, CancellationToken cancellationToken = default) @@ -965,7 +965,7 @@ public virtual Task DeleteFilterAsync(Elastic.Clients.Elas } /// - /// Deletes forecasts from a machine learning job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
+ /// Delete forecasts from a job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -976,7 +976,7 @@ public virtual DeleteForecastResponse DeleteForecast(DeleteForecastRequest reque } /// - /// Deletes forecasts from a machine learning job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
+ /// Delete forecasts from a job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteForecastAsync(DeleteForecastRequest request, CancellationToken cancellationToken = default) @@ -986,7 +986,7 @@ public virtual Task DeleteForecastAsync(DeleteForecastRe } /// - /// Deletes forecasts from a machine learning job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
+ /// Delete forecasts from a job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -997,7 +997,7 @@ public virtual DeleteForecastResponse DeleteForecast(DeleteForecastRequestDescri } /// - /// Deletes forecasts from a machine learning job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
+ /// Delete forecasts from a job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1009,7 +1009,7 @@ public virtual DeleteForecastResponse DeleteForecast(Elastic.Clients.Elasticsear } /// - /// Deletes forecasts from a machine learning job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
+ /// Delete forecasts from a job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1022,7 +1022,7 @@ public virtual DeleteForecastResponse DeleteForecast(Elastic.Clients.Elasticsear } /// - /// Deletes forecasts from a machine learning job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
+ /// Delete forecasts from a job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1034,7 +1034,7 @@ public virtual DeleteForecastResponse DeleteForecast(Elastic.Clients.Elasticsear } /// - /// Deletes forecasts from a machine learning job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
+ /// Delete forecasts from a job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1047,7 +1047,7 @@ public virtual DeleteForecastResponse DeleteForecast(Elastic.Clients.Elasticsear } /// - /// Deletes forecasts from a machine learning job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
+ /// Delete forecasts from a job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteForecastAsync(DeleteForecastRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -1057,7 +1057,7 @@ public virtual Task DeleteForecastAsync(DeleteForecastRe } /// - /// Deletes forecasts from a machine learning job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
+ /// Delete forecasts from a job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteForecastAsync(Elastic.Clients.Elasticsearch.Id jobId, Elastic.Clients.Elasticsearch.Id? forecastId, CancellationToken cancellationToken = default) @@ -1068,7 +1068,7 @@ public virtual Task DeleteForecastAsync(Elastic.Clients. } /// - /// Deletes forecasts from a machine learning job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
+ /// Delete forecasts from a job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteForecastAsync(Elastic.Clients.Elasticsearch.Id jobId, Elastic.Clients.Elasticsearch.Id? forecastId, Action configureRequest, CancellationToken cancellationToken = default) @@ -1080,7 +1080,7 @@ public virtual Task DeleteForecastAsync(Elastic.Clients. } /// - /// Deletes forecasts from a machine learning job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
+ /// Delete forecasts from a job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteForecastAsync(Elastic.Clients.Elasticsearch.Id jobId, CancellationToken cancellationToken = default) @@ -1091,7 +1091,7 @@ public virtual Task DeleteForecastAsync(Elastic.Clients. } /// - /// Deletes forecasts from a machine learning job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
+ /// Delete forecasts from a job.
By default, forecasts are retained for 14 days. You can specify a
different retention period with the `expires_in` parameter in the forecast
jobs API. The delete forecast API enables you to delete one or more
forecasts before they expire.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteForecastAsync(Elastic.Clients.Elasticsearch.Id jobId, Action configureRequest, CancellationToken cancellationToken = default) @@ -1193,7 +1193,7 @@ public virtual Task DeleteJobAsync(Elastic.Clients.Elasticsea } /// - /// Deletes an existing model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
+ /// Delete a model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1204,7 +1204,7 @@ public virtual DeleteModelSnapshotResponse DeleteModelSnapshot(DeleteModelSnapsh } /// - /// Deletes an existing model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
+ /// Delete a model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteModelSnapshotAsync(DeleteModelSnapshotRequest request, CancellationToken cancellationToken = default) @@ -1214,7 +1214,7 @@ public virtual Task DeleteModelSnapshotAsync(Delete } /// - /// Deletes an existing model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
+ /// Delete a model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1225,7 +1225,7 @@ public virtual DeleteModelSnapshotResponse DeleteModelSnapshot(DeleteModelSnapsh } /// - /// Deletes an existing model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
+ /// Delete a model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1237,7 +1237,7 @@ public virtual DeleteModelSnapshotResponse DeleteModelSnapshot(Elastic.Clients.E } /// - /// Deletes an existing model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
+ /// Delete a model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1250,7 +1250,7 @@ public virtual DeleteModelSnapshotResponse DeleteModelSnapshot(Elastic.Clients.E } /// - /// Deletes an existing model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
+ /// Delete a model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteModelSnapshotAsync(DeleteModelSnapshotRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -1260,7 +1260,7 @@ public virtual Task DeleteModelSnapshotAsync(Delete } /// - /// Deletes an existing model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
+ /// Delete a model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteModelSnapshotAsync(Elastic.Clients.Elasticsearch.Id jobId, Elastic.Clients.Elasticsearch.Id snapshotId, CancellationToken cancellationToken = default) @@ -1271,7 +1271,7 @@ public virtual Task DeleteModelSnapshotAsync(Elasti } /// - /// Deletes an existing model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
+ /// Delete a model snapshot.
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the `model_snapshot_id` in the results from the get jobs API.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteModelSnapshotAsync(Elastic.Clients.Elasticsearch.Id jobId, Elastic.Clients.Elasticsearch.Id snapshotId, Action configureRequest, CancellationToken cancellationToken = default) @@ -1283,7 +1283,7 @@ public virtual Task DeleteModelSnapshotAsync(Elasti } /// - /// Deletes an existing trained inference model that is currently not referenced
by an ingest pipeline.
+ /// Delete an unreferenced trained model.
The request deletes a trained inference model that is not referenced by an ingest pipeline.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1294,7 +1294,7 @@ public virtual DeleteTrainedModelResponse DeleteTrainedModel(DeleteTrainedModelR } /// - /// Deletes an existing trained inference model that is currently not referenced
by an ingest pipeline.
+ /// Delete an unreferenced trained model.
The request deletes a trained inference model that is not referenced by an ingest pipeline.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteTrainedModelAsync(DeleteTrainedModelRequest request, CancellationToken cancellationToken = default) @@ -1304,7 +1304,7 @@ public virtual Task DeleteTrainedModelAsync(DeleteTr } /// - /// Deletes an existing trained inference model that is currently not referenced
by an ingest pipeline.
+ /// Delete an unreferenced trained model.
The request deletes a trained inference model that is not referenced by an ingest pipeline.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1315,7 +1315,7 @@ public virtual DeleteTrainedModelResponse DeleteTrainedModel(DeleteTrainedModelR } /// - /// Deletes an existing trained inference model that is currently not referenced
by an ingest pipeline.
+ /// Delete an unreferenced trained model.
The request deletes a trained inference model that is not referenced by an ingest pipeline.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1327,7 +1327,7 @@ public virtual DeleteTrainedModelResponse DeleteTrainedModel(Elastic.Clients.Ela } /// - /// Deletes an existing trained inference model that is currently not referenced
by an ingest pipeline.
+ /// Delete an unreferenced trained model.
The request deletes a trained inference model that is not referenced by an ingest pipeline.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1340,7 +1340,7 @@ public virtual DeleteTrainedModelResponse DeleteTrainedModel(Elastic.Clients.Ela } /// - /// Deletes an existing trained inference model that is currently not referenced
by an ingest pipeline.
+ /// Delete an unreferenced trained model.
The request deletes a trained inference model that is not referenced by an ingest pipeline.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteTrainedModelAsync(DeleteTrainedModelRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -1350,7 +1350,7 @@ public virtual Task DeleteTrainedModelAsync(DeleteTr } /// - /// Deletes an existing trained inference model that is currently not referenced
by an ingest pipeline.
+ /// Delete an unreferenced trained model.
The request deletes a trained inference model that is not referenced by an ingest pipeline.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteTrainedModelAsync(Elastic.Clients.Elasticsearch.Id modelId, CancellationToken cancellationToken = default) @@ -1361,7 +1361,7 @@ public virtual Task DeleteTrainedModelAsync(Elastic. } /// - /// Deletes an existing trained inference model that is currently not referenced
by an ingest pipeline.
+ /// Delete an unreferenced trained model.
The request deletes a trained inference model that is not referenced by an ingest pipeline.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteTrainedModelAsync(Elastic.Clients.Elasticsearch.Id modelId, Action configureRequest, CancellationToken cancellationToken = default) @@ -1373,7 +1373,7 @@ public virtual Task DeleteTrainedModelAsync(Elastic. } /// - /// Deletes a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
+ /// Delete a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1384,7 +1384,7 @@ public virtual DeleteTrainedModelAliasResponse DeleteTrainedModelAlias(DeleteTra } /// - /// Deletes a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
+ /// Delete a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteTrainedModelAliasAsync(DeleteTrainedModelAliasRequest request, CancellationToken cancellationToken = default) @@ -1394,7 +1394,7 @@ public virtual Task DeleteTrainedModelAliasAsyn } /// - /// Deletes a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
+ /// Delete a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1405,7 +1405,7 @@ public virtual DeleteTrainedModelAliasResponse DeleteTrainedModelAlias(DeleteTra } /// - /// Deletes a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
+ /// Delete a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1417,7 +1417,7 @@ public virtual DeleteTrainedModelAliasResponse DeleteTrainedModelAlias(Elastic.C } /// - /// Deletes a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
+ /// Delete a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1430,7 +1430,7 @@ public virtual DeleteTrainedModelAliasResponse DeleteTrainedModelAlias(Elastic.C } /// - /// Deletes a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
+ /// Delete a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteTrainedModelAliasAsync(DeleteTrainedModelAliasRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -1440,7 +1440,7 @@ public virtual Task DeleteTrainedModelAliasAsyn } /// - /// Deletes a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
+ /// Delete a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteTrainedModelAliasAsync(Elastic.Clients.Elasticsearch.Id modelId, Elastic.Clients.Elasticsearch.Name modelAlias, CancellationToken cancellationToken = default) @@ -1451,7 +1451,7 @@ public virtual Task DeleteTrainedModelAliasAsyn } /// - /// Deletes a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
+ /// Delete a trained model alias.
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the `model_id`, this API returns an error.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task DeleteTrainedModelAliasAsync(Elastic.Clients.Elasticsearch.Id modelId, Elastic.Clients.Elasticsearch.Name modelAlias, Action configureRequest, CancellationToken cancellationToken = default) @@ -1463,7 +1463,7 @@ public virtual Task DeleteTrainedModelAliasAsyn } /// - /// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+ /// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1474,7 +1474,7 @@ public virtual EstimateModelMemoryResponse EstimateModelMemory(EstimateModelMemo } /// - /// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+ /// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task EstimateModelMemoryAsync(EstimateModelMemoryRequest request, CancellationToken cancellationToken = default) @@ -1484,7 +1484,7 @@ public virtual Task EstimateModelMemoryAsync(Estima } /// - /// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+ /// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1495,7 +1495,7 @@ public virtual EstimateModelMemoryResponse EstimateModelMemory(Estima } /// - /// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+ /// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1507,7 +1507,7 @@ public virtual EstimateModelMemoryResponse EstimateModelMemory() } /// - /// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+ /// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1520,7 +1520,7 @@ public virtual EstimateModelMemoryResponse EstimateModelMemory(Action } /// - /// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+ /// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1531,7 +1531,7 @@ public virtual EstimateModelMemoryResponse EstimateModelMemory(EstimateModelMemo } /// - /// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+ /// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1543,7 +1543,7 @@ public virtual EstimateModelMemoryResponse EstimateModelMemory() } /// - /// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+ /// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1556,7 +1556,7 @@ public virtual EstimateModelMemoryResponse EstimateModelMemory(Action - /// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+ /// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
/// Learn more about this API in the Elasticsearch documentation. /// public virtual Task EstimateModelMemoryAsync(EstimateModelMemoryRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -1566,7 +1566,7 @@ public virtual Task EstimateModelMemoryAsync - /// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+ /// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
/// Learn more about this API in the Elasticsearch documentation. /// public virtual Task EstimateModelMemoryAsync(CancellationToken cancellationToken = default) @@ -1577,7 +1577,7 @@ public virtual Task EstimateModelMemoryAsync - /// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+ /// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
/// Learn more about this API in the Elasticsearch documentation. /// public virtual Task EstimateModelMemoryAsync(Action> configureRequest, CancellationToken cancellationToken = default) @@ -1589,7 +1589,7 @@ public virtual Task EstimateModelMemoryAsync - /// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+ /// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
/// Learn more about this API in the Elasticsearch documentation. /// public virtual Task EstimateModelMemoryAsync(EstimateModelMemoryRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -1599,7 +1599,7 @@ public virtual Task EstimateModelMemoryAsync(Estima } /// - /// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+ /// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task EstimateModelMemoryAsync(CancellationToken cancellationToken = default) @@ -1610,7 +1610,7 @@ public virtual Task EstimateModelMemoryAsync(Cancel } /// - /// Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
+ /// Estimate job model memory usage.
Makes an estimation of the memory usage for an anomaly detection job model.
It is based on analysis configuration details for the job and cardinality
estimates for the fields it references.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task EstimateModelMemoryAsync(Action configureRequest, CancellationToken cancellationToken = default) @@ -1622,7 +1622,7 @@ public virtual Task EstimateModelMemoryAsync(Action } /// - /// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+ /// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1633,7 +1633,7 @@ public virtual EvaluateDataFrameResponse EvaluateDataFrame(EvaluateDataFrameRequ } /// - /// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+ /// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task EvaluateDataFrameAsync(EvaluateDataFrameRequest request, CancellationToken cancellationToken = default) @@ -1643,7 +1643,7 @@ public virtual Task EvaluateDataFrameAsync(EvaluateDa } /// - /// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+ /// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1654,7 +1654,7 @@ public virtual EvaluateDataFrameResponse EvaluateDataFrame(EvaluateDa } /// - /// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+ /// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1666,7 +1666,7 @@ public virtual EvaluateDataFrameResponse EvaluateDataFrame() } /// - /// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+ /// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1679,7 +1679,7 @@ public virtual EvaluateDataFrameResponse EvaluateDataFrame(Action - /// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+ /// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
/// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1690,7 +1690,7 @@ public virtual EvaluateDataFrameResponse EvaluateDataFrame(EvaluateDataFrameRequ } /// - /// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+ /// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1702,7 +1702,7 @@ public virtual EvaluateDataFrameResponse EvaluateDataFrame() } /// - /// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+ /// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1715,7 +1715,7 @@ public virtual EvaluateDataFrameResponse EvaluateDataFrame(Action - /// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+ /// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
/// Learn more about this API in the Elasticsearch documentation. /// public virtual Task EvaluateDataFrameAsync(EvaluateDataFrameRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -1725,7 +1725,7 @@ public virtual Task EvaluateDataFrameAsync } /// - /// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+ /// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task EvaluateDataFrameAsync(CancellationToken cancellationToken = default) @@ -1736,7 +1736,7 @@ public virtual Task EvaluateDataFrameAsync } /// - /// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+ /// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task EvaluateDataFrameAsync(Action> configureRequest, CancellationToken cancellationToken = default) @@ -1748,7 +1748,7 @@ public virtual Task EvaluateDataFrameAsync } /// - /// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+ /// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task EvaluateDataFrameAsync(EvaluateDataFrameRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -1758,7 +1758,7 @@ public virtual Task EvaluateDataFrameAsync(EvaluateDa } /// - /// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+ /// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task EvaluateDataFrameAsync(CancellationToken cancellationToken = default) @@ -1769,7 +1769,7 @@ public virtual Task EvaluateDataFrameAsync(Cancellati } /// - /// Evaluates the data frame analytics for an annotated index.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
+ /// Evaluate data frame analytics.
The API packages together commonly used evaluation metrics for various types
of machine learning features. This has been designed for use on indexes
created by data frame analytics. Evaluation requires both a ground truth
field and an analytics result field to be present.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task EvaluateDataFrameAsync(Action configureRequest, CancellationToken cancellationToken = default) @@ -1781,7 +1781,7 @@ public virtual Task EvaluateDataFrameAsync(Action - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1792,7 +1792,7 @@ public virtual ExplainDataFrameAnalyticsResponse ExplainDataFrameAnalytics(Expla } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ExplainDataFrameAnalyticsAsync(ExplainDataFrameAnalyticsRequest request, CancellationToken cancellationToken = default) @@ -1802,7 +1802,7 @@ public virtual Task ExplainDataFrameAnalytics } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1813,7 +1813,7 @@ public virtual ExplainDataFrameAnalyticsResponse ExplainDataFrameAnalytics - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1825,7 +1825,7 @@ public virtual ExplainDataFrameAnalyticsResponse ExplainDataFrameAnalytics - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1838,7 +1838,7 @@ public virtual ExplainDataFrameAnalyticsResponse ExplainDataFrameAnalytics - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1850,7 +1850,7 @@ public virtual ExplainDataFrameAnalyticsResponse ExplainDataFrameAnalytics - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1863,7 +1863,7 @@ public virtual ExplainDataFrameAnalyticsResponse ExplainDataFrameAnalytics - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1874,7 +1874,7 @@ public virtual ExplainDataFrameAnalyticsResponse ExplainDataFrameAnalytics(Expla } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1886,7 +1886,7 @@ public virtual ExplainDataFrameAnalyticsResponse ExplainDataFrameAnalytics(Elast } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1899,7 +1899,7 @@ public virtual ExplainDataFrameAnalyticsResponse ExplainDataFrameAnalytics(Elast } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1911,7 +1911,7 @@ public virtual ExplainDataFrameAnalyticsResponse ExplainDataFrameAnalytics() } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
[Obsolete("Synchronous methods are deprecated and could be removed in the future.")] @@ -1924,7 +1924,7 @@ public virtual ExplainDataFrameAnalyticsResponse ExplainDataFrameAnalytics(Actio } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ExplainDataFrameAnalyticsAsync(ExplainDataFrameAnalyticsRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -1934,7 +1934,7 @@ public virtual Task ExplainDataFrameAnalytics } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ExplainDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Id? id, CancellationToken cancellationToken = default) @@ -1945,7 +1945,7 @@ public virtual Task ExplainDataFrameAnalytics } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ExplainDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Id? id, Action> configureRequest, CancellationToken cancellationToken = default) @@ -1957,7 +1957,7 @@ public virtual Task ExplainDataFrameAnalytics } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ExplainDataFrameAnalyticsAsync(CancellationToken cancellationToken = default) @@ -1968,7 +1968,7 @@ public virtual Task ExplainDataFrameAnalytics } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ExplainDataFrameAnalyticsAsync(Action> configureRequest, CancellationToken cancellationToken = default) @@ -1980,7 +1980,7 @@ public virtual Task ExplainDataFrameAnalytics } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ExplainDataFrameAnalyticsAsync(ExplainDataFrameAnalyticsRequestDescriptor descriptor, CancellationToken cancellationToken = default) @@ -1990,7 +1990,7 @@ public virtual Task ExplainDataFrameAnalytics } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ExplainDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Id? id, CancellationToken cancellationToken = default) @@ -2001,7 +2001,7 @@ public virtual Task ExplainDataFrameAnalytics } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ExplainDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Id? id, Action configureRequest, CancellationToken cancellationToken = default) @@ -2013,7 +2013,7 @@ public virtual Task ExplainDataFrameAnalytics } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ExplainDataFrameAnalyticsAsync(CancellationToken cancellationToken = default) @@ -2024,7 +2024,7 @@ public virtual Task ExplainDataFrameAnalytics } /// - /// Explains a data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
+ /// Explain data frame analytics config.
This API provides explanations for a data frame analytics config that either
exists already or one that has not been created yet. The following
explanations are provided:
* which fields are included or not in the analysis and why,
* how much memory is estimated to be required. The estimate can be used when deciding the appropriate value for model_memory_limit setting later on.
If you have object fields or fields that are excluded via source filtering, they are not included in the explanation.
/// Learn more about this API in the Elasticsearch documentation. ///
public virtual Task ExplainDataFrameAnalyticsAsync(Action configureRequest, CancellationToken cancellationToken = default) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/Actions.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/Actions.g.cs new file mode 100644 index 00000000000..211040550d3 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/Actions.g.cs @@ -0,0 +1,671 @@ +// 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.IndexLifecycleManagement; + +public sealed partial class Actions +{ + /// + /// Phases allowed: warm, cold. + /// + [JsonInclude, JsonPropertyName("allocate")] + public Elastic.Clients.Elasticsearch.IndexLifecycleManagement.AllocateAction? Allocate { get; set; } + + /// + /// Phases allowed: delete. + /// + [JsonInclude, JsonPropertyName("delete")] + public Elastic.Clients.Elasticsearch.IndexLifecycleManagement.DeleteAction? Delete { get; set; } + + /// + /// Phases allowed: hot, warm, cold. + /// + [JsonInclude, JsonPropertyName("downsample")] + public Elastic.Clients.Elasticsearch.IndexLifecycleManagement.DownsampleAction? Downsample { get; set; } + + /// + /// Phases allowed: hot, warm. + /// + [JsonInclude, JsonPropertyName("forcemerge")] + public Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ForceMergeAction? Forcemerge { get; set; } + + /// + /// Phases allowed: warm, cold. + /// + [JsonInclude, JsonPropertyName("migrate")] + public Elastic.Clients.Elasticsearch.IndexLifecycleManagement.MigrateAction? Migrate { get; set; } + + /// + /// Phases allowed: hot, warm, cold. + /// + [JsonInclude, JsonPropertyName("readonly")] + public Elastic.Clients.Elasticsearch.EmptyObject? Readonly { get; set; } + + /// + /// Phases allowed: hot. + /// + [JsonInclude, JsonPropertyName("rollover")] + public Elastic.Clients.Elasticsearch.IndexLifecycleManagement.RolloverAction? Rollover { get; set; } + + /// + /// Phases allowed: hot, cold, frozen. + /// + [JsonInclude, JsonPropertyName("searchable_snapshot")] + public Elastic.Clients.Elasticsearch.IndexLifecycleManagement.SearchableSnapshotAction? SearchableSnapshot { get; set; } + + /// + /// Phases allowed: hot, warm, cold. + /// + [JsonInclude, JsonPropertyName("set_priority")] + public Elastic.Clients.Elasticsearch.IndexLifecycleManagement.SetPriorityAction? SetPriority { get; set; } + + /// + /// Phases allowed: hot, warm. + /// + [JsonInclude, JsonPropertyName("shrink")] + public Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ShrinkAction? Shrink { get; set; } + + /// + /// Phases allowed: hot, warm, cold, frozen. + /// + [JsonInclude, JsonPropertyName("unfollow")] + public Elastic.Clients.Elasticsearch.EmptyObject? Unfollow { get; set; } + + /// + /// Phases allowed: delete. + /// + [JsonInclude, JsonPropertyName("wait_for_snapshot")] + public Elastic.Clients.Elasticsearch.IndexLifecycleManagement.WaitForSnapshotAction? WaitForSnapshot { get; set; } +} + +public sealed partial class ActionsDescriptor : SerializableDescriptor +{ + internal ActionsDescriptor(Action configure) => configure.Invoke(this); + + public ActionsDescriptor() : base() + { + } + + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.AllocateAction? AllocateValue { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.AllocateActionDescriptor AllocateDescriptor { get; set; } + private Action AllocateDescriptorAction { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.DeleteAction? DeleteValue { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.DeleteActionDescriptor DeleteDescriptor { get; set; } + private Action DeleteDescriptorAction { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.DownsampleAction? DownsampleValue { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.DownsampleActionDescriptor DownsampleDescriptor { get; set; } + private Action DownsampleDescriptorAction { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ForceMergeAction? ForcemergeValue { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ForceMergeActionDescriptor ForcemergeDescriptor { get; set; } + private Action ForcemergeDescriptorAction { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.MigrateAction? MigrateValue { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.MigrateActionDescriptor MigrateDescriptor { get; set; } + private Action MigrateDescriptorAction { get; set; } + private Elastic.Clients.Elasticsearch.EmptyObject? ReadonlyValue { get; set; } + private Elastic.Clients.Elasticsearch.EmptyObjectDescriptor ReadonlyDescriptor { get; set; } + private Action ReadonlyDescriptorAction { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.RolloverAction? RolloverValue { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.RolloverActionDescriptor RolloverDescriptor { get; set; } + private Action RolloverDescriptorAction { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.SearchableSnapshotAction? SearchableSnapshotValue { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.SearchableSnapshotActionDescriptor SearchableSnapshotDescriptor { get; set; } + private Action SearchableSnapshotDescriptorAction { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.SetPriorityAction? SetPriorityValue { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.SetPriorityActionDescriptor SetPriorityDescriptor { get; set; } + private Action SetPriorityDescriptorAction { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ShrinkAction? ShrinkValue { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ShrinkActionDescriptor ShrinkDescriptor { get; set; } + private Action ShrinkDescriptorAction { get; set; } + private Elastic.Clients.Elasticsearch.EmptyObject? UnfollowValue { get; set; } + private Elastic.Clients.Elasticsearch.EmptyObjectDescriptor UnfollowDescriptor { get; set; } + private Action UnfollowDescriptorAction { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.WaitForSnapshotAction? WaitForSnapshotValue { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.WaitForSnapshotActionDescriptor WaitForSnapshotDescriptor { get; set; } + private Action WaitForSnapshotDescriptorAction { get; set; } + + /// + /// Phases allowed: warm, cold. + /// + public ActionsDescriptor Allocate(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.AllocateAction? allocate) + { + AllocateDescriptor = null; + AllocateDescriptorAction = null; + AllocateValue = allocate; + return Self; + } + + public ActionsDescriptor Allocate(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.AllocateActionDescriptor descriptor) + { + AllocateValue = null; + AllocateDescriptorAction = null; + AllocateDescriptor = descriptor; + return Self; + } + + public ActionsDescriptor Allocate(Action configure) + { + AllocateValue = null; + AllocateDescriptor = null; + AllocateDescriptorAction = configure; + return Self; + } + + /// + /// Phases allowed: delete. + /// + public ActionsDescriptor Delete(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.DeleteAction? delete) + { + DeleteDescriptor = null; + DeleteDescriptorAction = null; + DeleteValue = delete; + return Self; + } + + public ActionsDescriptor Delete(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.DeleteActionDescriptor descriptor) + { + DeleteValue = null; + DeleteDescriptorAction = null; + DeleteDescriptor = descriptor; + return Self; + } + + public ActionsDescriptor Delete(Action configure) + { + DeleteValue = null; + DeleteDescriptor = null; + DeleteDescriptorAction = configure; + return Self; + } + + /// + /// Phases allowed: hot, warm, cold. + /// + public ActionsDescriptor Downsample(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.DownsampleAction? downsample) + { + DownsampleDescriptor = null; + DownsampleDescriptorAction = null; + DownsampleValue = downsample; + return Self; + } + + public ActionsDescriptor Downsample(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.DownsampleActionDescriptor descriptor) + { + DownsampleValue = null; + DownsampleDescriptorAction = null; + DownsampleDescriptor = descriptor; + return Self; + } + + public ActionsDescriptor Downsample(Action configure) + { + DownsampleValue = null; + DownsampleDescriptor = null; + DownsampleDescriptorAction = configure; + return Self; + } + + /// + /// Phases allowed: hot, warm. + /// + public ActionsDescriptor Forcemerge(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ForceMergeAction? forcemerge) + { + ForcemergeDescriptor = null; + ForcemergeDescriptorAction = null; + ForcemergeValue = forcemerge; + return Self; + } + + public ActionsDescriptor Forcemerge(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ForceMergeActionDescriptor descriptor) + { + ForcemergeValue = null; + ForcemergeDescriptorAction = null; + ForcemergeDescriptor = descriptor; + return Self; + } + + public ActionsDescriptor Forcemerge(Action configure) + { + ForcemergeValue = null; + ForcemergeDescriptor = null; + ForcemergeDescriptorAction = configure; + return Self; + } + + /// + /// Phases allowed: warm, cold. + /// + public ActionsDescriptor Migrate(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.MigrateAction? migrate) + { + MigrateDescriptor = null; + MigrateDescriptorAction = null; + MigrateValue = migrate; + return Self; + } + + public ActionsDescriptor Migrate(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.MigrateActionDescriptor descriptor) + { + MigrateValue = null; + MigrateDescriptorAction = null; + MigrateDescriptor = descriptor; + return Self; + } + + public ActionsDescriptor Migrate(Action configure) + { + MigrateValue = null; + MigrateDescriptor = null; + MigrateDescriptorAction = configure; + return Self; + } + + /// + /// Phases allowed: hot, warm, cold. + /// + public ActionsDescriptor Readonly(Elastic.Clients.Elasticsearch.EmptyObject? value) + { + ReadonlyDescriptor = null; + ReadonlyDescriptorAction = null; + ReadonlyValue = value; + return Self; + } + + public ActionsDescriptor Readonly(Elastic.Clients.Elasticsearch.EmptyObjectDescriptor descriptor) + { + ReadonlyValue = null; + ReadonlyDescriptorAction = null; + ReadonlyDescriptor = descriptor; + return Self; + } + + public ActionsDescriptor Readonly(Action configure) + { + ReadonlyValue = null; + ReadonlyDescriptor = null; + ReadonlyDescriptorAction = configure; + return Self; + } + + /// + /// Phases allowed: hot. + /// + public ActionsDescriptor Rollover(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.RolloverAction? rollover) + { + RolloverDescriptor = null; + RolloverDescriptorAction = null; + RolloverValue = rollover; + return Self; + } + + public ActionsDescriptor Rollover(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.RolloverActionDescriptor descriptor) + { + RolloverValue = null; + RolloverDescriptorAction = null; + RolloverDescriptor = descriptor; + return Self; + } + + public ActionsDescriptor Rollover(Action configure) + { + RolloverValue = null; + RolloverDescriptor = null; + RolloverDescriptorAction = configure; + return Self; + } + + /// + /// Phases allowed: hot, cold, frozen. + /// + public ActionsDescriptor SearchableSnapshot(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.SearchableSnapshotAction? searchableSnapshot) + { + SearchableSnapshotDescriptor = null; + SearchableSnapshotDescriptorAction = null; + SearchableSnapshotValue = searchableSnapshot; + return Self; + } + + public ActionsDescriptor SearchableSnapshot(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.SearchableSnapshotActionDescriptor descriptor) + { + SearchableSnapshotValue = null; + SearchableSnapshotDescriptorAction = null; + SearchableSnapshotDescriptor = descriptor; + return Self; + } + + public ActionsDescriptor SearchableSnapshot(Action configure) + { + SearchableSnapshotValue = null; + SearchableSnapshotDescriptor = null; + SearchableSnapshotDescriptorAction = configure; + return Self; + } + + /// + /// Phases allowed: hot, warm, cold. + /// + public ActionsDescriptor SetPriority(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.SetPriorityAction? setPriority) + { + SetPriorityDescriptor = null; + SetPriorityDescriptorAction = null; + SetPriorityValue = setPriority; + return Self; + } + + public ActionsDescriptor SetPriority(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.SetPriorityActionDescriptor descriptor) + { + SetPriorityValue = null; + SetPriorityDescriptorAction = null; + SetPriorityDescriptor = descriptor; + return Self; + } + + public ActionsDescriptor SetPriority(Action configure) + { + SetPriorityValue = null; + SetPriorityDescriptor = null; + SetPriorityDescriptorAction = configure; + return Self; + } + + /// + /// Phases allowed: hot, warm. + /// + public ActionsDescriptor Shrink(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ShrinkAction? shrink) + { + ShrinkDescriptor = null; + ShrinkDescriptorAction = null; + ShrinkValue = shrink; + return Self; + } + + public ActionsDescriptor Shrink(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ShrinkActionDescriptor descriptor) + { + ShrinkValue = null; + ShrinkDescriptorAction = null; + ShrinkDescriptor = descriptor; + return Self; + } + + public ActionsDescriptor Shrink(Action configure) + { + ShrinkValue = null; + ShrinkDescriptor = null; + ShrinkDescriptorAction = configure; + return Self; + } + + /// + /// Phases allowed: hot, warm, cold, frozen. + /// + public ActionsDescriptor Unfollow(Elastic.Clients.Elasticsearch.EmptyObject? unfollow) + { + UnfollowDescriptor = null; + UnfollowDescriptorAction = null; + UnfollowValue = unfollow; + return Self; + } + + public ActionsDescriptor Unfollow(Elastic.Clients.Elasticsearch.EmptyObjectDescriptor descriptor) + { + UnfollowValue = null; + UnfollowDescriptorAction = null; + UnfollowDescriptor = descriptor; + return Self; + } + + public ActionsDescriptor Unfollow(Action configure) + { + UnfollowValue = null; + UnfollowDescriptor = null; + UnfollowDescriptorAction = configure; + return Self; + } + + /// + /// Phases allowed: delete. + /// + public ActionsDescriptor WaitForSnapshot(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.WaitForSnapshotAction? waitForSnapshot) + { + WaitForSnapshotDescriptor = null; + WaitForSnapshotDescriptorAction = null; + WaitForSnapshotValue = waitForSnapshot; + return Self; + } + + public ActionsDescriptor WaitForSnapshot(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.WaitForSnapshotActionDescriptor descriptor) + { + WaitForSnapshotValue = null; + WaitForSnapshotDescriptorAction = null; + WaitForSnapshotDescriptor = descriptor; + return Self; + } + + public ActionsDescriptor WaitForSnapshot(Action configure) + { + WaitForSnapshotValue = null; + WaitForSnapshotDescriptor = null; + WaitForSnapshotDescriptorAction = configure; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (AllocateDescriptor is not null) + { + writer.WritePropertyName("allocate"); + JsonSerializer.Serialize(writer, AllocateDescriptor, options); + } + else if (AllocateDescriptorAction is not null) + { + writer.WritePropertyName("allocate"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.IndexLifecycleManagement.AllocateActionDescriptor(AllocateDescriptorAction), options); + } + else if (AllocateValue is not null) + { + writer.WritePropertyName("allocate"); + JsonSerializer.Serialize(writer, AllocateValue, options); + } + + if (DeleteDescriptor is not null) + { + writer.WritePropertyName("delete"); + JsonSerializer.Serialize(writer, DeleteDescriptor, options); + } + else if (DeleteDescriptorAction is not null) + { + writer.WritePropertyName("delete"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.IndexLifecycleManagement.DeleteActionDescriptor(DeleteDescriptorAction), options); + } + else if (DeleteValue is not null) + { + writer.WritePropertyName("delete"); + JsonSerializer.Serialize(writer, DeleteValue, options); + } + + if (DownsampleDescriptor is not null) + { + writer.WritePropertyName("downsample"); + JsonSerializer.Serialize(writer, DownsampleDescriptor, options); + } + else if (DownsampleDescriptorAction is not null) + { + writer.WritePropertyName("downsample"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.IndexLifecycleManagement.DownsampleActionDescriptor(DownsampleDescriptorAction), options); + } + else if (DownsampleValue is not null) + { + writer.WritePropertyName("downsample"); + JsonSerializer.Serialize(writer, DownsampleValue, options); + } + + if (ForcemergeDescriptor is not null) + { + writer.WritePropertyName("forcemerge"); + JsonSerializer.Serialize(writer, ForcemergeDescriptor, options); + } + else if (ForcemergeDescriptorAction is not null) + { + writer.WritePropertyName("forcemerge"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ForceMergeActionDescriptor(ForcemergeDescriptorAction), options); + } + else if (ForcemergeValue is not null) + { + writer.WritePropertyName("forcemerge"); + JsonSerializer.Serialize(writer, ForcemergeValue, options); + } + + if (MigrateDescriptor is not null) + { + writer.WritePropertyName("migrate"); + JsonSerializer.Serialize(writer, MigrateDescriptor, options); + } + else if (MigrateDescriptorAction is not null) + { + writer.WritePropertyName("migrate"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.IndexLifecycleManagement.MigrateActionDescriptor(MigrateDescriptorAction), options); + } + else if (MigrateValue is not null) + { + writer.WritePropertyName("migrate"); + JsonSerializer.Serialize(writer, MigrateValue, options); + } + + if (ReadonlyDescriptor is not null) + { + writer.WritePropertyName("readonly"); + JsonSerializer.Serialize(writer, ReadonlyDescriptor, options); + } + else if (ReadonlyDescriptorAction is not null) + { + writer.WritePropertyName("readonly"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.EmptyObjectDescriptor(ReadonlyDescriptorAction), options); + } + else if (ReadonlyValue is not null) + { + writer.WritePropertyName("readonly"); + JsonSerializer.Serialize(writer, ReadonlyValue, options); + } + + if (RolloverDescriptor is not null) + { + writer.WritePropertyName("rollover"); + JsonSerializer.Serialize(writer, RolloverDescriptor, options); + } + else if (RolloverDescriptorAction is not null) + { + writer.WritePropertyName("rollover"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.IndexLifecycleManagement.RolloverActionDescriptor(RolloverDescriptorAction), options); + } + else if (RolloverValue is not null) + { + writer.WritePropertyName("rollover"); + JsonSerializer.Serialize(writer, RolloverValue, options); + } + + if (SearchableSnapshotDescriptor is not null) + { + writer.WritePropertyName("searchable_snapshot"); + JsonSerializer.Serialize(writer, SearchableSnapshotDescriptor, options); + } + else if (SearchableSnapshotDescriptorAction is not null) + { + writer.WritePropertyName("searchable_snapshot"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.IndexLifecycleManagement.SearchableSnapshotActionDescriptor(SearchableSnapshotDescriptorAction), options); + } + else if (SearchableSnapshotValue is not null) + { + writer.WritePropertyName("searchable_snapshot"); + JsonSerializer.Serialize(writer, SearchableSnapshotValue, options); + } + + if (SetPriorityDescriptor is not null) + { + writer.WritePropertyName("set_priority"); + JsonSerializer.Serialize(writer, SetPriorityDescriptor, options); + } + else if (SetPriorityDescriptorAction is not null) + { + writer.WritePropertyName("set_priority"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.IndexLifecycleManagement.SetPriorityActionDescriptor(SetPriorityDescriptorAction), options); + } + else if (SetPriorityValue is not null) + { + writer.WritePropertyName("set_priority"); + JsonSerializer.Serialize(writer, SetPriorityValue, options); + } + + if (ShrinkDescriptor is not null) + { + writer.WritePropertyName("shrink"); + JsonSerializer.Serialize(writer, ShrinkDescriptor, options); + } + else if (ShrinkDescriptorAction is not null) + { + writer.WritePropertyName("shrink"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ShrinkActionDescriptor(ShrinkDescriptorAction), options); + } + else if (ShrinkValue is not null) + { + writer.WritePropertyName("shrink"); + JsonSerializer.Serialize(writer, ShrinkValue, options); + } + + if (UnfollowDescriptor is not null) + { + writer.WritePropertyName("unfollow"); + JsonSerializer.Serialize(writer, UnfollowDescriptor, options); + } + else if (UnfollowDescriptorAction is not null) + { + writer.WritePropertyName("unfollow"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.EmptyObjectDescriptor(UnfollowDescriptorAction), options); + } + else if (UnfollowValue is not null) + { + writer.WritePropertyName("unfollow"); + JsonSerializer.Serialize(writer, UnfollowValue, options); + } + + if (WaitForSnapshotDescriptor is not null) + { + writer.WritePropertyName("wait_for_snapshot"); + JsonSerializer.Serialize(writer, WaitForSnapshotDescriptor, options); + } + else if (WaitForSnapshotDescriptorAction is not null) + { + writer.WritePropertyName("wait_for_snapshot"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.IndexLifecycleManagement.WaitForSnapshotActionDescriptor(WaitForSnapshotDescriptorAction), options); + } + else if (WaitForSnapshotValue is not null) + { + writer.WritePropertyName("wait_for_snapshot"); + JsonSerializer.Serialize(writer, WaitForSnapshotValue, options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/AllocateAction.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/AllocateAction.g.cs new file mode 100644 index 00000000000..94e6437f241 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/AllocateAction.g.cs @@ -0,0 +1,123 @@ +// 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.IndexLifecycleManagement; + +public sealed partial class AllocateAction +{ + [JsonInclude, JsonPropertyName("exclude")] + public IDictionary? Exclude { get; set; } + [JsonInclude, JsonPropertyName("include")] + public IDictionary? Include { get; set; } + [JsonInclude, JsonPropertyName("number_of_replicas")] + public int? NumberOfReplicas { get; set; } + [JsonInclude, JsonPropertyName("require")] + public IDictionary? Require { get; set; } + [JsonInclude, JsonPropertyName("total_shards_per_node")] + public int? TotalShardsPerNode { get; set; } +} + +public sealed partial class AllocateActionDescriptor : SerializableDescriptor +{ + internal AllocateActionDescriptor(Action configure) => configure.Invoke(this); + + public AllocateActionDescriptor() : base() + { + } + + private IDictionary? ExcludeValue { get; set; } + private IDictionary? IncludeValue { get; set; } + private int? NumberOfReplicasValue { get; set; } + private IDictionary? RequireValue { get; set; } + private int? TotalShardsPerNodeValue { get; set; } + + public AllocateActionDescriptor Exclude(Func, FluentDictionary> selector) + { + ExcludeValue = selector?.Invoke(new FluentDictionary()); + return Self; + } + + public AllocateActionDescriptor Include(Func, FluentDictionary> selector) + { + IncludeValue = selector?.Invoke(new FluentDictionary()); + return Self; + } + + public AllocateActionDescriptor NumberOfReplicas(int? numberOfReplicas) + { + NumberOfReplicasValue = numberOfReplicas; + return Self; + } + + public AllocateActionDescriptor Require(Func, FluentDictionary> selector) + { + RequireValue = selector?.Invoke(new FluentDictionary()); + return Self; + } + + public AllocateActionDescriptor TotalShardsPerNode(int? totalShardsPerNode) + { + TotalShardsPerNodeValue = totalShardsPerNode; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (ExcludeValue is not null) + { + writer.WritePropertyName("exclude"); + JsonSerializer.Serialize(writer, ExcludeValue, options); + } + + if (IncludeValue is not null) + { + writer.WritePropertyName("include"); + JsonSerializer.Serialize(writer, IncludeValue, options); + } + + if (NumberOfReplicasValue.HasValue) + { + writer.WritePropertyName("number_of_replicas"); + writer.WriteNumberValue(NumberOfReplicasValue.Value); + } + + if (RequireValue is not null) + { + writer.WritePropertyName("require"); + JsonSerializer.Serialize(writer, RequireValue, options); + } + + if (TotalShardsPerNodeValue.HasValue) + { + writer.WritePropertyName("total_shards_per_node"); + writer.WriteNumberValue(TotalShardsPerNodeValue.Value); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/Configurations.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/Configurations.g.cs deleted file mode 100644 index 76ef9a806c2..00000000000 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/Configurations.g.cs +++ /dev/null @@ -1,183 +0,0 @@ -// 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.IndexLifecycleManagement; - -public sealed partial class Configurations -{ - [JsonInclude, JsonPropertyName("forcemerge")] - public Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ForceMergeConfiguration? Forcemerge { get; set; } - [JsonInclude, JsonPropertyName("rollover")] - public Elastic.Clients.Elasticsearch.IndexManagement.RolloverConditions? Rollover { get; set; } - [JsonInclude, JsonPropertyName("shrink")] - public Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ShrinkConfiguration? Shrink { get; set; } -} - -public sealed partial class ConfigurationsDescriptor : SerializableDescriptor -{ - internal ConfigurationsDescriptor(Action configure) => configure.Invoke(this); - - public ConfigurationsDescriptor() : base() - { - } - - private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ForceMergeConfiguration? ForcemergeValue { get; set; } - private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ForceMergeConfigurationDescriptor ForcemergeDescriptor { get; set; } - private Action ForcemergeDescriptorAction { get; set; } - private Elastic.Clients.Elasticsearch.IndexManagement.RolloverConditions? RolloverValue { get; set; } - private Elastic.Clients.Elasticsearch.IndexManagement.RolloverConditionsDescriptor RolloverDescriptor { get; set; } - private Action RolloverDescriptorAction { get; set; } - private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ShrinkConfiguration? ShrinkValue { get; set; } - private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ShrinkConfigurationDescriptor ShrinkDescriptor { get; set; } - private Action ShrinkDescriptorAction { get; set; } - - public ConfigurationsDescriptor Forcemerge(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ForceMergeConfiguration? forcemerge) - { - ForcemergeDescriptor = null; - ForcemergeDescriptorAction = null; - ForcemergeValue = forcemerge; - return Self; - } - - public ConfigurationsDescriptor Forcemerge(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ForceMergeConfigurationDescriptor descriptor) - { - ForcemergeValue = null; - ForcemergeDescriptorAction = null; - ForcemergeDescriptor = descriptor; - return Self; - } - - public ConfigurationsDescriptor Forcemerge(Action configure) - { - ForcemergeValue = null; - ForcemergeDescriptor = null; - ForcemergeDescriptorAction = configure; - return Self; - } - - public ConfigurationsDescriptor Rollover(Elastic.Clients.Elasticsearch.IndexManagement.RolloverConditions? rollover) - { - RolloverDescriptor = null; - RolloverDescriptorAction = null; - RolloverValue = rollover; - return Self; - } - - public ConfigurationsDescriptor Rollover(Elastic.Clients.Elasticsearch.IndexManagement.RolloverConditionsDescriptor descriptor) - { - RolloverValue = null; - RolloverDescriptorAction = null; - RolloverDescriptor = descriptor; - return Self; - } - - public ConfigurationsDescriptor Rollover(Action configure) - { - RolloverValue = null; - RolloverDescriptor = null; - RolloverDescriptorAction = configure; - return Self; - } - - public ConfigurationsDescriptor Shrink(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ShrinkConfiguration? shrink) - { - ShrinkDescriptor = null; - ShrinkDescriptorAction = null; - ShrinkValue = shrink; - return Self; - } - - public ConfigurationsDescriptor Shrink(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ShrinkConfigurationDescriptor descriptor) - { - ShrinkValue = null; - ShrinkDescriptorAction = null; - ShrinkDescriptor = descriptor; - return Self; - } - - public ConfigurationsDescriptor Shrink(Action configure) - { - ShrinkValue = null; - ShrinkDescriptor = null; - ShrinkDescriptorAction = configure; - return Self; - } - - protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) - { - writer.WriteStartObject(); - if (ForcemergeDescriptor is not null) - { - writer.WritePropertyName("forcemerge"); - JsonSerializer.Serialize(writer, ForcemergeDescriptor, options); - } - else if (ForcemergeDescriptorAction is not null) - { - writer.WritePropertyName("forcemerge"); - JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ForceMergeConfigurationDescriptor(ForcemergeDescriptorAction), options); - } - else if (ForcemergeValue is not null) - { - writer.WritePropertyName("forcemerge"); - JsonSerializer.Serialize(writer, ForcemergeValue, options); - } - - if (RolloverDescriptor is not null) - { - writer.WritePropertyName("rollover"); - JsonSerializer.Serialize(writer, RolloverDescriptor, options); - } - else if (RolloverDescriptorAction is not null) - { - writer.WritePropertyName("rollover"); - JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.IndexManagement.RolloverConditionsDescriptor(RolloverDescriptorAction), options); - } - else if (RolloverValue is not null) - { - writer.WritePropertyName("rollover"); - JsonSerializer.Serialize(writer, RolloverValue, options); - } - - if (ShrinkDescriptor is not null) - { - writer.WritePropertyName("shrink"); - JsonSerializer.Serialize(writer, ShrinkDescriptor, options); - } - else if (ShrinkDescriptorAction is not null) - { - writer.WritePropertyName("shrink"); - JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ShrinkConfigurationDescriptor(ShrinkDescriptorAction), options); - } - else if (ShrinkValue is not null) - { - writer.WritePropertyName("shrink"); - JsonSerializer.Serialize(writer, ShrinkValue, options); - } - - writer.WriteEndObject(); - } -} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/DeleteAction.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/DeleteAction.g.cs new file mode 100644 index 00000000000..4caad7a6cec --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/DeleteAction.g.cs @@ -0,0 +1,63 @@ +// 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.IndexLifecycleManagement; + +public sealed partial class DeleteAction +{ + [JsonInclude, JsonPropertyName("delete_searchable_snapshot")] + public bool? DeleteSearchableSnapshot { get; set; } +} + +public sealed partial class DeleteActionDescriptor : SerializableDescriptor +{ + internal DeleteActionDescriptor(Action configure) => configure.Invoke(this); + + public DeleteActionDescriptor() : base() + { + } + + private bool? DeleteSearchableSnapshotValue { get; set; } + + public DeleteActionDescriptor DeleteSearchableSnapshot(bool? deleteSearchableSnapshot = true) + { + DeleteSearchableSnapshotValue = deleteSearchableSnapshot; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (DeleteSearchableSnapshotValue.HasValue) + { + writer.WritePropertyName("delete_searchable_snapshot"); + writer.WriteBooleanValue(DeleteSearchableSnapshotValue.Value); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/DownsampleAction.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/DownsampleAction.g.cs new file mode 100644 index 00000000000..7c8a7b95e5a --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/DownsampleAction.g.cs @@ -0,0 +1,74 @@ +// 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.IndexLifecycleManagement; + +public sealed partial class DownsampleAction +{ + [JsonInclude, JsonPropertyName("fixed_interval")] + public string FixedInterval { get; set; } + [JsonInclude, JsonPropertyName("wait_timeout")] + public Elastic.Clients.Elasticsearch.Duration? WaitTimeout { get; set; } +} + +public sealed partial class DownsampleActionDescriptor : SerializableDescriptor +{ + internal DownsampleActionDescriptor(Action configure) => configure.Invoke(this); + + public DownsampleActionDescriptor() : base() + { + } + + private string FixedIntervalValue { get; set; } + private Elastic.Clients.Elasticsearch.Duration? WaitTimeoutValue { get; set; } + + public DownsampleActionDescriptor FixedInterval(string fixedInterval) + { + FixedIntervalValue = fixedInterval; + return Self; + } + + public DownsampleActionDescriptor WaitTimeout(Elastic.Clients.Elasticsearch.Duration? waitTimeout) + { + WaitTimeoutValue = waitTimeout; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + writer.WritePropertyName("fixed_interval"); + writer.WriteStringValue(FixedIntervalValue); + if (WaitTimeoutValue is not null) + { + writer.WritePropertyName("wait_timeout"); + JsonSerializer.Serialize(writer, WaitTimeoutValue, options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/ForceMergeConfiguration.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/ForceMergeAction.g.cs similarity index 71% rename from src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/ForceMergeConfiguration.g.cs rename to src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/ForceMergeAction.g.cs index d6240e98eb3..684747c48a3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/ForceMergeConfiguration.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/ForceMergeAction.g.cs @@ -27,23 +27,32 @@ namespace Elastic.Clients.Elasticsearch.IndexLifecycleManagement; -public sealed partial class ForceMergeConfiguration +public sealed partial class ForceMergeAction { + [JsonInclude, JsonPropertyName("index_codec")] + public string? IndexCodec { get; set; } [JsonInclude, JsonPropertyName("max_num_segments")] public int MaxNumSegments { get; set; } } -public sealed partial class ForceMergeConfigurationDescriptor : SerializableDescriptor +public sealed partial class ForceMergeActionDescriptor : SerializableDescriptor { - internal ForceMergeConfigurationDescriptor(Action configure) => configure.Invoke(this); + internal ForceMergeActionDescriptor(Action configure) => configure.Invoke(this); - public ForceMergeConfigurationDescriptor() : base() + public ForceMergeActionDescriptor() : base() { } + private string? IndexCodecValue { get; set; } private int MaxNumSegmentsValue { get; set; } - public ForceMergeConfigurationDescriptor MaxNumSegments(int maxNumSegments) + public ForceMergeActionDescriptor IndexCodec(string? indexCodec) + { + IndexCodecValue = indexCodec; + return Self; + } + + public ForceMergeActionDescriptor MaxNumSegments(int maxNumSegments) { MaxNumSegmentsValue = maxNumSegments; return Self; @@ -52,6 +61,12 @@ public ForceMergeConfigurationDescriptor MaxNumSegments(int maxNumSegments) protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); + if (!string.IsNullOrEmpty(IndexCodecValue)) + { + writer.WritePropertyName("index_codec"); + writer.WriteStringValue(IndexCodecValue); + } + writer.WritePropertyName("max_num_segments"); writer.WriteNumberValue(MaxNumSegmentsValue); writer.WriteEndObject(); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/ShrinkConfiguration.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/MigrateAction.g.cs similarity index 71% rename from src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/ShrinkConfiguration.g.cs rename to src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/MigrateAction.g.cs index 698e7afd924..cd968e3bd33 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/ShrinkConfiguration.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/MigrateAction.g.cs @@ -27,33 +27,37 @@ namespace Elastic.Clients.Elasticsearch.IndexLifecycleManagement; -public sealed partial class ShrinkConfiguration +public sealed partial class MigrateAction { - [JsonInclude, JsonPropertyName("number_of_shards")] - public int NumberOfShards { get; set; } + [JsonInclude, JsonPropertyName("enabled")] + public bool? Enabled { get; set; } } -public sealed partial class ShrinkConfigurationDescriptor : SerializableDescriptor +public sealed partial class MigrateActionDescriptor : SerializableDescriptor { - internal ShrinkConfigurationDescriptor(Action configure) => configure.Invoke(this); + internal MigrateActionDescriptor(Action configure) => configure.Invoke(this); - public ShrinkConfigurationDescriptor() : base() + public MigrateActionDescriptor() : base() { } - private int NumberOfShardsValue { get; set; } + private bool? EnabledValue { get; set; } - public ShrinkConfigurationDescriptor NumberOfShards(int numberOfShards) + public MigrateActionDescriptor Enabled(bool? enabled = true) { - NumberOfShardsValue = numberOfShards; + EnabledValue = enabled; return Self; } protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); - writer.WritePropertyName("number_of_shards"); - writer.WriteNumberValue(NumberOfShardsValue); + if (EnabledValue.HasValue) + { + writer.WritePropertyName("enabled"); + writer.WriteBooleanValue(EnabledValue.Value); + } + writer.WriteEndObject(); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/Phase.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/Phase.g.cs index eafd6acfe68..86d494d0faf 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/Phase.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/Phase.g.cs @@ -30,9 +30,7 @@ namespace Elastic.Clients.Elasticsearch.IndexLifecycleManagement; public sealed partial class Phase { [JsonInclude, JsonPropertyName("actions")] - public object? Actions { get; set; } - [JsonInclude, JsonPropertyName("configurations")] - public Elastic.Clients.Elasticsearch.IndexLifecycleManagement.Configurations? Configurations { get; set; } + public Elastic.Clients.Elasticsearch.IndexLifecycleManagement.Actions? Actions { get; set; } [JsonInclude, JsonPropertyName("min_age")] public Union? MinAge { get; set; } } @@ -45,39 +43,32 @@ public PhaseDescriptor() : base() { } - private object? ActionsValue { get; set; } - private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.Configurations? ConfigurationsValue { get; set; } - private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ConfigurationsDescriptor ConfigurationsDescriptor { get; set; } - private Action ConfigurationsDescriptorAction { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.Actions? ActionsValue { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ActionsDescriptor ActionsDescriptor { get; set; } + private Action ActionsDescriptorAction { get; set; } private Union? MinAgeValue { get; set; } - public PhaseDescriptor Actions(object? actions) + public PhaseDescriptor Actions(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.Actions? actions) { + ActionsDescriptor = null; + ActionsDescriptorAction = null; ActionsValue = actions; return Self; } - public PhaseDescriptor Configurations(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.Configurations? configurations) + public PhaseDescriptor Actions(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ActionsDescriptor descriptor) { - ConfigurationsDescriptor = null; - ConfigurationsDescriptorAction = null; - ConfigurationsValue = configurations; + ActionsValue = null; + ActionsDescriptorAction = null; + ActionsDescriptor = descriptor; return Self; } - public PhaseDescriptor Configurations(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.ConfigurationsDescriptor descriptor) + public PhaseDescriptor Actions(Action configure) { - ConfigurationsValue = null; - ConfigurationsDescriptorAction = null; - ConfigurationsDescriptor = descriptor; - return Self; - } - - public PhaseDescriptor Configurations(Action configure) - { - ConfigurationsValue = null; - ConfigurationsDescriptor = null; - ConfigurationsDescriptorAction = configure; + ActionsValue = null; + ActionsDescriptor = null; + ActionsDescriptorAction = configure; return Self; } @@ -90,26 +81,20 @@ public PhaseDescriptor MinAge(Union +{ + internal RolloverActionDescriptor(Action configure) => configure.Invoke(this); + + public RolloverActionDescriptor() : base() + { + } + + private Elastic.Clients.Elasticsearch.Duration? MaxAgeValue { get; set; } + private long? MaxDocsValue { get; set; } + private long? MaxPrimaryShardDocsValue { get; set; } + private Elastic.Clients.Elasticsearch.ByteSize? MaxPrimaryShardSizeValue { get; set; } + private Elastic.Clients.Elasticsearch.ByteSize? MaxSizeValue { get; set; } + private Elastic.Clients.Elasticsearch.Duration? MinAgeValue { get; set; } + private long? MinDocsValue { get; set; } + private long? MinPrimaryShardDocsValue { get; set; } + private Elastic.Clients.Elasticsearch.ByteSize? MinPrimaryShardSizeValue { get; set; } + private Elastic.Clients.Elasticsearch.ByteSize? MinSizeValue { get; set; } + + public RolloverActionDescriptor MaxAge(Elastic.Clients.Elasticsearch.Duration? maxAge) + { + MaxAgeValue = maxAge; + return Self; + } + + public RolloverActionDescriptor MaxDocs(long? maxDocs) + { + MaxDocsValue = maxDocs; + return Self; + } + + public RolloverActionDescriptor MaxPrimaryShardDocs(long? maxPrimaryShardDocs) + { + MaxPrimaryShardDocsValue = maxPrimaryShardDocs; + return Self; + } + + public RolloverActionDescriptor MaxPrimaryShardSize(Elastic.Clients.Elasticsearch.ByteSize? maxPrimaryShardSize) + { + MaxPrimaryShardSizeValue = maxPrimaryShardSize; + return Self; + } + + public RolloverActionDescriptor MaxSize(Elastic.Clients.Elasticsearch.ByteSize? maxSize) + { + MaxSizeValue = maxSize; + return Self; + } + + public RolloverActionDescriptor MinAge(Elastic.Clients.Elasticsearch.Duration? minAge) + { + MinAgeValue = minAge; + return Self; + } + + public RolloverActionDescriptor MinDocs(long? minDocs) + { + MinDocsValue = minDocs; + return Self; + } + + public RolloverActionDescriptor MinPrimaryShardDocs(long? minPrimaryShardDocs) + { + MinPrimaryShardDocsValue = minPrimaryShardDocs; + return Self; + } + + public RolloverActionDescriptor MinPrimaryShardSize(Elastic.Clients.Elasticsearch.ByteSize? minPrimaryShardSize) + { + MinPrimaryShardSizeValue = minPrimaryShardSize; + return Self; + } + + public RolloverActionDescriptor MinSize(Elastic.Clients.Elasticsearch.ByteSize? minSize) + { + MinSizeValue = minSize; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (MaxAgeValue is not null) + { + writer.WritePropertyName("max_age"); + JsonSerializer.Serialize(writer, MaxAgeValue, options); + } + + if (MaxDocsValue.HasValue) + { + writer.WritePropertyName("max_docs"); + writer.WriteNumberValue(MaxDocsValue.Value); + } + + if (MaxPrimaryShardDocsValue.HasValue) + { + writer.WritePropertyName("max_primary_shard_docs"); + writer.WriteNumberValue(MaxPrimaryShardDocsValue.Value); + } + + if (MaxPrimaryShardSizeValue is not null) + { + writer.WritePropertyName("max_primary_shard_size"); + JsonSerializer.Serialize(writer, MaxPrimaryShardSizeValue, options); + } + + if (MaxSizeValue is not null) + { + writer.WritePropertyName("max_size"); + JsonSerializer.Serialize(writer, MaxSizeValue, options); + } + + if (MinAgeValue is not null) + { + writer.WritePropertyName("min_age"); + JsonSerializer.Serialize(writer, MinAgeValue, options); + } + + if (MinDocsValue.HasValue) + { + writer.WritePropertyName("min_docs"); + writer.WriteNumberValue(MinDocsValue.Value); + } + + if (MinPrimaryShardDocsValue.HasValue) + { + writer.WritePropertyName("min_primary_shard_docs"); + writer.WriteNumberValue(MinPrimaryShardDocsValue.Value); + } + + if (MinPrimaryShardSizeValue is not null) + { + writer.WritePropertyName("min_primary_shard_size"); + JsonSerializer.Serialize(writer, MinPrimaryShardSizeValue, options); + } + + if (MinSizeValue is not null) + { + writer.WritePropertyName("min_size"); + JsonSerializer.Serialize(writer, MinSizeValue, options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/SearchableSnapshotAction.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/SearchableSnapshotAction.g.cs new file mode 100644 index 00000000000..7b4f0145054 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/SearchableSnapshotAction.g.cs @@ -0,0 +1,74 @@ +// 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.IndexLifecycleManagement; + +public sealed partial class SearchableSnapshotAction +{ + [JsonInclude, JsonPropertyName("force_merge_index")] + public bool? ForceMergeIndex { get; set; } + [JsonInclude, JsonPropertyName("snapshot_repository")] + public string SnapshotRepository { get; set; } +} + +public sealed partial class SearchableSnapshotActionDescriptor : SerializableDescriptor +{ + internal SearchableSnapshotActionDescriptor(Action configure) => configure.Invoke(this); + + public SearchableSnapshotActionDescriptor() : base() + { + } + + private bool? ForceMergeIndexValue { get; set; } + private string SnapshotRepositoryValue { get; set; } + + public SearchableSnapshotActionDescriptor ForceMergeIndex(bool? forceMergeIndex = true) + { + ForceMergeIndexValue = forceMergeIndex; + return Self; + } + + public SearchableSnapshotActionDescriptor SnapshotRepository(string snapshotRepository) + { + SnapshotRepositoryValue = snapshotRepository; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (ForceMergeIndexValue.HasValue) + { + writer.WritePropertyName("force_merge_index"); + writer.WriteBooleanValue(ForceMergeIndexValue.Value); + } + + writer.WritePropertyName("snapshot_repository"); + writer.WriteStringValue(SnapshotRepositoryValue); + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/SetPriorityAction.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/SetPriorityAction.g.cs new file mode 100644 index 00000000000..b4765a04c32 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/SetPriorityAction.g.cs @@ -0,0 +1,63 @@ +// 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.IndexLifecycleManagement; + +public sealed partial class SetPriorityAction +{ + [JsonInclude, JsonPropertyName("priority")] + public int? Priority { get; set; } +} + +public sealed partial class SetPriorityActionDescriptor : SerializableDescriptor +{ + internal SetPriorityActionDescriptor(Action configure) => configure.Invoke(this); + + public SetPriorityActionDescriptor() : base() + { + } + + private int? PriorityValue { get; set; } + + public SetPriorityActionDescriptor Priority(int? priority) + { + PriorityValue = priority; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (PriorityValue.HasValue) + { + writer.WritePropertyName("priority"); + writer.WriteNumberValue(PriorityValue.Value); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/ShrinkAction.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/ShrinkAction.g.cs new file mode 100644 index 00000000000..60a128ad8c0 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/ShrinkAction.g.cs @@ -0,0 +1,93 @@ +// 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.IndexLifecycleManagement; + +public sealed partial class ShrinkAction +{ + [JsonInclude, JsonPropertyName("allow_write_after_shrink")] + public bool? AllowWriteAfterShrink { get; set; } + [JsonInclude, JsonPropertyName("max_primary_shard_size")] + public Elastic.Clients.Elasticsearch.ByteSize? MaxPrimaryShardSize { get; set; } + [JsonInclude, JsonPropertyName("number_of_shards")] + public int? NumberOfShards { get; set; } +} + +public sealed partial class ShrinkActionDescriptor : SerializableDescriptor +{ + internal ShrinkActionDescriptor(Action configure) => configure.Invoke(this); + + public ShrinkActionDescriptor() : base() + { + } + + private bool? AllowWriteAfterShrinkValue { get; set; } + private Elastic.Clients.Elasticsearch.ByteSize? MaxPrimaryShardSizeValue { get; set; } + private int? NumberOfShardsValue { get; set; } + + public ShrinkActionDescriptor AllowWriteAfterShrink(bool? allowWriteAfterShrink = true) + { + AllowWriteAfterShrinkValue = allowWriteAfterShrink; + return Self; + } + + public ShrinkActionDescriptor MaxPrimaryShardSize(Elastic.Clients.Elasticsearch.ByteSize? maxPrimaryShardSize) + { + MaxPrimaryShardSizeValue = maxPrimaryShardSize; + return Self; + } + + public ShrinkActionDescriptor NumberOfShards(int? numberOfShards) + { + NumberOfShardsValue = numberOfShards; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (AllowWriteAfterShrinkValue.HasValue) + { + writer.WritePropertyName("allow_write_after_shrink"); + writer.WriteBooleanValue(AllowWriteAfterShrinkValue.Value); + } + + if (MaxPrimaryShardSizeValue is not null) + { + writer.WritePropertyName("max_primary_shard_size"); + JsonSerializer.Serialize(writer, MaxPrimaryShardSizeValue, options); + } + + if (NumberOfShardsValue.HasValue) + { + writer.WritePropertyName("number_of_shards"); + writer.WriteNumberValue(NumberOfShardsValue.Value); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/WaitForSnapshotAction.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/WaitForSnapshotAction.g.cs new file mode 100644 index 00000000000..1d899c71982 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/WaitForSnapshotAction.g.cs @@ -0,0 +1,59 @@ +// 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.IndexLifecycleManagement; + +public sealed partial class WaitForSnapshotAction +{ + [JsonInclude, JsonPropertyName("policy")] + public string Policy { get; set; } +} + +public sealed partial class WaitForSnapshotActionDescriptor : SerializableDescriptor +{ + internal WaitForSnapshotActionDescriptor(Action configure) => configure.Invoke(this); + + public WaitForSnapshotActionDescriptor() : base() + { + } + + private string PolicyValue { get; set; } + + public WaitForSnapshotActionDescriptor Policy(string policy) + { + PolicyValue = policy; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + writer.WritePropertyName("policy"); + writer.WriteStringValue(PolicyValue); + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/TrainedModelDeploymentStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/TrainedModelDeploymentStats.g.cs index a004b3946b6..b8936f544fe 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/TrainedModelDeploymentStats.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/TrainedModelDeploymentStats.g.cs @@ -65,7 +65,7 @@ public sealed partial class TrainedModelDeploymentStats /// The deployment stats for each node that currently has the model allocated.
In serverless, stats are reported for a single unnamed virtual node.
/// [JsonInclude, JsonPropertyName("nodes")] - public Elastic.Clients.Elasticsearch.MachineLearning.TrainedModelDeploymentNodesStats Nodes { get; init; } + public IReadOnlyCollection Nodes { get; init; } /// /// The number of allocations requested. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/TrainedModelInferenceStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/TrainedModelInferenceStats.g.cs index 74a1dcabb97..d33c7e33a13 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/TrainedModelInferenceStats.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/TrainedModelInferenceStats.g.cs @@ -57,5 +57,5 @@ public sealed partial class TrainedModelInferenceStats /// The time when the statistics were last updated. /// [JsonInclude, JsonPropertyName("timestamp")] - public DateTimeOffset Timestamp { get; init; } + public long Timestamp { get; init; } } \ No newline at end of file