109 lines
5.1 KiB
Plaintext
109 lines
5.1 KiB
Plaintext
[[reference-ml-update_job]]
|
|
|
|
////////
|
|
===========================================================================================================================
|
|
|| ||
|
|
|| ||
|
|
|| ||
|
|
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
|
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
|
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
|
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
|
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
|
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
|
|| ||
|
|
|| ||
|
|
|| This file is autogenerated, DO NOT send pull requests that changes this file directly. ||
|
|
|| You should update the script that does the generation, which can be found in: ||
|
|
|| https://github.com/elastic/elastic-client-generator-js ||
|
|
|| ||
|
|
|| You can run the script with the following command: ||
|
|
|| npm run elasticsearch -- --version <version> ||
|
|
|| ||
|
|
|| ||
|
|
|| ||
|
|
===========================================================================================================================
|
|
////////
|
|
|
|
[discrete]
|
|
[[client.ml.updateJob]]
|
|
=== client.ml.updateJob
|
|
|
|
Update an anomaly detection job. Updates certain properties of an anomaly detection job.
|
|
|
|
{ref}/ml-update-job.html[{es} documentation]
|
|
|
|
[discrete]
|
|
==== Function signature
|
|
|
|
[source,ts]
|
|
----
|
|
(MlUpdateJobRequest, options?): Promise<MlUpdateJobResponse>
|
|
----
|
|
|
|
[discrete]
|
|
==== MlUpdateJobRequest
|
|
|
|
[pass]
|
|
++++
|
|
<pre>
|
|
++++
|
|
interface MlUpdateJobRequest extends <<RequestBase>> {
|
|
job_id: <<Id>>
|
|
allow_lazy_open?: boolean
|
|
analysis_limits?: <<MlAnalysisMemoryLimit>>
|
|
background_persist_interval?: <<Duration>>
|
|
custom_settings?: Record<string, any>
|
|
categorization_filters?: string[]
|
|
description?: string
|
|
model_plot_config?: <<MlModelPlotConfig>>
|
|
model_prune_window?: <<Duration>>
|
|
daily_model_snapshot_retention_after_days?: <<long>>
|
|
model_snapshot_retention_days?: <<long>>
|
|
renormalization_window_days?: <<long>>
|
|
results_retention_days?: <<long>>
|
|
groups?: string[]
|
|
detectors?: <<MlDetector>>[]
|
|
per_partition_categorization?: <<MlPerPartitionCategorization>>
|
|
}
|
|
|
|
[pass]
|
|
++++
|
|
</pre>
|
|
++++
|
|
[discrete]
|
|
==== MlUpdateJobResponse
|
|
|
|
[pass]
|
|
++++
|
|
<pre>
|
|
++++
|
|
interface MlUpdateJobResponse {
|
|
allow_lazy_open: boolean
|
|
analysis_config: <<MlAnalysisConfigRead>>
|
|
analysis_limits: <<MlAnalysisLimits>>
|
|
background_persist_interval?: <<Duration>>
|
|
create_time: <<EpochTime>><<<UnitMillis>>>
|
|
finished_time?: <<EpochTime>><<<UnitMillis>>>
|
|
custom_settings?: Record<string, string>
|
|
daily_model_snapshot_retention_after_days: <<long>>
|
|
data_description: <<MlDataDescription>>
|
|
datafeed_config?: <<MlDatafeed>>
|
|
description?: string
|
|
groups?: string[]
|
|
job_id: <<Id>>
|
|
job_type: string
|
|
job_version: <<VersionString>>
|
|
model_plot_config?: <<MlModelPlotConfig>>
|
|
model_snapshot_id?: <<Id>>
|
|
model_snapshot_retention_days: <<long>>
|
|
renormalization_window_days?: <<long>>
|
|
results_index_name: <<IndexName>>
|
|
results_retention_days?: <<long>>
|
|
}
|
|
|
|
[pass]
|
|
++++
|
|
</pre>
|
|
++++
|