82 lines
4.3 KiB
Plaintext
82 lines
4.3 KiB
Plaintext
[[reference-ml-start_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.startTrainedModelDeployment]]
|
|
=== client.ml.startTrainedModelDeployment
|
|
|
|
Start a trained model deployment. It allocates the model to every machine learning node.
|
|
|
|
{ref}/start-trained-model-deployment.html[{es} documentation]
|
|
|
|
[discrete]
|
|
==== Function signature
|
|
|
|
[source,ts]
|
|
----
|
|
(MlStartTrainedModelDeploymentRequest, options?): Promise<MlStartTrainedModelDeploymentResponse>
|
|
----
|
|
|
|
[discrete]
|
|
==== MlStartTrainedModelDeploymentRequest
|
|
|
|
[pass]
|
|
++++
|
|
<pre>
|
|
++++
|
|
interface MlStartTrainedModelDeploymentRequest extends <<RequestBase>> {
|
|
model_id: <<Id>>
|
|
cache_size?: <<ByteSize>>
|
|
deployment_id?: string
|
|
number_of_allocations?: <<integer>>
|
|
priority?: <<MlTrainingPriority>>
|
|
queue_capacity?: <<integer>>
|
|
threads_per_allocation?: <<integer>>
|
|
timeout?: <<Duration>>
|
|
wait_for?: <<MlDeploymentAllocationState>>
|
|
}
|
|
|
|
[pass]
|
|
++++
|
|
</pre>
|
|
++++
|
|
[discrete]
|
|
==== MlStartTrainedModelDeploymentResponse
|
|
|
|
[pass]
|
|
++++
|
|
<pre>
|
|
++++
|
|
interface MlStartTrainedModelDeploymentResponse {
|
|
assignment: <<MlTrainedModelAssignment>>
|
|
}
|
|
|
|
[pass]
|
|
++++
|
|
</pre>
|
|
++++
|