共用方式為


DataBoxEdgeSkuCost Class

Definition

The metadata for retrieving price info.

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

Properties

ExtendedUnit

The extended unit.

MeterId

Used for querying price from commerce.

Quantity

The cost quantity.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataBoxEdgeSkuCost>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataBoxEdgeSkuCost>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataBoxEdgeSkuCost>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataBoxEdgeSkuCost>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataBoxEdgeSkuCost>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to