MetricResult 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.
public class MetricResult : System.ClientModel.Primitives.IJsonModel<Azure.Monitor.Query.Models.MetricResult>, System.ClientModel.Primitives.IPersistableModel<Azure.Monitor.Query.Models.MetricResult>
public class MetricResult
type MetricResult = class
interface IJsonModel<MetricResult>
interface IPersistableModel<MetricResult>
type MetricResult = class
Public Class MetricResult
Implements IJsonModel(Of MetricResult), IPersistableModel(Of MetricResult)
Public Class MetricResult
- Inheritance
-
MetricResult
- Implements
Properties
Description |
Detailed description of this metric. |
Error |
Gets the error that occurred while querying the metric. |
Id |
The metric Id. |
Name |
The name of the metric. |
ResourceType |
the resource type of the metric resource. |
TimeSeries |
The time series returned when a data query is performed. |
Unit |
The unit of the metric. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<MetricResult>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<MetricResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<MetricResult>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<MetricResult>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<MetricResult>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |