Share via


TopQueries Class

Definition

The TopQueries.

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

Properties

AggregationFunction

Aggregation function used to calculate query metrics.

EndTime

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

IntervalType

Interval type (length).

NumberOfQueries

Requested number of top queries.

ObservationMetric

Metric used to rank queries.

Queries

List of top resource consuming queries with appropriate metric data.

StartTime

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

Explicit Interface Implementations

IJsonModel<TopQueries>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TopQueries>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TopQueries>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TopQueries>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TopQueries>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to