Share via


MachineLearningEstimatedVmPrice Class

Definition

The estimated price info for using a VM of a particular OS type, tier, etc.

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

Properties

OSType

Operating system type used by the VM.

RetailPrice

The price charged for using the VM.

VmTier

The type of the VM.

Explicit Interface Implementations

IJsonModel<MachineLearningEstimatedVmPrice>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MachineLearningEstimatedVmPrice>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MachineLearningEstimatedVmPrice>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MachineLearningEstimatedVmPrice>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MachineLearningEstimatedVmPrice>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to