共用方式為


SqlMetricValue Class

Definition

Represents database metrics.

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

Properties

Average

The average value of the metric.

Count

The number of values for the metric.

Maximum

The max value of the metric.

Minimum

The min value of the metric.

Timestamp

The metric timestamp (ISO-8601 format).

Total

The total value of the metric.

Explicit Interface Implementations

IJsonModel<SqlMetricValue>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SqlMetricValue>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SqlMetricValue>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SqlMetricValue>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SqlMetricValue>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to