共用方式為


SqlMetric Class

Definition

Database metrics.

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

Properties

EndOn

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

MetricValues

The metric values for the specified time window and timestep.

Name

The name information for the metric.

StartOn

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

TimeGrain

The time step to be used to summarize the metric values.

Unit

The unit of the metric.

Explicit Interface Implementations

IJsonModel<SqlMetric>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SqlMetric>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SqlMetric>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SqlMetric>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SqlMetric>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to