Share via


ConsumptionMeterDetails Class

Definition

The properties of the meter detail.

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

Properties

MeterCategory

The category of the meter, for example, 'Cloud services', 'Networking', etc..

MeterLocation

The ___location in which the Azure service is available.

MeterName

The name of the meter, within the given meter category.

MeterSubCategory

The subcategory of the meter, for example, 'A6 Cloud services', 'ExpressRoute (IXP)', etc..

PretaxStandardRate

The pretax listing price.

ServiceName

The name of the service.

ServiceTier

The service tier.

TotalIncludedQuantity

The total included quantity associated with the offer.

Unit

The unit in which the meter consumption is charged, for example, 'Hours', 'GB', etc.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ConsumptionMeterDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ConsumptionMeterDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConsumptionMeterDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ConsumptionMeterDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ConsumptionMeterDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to