Share via


MonitorTimeSeriesElement Class

Definition

A time series result type. The discriminator value is always TimeSeries in this case.

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

Properties

Data

An array of data points representing the metric values. This is only returned if a result type of data is specified.

Metadatavalues

the metadata values returned if $filter was specified in the call.

Explicit Interface Implementations

IJsonModel<MonitorTimeSeriesElement>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MonitorTimeSeriesElement>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MonitorTimeSeriesElement>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MonitorTimeSeriesElement>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MonitorTimeSeriesElement>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to