共用方式為


ResourceMetricAvailability Class

Definition

Metrics availability and retention.

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

Properties

Retention

Retention period for the current time grain.

TimeGrain

Time grain .

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ResourceMetricAvailability>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ResourceMetricAvailability>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ResourceMetricAvailability>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ResourceMetricAvailability>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ResourceMetricAvailability>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to