Delen via


SqlServerUsage Class

Definition

Represents server metrics.

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

Properties

CurrentValue

The current value of the metric.

DisplayName

The metric display name.

Limit

The current limit of the metric.

Name

Name of the server usage metric.

NextResetOn

The next reset time for the metric (ISO8601 format).

ResourceName

The name of the resource.

Unit

The units of the metric.

Explicit Interface Implementations

IJsonModel<SqlServerUsage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SqlServerUsage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SqlServerUsage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SqlServerUsage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SqlServerUsage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to