Поделиться через


ThrottlingMetric Class

Definition

The ThrottlingMetric.

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

Constructors

ThrottlingMetric(ThrottlingMetricType, Int64)

Initializes a new instance of ThrottlingMetric.

Properties

Interval

Gets or sets the interval.

Limit

Gets or sets the limit.

MetricType

Gets or sets the metric type.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ThrottlingMetric>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ThrottlingMetric>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ThrottlingMetric>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ThrottlingMetric>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ThrottlingMetric>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to