MetricValue Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a metric value.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Metric.Models.MetricValueTypeConverter))]
public class MetricValue : Microsoft.Azure.PowerShell.Cmdlets.Metric.Models.IMetricValue
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Metric.Models.MetricValueTypeConverter))>]
type MetricValue = class
interface IMetricValue
interface IJsonSerializable
Public Class MetricValue
Implements IMetricValue
- Inheritance
-
MetricValue
- Attributes
- Implements
Constructors
MetricValue() |
Creates an new MetricValue instance. |
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. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of MetricValue. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of MetricValue. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Metric.Models.IMetricValue. |
FromJsonString(String) |
Creates a new instance of MetricValue, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of MetricValue into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |