DiagnosticMetricSample 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 Serialized Name: DiagnosticMetricSample
public class DiagnosticMetricSample : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.Models.DiagnosticMetricSample>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.Models.DiagnosticMetricSample>
type DiagnosticMetricSample = class
interface IJsonModel<DiagnosticMetricSample>
interface IPersistableModel<DiagnosticMetricSample>
Public Class DiagnosticMetricSample
Implements IJsonModel(Of DiagnosticMetricSample), IPersistableModel(Of DiagnosticMetricSample)
- Inheritance
-
DiagnosticMetricSample
- Implements
Constructors
| Name | Description |
|---|---|
| DiagnosticMetricSample() |
Initializes a new instance of DiagnosticMetricSample. |
Properties
| Name | Description |
|---|---|
| IsAggregated |
Whether the values are aggregates across all workers or not Serialized Name: DiagnosticMetricSample.isAggregated |
| Maximum |
Maximum of the metric sampled during the time period Serialized Name: DiagnosticMetricSample.maximum |
| Minimum |
Minimum of the metric sampled during the time period Serialized Name: DiagnosticMetricSample.minimum |
| RoleInstance |
Role Instance. Null if this counter is not per instance This is returned and should be whichever instance name we desire to be returned i.e. CPU and Memory return RDWORKERNAME (LargeDed..._IN_0) where RDWORKERNAME is Machine name below and RoleInstance name in parenthesis Serialized Name: DiagnosticMetricSample.roleInstance |
| Timestamp |
Time at which metric is measured Serialized Name: DiagnosticMetricSample.timestamp |
| Total |
Total value of the metric. If multiple measurements are made this will have sum of all. Serialized Name: DiagnosticMetricSample.total |
Methods
| Name | Description |
|---|---|
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<DiagnosticMetricSample>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<DiagnosticMetricSample>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<DiagnosticMetricSample>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<DiagnosticMetricSample>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<DiagnosticMetricSample>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |