Udostępnij za pośrednictwem


TimeSeriesElement Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Metric.Models.TimeSeriesElementTypeConverter))]
public class TimeSeriesElement : Microsoft.Azure.PowerShell.Cmdlets.Metric.Models.ITimeSeriesElement
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Metric.Models.TimeSeriesElementTypeConverter))>]
type TimeSeriesElement = class
    interface ITimeSeriesElement
    interface IJsonSerializable
Public Class TimeSeriesElement
Implements ITimeSeriesElement
Inheritance
TimeSeriesElement
Attributes
Implements

Constructors

TimeSeriesElement()

Creates an new TimeSeriesElement instance.

Properties

Data

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

Metadatavalue

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TimeSeriesElement.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TimeSeriesElement.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Metric.Models.ITimeSeriesElement.

FromJsonString(String)

Creates a new instance of TimeSeriesElement, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of TimeSeriesElement into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to