QueryStatistics Class

Definition

The QueryStatistics.

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

Constructors

QueryStatistics()

Initializes a new instance of QueryStatistics.

Properties

DatabaseName

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

EndTime

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

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Intervals

List of intervals with appropriate metric data.

Name

The name of the resource.

(Inherited from ResourceData)
QueryId

Unique query id (unique within one database).

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
StartTime

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

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<QueryStatistics>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<QueryStatistics>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<QueryStatistics>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<QueryStatistics>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<QueryStatistics>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to