Language

QueryStatisticsProperties Class

Definition

Properties of a query execution statistics.

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

Constructors

Name Description
QueryStatisticsProperties()

Initializes a new instance of QueryStatisticsProperties.

Properties

Name Description
DatabaseName

Database name of the database in which this query was executed.

EndTime

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

Intervals

List of intervals with appropriate metric data.

QueryId

Unique query id (unique within one database).

StartTime

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

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<QueryStatisticsProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<QueryStatisticsProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<QueryStatisticsProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<QueryStatisticsProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<QueryStatisticsProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to