Share via


MetricResultsResponseValuesItem Class

Definition

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

Constructors

MetricResultsResponseValuesItem()

Creates an new MetricResultsResponseValuesItem instance.

Properties

Endtime

The end time, in datetime format, for which the data was retrieved.

Interval

The interval (window size) for which the metric data was returned in ISO 8601 duration format with a special case for 'FULL' value that returns single datapoint for entire time span requested (Examples: PT15M, PT1H, P1D, FULL). This may be adjusted and different from what was originally requested if AutoAdjustTimegrain=true is specified.

Namespace

The namespace of the metrics been queried

Resourceid

The resource that has been queried for metrics.

Resourceregion

The region of the resource been queried for metrics.

Starttime

The start time, in datetime format, for which the data was retrieved.

Value

The value of the collection.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MetricResultsResponseValuesItem.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MetricResultsResponseValuesItem.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of MetricResultsResponseValuesItem into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to