Sdílet prostřednictvím


QueryMetricInterval Class

Definition

Properties of a query metrics interval.

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

Constructors

QueryMetricInterval()

Initializes a new instance of QueryMetricInterval.

Properties

ExecutionCount

Execution count of a query in this interval.

IntervalStartTime

The start time for the metric interval (ISO-8601 format).

IntervalType

Interval type (length).

Metrics

List of metric objects for this interval.

Explicit Interface Implementations

IJsonModel<QueryMetricInterval>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<QueryMetricInterval>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<QueryMetricInterval>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<QueryMetricInterval>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<QueryMetricInterval>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to