Class UpdateModelRequest
Inheritance
UpdateModelRequest
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class UpdateModelRequest : PlainRequestBase<UpdateModelRequestParameters>, IUpdateModelRequest, IRequest<UpdateModelRequestParameters>, IRequest
Constructors
|
Edit this page
View Source
UpdateModelRequest()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected UpdateModelRequest()
|
Edit this page
View Source
UpdateModelRequest(Id)
/_plugins/_ml/models/{model_id}
Declaration
public UpdateModelRequest(Id modelId)
Parameters
| Type |
Name |
Description |
| Id |
modelId |
this parameter is required
|
Fields
|
Edit this page
View Source
MinimumServerVersion
Minimum OpenSearch version required for this API.
Declaration
public const string MinimumServerVersion = "2.12"
Field Value
Properties
|
Edit this page
View Source
Connector
Declaration
public IDictionary<string, object> Connector { get; set; }
Property Value
|
Edit this page
View Source
ConnectorId
Declaration
public string ConnectorId { get; set; }
Property Value
|
Edit this page
View Source
Description
Declaration
public string Description { get; set; }
Property Value
|
Edit this page
View Source
Guardrails
Declaration
public IGuardrails Guardrails { get; set; }
Property Value
|
Edit this page
View Source
Interface
Declaration
public IDictionary<string, object> Interface { get; set; }
Property Value
|
Edit this page
View Source
IsEnabled
Declaration
public bool? IsEnabled { get; set; }
Property Value
|
Edit this page
View Source
ModelConfig
Declaration
public IModelConfig ModelConfig { get; set; }
Property Value
|
Edit this page
View Source
Name
Declaration
public string Name { get; set; }
Property Value
|
Edit this page
View Source
RateLimiter
Declaration
public IRateLimiter RateLimiter { get; set; }
Property Value
|
Edit this page
View Source
Self
Declaration
protected IUpdateModelRequest Self { get; }
Property Value
Implements
Extension Methods