Language

MonitorSubscriptionScopeMetric Class

Definition

Metric definition class specifies the metadata for a metric.

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

Properties

Name Description
Category

Custom category name for this metric.

Dimensions

The name and the display name of the dimension, i.e. it is a localizable string.

DisplayDescription

Detailed description of this metric.

Id

The resource identifier of the metric definition.

IsDimensionRequired

Flag to indicate whether the dimension is required.

MetricAvailabilities

The collection of what aggregation intervals are available to be queried.

MetricClass

The class of the metric.

Name

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

Namespace

The namespace the metric belongs to.

PrimaryAggregationKind

The primary aggregation type value defining how to use the values for display.

ResourceId

The resource identifier of the resource that emitted the metric.

SupportedAggregationKinds

The collection of what aggregation types are supported.

Unit

The unit of the metric.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<MonitorSubscriptionScopeMetric>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<MonitorSubscriptionScopeMetric>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<MonitorSubscriptionScopeMetric>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<MonitorSubscriptionScopeMetric>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<MonitorSubscriptionScopeMetric>.Write(ModelReaderWriterOptions)

Applies to