Share via


CosmosDBPercentileMetric Class

Definition

Percentile Metric data.

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

Properties

EndOn

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

MetricValues

The percentile 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 grain to be used to summarize the metric values.

Unit

The unit of the metric.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CosmosDBPercentileMetric>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBPercentileMetric>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBPercentileMetric>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBPercentileMetric>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBPercentileMetric>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to