Share via


SubscriptionMonitorMetric Class

Definition

The result data of a query.

public class SubscriptionMonitorMetric : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.SubscriptionMonitorMetric>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.SubscriptionMonitorMetric>
type SubscriptionMonitorMetric = class
    interface IJsonModel<SubscriptionMonitorMetric>
    interface IPersistableModel<SubscriptionMonitorMetric>
Public Class SubscriptionMonitorMetric
Implements IJsonModel(Of SubscriptionMonitorMetric), IPersistableModel(Of SubscriptionMonitorMetric)
Inheritance
SubscriptionMonitorMetric
Implements

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.

Name

the name and the display name of the metric, i.e. it is localizable string.

SubscriptionScopeMetricType

the resource type of the metric resource.

Timeseries

the time series returned when a data query is performed.

Unit

The unit of the metric.

Explicit Interface Implementations

IJsonModel<SubscriptionMonitorMetric>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SubscriptionMonitorMetric>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SubscriptionMonitorMetric>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SubscriptionMonitorMetric>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SubscriptionMonitorMetric>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to