Dela via


SqlMetricAvailability Class

Definition

A metric availability value.

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

Properties

Retention

The length of retention for the database metric.

TimeGrain

The granularity of the database metric.

Explicit Interface Implementations

IJsonModel<SqlMetricAvailability>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SqlMetricAvailability>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SqlMetricAvailability>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SqlMetricAvailability>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SqlMetricAvailability>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to