Share via


MachineLearningComponentVersionProperties Class

Definition

Definition of a component version: defines resources that span component types.

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

Constructors

MachineLearningComponentVersionProperties()

Initializes a new instance of MachineLearningComponentVersionProperties.

Properties

AutoDeleteSetting

Specifies the lifecycle setting of managed data asset.

(Inherited from MachineLearningAssetBase)
ComponentSpec

Defines Component definition details. <see href="https://docs.microsoft.com/en-us/azure/machine-learning/reference-yaml-component-command" />

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

Description

The asset description text.

(Inherited from MachineLearningResourceBase)
IsAnonymous

If the name version are system generated (anonymous registration).

(Inherited from MachineLearningAssetBase)
IsArchived

Is the asset archived?.

(Inherited from MachineLearningAssetBase)
Properties

The asset property dictionary.

(Inherited from MachineLearningResourceBase)
ProvisioningState

Provisioning state for the component version.

Stage

Stage in the component lifecycle.

Tags

Tag dictionary. Tags can be added, removed, and updated.

(Inherited from MachineLearningResourceBase)

Explicit Interface Implementations

IJsonModel<MachineLearningAssetBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from MachineLearningAssetBase)
IJsonModel<MachineLearningAssetBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from MachineLearningAssetBase)
IJsonModel<MachineLearningComponentVersionProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MachineLearningComponentVersionProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<MachineLearningResourceBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from MachineLearningResourceBase)
IJsonModel<MachineLearningResourceBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from MachineLearningResourceBase)
IPersistableModel<MachineLearningAssetBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from MachineLearningAssetBase)
IPersistableModel<MachineLearningAssetBase>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from MachineLearningAssetBase)
IPersistableModel<MachineLearningAssetBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from MachineLearningAssetBase)
IPersistableModel<MachineLearningComponentVersionProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MachineLearningComponentVersionProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MachineLearningComponentVersionProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<MachineLearningResourceBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from MachineLearningResourceBase)
IPersistableModel<MachineLearningResourceBase>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from MachineLearningResourceBase)
IPersistableModel<MachineLearningResourceBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from MachineLearningResourceBase)

Applies to