QueryMetricProperties Class

Definition

Properties of a topquery metric in one interval.

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

Constructors

QueryMetricProperties()

Initializes a new instance of QueryMetricProperties.

Properties

Avg

Metric value when avg() aggregate function is used over the interval.

DisplayName

The UI appropriate name for the metric.

Max

Metric value when max() aggregate function is used over the interval.

Min

Metric value when min() aggregate function is used over the interval.

Name

The name information for the metric.

Stdev

Metric value when stdev aggregate function is used over the interval.

Sum

Metric value when sum() aggregate function is used over the interval.

Unit

The unit of the metric.

Value

The value of the metric.

Explicit Interface Implementations

IJsonModel<QueryMetricProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<QueryMetricProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<QueryMetricProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<QueryMetricProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<QueryMetricProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to