Share via


OperationalInsightsUsageMetric Class

Definition

A metric describing the usage of a resource.

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

Properties

CurrentValue

The current value of the metric.

Limit

The quota limit for the metric.

Name

The name of the metric.

NextResetOn

The time that the metric's value will reset.

QuotaPeriod

The quota period that determines the length of time between value resets.

Unit

The units used for the metric.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<OperationalInsightsUsageMetric>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<OperationalInsightsUsageMetric>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<OperationalInsightsUsageMetric>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<OperationalInsightsUsageMetric>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<OperationalInsightsUsageMetric>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to