MonitorMetricAvailability 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 availability specifies the time grain (aggregation interval or frequency) and the retention period for that time grain.

C#
public class MonitorMetricAvailability : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.MonitorMetricAvailability>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.MonitorMetricAvailability>
Inheritance
MonitorMetricAvailability
Implements

Properties

Retention

the retention period for the metric at the specified timegrain. Expressed as a duration 'PT1M', 'P1D', etc.

TimeGrain

the time grain specifies the aggregation interval for the metric. Expressed as a duration 'PT1M', 'P1D', etc.

Methods

Explicit Interface Implementations

IJsonModel<MonitorMetricAvailability>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MonitorMetricAvailability>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MonitorMetricAvailability>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MonitorMetricAvailability>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MonitorMetricAvailability>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to

Toode Versioonid
Azure SDK for .NET Latest, Preview