Sdílet prostřednictvím


MetricAvailability Class

Definition

Retention policy of a resource metric.

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

Properties

BlobDuration

Gets the blob duration.

TimeGrain

Gets the time grain.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MetricAvailability>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MetricAvailability>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MetricAvailability>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MetricAvailability>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MetricAvailability>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to