Skip to content

Commit d31cd4c

Browse files
Update deployment_id in ML trained model deployment start request (#2325) (#2335)
This adds the missing `deployment_id` query parameter to the `_start` request, that was introduced in v8.8.0. [Docs](https://www.elastic.co/guide/en/elasticsearch/reference/8.8/start-trained-model-deployment.html#start-trained-model-deployment-query-params) say:
1 parent 97097de commit d31cd4c

File tree

4 files changed

+25
-7
lines changed

4 files changed

+25
-7
lines changed

output/schema/schema.json

Lines changed: 19 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 0 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/ml/start_trained_model_deployment/MlStartTrainedModelDeploymentRequest.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ export interface Request extends RequestBase {
4747
* `0b` can be provided.
4848
*/
4949
cache_size?: ByteSize
50+
/**
51+
* A unique identifier for the deployment of the model.
52+
* @availability stack since=8.8.0
53+
*/
54+
deployment_id?: string
5055
/**
5156
* The number of model allocations on each node where the model is deployed.
5257
* All allocations on a node share the same copy of the model in memory but use

0 commit comments

Comments
 (0)