Files
elasticsearch-js/docs/reference-ml-stop_trained_model_deployment.asciidoc
2024-12-05 14:46:52 -06:00

76 lines
4.0 KiB
Plaintext

[[reference-ml-stop_trained_model_deployment]]
////////
===========================================================================================================================
|| ||
|| ||
|| ||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|| ||
|| ||
|| 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.stopTrainedModelDeployment]]
=== client.ml.stopTrainedModelDeployment
Stop a trained model deployment.
{ref}/stop-trained-model-deployment.html[{es} documentation]
[discrete]
==== Function signature
[source,ts]
----
(MlStopTrainedModelDeploymentRequest, options?): Promise<MlStopTrainedModelDeploymentResponse>
----
[discrete]
==== MlStopTrainedModelDeploymentRequest
[pass]
++++
<pre>
++++
interface MlStopTrainedModelDeploymentRequest extends <<RequestBase>> {
model_id: <<Id>>
allow_no_match?: boolean
force?: boolean
}
[pass]
++++
</pre>
++++
[discrete]
==== MlStopTrainedModelDeploymentResponse
[pass]
++++
<pre>
++++
interface MlStopTrainedModelDeploymentResponse {
stopped: boolean
}
[pass]
++++
</pre>
++++