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.
public class MonitorMetricAvailability : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.MonitorMetricAvailability>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.MonitorMetricAvailability>
type MonitorMetricAvailability = class
interface IJsonModel<MonitorMetricAvailability>
interface IPersistableModel<MonitorMetricAvailability>
Public Class MonitorMetricAvailability
Implements IJsonModel(Of MonitorMetricAvailability), IPersistableModel(Of 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. |
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
Azure SDK for .NET