MetricDefinition 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.
Metric definition.
public class MetricDefinition : System.ClientModel.Primitives.IJsonModel<Azure.Developer.LoadTesting.MetricDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.Developer.LoadTesting.MetricDefinition>
type MetricDefinition = class
interface IJsonModel<MetricDefinition>
interface IPersistableModel<MetricDefinition>
Public Class MetricDefinition
Implements IJsonModel(Of MetricDefinition), IPersistableModel(Of MetricDefinition)
- Inheritance
-
MetricDefinition
- Implements
Properties
Description |
The metric description. |
Dimensions |
List of dimensions. |
MetricAvailabilities |
Metric availability specifies the time grain (aggregation interval or frequency). |
Name |
The metric name. |
Namespace |
The namespace the metric belongs to. |
PrimaryAggregationType |
The primary aggregation type value defining how to use the values for display. |
SupportedAggregationTypes |
The collection of what all aggregation types are supported. |
Unit |
The unit of the metric. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<MetricDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<MetricDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<MetricDefinition>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<MetricDefinition>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<MetricDefinition>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |