Share via


MachineLearningAssetReferenceBase Class

Definition

Base definition for asset references. Please note MachineLearningAssetReferenceBase is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MachineLearningDataPathAssetReference, MachineLearningIdAssetReference and MachineLearningOutputPathAssetReference.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.MachineLearning.Models.UnknownAssetReferenceBase))]
public abstract class MachineLearningAssetReferenceBase : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningAssetReferenceBase>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningAssetReferenceBase>
public abstract class MachineLearningAssetReferenceBase
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.MachineLearning.Models.UnknownAssetReferenceBase))>]
type MachineLearningAssetReferenceBase = class
    interface IJsonModel<MachineLearningAssetReferenceBase>
    interface IPersistableModel<MachineLearningAssetReferenceBase>
type MachineLearningAssetReferenceBase = class
Public MustInherit Class MachineLearningAssetReferenceBase
Implements IJsonModel(Of MachineLearningAssetReferenceBase), IPersistableModel(Of MachineLearningAssetReferenceBase)
Public MustInherit Class MachineLearningAssetReferenceBase
Inheritance
MachineLearningAssetReferenceBase
Derived
Attributes
Implements

Constructors

MachineLearningAssetReferenceBase()

Initializes a new instance of MachineLearningAssetReferenceBase.

Explicit Interface Implementations

IJsonModel<MachineLearningAssetReferenceBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MachineLearningAssetReferenceBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MachineLearningAssetReferenceBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MachineLearningAssetReferenceBase>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MachineLearningAssetReferenceBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to