Dela via


MachineLearningOnlineRequestSettings Class

Definition

Online deployment scoring requests configuration.

public class MachineLearningOnlineRequestSettings : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningOnlineRequestSettings>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningOnlineRequestSettings>
public class MachineLearningOnlineRequestSettings
type MachineLearningOnlineRequestSettings = class
    interface IJsonModel<MachineLearningOnlineRequestSettings>
    interface IPersistableModel<MachineLearningOnlineRequestSettings>
type MachineLearningOnlineRequestSettings = class
Public Class MachineLearningOnlineRequestSettings
Implements IJsonModel(Of MachineLearningOnlineRequestSettings), IPersistableModel(Of MachineLearningOnlineRequestSettings)
Public Class MachineLearningOnlineRequestSettings
Inheritance
MachineLearningOnlineRequestSettings
Implements

Constructors

MachineLearningOnlineRequestSettings()

Initializes a new instance of MachineLearningOnlineRequestSettings.

Properties

MaxConcurrentRequestsPerInstance

The number of maximum concurrent requests per node allowed per deployment. Defaults to 1.

MaxQueueWait

(Deprecated for Managed Online Endpoints) The maximum amount of time a request will stay in the queue in ISO 8601 format. Defaults to 500ms. (Now increase request_timeout_ms to account for any networking/queue delays)

RequestTimeout

The scoring timeout in ISO 8601 format. Defaults to 5000ms.

Explicit Interface Implementations

IJsonModel<MachineLearningOnlineRequestSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MachineLearningOnlineRequestSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MachineLearningOnlineRequestSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MachineLearningOnlineRequestSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MachineLearningOnlineRequestSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to