Metric 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.
The result data of a query.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Metric.Models.MetricTypeConverter))]
public class Metric : Microsoft.Azure.PowerShell.Cmdlets.Metric.Models.IMetric
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Metric.Models.MetricTypeConverter))>]
type Metric = class
interface IMetric
interface IJsonSerializable
Public Class Metric
Implements IMetric
- Inheritance
-
Metric
- Attributes
- Implements
Constructors
Metric() |
Creates an new Metric instance. |
Properties
DisplayDescription |
Detailed description of this metric. |
ErrorCode |
'Success' or the error details on query failures for this metric. |
ErrorMessage |
Error message encountered querying this specific metric. |
Id |
The metric Id. |
NameLocalizedValue |
The display name. |
NameValue |
The invariant value. |
Timesery |
The time series returned when a data query is performed. |
Type |
The resource type of the metric resource. |
Unit |
The unit of the metric. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Metric. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Metric.Models.IMetric. |
FromJsonString(String) |
Creates a new instance of Metric, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |