diff --git a/output/schema/schema.json b/output/schema/schema.json index 028f1b81cb..2f282f1501 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -155098,6 +155098,24 @@ } } }, + { + "availability": { + "stack": { + "since": "8.8.0" + } + }, + "description": "A unique identifier for the deployment of the model.", + "name": "deployment_id", + "required": false, + "since": "8.8.0", + "type": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + } + }, { "description": "The number of model allocations on each node where the model is deployed.\nAll allocations on a node share the same copy of the model in memory but use\na separate set of threads to evaluate the model.\nIncreasing this value generally increases the throughput.\nIf this setting is greater than the number of hardware threads\nit will automatically be changed to a value less than the number of hardware threads.", "name": "number_of_allocations", @@ -155176,7 +155194,7 @@ } } ], - "specLocation": "ml/start_trained_model_deployment/MlStartTrainedModelDeploymentRequest.ts#L29-L87" + "specLocation": "ml/start_trained_model_deployment/MlStartTrainedModelDeploymentRequest.ts#L29-L92" }, { "body": { diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index 5be8e9c00e..aac2584cf6 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -1029,12 +1029,6 @@ "response definition ml.set_upgrade_mode:Response / body / instance_of - Non-leaf type cannot be used here: '_types:AcknowledgedResponseBase'" ] }, - "ml.start_trained_model_deployment": { - "request": [ - "Request: missing json spec query parameter 'deployment_id'" - ], - "response": [] - }, "ml.stop_datafeed": { "request": [ "Request: missing json spec query parameter 'allow_no_datafeeds'" diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 4fc253bf19..3ad46c00a9 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -14378,6 +14378,7 @@ export interface MlStartDatafeedResponse { export interface MlStartTrainedModelDeploymentRequest extends RequestBase { model_id: Id cache_size?: ByteSize + deployment_id?: string number_of_allocations?: integer priority?: MlTrainingPriority queue_capacity?: integer diff --git a/specification/ml/start_trained_model_deployment/MlStartTrainedModelDeploymentRequest.ts b/specification/ml/start_trained_model_deployment/MlStartTrainedModelDeploymentRequest.ts index 1b5e9803c6..c1fa2bba77 100644 --- a/specification/ml/start_trained_model_deployment/MlStartTrainedModelDeploymentRequest.ts +++ b/specification/ml/start_trained_model_deployment/MlStartTrainedModelDeploymentRequest.ts @@ -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