Share via


MySqlTopQueryStatisticsInput Class

Definition

Input to get top query statistics.

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

Constructors

MySqlTopQueryStatisticsInput(Int32, String, String, DateTimeOffset, DateTimeOffset, String)

Initializes a new instance of MySqlTopQueryStatisticsInput.

Properties

AggregationFunction

Aggregation function name.

AggregationWindow

Aggregation interval type in ISO 8601 format.

NumberOfTopQueries

Max number of top queries to return.

ObservationEndOn

Observation end time.

ObservationStartOn

Observation start time.

ObservedMetric

Observed metric name.

Explicit Interface Implementations

IJsonModel<MySqlTopQueryStatisticsInput>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MySqlTopQueryStatisticsInput>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MySqlTopQueryStatisticsInput>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MySqlTopQueryStatisticsInput>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MySqlTopQueryStatisticsInput>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to