Partilhar via


BillingMeterInfo Class

Definition

The BillingMeterInfo.

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

Constructors

BillingMeterInfo()

Initializes a new instance of BillingMeterInfo.

Properties

MeterId

Gets or sets the meter id.

Name

Gets or sets the name.

Unit

Gets or sets the unit.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BillingMeterInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BillingMeterInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BillingMeterInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BillingMeterInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BillingMeterInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to