Dela via


MachineLearningCodeConfiguration Class

Definition

Configuration for a scoring code asset.

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

Constructors

MachineLearningCodeConfiguration(String)

Initializes a new instance of MachineLearningCodeConfiguration.

Properties

CodeId

ARM resource ID of the code asset.

ScoringScript

[Required] The script to execute on startup. eg. "score.py".

Explicit Interface Implementations

IJsonModel<MachineLearningCodeConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MachineLearningCodeConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MachineLearningCodeConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MachineLearningCodeConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MachineLearningCodeConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to