共用方式為


CosmosDBMetricAvailability Class

Definition

The availability of the metric.

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

Properties

Retention

The retention for the metric values.

TimeGrain

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CosmosDBMetricAvailability>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBMetricAvailability>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBMetricAvailability>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBMetricAvailability>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBMetricAvailability>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to