Share via


DiagnosticMetricSet Class

Definition

Class representing Diagnostic Metric information.

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

Constructors

DiagnosticMetricSet()

Initializes a new instance of DiagnosticMetricSet.

Properties

EndOn

End time of the period.

Name

Name of the metric.

StartOn

Start time of the period.

TimeGrain

Presented time grain. Supported grains at the moment are PT1M, PT1H, P1D.

Unit

Metric's unit.

Values

Collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain}.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DiagnosticMetricSet>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DiagnosticMetricSet>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DiagnosticMetricSet>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DiagnosticMetricSet>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DiagnosticMetricSet>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to