Skip to content

Commit

Permalink
Update deployment_id in ML trained model deployment start request (#…
Browse files Browse the repository at this point in the history
…2325)

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:

> deployment_id
> (Optional, string) A unique identifier for the deployment of the model.
  • Loading branch information
dolaru authored Nov 6, 2023
1 parent 9f40be8 commit e627f16
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 7 deletions.
20 changes: 19 additions & 1 deletion output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions output/schema/validation-errors.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ export interface Request extends RequestBase {
* `0b` can be provided.
*/
cache_size?: ByteSize
/**
* A unique identifier for the deployment of the model.
* @availability stack since=8.8.0
*/
deployment_id?: string
/**
* The number of model allocations on each node where the model is deployed.
* All allocations on a node share the same copy of the model in memory but use
Expand Down

0 comments on commit e627f16

Please sign in to comment.