Delen via


MetricSpecification Class

Definition

Definition of a single resource metric.

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

Properties

AggregationType

Gets the aggregation type.

Availabilities

Gets the availabilities.

Category

Gets the category.

Dimensions

Gets the dimensions.

DisplayDescription

Gets the display description.

DisplayName

Gets the display name.

FillGapWithZero

Gets the fill gap with zero.

IsInstanceLevelAggregationSupported

Gets the is instance level aggregation supported.

IsInternal

Gets the is internal.

IsRegionalMdmAccountEnabled

Gets the is regional mdm account enabled.

MetricFilterPattern

Gets the metric filter pattern.

Name

Gets the name.

SourceMdmAccount

Gets the source mdm account.

SourceMdmNamespace

Gets the source mdm namespace.

SupportedAggregationTypes

Gets the supported aggregation types.

SupportedTimeGrainTypes

Gets the supported time grain types.

Unit

Gets the unit.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MetricSpecification>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MetricSpecification>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MetricSpecification>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MetricSpecification>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MetricSpecification>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to