DiagnosticMetricSet 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.
Class representing Diagnostic Metric information Serialized Name: DiagnosticMetricSet
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
| Name | Description |
|---|---|
| DiagnosticMetricSet() |
Initializes a new instance of DiagnosticMetricSet. |
Properties
| Name | Description |
|---|---|
| EndOn |
End time of the period Serialized Name: DiagnosticMetricSet.endTime |
| Name |
Name of the metric Serialized Name: DiagnosticMetricSet.name |
| StartOn |
Start time of the period Serialized Name: DiagnosticMetricSet.startTime |
| TimeGrain |
Presented time grain. Supported grains at the moment are PT1M, PT1H, P1D Serialized Name: DiagnosticMetricSet.timeGrain |
| Unit |
Metric's unit Serialized Name: DiagnosticMetricSet.unit |
| Values |
Collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain} Serialized Name: DiagnosticMetricSet.values |
Methods
| Name | Description |
|---|---|
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
Explicit Interface Implementations
| Name | Description |
|---|---|
| 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. |