CosmosDBBaseMetric Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Metric data.
public class CosmosDBBaseMetric : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.CosmosDBBaseMetric>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.CosmosDBBaseMetric>
type CosmosDBBaseMetric = class
interface IJsonModel<CosmosDBBaseMetric>
interface IPersistableModel<CosmosDBBaseMetric>
Public Class CosmosDBBaseMetric
Implements IJsonModel(Of CosmosDBBaseMetric), IPersistableModel(Of CosmosDBBaseMetric)
- Inheritance
-
CosmosDBBaseMetric
- Derived
- 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 grain to be used to summarize the metric values. |
Unit |
The unit of the metric. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<CosmosDBBaseMetric>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<CosmosDBBaseMetric>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<CosmosDBBaseMetric>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<CosmosDBBaseMetric>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<CosmosDBBaseMetric>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET