Share via


MonitorMetricValue Class

Definition

Represents a metric value.

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

Properties

Average

the average value in the time range.

Count

the number of samples in the time range. Can be used to determine the number of values that contributed to the average value.

Maximum

the greatest value in the time range.

Minimum

the least value in the time range.

TimeStamp

the timestamp for the metric value in ISO 8601 format.

Total

the sum of all of the values in the time range.

Explicit Interface Implementations

IJsonModel<MonitorMetricValue>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MonitorMetricValue>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MonitorMetricValue>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MonitorMetricValue>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MonitorMetricValue>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to