62 lines
4.2 KiB
Plaintext
62 lines
4.2 KiB
Plaintext
[[reference-ml-delete_trained_model_alias]]
|
|
|
|
////////
|
|
===========================================================================================================================
|
|
|| ||
|
|
|| ||
|
|
|| ||
|
|
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
|
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
|
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
|
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
|
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
|
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
|
|| ||
|
|
|| ||
|
|
|| 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.deleteTrainedModelAlias
|
|
|
|
Delete a trained model alias. This API deletes an existing model alias that refers to a trained model. If the model alias is missing or refers to a model other than the one identified by the `model_id`, this API returns an error.
|
|
|
|
{ref}/delete-trained-models-aliases.html[{es} documentation]
|
|
|
|
[discrete]
|
|
==== Function signature
|
|
|
|
[source,ts]
|
|
----
|
|
(MlDeleteTrainedModelAliasRequest, options?): Promise<MlDeleteTrainedModelAliasResponse>
|
|
----
|
|
|
|
[discrete]
|
|
===== `MlDeleteTrainedModelAliasRequest`
|
|
|
|
[source,ts]
|
|
----
|
|
interface MlDeleteTrainedModelAliasRequest extends <<shared-type-request-base, RequestBase>> {
|
|
model_alias: <<shared-type-name, Name>>
|
|
model_id: <<shared-type-id, Id>>
|
|
}
|
|
----
|
|
|
|
[discrete]
|
|
===== `MlDeleteTrainedModelAliasResponse`
|
|
|
|
[source,ts]
|
|
----
|
|
type MlDeleteTrainedModelAliasResponse = <<shared-type-acknowledged-response-base, AcknowledgedResponseBase>>
|
|
----
|
|
|